作者 xiaoqiu

新增已处理订单公司查询,以及问题件操作人员和联系方式显示

... ... @@ -8,6 +8,6 @@ VITE_APP_ENV = 'development'
VITE_APP_BASE_API = '/dev-api'
# 开打新的tab的url前缀
VITE_APP_TAB_URL_PREFIX = 'http://192.168.2.179:6512'
VITE_APP_TAB_URL_PREFIX = 'http://192.168.2.190:6512'
# VITE_APP_TAB_URL_PREFIX = 'http://bxhd.crgx.net'
... ...
... ... @@ -344,7 +344,7 @@ function lookRemark(row) {
res?.data?.strongInsurancePolicyNumber;
form.value.commercialInsurancePolicyNumber =
res?.data?.commercialInsurancePolicyNumber;
form.value.message = res?.data?.message;
form.value.message = res?.data?.message || "无";
open.value = true;
});
}
... ...
... ... @@ -388,7 +388,13 @@
<!-- 查询问题件弹出框 -->
<el-dialog v-model="showIssue" title="保单信息" width="700" append-to-body>
<div style="margin-bottom: 10px">
<span>问题件退回公司:{{ issueReturenCompany }}</span>
<span style="margin-right: 20px"
>问题件退回公司:{{ issueReturenCompany }}</span
>
<span style="margin-right: 20px"
>操作人员: {{ issueCompanyPerson }}</span
>
<span>联系电话: {{ issueCompanyPersonPhone }}</span>
</div>
<el-form :model="IssueForm" ref="policyRef" label-width="100px">
<el-form-item label="问题件原因" prop="progress">
... ... @@ -634,7 +640,9 @@ const showFeedback = ref(false);
const transferShow = ref(false);
const transferForm = ref({});
const taskId = ref("");
const issueReturenCompany = ref("");
const issueReturenCompany = ref(""); // 问题件退回公司
const issueCompanyPerson = ref(""); // 问题件退回操作人员
const issueCompanyPersonPhone = ref(""); // 问题件退回操作人员联系电话
const successShow = ref(false); // 通过备注显示变量
const successMsg = ref(""); // 通过备注
... ... @@ -813,6 +821,8 @@ const lookReason = async (row) => {
IssueForm.value.deprecatedReason = data.message;
showIssue.value = true;
issueReturenCompany.value = row.companyName;
issueCompanyPerson.value = row.companyEmployeeUserName;
issueCompanyPersonPhone.value = row.companyEmployeePhone;
};
// 查阅通过备注
... ...
... ... @@ -35,6 +35,15 @@
@keyup.enter="handleQuery"
/>
</el-form-item>
<el-form-item label="公司名称" prop="companyName">
<el-input
v-model="queryParams.companyName"
placeholder="请输入公司名称"
clearable
style="width: 200px"
@keyup.enter="handleQuery"
/>
</el-form-item>
<el-form-item label="车架号" prop="frameNumber">
<el-input
v-model="queryParams.frameNumber"
... ... @@ -327,6 +336,7 @@ const queryParams = reactive({
associationapprove: "",
frameNumber: "",
phone: "",
companyName: "",
});
const options = [
... ...
... ... @@ -298,7 +298,7 @@ function lookRemark(row) {
res?.data?.strongInsurancePolicyNumber;
form.value.commercialInsurancePolicyNumber =
res?.data?.commercialInsurancePolicyNumber;
form.value.message = res?.data?.message;
form.value.message = res?.data?.message || "无";
open.value = true;
});
}
... ...
... ... @@ -376,7 +376,13 @@
<!-- 查询问题件弹出框 -->
<el-dialog v-model="showIssue" title="保单信息" width="700" append-to-body>
<div style="margin-bottom: 10px">
<span>问题件退回公司:{{ issueReturenCompany }}</span>
<span style="margin-right: 20px"
>问题件退回公司:{{ issueReturenCompany }}</span
>
<span style="margin-right: 20px"
>操作人员:{{ issueCompanyPerson }}</span
>
<span>联系电话: {{ issueCompanyPersonPhone }}</span>
</div>
<el-form :model="IssueForm" ref="policyRef" label-width="100px">
<el-form-item label="问题件原因" prop="progress">
... ... @@ -596,6 +602,7 @@ import { queryCarType } from "@/api/configurationCenter/carType.js";
import { queryCarNature } from "@/api/configurationCenter/carNature.js";
import { queryNeed } from "@/api/configurationCenter/need.js";
import { listDept } from "@/api/system/dept";
import { ref } from "vue";
const { proxy } = getCurrentInstance();
const loading = ref(false);
const activeTitle = ref("");
... ... @@ -622,7 +629,10 @@ const sharingMsg = ref(""); // 分配备注
const lookSuccessShow = ref(false); // 查看通过备注显示变量
const lookSuccessMsg = ref(""); // 查看通过备注
const issueReturenCompany = ref("");
const issueReturenCompany = ref(""); // 问题件退回公司
const issueCompanyPerson = ref(""); // 问题件退回操作人员
const issueCompanyPersonPhone = ref("");
const IssueForm = ref({
deprecatedReason: "",
});
... ... @@ -799,6 +809,8 @@ const lookReason = async (row) => {
IssueForm.value.deprecatedReason = data.message;
showIssue.value = true;
issueReturenCompany.value = row.companyName;
issueCompanyPerson.value = row.companyEmployeeUserName;
issueCompanyPersonPhone.value = row.companyEmployeePhone;
};
// 查阅通过备注
... ...
... ... @@ -35,6 +35,15 @@
@keyup.enter="handleQuery"
/>
</el-form-item>
<el-form-item label="公司名称" prop="companyName">
<el-input
v-model="queryParams.companyName"
placeholder="请输入公司名称"
clearable
style="width: 200px"
@keyup.enter="handleQuery"
/>
</el-form-item>
<el-form-item label="车架号" prop="frameNumber">
<el-input
v-model="queryParams.frameNumber"
... ... @@ -286,6 +295,7 @@ const queryParams = reactive({
associationapprove: "",
phone: "",
frameNumber: "",
companyName: "",
});
const options = [
... ...
... ... @@ -280,7 +280,6 @@
<el-form-item label="企业名称" prop="businessName">
<el-input
v-model="form.businessName"
:disabled="!hasRole"
placeholder="请输入企业名称"
/>
</el-form-item>
... ... @@ -289,7 +288,6 @@
<el-form-item label="联系电话" prop="businessPhone">
<el-input
v-model="form.businessPhone"
:disabled="!hasRole"
placeholder="请输入联系电话"
/>
</el-form-item>
... ... @@ -357,6 +355,25 @@
</el-form-item>
</el-col>
</el-row>
<el-row v-if="isIssuse">
<el-col :span="12">
<el-form-item label="退回公司">
<el-input v-model="form.companyName" disabled />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="操作人员">
<el-input v-model="form.companyEmployeeUserName" disabled />
</el-form-item>
</el-col>
</el-row>
<el-row v-if="isIssuse">
<el-col :span="24">
<el-form-item label="操作人员联系电话" label-width="140px">
<el-input v-model="form.companyEmployeePhone" disabled />
</el-form-item>
</el-col>
</el-row>
<el-form-item :label="labelTitle" prop="progress">
<QuillEditor
v-model="form.comment"
... ... @@ -395,7 +412,7 @@ const { proxy } = getCurrentInstance();
const loading = ref(false);
const total = ref(0);
const open = ref(false);
const isCustom = ref(false);
const isIssuse = ref(false);
const labelTitle = ref("保单回馈");
// 表单
const form = ref({
... ... @@ -534,7 +551,17 @@ function handleExport() {
proxy.download(
"registration/monitor/export",
{
...queryParams,
name: queryParams.name,
licensePlate: queryParams.licensePlate,
association: queryParams.association,
company: queryParams.company,
type: 1,
associationapprovetype: queryParams.associationapprovetype,
companyEmployeeUserName: queryParams.companyEmployeeUserName,
orderprogress: queryParams.orderprogress,
policystatus: queryParams.policystatus,
startTime: queryParams.startTime,
endTime: queryParams.endTime,
},
`user_${new Date().getTime()}.xlsx`
);
... ... @@ -566,8 +593,8 @@ function reset() {
/** 查询备注或回馈 */
const queryRemark = async (row) => {
const { data } = await getCarDetail(row.businessKey);
form.value = data;
form.value = row;
isIssuse.value = row.policyStatus === "问题件";
if (row.policyStatus === "已作废") {
labelTitle.value = "作废备注";
const { data } = await queryDefeatContent({
... ... @@ -577,12 +604,13 @@ const queryRemark = async (row) => {
form.value.comment = data.message;
open.value = true;
} else if (row.policyStatus === "已办结") {
labelTitle.value = "办结备注";
queryResult({ processInstanceId: row.processInstanceId }).then((res) => {
form.value.commercialInsurancePolicyNumber =
res?.data?.commercialInsurancePolicyNumber;
form.value.strongInsurancePolicyNumber =
res?.data?.strongInsurancePolicyNumber;
form.value.comment = res?.data?.message;
form.value.comment = res?.data?.message || "无";
open.value = true;
});
} else if (row.policyStatus === "已退回") {
... ... @@ -593,7 +621,7 @@ const queryRemark = async (row) => {
});
form.value.comment = data.message;
open.value = true;
} else {
} else if (row.policyStatus === "问题件") {
labelTitle.value = "问题件原因";
const { data } = await queryDefeatContent({
processInstanceId: row.processInstanceId,
... ...
... ... @@ -351,6 +351,25 @@
</el-form-item>
</el-col>
</el-row>
<el-row v-if="isIssuse">
<el-col :span="12">
<el-form-item label="退回公司">
<el-input v-model="form.companyName" disabled />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="操作人员">
<el-input v-model="form.companyEmployeeUserName" disabled />
</el-form-item>
</el-col>
</el-row>
<el-row v-if="isIssuse">
<el-col :span="24">
<el-form-item label="操作人员联系电话" label-width="140px">
<el-input v-model="form.companyEmployeePhone" disabled />
</el-form-item>
</el-col>
</el-row>
<el-form-item :label="labelTitle" prop="progress">
<QuillEditor
v-model="form.comment"
... ... @@ -389,7 +408,7 @@ const { proxy } = getCurrentInstance();
const loading = ref(false);
const total = ref(0);
const open = ref(false);
const isCustom = ref(false);
const isIssuse = ref(false);
const labelTitle = ref("保单回馈");
// 表单
const form = ref({
... ... @@ -529,7 +548,17 @@ function handleExport() {
proxy.download(
"registration/monitor/export",
{
...queryParams,
name: queryParams.name,
licensePlate: queryParams.licensePlate,
association: queryParams.association,
company: queryParams.company,
type: 0,
associationapprovetype: queryParams.associationapprovetype,
companyEmployeeUserName: queryParams.companyEmployeeUserName,
orderprogress: queryParams.orderprogress,
policystatus: queryParams.policystatus,
startTime: queryParams.startTime,
endTime: queryParams.endTime,
},
`user_${new Date().getTime()}.xlsx`
);
... ... @@ -561,8 +590,8 @@ function reset() {
/** 查询备注或回馈 */
const queryRemark = async (row) => {
const { data } = await getCarDetail(row.businessKey);
form.value = data;
form.value = row;
isIssuse.value = row.policyStatus === "问题件";
if (row.policyStatus === "已作废") {
labelTitle.value = "作废备注";
const { data } = await queryDefeatContent({
... ... @@ -572,12 +601,13 @@ const queryRemark = async (row) => {
form.value.comment = data.message;
open.value = true;
} else if (row.policyStatus === "已办结") {
labelTitle.value = "办结备注";
queryResult({ processInstanceId: row.processInstanceId }).then((res) => {
form.value.commercialInsurancePolicyNumber =
res?.data?.commercialInsurancePolicyNumber;
form.value.strongInsurancePolicyNumber =
res?.data?.strongInsurancePolicyNumber;
form.value.comment = res?.data?.message;
form.value.comment = res?.data?.message || "无";
open.value = true;
});
} else if (row.policyStatus === "已退回") {
... ...