作者 xiaoqiu

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

@@ -8,6 +8,6 @@ VITE_APP_ENV = 'development' @@ -8,6 +8,6 @@ VITE_APP_ENV = 'development'
8 VITE_APP_BASE_API = '/dev-api' 8 VITE_APP_BASE_API = '/dev-api'
9 9
10 # 开打新的tab的url前缀 10 # 开打新的tab的url前缀
11 -VITE_APP_TAB_URL_PREFIX = 'http://192.168.2.179:6512' 11 +VITE_APP_TAB_URL_PREFIX = 'http://192.168.2.190:6512'
12 12
13 # VITE_APP_TAB_URL_PREFIX = 'http://bxhd.crgx.net' 13 # VITE_APP_TAB_URL_PREFIX = 'http://bxhd.crgx.net'
@@ -344,7 +344,7 @@ function lookRemark(row) { @@ -344,7 +344,7 @@ function lookRemark(row) {
344 res?.data?.strongInsurancePolicyNumber; 344 res?.data?.strongInsurancePolicyNumber;
345 form.value.commercialInsurancePolicyNumber = 345 form.value.commercialInsurancePolicyNumber =
346 res?.data?.commercialInsurancePolicyNumber; 346 res?.data?.commercialInsurancePolicyNumber;
347 - form.value.message = res?.data?.message; 347 + form.value.message = res?.data?.message || "无";
348 open.value = true; 348 open.value = true;
349 }); 349 });
350 } 350 }
@@ -388,7 +388,13 @@ @@ -388,7 +388,13 @@
388 <!-- 查询问题件弹出框 --> 388 <!-- 查询问题件弹出框 -->
389 <el-dialog v-model="showIssue" title="保单信息" width="700" append-to-body> 389 <el-dialog v-model="showIssue" title="保单信息" width="700" append-to-body>
390 <div style="margin-bottom: 10px"> 390 <div style="margin-bottom: 10px">
391 - <span>问题件退回公司:{{ issueReturenCompany }}</span> 391 + <span style="margin-right: 20px"
  392 + >问题件退回公司:{{ issueReturenCompany }}</span
  393 + >
  394 + <span style="margin-right: 20px"
  395 + >操作人员: {{ issueCompanyPerson }}</span
  396 + >
  397 + <span>联系电话: {{ issueCompanyPersonPhone }}</span>
392 </div> 398 </div>
393 <el-form :model="IssueForm" ref="policyRef" label-width="100px"> 399 <el-form :model="IssueForm" ref="policyRef" label-width="100px">
394 <el-form-item label="问题件原因" prop="progress"> 400 <el-form-item label="问题件原因" prop="progress">
@@ -634,7 +640,9 @@ const showFeedback = ref(false); @@ -634,7 +640,9 @@ const showFeedback = ref(false);
634 const transferShow = ref(false); 640 const transferShow = ref(false);
635 const transferForm = ref({}); 641 const transferForm = ref({});
636 const taskId = ref(""); 642 const taskId = ref("");
637 -const issueReturenCompany = ref(""); 643 +const issueReturenCompany = ref(""); // 问题件退回公司
  644 +const issueCompanyPerson = ref(""); // 问题件退回操作人员
  645 +const issueCompanyPersonPhone = ref(""); // 问题件退回操作人员联系电话
638 646
639 const successShow = ref(false); // 通过备注显示变量 647 const successShow = ref(false); // 通过备注显示变量
640 const successMsg = ref(""); // 通过备注 648 const successMsg = ref(""); // 通过备注
@@ -813,6 +821,8 @@ const lookReason = async (row) => { @@ -813,6 +821,8 @@ const lookReason = async (row) => {
813 IssueForm.value.deprecatedReason = data.message; 821 IssueForm.value.deprecatedReason = data.message;
814 showIssue.value = true; 822 showIssue.value = true;
815 issueReturenCompany.value = row.companyName; 823 issueReturenCompany.value = row.companyName;
  824 + issueCompanyPerson.value = row.companyEmployeeUserName;
  825 + issueCompanyPersonPhone.value = row.companyEmployeePhone;
816 }; 826 };
817 827
818 // 查阅通过备注 828 // 查阅通过备注
@@ -35,6 +35,15 @@ @@ -35,6 +35,15 @@
35 @keyup.enter="handleQuery" 35 @keyup.enter="handleQuery"
36 /> 36 />
37 </el-form-item> 37 </el-form-item>
  38 + <el-form-item label="公司名称" prop="companyName">
  39 + <el-input
  40 + v-model="queryParams.companyName"
  41 + placeholder="请输入公司名称"
  42 + clearable
  43 + style="width: 200px"
  44 + @keyup.enter="handleQuery"
  45 + />
  46 + </el-form-item>
38 <el-form-item label="车架号" prop="frameNumber"> 47 <el-form-item label="车架号" prop="frameNumber">
39 <el-input 48 <el-input
40 v-model="queryParams.frameNumber" 49 v-model="queryParams.frameNumber"
@@ -327,6 +336,7 @@ const queryParams = reactive({ @@ -327,6 +336,7 @@ const queryParams = reactive({
327 associationapprove: "", 336 associationapprove: "",
328 frameNumber: "", 337 frameNumber: "",
329 phone: "", 338 phone: "",
  339 + companyName: "",
330 }); 340 });
331 341
332 const options = [ 342 const options = [
@@ -298,7 +298,7 @@ function lookRemark(row) { @@ -298,7 +298,7 @@ function lookRemark(row) {
298 res?.data?.strongInsurancePolicyNumber; 298 res?.data?.strongInsurancePolicyNumber;
299 form.value.commercialInsurancePolicyNumber = 299 form.value.commercialInsurancePolicyNumber =
300 res?.data?.commercialInsurancePolicyNumber; 300 res?.data?.commercialInsurancePolicyNumber;
301 - form.value.message = res?.data?.message; 301 + form.value.message = res?.data?.message || "无";
302 open.value = true; 302 open.value = true;
303 }); 303 });
304 } 304 }
@@ -376,7 +376,13 @@ @@ -376,7 +376,13 @@
376 <!-- 查询问题件弹出框 --> 376 <!-- 查询问题件弹出框 -->
377 <el-dialog v-model="showIssue" title="保单信息" width="700" append-to-body> 377 <el-dialog v-model="showIssue" title="保单信息" width="700" append-to-body>
378 <div style="margin-bottom: 10px"> 378 <div style="margin-bottom: 10px">
379 - <span>问题件退回公司:{{ issueReturenCompany }}</span> 379 + <span style="margin-right: 20px"
  380 + >问题件退回公司:{{ issueReturenCompany }}</span
  381 + >
  382 + <span style="margin-right: 20px"
  383 + >操作人员:{{ issueCompanyPerson }}</span
  384 + >
  385 + <span>联系电话: {{ issueCompanyPersonPhone }}</span>
380 </div> 386 </div>
381 <el-form :model="IssueForm" ref="policyRef" label-width="100px"> 387 <el-form :model="IssueForm" ref="policyRef" label-width="100px">
382 <el-form-item label="问题件原因" prop="progress"> 388 <el-form-item label="问题件原因" prop="progress">
@@ -596,6 +602,7 @@ import { queryCarType } from "@/api/configurationCenter/carType.js"; @@ -596,6 +602,7 @@ import { queryCarType } from "@/api/configurationCenter/carType.js";
596 import { queryCarNature } from "@/api/configurationCenter/carNature.js"; 602 import { queryCarNature } from "@/api/configurationCenter/carNature.js";
597 import { queryNeed } from "@/api/configurationCenter/need.js"; 603 import { queryNeed } from "@/api/configurationCenter/need.js";
598 import { listDept } from "@/api/system/dept"; 604 import { listDept } from "@/api/system/dept";
  605 +import { ref } from "vue";
599 const { proxy } = getCurrentInstance(); 606 const { proxy } = getCurrentInstance();
600 const loading = ref(false); 607 const loading = ref(false);
601 const activeTitle = ref(""); 608 const activeTitle = ref("");
@@ -622,7 +629,10 @@ const sharingMsg = ref(""); // 分配备注 @@ -622,7 +629,10 @@ const sharingMsg = ref(""); // 分配备注
622 const lookSuccessShow = ref(false); // 查看通过备注显示变量 629 const lookSuccessShow = ref(false); // 查看通过备注显示变量
623 const lookSuccessMsg = ref(""); // 查看通过备注 630 const lookSuccessMsg = ref(""); // 查看通过备注
624 631
625 -const issueReturenCompany = ref(""); 632 +const issueReturenCompany = ref(""); // 问题件退回公司
  633 +const issueCompanyPerson = ref(""); // 问题件退回操作人员
  634 +const issueCompanyPersonPhone = ref("");
  635 +
626 const IssueForm = ref({ 636 const IssueForm = ref({
627 deprecatedReason: "", 637 deprecatedReason: "",
628 }); 638 });
@@ -799,6 +809,8 @@ const lookReason = async (row) => { @@ -799,6 +809,8 @@ const lookReason = async (row) => {
799 IssueForm.value.deprecatedReason = data.message; 809 IssueForm.value.deprecatedReason = data.message;
800 showIssue.value = true; 810 showIssue.value = true;
801 issueReturenCompany.value = row.companyName; 811 issueReturenCompany.value = row.companyName;
  812 + issueCompanyPerson.value = row.companyEmployeeUserName;
  813 + issueCompanyPersonPhone.value = row.companyEmployeePhone;
802 }; 814 };
803 815
804 // 查阅通过备注 816 // 查阅通过备注
@@ -35,6 +35,15 @@ @@ -35,6 +35,15 @@
35 @keyup.enter="handleQuery" 35 @keyup.enter="handleQuery"
36 /> 36 />
37 </el-form-item> 37 </el-form-item>
  38 + <el-form-item label="公司名称" prop="companyName">
  39 + <el-input
  40 + v-model="queryParams.companyName"
  41 + placeholder="请输入公司名称"
  42 + clearable
  43 + style="width: 200px"
  44 + @keyup.enter="handleQuery"
  45 + />
  46 + </el-form-item>
38 <el-form-item label="车架号" prop="frameNumber"> 47 <el-form-item label="车架号" prop="frameNumber">
39 <el-input 48 <el-input
40 v-model="queryParams.frameNumber" 49 v-model="queryParams.frameNumber"
@@ -286,6 +295,7 @@ const queryParams = reactive({ @@ -286,6 +295,7 @@ const queryParams = reactive({
286 associationapprove: "", 295 associationapprove: "",
287 phone: "", 296 phone: "",
288 frameNumber: "", 297 frameNumber: "",
  298 + companyName: "",
289 }); 299 });
290 300
291 const options = [ 301 const options = [
@@ -280,7 +280,6 @@ @@ -280,7 +280,6 @@
280 <el-form-item label="企业名称" prop="businessName"> 280 <el-form-item label="企业名称" prop="businessName">
281 <el-input 281 <el-input
282 v-model="form.businessName" 282 v-model="form.businessName"
283 - :disabled="!hasRole"  
284 placeholder="请输入企业名称" 283 placeholder="请输入企业名称"
285 /> 284 />
286 </el-form-item> 285 </el-form-item>
@@ -289,7 +288,6 @@ @@ -289,7 +288,6 @@
289 <el-form-item label="联系电话" prop="businessPhone"> 288 <el-form-item label="联系电话" prop="businessPhone">
290 <el-input 289 <el-input
291 v-model="form.businessPhone" 290 v-model="form.businessPhone"
292 - :disabled="!hasRole"  
293 placeholder="请输入联系电话" 291 placeholder="请输入联系电话"
294 /> 292 />
295 </el-form-item> 293 </el-form-item>
@@ -357,6 +355,25 @@ @@ -357,6 +355,25 @@
357 </el-form-item> 355 </el-form-item>
358 </el-col> 356 </el-col>
359 </el-row> 357 </el-row>
  358 + <el-row v-if="isIssuse">
  359 + <el-col :span="12">
  360 + <el-form-item label="退回公司">
  361 + <el-input v-model="form.companyName" disabled />
  362 + </el-form-item>
  363 + </el-col>
  364 + <el-col :span="12">
  365 + <el-form-item label="操作人员">
  366 + <el-input v-model="form.companyEmployeeUserName" disabled />
  367 + </el-form-item>
  368 + </el-col>
  369 + </el-row>
  370 + <el-row v-if="isIssuse">
  371 + <el-col :span="24">
  372 + <el-form-item label="操作人员联系电话" label-width="140px">
  373 + <el-input v-model="form.companyEmployeePhone" disabled />
  374 + </el-form-item>
  375 + </el-col>
  376 + </el-row>
360 <el-form-item :label="labelTitle" prop="progress"> 377 <el-form-item :label="labelTitle" prop="progress">
361 <QuillEditor 378 <QuillEditor
362 v-model="form.comment" 379 v-model="form.comment"
@@ -395,7 +412,7 @@ const { proxy } = getCurrentInstance(); @@ -395,7 +412,7 @@ const { proxy } = getCurrentInstance();
395 const loading = ref(false); 412 const loading = ref(false);
396 const total = ref(0); 413 const total = ref(0);
397 const open = ref(false); 414 const open = ref(false);
398 -const isCustom = ref(false); 415 +const isIssuse = ref(false);
399 const labelTitle = ref("保单回馈"); 416 const labelTitle = ref("保单回馈");
400 // 表单 417 // 表单
401 const form = ref({ 418 const form = ref({
@@ -534,7 +551,17 @@ function handleExport() { @@ -534,7 +551,17 @@ function handleExport() {
534 proxy.download( 551 proxy.download(
535 "registration/monitor/export", 552 "registration/monitor/export",
536 { 553 {
537 - ...queryParams, 554 + name: queryParams.name,
  555 + licensePlate: queryParams.licensePlate,
  556 + association: queryParams.association,
  557 + company: queryParams.company,
  558 + type: 1,
  559 + associationapprovetype: queryParams.associationapprovetype,
  560 + companyEmployeeUserName: queryParams.companyEmployeeUserName,
  561 + orderprogress: queryParams.orderprogress,
  562 + policystatus: queryParams.policystatus,
  563 + startTime: queryParams.startTime,
  564 + endTime: queryParams.endTime,
538 }, 565 },
539 `user_${new Date().getTime()}.xlsx` 566 `user_${new Date().getTime()}.xlsx`
540 ); 567 );
@@ -566,8 +593,8 @@ function reset() { @@ -566,8 +593,8 @@ function reset() {
566 593
567 /** 查询备注或回馈 */ 594 /** 查询备注或回馈 */
568 const queryRemark = async (row) => { 595 const queryRemark = async (row) => {
569 - const { data } = await getCarDetail(row.businessKey);  
570 - form.value = data; 596 + form.value = row;
  597 + isIssuse.value = row.policyStatus === "问题件";
571 if (row.policyStatus === "已作废") { 598 if (row.policyStatus === "已作废") {
572 labelTitle.value = "作废备注"; 599 labelTitle.value = "作废备注";
573 const { data } = await queryDefeatContent({ 600 const { data } = await queryDefeatContent({
@@ -577,12 +604,13 @@ const queryRemark = async (row) => { @@ -577,12 +604,13 @@ const queryRemark = async (row) => {
577 form.value.comment = data.message; 604 form.value.comment = data.message;
578 open.value = true; 605 open.value = true;
579 } else if (row.policyStatus === "已办结") { 606 } else if (row.policyStatus === "已办结") {
  607 + labelTitle.value = "办结备注";
580 queryResult({ processInstanceId: row.processInstanceId }).then((res) => { 608 queryResult({ processInstanceId: row.processInstanceId }).then((res) => {
581 form.value.commercialInsurancePolicyNumber = 609 form.value.commercialInsurancePolicyNumber =
582 res?.data?.commercialInsurancePolicyNumber; 610 res?.data?.commercialInsurancePolicyNumber;
583 form.value.strongInsurancePolicyNumber = 611 form.value.strongInsurancePolicyNumber =
584 res?.data?.strongInsurancePolicyNumber; 612 res?.data?.strongInsurancePolicyNumber;
585 - form.value.comment = res?.data?.message; 613 + form.value.comment = res?.data?.message || "无";
586 open.value = true; 614 open.value = true;
587 }); 615 });
588 } else if (row.policyStatus === "已退回") { 616 } else if (row.policyStatus === "已退回") {
@@ -593,7 +621,7 @@ const queryRemark = async (row) => { @@ -593,7 +621,7 @@ const queryRemark = async (row) => {
593 }); 621 });
594 form.value.comment = data.message; 622 form.value.comment = data.message;
595 open.value = true; 623 open.value = true;
596 - } else { 624 + } else if (row.policyStatus === "问题件") {
597 labelTitle.value = "问题件原因"; 625 labelTitle.value = "问题件原因";
598 const { data } = await queryDefeatContent({ 626 const { data } = await queryDefeatContent({
599 processInstanceId: row.processInstanceId, 627 processInstanceId: row.processInstanceId,
@@ -351,6 +351,25 @@ @@ -351,6 +351,25 @@
351 </el-form-item> 351 </el-form-item>
352 </el-col> 352 </el-col>
353 </el-row> 353 </el-row>
  354 + <el-row v-if="isIssuse">
  355 + <el-col :span="12">
  356 + <el-form-item label="退回公司">
  357 + <el-input v-model="form.companyName" disabled />
  358 + </el-form-item>
  359 + </el-col>
  360 + <el-col :span="12">
  361 + <el-form-item label="操作人员">
  362 + <el-input v-model="form.companyEmployeeUserName" disabled />
  363 + </el-form-item>
  364 + </el-col>
  365 + </el-row>
  366 + <el-row v-if="isIssuse">
  367 + <el-col :span="24">
  368 + <el-form-item label="操作人员联系电话" label-width="140px">
  369 + <el-input v-model="form.companyEmployeePhone" disabled />
  370 + </el-form-item>
  371 + </el-col>
  372 + </el-row>
354 <el-form-item :label="labelTitle" prop="progress"> 373 <el-form-item :label="labelTitle" prop="progress">
355 <QuillEditor 374 <QuillEditor
356 v-model="form.comment" 375 v-model="form.comment"
@@ -389,7 +408,7 @@ const { proxy } = getCurrentInstance(); @@ -389,7 +408,7 @@ const { proxy } = getCurrentInstance();
389 const loading = ref(false); 408 const loading = ref(false);
390 const total = ref(0); 409 const total = ref(0);
391 const open = ref(false); 410 const open = ref(false);
392 -const isCustom = ref(false); 411 +const isIssuse = ref(false);
393 const labelTitle = ref("保单回馈"); 412 const labelTitle = ref("保单回馈");
394 // 表单 413 // 表单
395 const form = ref({ 414 const form = ref({
@@ -529,7 +548,17 @@ function handleExport() { @@ -529,7 +548,17 @@ function handleExport() {
529 proxy.download( 548 proxy.download(
530 "registration/monitor/export", 549 "registration/monitor/export",
531 { 550 {
532 - ...queryParams, 551 + name: queryParams.name,
  552 + licensePlate: queryParams.licensePlate,
  553 + association: queryParams.association,
  554 + company: queryParams.company,
  555 + type: 0,
  556 + associationapprovetype: queryParams.associationapprovetype,
  557 + companyEmployeeUserName: queryParams.companyEmployeeUserName,
  558 + orderprogress: queryParams.orderprogress,
  559 + policystatus: queryParams.policystatus,
  560 + startTime: queryParams.startTime,
  561 + endTime: queryParams.endTime,
533 }, 562 },
534 `user_${new Date().getTime()}.xlsx` 563 `user_${new Date().getTime()}.xlsx`
535 ); 564 );
@@ -561,8 +590,8 @@ function reset() { @@ -561,8 +590,8 @@ function reset() {
561 590
562 /** 查询备注或回馈 */ 591 /** 查询备注或回馈 */
563 const queryRemark = async (row) => { 592 const queryRemark = async (row) => {
564 - const { data } = await getCarDetail(row.businessKey);  
565 - form.value = data; 593 + form.value = row;
  594 + isIssuse.value = row.policyStatus === "问题件";
566 if (row.policyStatus === "已作废") { 595 if (row.policyStatus === "已作废") {
567 labelTitle.value = "作废备注"; 596 labelTitle.value = "作废备注";
568 const { data } = await queryDefeatContent({ 597 const { data } = await queryDefeatContent({
@@ -572,12 +601,13 @@ const queryRemark = async (row) => { @@ -572,12 +601,13 @@ const queryRemark = async (row) => {
572 form.value.comment = data.message; 601 form.value.comment = data.message;
573 open.value = true; 602 open.value = true;
574 } else if (row.policyStatus === "已办结") { 603 } else if (row.policyStatus === "已办结") {
  604 + labelTitle.value = "办结备注";
575 queryResult({ processInstanceId: row.processInstanceId }).then((res) => { 605 queryResult({ processInstanceId: row.processInstanceId }).then((res) => {
576 form.value.commercialInsurancePolicyNumber = 606 form.value.commercialInsurancePolicyNumber =
577 res?.data?.commercialInsurancePolicyNumber; 607 res?.data?.commercialInsurancePolicyNumber;
578 form.value.strongInsurancePolicyNumber = 608 form.value.strongInsurancePolicyNumber =
579 res?.data?.strongInsurancePolicyNumber; 609 res?.data?.strongInsurancePolicyNumber;
580 - form.value.comment = res?.data?.message; 610 + form.value.comment = res?.data?.message || "无";
581 open.value = true; 611 open.value = true;
582 }); 612 });
583 } else if (row.policyStatus === "已退回") { 613 } else if (row.policyStatus === "已退回") {