作者 xiaoqiu

添加已处理手机号筛选

@@ -8,4 +8,6 @@ VITE_APP_ENV = 'development' @@ -8,4 +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://bxhd.crgx.net' 11 +VITE_APP_TAB_URL_PREFIX = 'http://192.168.2.179:6512'
  12 +
  13 +# VITE_APP_TAB_URL_PREFIX = 'http://bxhd.crgx.net'
@@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
53 </el-form> 53 </el-form>
54 54
55 <!-- 表格数据 --> 55 <!-- 表格数据 -->
56 - <el-table v-loading="loading" :data="policyList" @row-click="handleTask"> 56 + <el-table v-loading="loading" :data="policyList">
57 <el-table-column label="序号" width="55" type="index" /> 57 <el-table-column label="序号" width="55" type="index" />
58 <el-table-column 58 <el-table-column
59 label="登记时间" 59 label="登记时间"
@@ -130,7 +130,7 @@ @@ -130,7 +130,7 @@
130 <el-table-column 130 <el-table-column
131 label="操作" 131 label="操作"
132 align="center" 132 align="center"
133 - min-width="280" 133 + min-width="300"
134 fixed="right" 134 fixed="right"
135 > 135 >
136 <template #default="{ row }"> 136 <template #default="{ row }">
@@ -144,6 +144,12 @@ @@ -144,6 +144,12 @@
144 > 144 >
145 <el-button 145 <el-button
146 type="primary" 146 type="primary"
  147 + v-hasRole="['companyemployee']"
  148 + @click="lookRemark(row)"
  149 + >查询备注</el-button
  150 + >
  151 + <el-button
  152 + type="primary"
147 v-show=" 153 v-show="
148 row.policyStatus !== '问题件' && row.orderProgress === '已承接' 154 row.policyStatus !== '问题件' && row.orderProgress === '已承接'
149 " 155 "
@@ -188,7 +194,7 @@ @@ -188,7 +194,7 @@
188 row.policyStatus === '问题件' && 194 row.policyStatus === '问题件' &&
189 checkRole(['associationemployee']) 195 checkRole(['associationemployee'])
190 " 196 "
191 - @click="handleVoid('2')" 197 + @click="handleVoid('2', row.taskId)"
192 >作废</el-button 198 >作废</el-button
193 > 199 >
194 <el-button 200 <el-button
@@ -197,7 +203,7 @@ @@ -197,7 +203,7 @@
197 row.policyStatus === '问题件' && 203 row.policyStatus === '问题件' &&
198 checkRole(['associationemployee']) 204 checkRole(['associationemployee'])
199 " 205 "
200 - @click="handleAuthCompany('0')" 206 + @click="handleAuthCompany('0', row.taskId)"
201 >分配</el-button 207 >分配</el-button
202 > 208 >
203 </template> 209 </template>
@@ -232,6 +238,38 @@ @@ -232,6 +238,38 @@
232 </template> 238 </template>
233 </el-dialog> 239 </el-dialog>
234 240
  241 + <!-- 通过备注对话框 -->
  242 + <el-dialog
  243 + v-model="successShow"
  244 + title="通过备注"
  245 + width="500"
  246 + append-to-body
  247 + >
  248 + <QuillEditor v-model="successMsg" :min-height="192" />
  249 + <template #footer>
  250 + <div class="dialog-footer">
  251 + <el-button @click="successShow = false">取消</el-button>
  252 + <el-button type="primary" @click="handleSuccess">确定</el-button>
  253 + </div>
  254 + </template>
  255 + </el-dialog>
  256 +
  257 + <!-- 分配备注对话框 -->
  258 + <el-dialog
  259 + v-model="sharingShow"
  260 + title="分配备注"
  261 + width="500"
  262 + append-to-body
  263 + >
  264 + <QuillEditor v-model="sharingMsg" :min-height="192" />
  265 + <template #footer>
  266 + <div class="dialog-footer">
  267 + <el-button @click="sharingShow = false">取消</el-button>
  268 + <el-button type="primary" @click="submitForm">确定</el-button>
  269 + </div>
  270 + </template>
  271 + </el-dialog>
  272 +
235 <!-- 分配承保公司对话框 --> 273 <!-- 分配承保公司对话框 -->
236 <el-dialog 274 <el-dialog
237 v-model="companyShow" 275 v-model="companyShow"
@@ -255,6 +293,7 @@ @@ -255,6 +293,7 @@
255 v-for="item in deptOptions" 293 v-for="item in deptOptions"
256 :key="item.deptId" 294 :key="item.deptId"
257 :label="item.deptId" 295 :label="item.deptId"
  296 + v-show="item.deptName !== '无'"
258 >{{ item.deptName }}</el-radio 297 >{{ item.deptName }}</el-radio
259 > 298 >
260 </el-radio-group> 299 </el-radio-group>
@@ -263,7 +302,7 @@ @@ -263,7 +302,7 @@
263 <template #footer> 302 <template #footer>
264 <div class="dialog-footer"> 303 <div class="dialog-footer">
265 <el-button @click="companyShow = false">取消</el-button> 304 <el-button @click="companyShow = false">取消</el-button>
266 - <el-button type="primary" @click="submitForm">确定</el-button> 305 + <el-button type="primary" @click="sharingShow = true">确定</el-button>
267 </div> 306 </div>
268 </template> 307 </template>
269 </el-dialog> 308 </el-dialog>
@@ -362,6 +401,20 @@ @@ -362,6 +401,20 @@
362 </el-form> 401 </el-form>
363 </el-dialog> 402 </el-dialog>
364 403
  404 + <!-- 查询通过备注弹出框 -->
  405 + <el-dialog
  406 + v-model="lookSuccessShow"
  407 + title="通过备注"
  408 + width="700"
  409 + append-to-body
  410 + >
  411 + <QuillEditor
  412 + v-model="lookSuccessMsg"
  413 + :readOnly="true"
  414 + :min-height="192"
  415 + />
  416 + </el-dialog>
  417 +
365 <!-- 编辑对话框 --> 418 <!-- 编辑对话框 -->
366 <el-dialog v-model="open" title="保单信息" width="700" append-to-body> 419 <el-dialog v-model="open" title="保单信息" width="700" append-to-body>
367 <el-form :model="form" ref="policyRef" label-width="100px"> 420 <el-form :model="form" ref="policyRef" label-width="100px">
@@ -514,7 +567,7 @@ @@ -514,7 +567,7 @@
514 <el-button 567 <el-button
515 type="primary" 568 type="primary"
516 v-hasRole="['associationemployee']" 569 v-hasRole="['associationemployee']"
517 - @click.stop="handleSuccess('0')" 570 + @click.stop="successShow = true"
518 > 571 >
519 通过 572 通过
520 </el-button> 573 </el-button>
@@ -527,7 +580,7 @@ @@ -527,7 +580,7 @@
527 <el-button 580 <el-button
528 type="primary" 581 type="primary"
529 v-hasRole="['associationemployee']" 582 v-hasRole="['associationemployee']"
530 - @click="handleVoid('2')" 583 + @click="handleVoid('2', taskId)"
531 >作废</el-button 584 >作废</el-button
532 > 585 >
533 <el-button 586 <el-button
@@ -539,8 +592,8 @@ @@ -539,8 +592,8 @@
539 <el-button 592 <el-button
540 type="primary" 593 type="primary"
541 v-hasRole="['associationemployee']" 594 v-hasRole="['associationemployee']"
542 - @click.stop="handleAuthCompany('0')"  
543 - >分配</el-button 595 + @click.stop="handleAuthCompany('0', taskId)"
  596 + >人工分配</el-button
544 > 597 >
545 </div> 598 </div>
546 </template> 599 </template>
@@ -582,6 +635,16 @@ const transferShow = ref(false); @@ -582,6 +635,16 @@ const transferShow = ref(false);
582 const transferForm = ref({}); 635 const transferForm = ref({});
583 const taskId = ref(""); 636 const taskId = ref("");
584 const issueReturenCompany = ref(""); 637 const issueReturenCompany = ref("");
  638 +
  639 +const successShow = ref(false); // 通过备注显示变量
  640 +const successMsg = ref(""); // 通过备注
  641 +
  642 +const sharingShow = ref(false); // 分配备注显示变量
  643 +const sharingMsg = ref(""); // 分配备注
  644 +
  645 +const lookSuccessShow = ref(false); // 查看通过备注显示变量
  646 +const lookSuccessMsg = ref(""); // 查看通过备注
  647 +
585 const IssueForm = ref({ 648 const IssueForm = ref({
586 deprecatedReason: "", 649 deprecatedReason: "",
587 }); 650 });
@@ -595,7 +658,12 @@ const getParams = reactive({ @@ -595,7 +658,12 @@ const getParams = reactive({
595 pageSize: 100, 658 pageSize: 100,
596 }); 659 });
597 const companyShow = ref(false); 660 const companyShow = ref(false);
598 -const deptOptions = ref([]); 661 +const deptOptions = ref([
  662 + {
  663 + deptId: "0",
  664 + deptName: "无",
  665 + },
  666 +]);
599 const transferOptions = ref([]); 667 const transferOptions = ref([]);
600 const deprecatedShow = ref(false); 668 const deprecatedShow = ref(false);
601 const deprecatedForm = ref({ 669 const deprecatedForm = ref({
@@ -660,11 +728,6 @@ const getNeedOption = async () => { @@ -660,11 +728,6 @@ const getNeedOption = async () => {
660 }; 728 };
661 getNeedOption(); 729 getNeedOption();
662 730
663 -// 赋值taskId  
664 -const handleTask = (row) => {  
665 - taskId.value = row.taskId;  
666 -};  
667 -  
668 const getList = async () => { 731 const getList = async () => {
669 loading.value = true; 732 loading.value = true;
670 const { data } = await queryMyList(queryParams); 733 const { data } = await queryMyList(queryParams);
@@ -701,27 +764,20 @@ const handleTroubleshooting = (taskId) => { @@ -701,27 +764,20 @@ const handleTroubleshooting = (taskId) => {
701 deprecatedShow.value = true; 764 deprecatedShow.value = true;
702 }; 765 };
703 // 通过保单 766 // 通过保单
704 -const handleSuccess = (associationapprove) => {  
705 - proxy.$modal  
706 - .confirm("是否通过该保单")  
707 - .then(function () {})  
708 - .then(async () => {  
709 - await updateCarInfo(form.value); 767 +const handleSuccess = async () => {
710 await disposeUser( 768 await disposeUser(
711 { 769 {
712 - associationapprove, 770 + associationapprove: "0",
713 associationapprovetype: "0", 771 associationapprovetype: "0",
714 deptid: transferDeptId.value, 772 deptid: transferDeptId.value,
  773 + comment: successMsg.value,
715 }, 774 },
716 taskId.value 775 taskId.value
717 ); 776 );
718 proxy.$modal.msgSuccess("保单已通过"); 777 proxy.$modal.msgSuccess("保单已通过");
719 open.value = false; 778 open.value = false;
  779 + successShow.value = false;
720 getList(); 780 getList();
721 - })  
722 - .catch(() => {  
723 - proxy.$modal.msg("取消通过");  
724 - });  
725 }; 781 };
726 // 退回保单 782 // 退回保单
727 const handleFallback = (associationapprove) => { 783 const handleFallback = (associationapprove) => {
@@ -735,10 +791,10 @@ const handleFallback = (associationapprove) => { @@ -735,10 +791,10 @@ const handleFallback = (associationapprove) => {
735 deprecatedShow.value = true; 791 deprecatedShow.value = true;
736 }; 792 };
737 // 作废保单 793 // 作废保单
738 -const handleVoid = (associationapprove) => { 794 +const handleVoid = (associationapprove, taskId) => {
739 deprecatedForm.value = { 795 deprecatedForm.value = {
740 associationapprove, 796 associationapprove,
741 - taskId: taskId.value, 797 + taskId,
742 }; 798 };
743 deprecatedForm.value.deprecatedReason = ""; 799 deprecatedForm.value.deprecatedReason = "";
744 typeId.value = 2; 800 typeId.value = 2;
@@ -758,6 +814,16 @@ const lookReason = async (row) => { @@ -758,6 +814,16 @@ const lookReason = async (row) => {
758 showIssue.value = true; 814 showIssue.value = true;
759 issueReturenCompany.value = row.companyName; 815 issueReturenCompany.value = row.companyName;
760 }; 816 };
  817 +
  818 +// 查阅通过备注
  819 +const lookRemark = async (row) => {
  820 + const { data } = await queryDefeatContent({
  821 + processInstanceId: row.processInstanceId,
  822 + type: 3,
  823 + });
  824 + lookSuccessMsg.value = data.message;
  825 + lookSuccessShow.value = true;
  826 +};
761 // 提交作废,退回,问题件表单 827 // 提交作废,退回,问题件表单
762 const sunmitDeprecated = () => { 828 const sunmitDeprecated = () => {
763 let data = {}; 829 let data = {};
@@ -781,10 +847,10 @@ const sunmitDeprecated = () => { @@ -781,10 +847,10 @@ const sunmitDeprecated = () => {
781 }); 847 });
782 }; 848 };
783 // 分配承保公司 849 // 分配承保公司
784 -const handleAuthCompany = (associationapprove) => { 850 +const handleAuthCompany = (associationapprove, taskId) => {
785 companyForm.value = { 851 companyForm.value = {
786 associationapprove, 852 associationapprove,
787 - taskId: taskId.value, 853 + taskId: taskId,
788 }; 854 };
789 companyShow.value = true; 855 companyShow.value = true;
790 }; 856 };
@@ -805,12 +871,13 @@ const getDeptList = () => { @@ -805,12 +871,13 @@ const getDeptList = () => {
805 listDept(companyQueryParams).then((response) => { 871 listDept(companyQueryParams).then((response) => {
806 let newArr = []; 872 let newArr = [];
807 newArr = response.data.filter((item) => item.parentId === 100); 873 newArr = response.data.filter((item) => item.parentId === 100);
808 - deptOptions.value = newArr.map((child) => { 874 + let arrNew = newArr.map((child) => {
809 return { 875 return {
810 deptId: child.deptId.toString(), 876 deptId: child.deptId.toString(),
811 deptName: child.deptName, 877 deptName: child.deptName,
812 }; 878 };
813 }); 879 });
  880 + deptOptions.value.push(...arrNew);
814 }); 881 });
815 }; 882 };
816 /** 重置操作表单 */ 883 /** 重置操作表单 */
@@ -825,6 +892,7 @@ const handleUpdate = async (row) => { @@ -825,6 +892,7 @@ const handleUpdate = async (row) => {
825 getTransferTip(); 892 getTransferTip();
826 form.value = data; 893 form.value = data;
827 open.value = true; 894 open.value = true;
  895 + taskId.value = row.taskId;
828 }; 896 };
829 /** 提交通过分配承保公司 */ 897 /** 提交通过分配承保公司 */
830 function submitForm() { 898 function submitForm() {
@@ -832,10 +900,12 @@ function submitForm() { @@ -832,10 +900,12 @@ function submitForm() {
832 associationapprove: companyForm.value.associationapprove, 900 associationapprove: companyForm.value.associationapprove,
833 associationapprovetype: "1", 901 associationapprovetype: "1",
834 deptid: companyForm.value.deptId.toString(), 902 deptid: companyForm.value.deptId.toString(),
  903 + comment: sharingMsg.value,
835 }; 904 };
836 const taskId = companyForm.value.taskId; 905 const taskId = companyForm.value.taskId;
837 disposeUser(data, taskId).then((res) => { 906 disposeUser(data, taskId).then((res) => {
838 companyShow.value = false; 907 companyShow.value = false;
  908 + sharingShow.value = false;
839 getList(); 909 getList();
840 proxy.$modal.msgSuccess("保单已分配成功"); 910 proxy.$modal.msgSuccess("保单已分配成功");
841 }); 911 });
@@ -26,6 +26,24 @@ @@ -26,6 +26,24 @@
26 @keyup.enter="handleQuery" 26 @keyup.enter="handleQuery"
27 /> 27 />
28 </el-form-item> 28 </el-form-item>
  29 + <el-form-item label="手机号" prop="phone">
  30 + <el-input
  31 + v-model="queryParams.phone"
  32 + placeholder="请输入手机号"
  33 + clearable
  34 + style="width: 200px"
  35 + @keyup.enter="handleQuery"
  36 + />
  37 + </el-form-item>
  38 + <el-form-item label="车架号" prop="frameNumber">
  39 + <el-input
  40 + v-model="queryParams.frameNumber"
  41 + placeholder="请输入车架号"
  42 + clearable
  43 + style="width: 200px"
  44 + @keyup.enter="handleQuery"
  45 + />
  46 + </el-form-item>
29 <el-form-item label="操作人员" prop="association"> 47 <el-form-item label="操作人员" prop="association">
30 <el-input 48 <el-input
31 v-model="queryParams.association" 49 v-model="queryParams.association"
@@ -307,6 +325,8 @@ const queryParams = reactive({ @@ -307,6 +325,8 @@ const queryParams = reactive({
307 association: "", 325 association: "",
308 associationapprovetype: "", 326 associationapprovetype: "",
309 associationapprove: "", 327 associationapprove: "",
  328 + frameNumber: "",
  329 + phone: "",
310 }); 330 });
311 331
312 const options = [ 332 const options = [
@@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
53 </el-form> 53 </el-form>
54 54
55 <!-- 表格数据 --> 55 <!-- 表格数据 -->
56 - <el-table v-loading="loading" :data="policyList" @row-click="handleTask"> 56 + <el-table v-loading="loading" :data="policyList">
57 <el-table-column label="序号" width="55" type="index" /> 57 <el-table-column label="序号" width="55" type="index" />
58 <el-table-column 58 <el-table-column
59 label="登记时间" 59 label="登记时间"
@@ -118,7 +118,7 @@ @@ -118,7 +118,7 @@
118 <el-table-column 118 <el-table-column
119 label="操作" 119 label="操作"
120 align="center" 120 align="center"
121 - min-width="280" 121 + min-width="300"
122 fixed="right" 122 fixed="right"
123 > 123 >
124 <template #default="{ row }"> 124 <template #default="{ row }">
@@ -132,6 +132,12 @@ @@ -132,6 +132,12 @@
132 > 132 >
133 <el-button 133 <el-button
134 type="primary" 134 type="primary"
  135 + v-hasRole="['companyemployee']"
  136 + @click="lookRemark(row)"
  137 + >查询备注</el-button
  138 + >
  139 + <el-button
  140 + type="primary"
135 v-show=" 141 v-show="
136 row.policyStatus !== '问题件' && row.orderProgress === '已承接' 142 row.policyStatus !== '问题件' && row.orderProgress === '已承接'
137 " 143 "
@@ -176,7 +182,7 @@ @@ -176,7 +182,7 @@
176 row.policyStatus === '问题件' && 182 row.policyStatus === '问题件' &&
177 checkRole(['associationemployee']) 183 checkRole(['associationemployee'])
178 " 184 "
179 - @click="handleVoid('2')" 185 + @click="handleVoid('2', row.taskId)"
180 >作废</el-button 186 >作废</el-button
181 > 187 >
182 <el-button 188 <el-button
@@ -185,7 +191,7 @@ @@ -185,7 +191,7 @@
185 row.policyStatus === '问题件' && 191 row.policyStatus === '问题件' &&
186 checkRole(['associationemployee']) 192 checkRole(['associationemployee'])
187 " 193 "
188 - @click="handleAuthCompany('0')" 194 + @click="handleAuthCompany('0', row.taskId)"
189 >分配</el-button 195 >分配</el-button
190 > 196 >
191 </template> 197 </template>
@@ -201,6 +207,38 @@ @@ -201,6 +207,38 @@
201 @pagination="getList" 207 @pagination="getList"
202 /> 208 />
203 209
  210 + <!-- 通过备注对话框 -->
  211 + <el-dialog
  212 + v-model="successShow"
  213 + title="通过备注"
  214 + width="500"
  215 + append-to-body
  216 + >
  217 + <QuillEditor v-model="successMsg" :min-height="192" />
  218 + <template #footer>
  219 + <div class="dialog-footer">
  220 + <el-button @click="successShow = false">取消</el-button>
  221 + <el-button type="primary" @click="handleSuccess">确定</el-button>
  222 + </div>
  223 + </template>
  224 + </el-dialog>
  225 +
  226 + <!-- 分配备注对话框 -->
  227 + <el-dialog
  228 + v-model="sharingShow"
  229 + title="分配备注"
  230 + width="500"
  231 + append-to-body
  232 + >
  233 + <QuillEditor v-model="sharingMsg" :min-height="192" />
  234 + <template #footer>
  235 + <div class="dialog-footer">
  236 + <el-button @click="sharingShow = false">取消</el-button>
  237 + <el-button type="primary" @click="submitForm">确定</el-button>
  238 + </div>
  239 + </template>
  240 + </el-dialog>
  241 +
204 <!-- 表单作废,退回。问题件对话框 --> 242 <!-- 表单作废,退回。问题件对话框 -->
205 <el-dialog 243 <el-dialog
206 v-model="deprecatedShow" 244 v-model="deprecatedShow"
@@ -243,6 +281,7 @@ @@ -243,6 +281,7 @@
243 v-for="item in deptOptions" 281 v-for="item in deptOptions"
244 :key="item.deptId" 282 :key="item.deptId"
245 :label="item.deptId" 283 :label="item.deptId"
  284 + v-show="item.deptName !== '无'"
246 >{{ item.deptName }}</el-radio 285 >{{ item.deptName }}</el-radio
247 > 286 >
248 </el-radio-group> 287 </el-radio-group>
@@ -251,7 +290,7 @@ @@ -251,7 +290,7 @@
251 <template #footer> 290 <template #footer>
252 <div class="dialog-footer"> 291 <div class="dialog-footer">
253 <el-button @click="companyShow = false">取消</el-button> 292 <el-button @click="companyShow = false">取消</el-button>
254 - <el-button type="primary" @click="submitForm">确定</el-button> 293 + <el-button type="primary" @click="sharingShow = true">确定</el-button>
255 </div> 294 </div>
256 </template> 295 </template>
257 </el-dialog> 296 </el-dialog>
@@ -350,6 +389,20 @@ @@ -350,6 +389,20 @@
350 </el-form> 389 </el-form>
351 </el-dialog> 390 </el-dialog>
352 391
  392 + <!-- 查询通过备注弹出框 -->
  393 + <el-dialog
  394 + v-model="lookSuccessShow"
  395 + title="通过备注"
  396 + width="700"
  397 + append-to-body
  398 + >
  399 + <QuillEditor
  400 + v-model="lookSuccessMsg"
  401 + :readOnly="true"
  402 + :min-height="192"
  403 + />
  404 + </el-dialog>
  405 +
353 <!-- 编辑对话框 --> 406 <!-- 编辑对话框 -->
354 <el-dialog v-model="open" title="保单信息" width="700" append-to-body> 407 <el-dialog v-model="open" title="保单信息" width="700" append-to-body>
355 <el-form :model="form" ref="policyRef" label-width="100px"> 408 <el-form :model="form" ref="policyRef" label-width="100px">
@@ -499,14 +552,14 @@ @@ -499,14 +552,14 @@
499 <el-button 552 <el-button
500 type="primary" 553 type="primary"
501 v-hasRole="['associationemployee']" 554 v-hasRole="['associationemployee']"
502 - @click.stop="handleSuccess('0')" 555 + @click.stop="successShow = true"
503 > 556 >
504 通过 557 通过
505 </el-button> 558 </el-button>
506 <el-button 559 <el-button
507 type="primary" 560 type="primary"
508 v-hasRole="['associationemployee']" 561 v-hasRole="['associationemployee']"
509 - @click="handleVoid('2')" 562 + @click="handleVoid('2', taskId)"
510 >作废</el-button 563 >作废</el-button
511 > 564 >
512 <el-button 565 <el-button
@@ -518,7 +571,7 @@ @@ -518,7 +571,7 @@
518 <el-button 571 <el-button
519 type="primary" 572 type="primary"
520 v-hasRole="['associationemployee']" 573 v-hasRole="['associationemployee']"
521 - @click.stop="handleAuthCompany('0')" 574 + @click.stop="handleAuthCompany('0', taskId)"
522 >人工分配</el-button 575 >人工分配</el-button
523 > 576 >
524 </div> 577 </div>
@@ -547,7 +600,7 @@ const { proxy } = getCurrentInstance(); @@ -547,7 +600,7 @@ const { proxy } = getCurrentInstance();
547 const loading = ref(false); 600 const loading = ref(false);
548 const activeTitle = ref(""); 601 const activeTitle = ref("");
549 const loadingBtn = ref(false); 602 const loadingBtn = ref(false);
550 -const showIssue = ref(false); 603 +const showIssue = ref(false); // 问题件显示变量
551 const total = ref(0); 604 const total = ref(0);
552 const timeFrame = ref(null); 605 const timeFrame = ref(null);
553 const typeId = ref(0); // 判断类型 0 问题件 1 退回 2 作废 606 const typeId = ref(0); // 判断类型 0 问题件 1 退回 2 作废
@@ -555,11 +608,20 @@ const transferTip = ref(""); //流转下一家名称 @@ -555,11 +608,20 @@ const transferTip = ref(""); //流转下一家名称
555 const transferDeptId = ref(""); // 流转的部门公司ID 608 const transferDeptId = ref(""); // 流转的部门公司ID
556 const open = ref(false); 609 const open = ref(false);
557 const form = ref({}); 610 const form = ref({});
558 -const showFeedback = ref(false);  
559 -const transferShow = ref(false); 611 +const showFeedback = ref(false); // 回馈显示变量
  612 +const transferShow = ref(false); // 转办显示变量
560 const transferForm = ref({}); 613 const transferForm = ref({});
561 const taskId = ref(""); 614 const taskId = ref("");
562 615
  616 +const successShow = ref(false); // 通过备注显示变量
  617 +const successMsg = ref(""); // 通过备注
  618 +
  619 +const sharingShow = ref(false); // 分配备注显示变量
  620 +const sharingMsg = ref(""); // 分配备注
  621 +
  622 +const lookSuccessShow = ref(false); // 查看通过备注显示变量
  623 +const lookSuccessMsg = ref(""); // 查看通过备注
  624 +
563 const issueReturenCompany = ref(""); 625 const issueReturenCompany = ref("");
564 const IssueForm = ref({ 626 const IssueForm = ref({
565 deprecatedReason: "", 627 deprecatedReason: "",
@@ -652,11 +714,6 @@ const getNeedOption = async () => { @@ -652,11 +714,6 @@ const getNeedOption = async () => {
652 }; 714 };
653 getNeedOption(); 715 getNeedOption();
654 716
655 -// 赋值taskId  
656 -const handleTask = (row) => {  
657 - taskId.value = row.taskId;  
658 -};  
659 -  
660 const getList = async () => { 717 const getList = async () => {
661 loading.value = true; 718 loading.value = true;
662 const { data } = await queryMyList(queryParams); 719 const { data } = await queryMyList(queryParams);
@@ -692,28 +749,21 @@ const handleTroubleshooting = (taskId) => { @@ -692,28 +749,21 @@ const handleTroubleshooting = (taskId) => {
692 typeId.value = 0; 749 typeId.value = 0;
693 deprecatedShow.value = true; 750 deprecatedShow.value = true;
694 }; 751 };
695 -// 通过保单  
696 -const handleSuccess = (associationapprove) => {  
697 - proxy.$modal  
698 - .confirm("是否通过该保单")  
699 - .then(function () {})  
700 - .then(async () => {  
701 - await updateCarInfo(form.value); 752 +// 提交通过保单
  753 +const handleSuccess = async () => {
702 await disposeUser( 754 await disposeUser(
703 { 755 {
704 - associationapprove, 756 + associationapprove: "0",
705 associationapprovetype: "0", 757 associationapprovetype: "0",
706 deptid: transferDeptId.value, 758 deptid: transferDeptId.value,
  759 + comment: successMsg.value,
707 }, 760 },
708 taskId.value 761 taskId.value
709 ); 762 );
710 proxy.$modal.msgSuccess("保单已通过"); 763 proxy.$modal.msgSuccess("保单已通过");
711 open.value = false; 764 open.value = false;
  765 + successShow.value = false;
712 getList(); 766 getList();
713 - })  
714 - .catch(() => {  
715 - proxy.$modal.msg("取消通过");  
716 - });  
717 }; 767 };
718 // 退回保单 768 // 退回保单
719 const handleFallback = (associationapprove) => { 769 const handleFallback = (associationapprove) => {
@@ -727,10 +777,10 @@ const handleFallback = (associationapprove) => { @@ -727,10 +777,10 @@ const handleFallback = (associationapprove) => {
727 deprecatedShow.value = true; 777 deprecatedShow.value = true;
728 }; 778 };
729 // 作废保单 779 // 作废保单
730 -const handleVoid = (associationapprove) => { 780 +const handleVoid = (associationapprove, taskId) => {
731 deprecatedForm.value = { 781 deprecatedForm.value = {
732 associationapprove, 782 associationapprove,
733 - taskId: taskId.value, 783 + taskId,
734 }; 784 };
735 deprecatedForm.value.deprecatedReason = ""; 785 deprecatedForm.value.deprecatedReason = "";
736 typeId.value = 2; 786 typeId.value = 2;
@@ -751,6 +801,16 @@ const lookReason = async (row) => { @@ -751,6 +801,16 @@ const lookReason = async (row) => {
751 issueReturenCompany.value = row.companyName; 801 issueReturenCompany.value = row.companyName;
752 }; 802 };
753 803
  804 +// 查阅通过备注
  805 +const lookRemark = async (row) => {
  806 + const { data } = await queryDefeatContent({
  807 + processInstanceId: row.processInstanceId,
  808 + type: 3,
  809 + });
  810 + lookSuccessMsg.value = data.message;
  811 + lookSuccessShow.value = true;
  812 +};
  813 +
754 // 提交作废,退回,问题件表单 814 // 提交作废,退回,问题件表单
755 const sunmitDeprecated = () => { 815 const sunmitDeprecated = () => {
756 let data = {}; 816 let data = {};
@@ -773,11 +833,12 @@ const sunmitDeprecated = () => { @@ -773,11 +833,12 @@ const sunmitDeprecated = () => {
773 proxy.$modal.msgSuccess("操作成功"); 833 proxy.$modal.msgSuccess("操作成功");
774 }); 834 });
775 }; 835 };
  836 +
776 // 分配承保公司 837 // 分配承保公司
777 -const handleAuthCompany = (associationapprove) => { 838 +const handleAuthCompany = (associationapprove, taskId) => {
778 companyForm.value = { 839 companyForm.value = {
779 associationapprove, 840 associationapprove,
780 - taskId: taskId.value, 841 + taskId: taskId,
781 }; 842 };
782 companyShow.value = true; 843 companyShow.value = true;
783 }; 844 };
@@ -819,6 +880,7 @@ const handleUpdate = async (row) => { @@ -819,6 +880,7 @@ const handleUpdate = async (row) => {
819 getTransferTip(); 880 getTransferTip();
820 form.value = data; 881 form.value = data;
821 open.value = true; 882 open.value = true;
  883 + taskId.value = row.taskId;
822 }; 884 };
823 /** 提交通过分配承保公司 */ 885 /** 提交通过分配承保公司 */
824 function submitForm() { 886 function submitForm() {
@@ -826,10 +888,12 @@ function submitForm() { @@ -826,10 +888,12 @@ function submitForm() {
826 associationapprove: companyForm.value.associationapprove, 888 associationapprove: companyForm.value.associationapprove,
827 associationapprovetype: "1", 889 associationapprovetype: "1",
828 deptid: companyForm.value.deptId.toString(), 890 deptid: companyForm.value.deptId.toString(),
  891 + comment: sharingMsg.value,
829 }; 892 };
830 const taskId = companyForm.value.taskId; 893 const taskId = companyForm.value.taskId;
831 disposeUser(data, taskId).then((res) => { 894 disposeUser(data, taskId).then((res) => {
832 companyShow.value = false; 895 companyShow.value = false;
  896 + sharingShow.value = false;
833 getList(); 897 getList();
834 proxy.$modal.msgSuccess("保单已分配成功"); 898 proxy.$modal.msgSuccess("保单已分配成功");
835 }); 899 });
@@ -26,6 +26,24 @@ @@ -26,6 +26,24 @@
26 @keyup.enter="handleQuery" 26 @keyup.enter="handleQuery"
27 /> 27 />
28 </el-form-item> 28 </el-form-item>
  29 + <el-form-item label="手机号" prop="phone">
  30 + <el-input
  31 + v-model="queryParams.phone"
  32 + placeholder="请输入手机号"
  33 + clearable
  34 + style="width: 200px"
  35 + @keyup.enter="handleQuery"
  36 + />
  37 + </el-form-item>
  38 + <el-form-item label="车架号" prop="frameNumber">
  39 + <el-input
  40 + v-model="queryParams.frameNumber"
  41 + placeholder="请输入车架号"
  42 + clearable
  43 + style="width: 200px"
  44 + @keyup.enter="handleQuery"
  45 + />
  46 + </el-form-item>
29 <el-form-item label="操作人员" prop="association"> 47 <el-form-item label="操作人员" prop="association">
30 <el-input 48 <el-input
31 v-model="queryParams.association" 49 v-model="queryParams.association"
@@ -266,6 +284,8 @@ const queryParams = reactive({ @@ -266,6 +284,8 @@ const queryParams = reactive({
266 association: "", 284 association: "",
267 associationapprovetype: "", 285 associationapprovetype: "",
268 associationapprove: "", 286 associationapprove: "",
  287 + phone: "",
  288 + frameNumber: "",
269 }); 289 });
270 290
271 const options = [ 291 const options = [