diff --git a/src/pages/event-tracing/components/CallDialog.vue b/src/pages/event-tracing/components/CallDialog.vue index 7ca4888..cb93493 100644 --- a/src/pages/event-tracing/components/CallDialog.vue +++ b/src/pages/event-tracing/components/CallDialog.vue @@ -69,7 +69,7 @@ @@ -179,7 +179,7 @@ import { size } from "lodash"; }, // 进入队列 handleEnterqueue(row){ - + this.$router.push({path: '/mediation-page', query: {sourcePage: 'home', caseId: row.caseId}}) } } }; diff --git a/src/pages/layout/components/LayoutHeader.vue b/src/pages/layout/components/LayoutHeader.vue index ab258b9..c68d044 100644 --- a/src/pages/layout/components/LayoutHeader.vue +++ b/src/pages/layout/components/LayoutHeader.vue @@ -14,11 +14,42 @@ -
+
- +
+ +
+ + + {{agentStatusName}} + + + 空闲 + 忙碌 + 话后整理 + 示忙 + 小休 + + +
@@ -44,6 +75,7 @@
个人信息
查看信息
+
退出登录
@@ -255,6 +287,9 @@ export default { }, userInfo: {}, defaultHeadUrl: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',//默认图片 + + agentStatus: 'free', + agentStatusName: '空闲', } }, mounted() { @@ -327,6 +362,21 @@ export default { }) + }, + handleCommand(command) { + console.log(command) + this.agentStatus = command + if (command === 'free') { + this.agentStatusName = '空闲' + } else if (command === 'busy') { + this.agentStatusName = '忙碌' + } else if (command === 'arrange') { + this.agentStatusName = '话后整理' + } else if (command === 'notReady') { + this.agentStatusName = '示忙' + } else if (command === 'rest') { + this.agentStatusName = '小休' + } }, // 关闭 handleClose() { diff --git a/src/pages/mediation-page/components/RepaymentCertificate.vue b/src/pages/mediation-page/components/RepaymentCertificate.vue index 772be94..ed4ddc5 100644 --- a/src/pages/mediation-page/components/RepaymentCertificate.vue +++ b/src/pages/mediation-page/components/RepaymentCertificate.vue @@ -244,6 +244,7 @@ import api from "@/services/caseManagement"; }) }, async getpreviewfull(fileList) { + this.ProofList = [] for (const item of fileList) { try { item.previewUrl = await this.$fetchApi.viewFullFile({path: item.proofUrl}) diff --git a/src/pages/mediation-page/components/VideoReservationDialog.vue b/src/pages/mediation-page/components/VideoReservationDialog.vue index a3aa8f9..3a394bd 100644 --- a/src/pages/mediation-page/components/VideoReservationDialog.vue +++ b/src/pages/mediation-page/components/VideoReservationDialog.vue @@ -61,7 +61,7 @@ v-for="(item,index) in litigantsOptions" :key="index" :label="item.name+ ' ' +'('+ item.phone +')'" - :value="item.identity" + :value="item.phone" :disabled="(item.identity == '' || item.identity == null) ? true :false" :title="(item.identity == '' || item.identity == null) ? '没有证件号码不能选择' :false"> @@ -263,7 +263,7 @@ export default { this.$refs.ruleFormRepayment.validate((valid) => { if (valid) { const resultArr = this.litigantsOptions - .filter(item => this.repaymentObj.litigants.includes(item.identity)) + .filter(item => this.repaymentObj.litigants.includes(item.phone)) .map(({id, name, phone, identity}) => ({id, name, phone, identity})); this.repaymentObj.caseId = this.eventDialog.caseId; // console.log(resultArr, '---resultArr' , this.repaymentObj)