From 38d1bab8ca90449f57ea031ba09014c5b1877502 Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Wed, 19 Feb 2025 15:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/officeDeliveryDialog.vue | 8 +++++-- .../event-tracing/components/officeDialog.vue | 6 +++++- .../components/officeSealDialog.vue | 6 +++++- .../components/officeWriteDialog.vue | 12 +++++++---- .../components/repaymentDialog.vue | 6 +++++- .../event-tracing/components/smsDialog.vue | 6 +++++- .../event-tracing/components/voideDialog.vue | 12 +++++++---- .../officeDeliveryDialogDetail.vue | 15 +++++++------ .../dtraceDetail/officeDialogDetail.vue | 15 ++++++++----- .../dtraceDetail/officeWDialogDetail.vue | 15 ++++++++----- .../dtraceDetail/smsDialogDetail.vue | 21 ++++++++++++------- 11 files changed, 84 insertions(+), 38 deletions(-) diff --git a/src/pages/event-tracing/components/officeDeliveryDialog.vue b/src/pages/event-tracing/components/officeDeliveryDialog.vue index 251becd..6280a74 100644 --- a/src/pages/event-tracing/components/officeDeliveryDialog.vue +++ b/src/pages/event-tracing/components/officeDeliveryDialog.vue @@ -146,10 +146,13 @@ import api from "@/services/eventTracingApi"; }; }, mounted () { - this.queryParam.caseNo = this.eventTraDialog.caseNo + this.initializeQuery() this.getList(1) }, methods: { + initializeQuery(){ + this.queryParam.caseNo = this.eventTraDialog.caseNo + }, handleChangeDate() { this.activeUsage = '' if(this.queryDate === null) { @@ -164,13 +167,14 @@ import api from "@/services/eventTracingApi"; // 重置 hanldeReset() { for (let key in this.queryParam) { - this.queryParam[key] = '' + this.queryParam[key] = '' } this.queryParam.current = 1 this.queryParam.size = 10 this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10; diff --git a/src/pages/event-tracing/components/officeDialog.vue b/src/pages/event-tracing/components/officeDialog.vue index 0430527..f562131 100644 --- a/src/pages/event-tracing/components/officeDialog.vue +++ b/src/pages/event-tracing/components/officeDialog.vue @@ -142,10 +142,13 @@ import api from "@/services/eventTracingApi"; }; }, mounted () { - this.queryParam.caseNo = this.eventTraDialog.caseNo + this.initializeQuery() this.getList(1) }, methods: { + initializeQuery(){ + this.queryParam.caseNo = this.eventTraDialog.caseNo + }, handleChangeDate() { this.activeUsage = '' if(this.queryDate === null) { @@ -167,6 +170,7 @@ import api from "@/services/eventTracingApi"; this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10; diff --git a/src/pages/event-tracing/components/officeSealDialog.vue b/src/pages/event-tracing/components/officeSealDialog.vue index 9c255ec..762ba34 100644 --- a/src/pages/event-tracing/components/officeSealDialog.vue +++ b/src/pages/event-tracing/components/officeSealDialog.vue @@ -140,10 +140,13 @@ import caseManagementapi from "@/services/caseManagement"; }; }, mounted () { - this.queryParam.caseNo = this.eventTraDialog.caseNo + this.initializeQuery() this.getList(1) }, methods: { + initializeQuery(){ + this.queryParam.caseNo = this.eventTraDialog.caseNo + }, handleChangeDate() { this.activeUsage = '' if(this.queryDate === null) { @@ -164,6 +167,7 @@ import caseManagementapi from "@/services/caseManagement"; this.queryParam.size = 10 this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10; diff --git a/src/pages/event-tracing/components/officeWriteDialog.vue b/src/pages/event-tracing/components/officeWriteDialog.vue index aafda43..8e4ecc3 100644 --- a/src/pages/event-tracing/components/officeWriteDialog.vue +++ b/src/pages/event-tracing/components/officeWriteDialog.vue @@ -148,13 +148,16 @@ import api from "@/services/eventTracingApi"; }; }, mounted () { - this.queryParam.caseNo = this.eventTraDialog.caseNo - if (this.eventTraDialog.caseId != undefined && this.eventTraDialog.caseId != '') { - this.queryParam.caseId = this.eventTraDialog.caseId - } + thiis.initializeQuery() this.getList(1) }, methods: { + initializeQuery(){ + this.queryParam.caseNo = this.eventTraDialog.caseNo + if (this.eventTraDialog.caseId != undefined && this.eventTraDialog.caseId != '') { + this.queryParam.caseId = this.eventTraDialog.caseId + } + }, handleChangeDate() { this.activeUsage = '' if(this.queryDate === null) { @@ -175,6 +178,7 @@ import api from "@/services/eventTracingApi"; this.queryParam.size = 10 this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10; diff --git a/src/pages/event-tracing/components/repaymentDialog.vue b/src/pages/event-tracing/components/repaymentDialog.vue index 852a774..bde0cc6 100644 --- a/src/pages/event-tracing/components/repaymentDialog.vue +++ b/src/pages/event-tracing/components/repaymentDialog.vue @@ -160,10 +160,13 @@ import caseapi from "@/services/caseManagement"; }; }, mounted () { - this.queryParam.caseNo = this.eventTraDialog.caseNo + this.initializeQuery() this.getProofList(1) }, methods: { + initializeQuery(){ + this.queryParam.caseNo = this.eventTraDialog.caseNo + }, handleChangeDate() { this.activeUsage = '' if(this.queryDate === null) { @@ -184,6 +187,7 @@ import caseapi from "@/services/caseManagement"; this.queryParam.size = 10 this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10; diff --git a/src/pages/event-tracing/components/smsDialog.vue b/src/pages/event-tracing/components/smsDialog.vue index 1dcad41..d0d7217 100644 --- a/src/pages/event-tracing/components/smsDialog.vue +++ b/src/pages/event-tracing/components/smsDialog.vue @@ -142,10 +142,13 @@ import api from "@/services/eventTracingApi"; }; }, mounted () { - this.queryParam.caseNo = this.eventTraDialog.caseNo + this.initializeQuery() this.getList(1) }, methods: { + initializeQuery(){ + this.queryParam.caseNo = this.eventTraDialog.caseNo + }, handleChangeDate() { this.activeUsage = '' if(this.queryDate === null) { @@ -166,6 +169,7 @@ import api from "@/services/eventTracingApi"; this.queryParam.size = 10 this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10; diff --git a/src/pages/event-tracing/components/voideDialog.vue b/src/pages/event-tracing/components/voideDialog.vue index cc611b8..5b596fa 100644 --- a/src/pages/event-tracing/components/voideDialog.vue +++ b/src/pages/event-tracing/components/voideDialog.vue @@ -149,13 +149,16 @@ export default { }; }, mounted() { - this.queryParam.caseNo = this.eventTraDialog.caseNo - if (this.eventTraDialog.caseId != undefined && this.eventTraDialog.caseId != '') { - this.queryParam.caseId = this.eventTraDialog.caseId - } + this.initializeQuery() this.getList(1) }, methods: { + initializeQuery(){ + this.queryParam.caseNo = this.eventTraDialog.caseNo + if (this.eventTraDialog.caseId != undefined && this.eventTraDialog.caseId != '') { + this.queryParam.caseId = this.eventTraDialog.caseId + } + }, handleChangeDate() { this.activeUsage = '' if (this.queryDate === null) { @@ -176,6 +179,7 @@ export default { this.queryParam.size = 10 this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10; diff --git a/src/pages/event-tracing/dtraceDetail/officeDeliveryDialogDetail.vue b/src/pages/event-tracing/dtraceDetail/officeDeliveryDialogDetail.vue index 7bd6f4a..b14f839 100644 --- a/src/pages/event-tracing/dtraceDetail/officeDeliveryDialogDetail.vue +++ b/src/pages/event-tracing/dtraceDetail/officeDeliveryDialogDetail.vue @@ -126,15 +126,17 @@ import api from "@/services/eventTracingApi"; }; }, mounted () { - this.queryParam.caseNo = this.DialogDetail.caseNo - if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') { - this.queryParam.caseId = this.DialogDetail.caseId - } - - this.queryParam.traceId = this.DialogDetail.id + this.initializeQuery() this.getList(1) }, methods: { + initializeQuery(){ + this.queryParam.caseNo = this.DialogDetail.caseNo + if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') { + this.queryParam.caseId = this.DialogDetail.caseId + } + this.queryParam.traceId = this.DialogDetail.id + }, handleChangeDate() { this.activeUsage = '' if(this.queryDate === null) { @@ -155,6 +157,7 @@ import api from "@/services/eventTracingApi"; this.queryParam.size = 10 this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10; diff --git a/src/pages/event-tracing/dtraceDetail/officeDialogDetail.vue b/src/pages/event-tracing/dtraceDetail/officeDialogDetail.vue index f3c51c8..1d27229 100644 --- a/src/pages/event-tracing/dtraceDetail/officeDialogDetail.vue +++ b/src/pages/event-tracing/dtraceDetail/officeDialogDetail.vue @@ -110,14 +110,18 @@ import api from "@/services/eventTracingApi"; }; }, mounted () { - this.queryParam.traceId = this.DialogDetail.id - this.queryParam.caseNo = this.DialogDetail.caseNo - if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') { - this.queryParam.caseId = this.DialogDetail.caseId - } + this.initializeQuery() + this.getList(1) }, methods: { + initializeQuery(){ + this.queryParam.traceId = this.DialogDetail.id + this.queryParam.caseNo = this.DialogDetail.caseNo + if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') { + this.queryParam.caseId = this.DialogDetail.caseId + } + }, handleChangeDate() { this.activeUsage = '' if(this.queryDate === null) { @@ -138,6 +142,7 @@ import api from "@/services/eventTracingApi"; this.queryParam.size = 10 this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10; diff --git a/src/pages/event-tracing/dtraceDetail/officeWDialogDetail.vue b/src/pages/event-tracing/dtraceDetail/officeWDialogDetail.vue index 13159fe..5a60275 100644 --- a/src/pages/event-tracing/dtraceDetail/officeWDialogDetail.vue +++ b/src/pages/event-tracing/dtraceDetail/officeWDialogDetail.vue @@ -107,14 +107,18 @@ import api from "@/services/eventTracingApi"; }; }, mounted () { - this.queryParam.caseNo = this.DialogDetail.caseNo - if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') { - this.queryParam.caseId = this.DialogDetail.caseId - } - this.queryParam.traceId = this.DialogDetail.id + this.initializeQuery() + this.getList(1) }, methods: { + initializeQuery(){ + this.queryParam.caseNo = this.DialogDetail.caseNo + if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') { + this.queryParam.caseId = this.DialogDetail.caseId + } + this.queryParam.traceId = this.DialogDetail.id + }, handleChangeDate() { this.activeUsage = '' if(this.queryDate === null) { @@ -135,6 +139,7 @@ import api from "@/services/eventTracingApi"; this.queryParam.size = 10 this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10; diff --git a/src/pages/event-tracing/dtraceDetail/smsDialogDetail.vue b/src/pages/event-tracing/dtraceDetail/smsDialogDetail.vue index e6e64e2..3ef1992 100644 --- a/src/pages/event-tracing/dtraceDetail/smsDialogDetail.vue +++ b/src/pages/event-tracing/dtraceDetail/smsDialogDetail.vue @@ -137,17 +137,21 @@ export default { }, mounted() { // console.log(this.DialogDetail, 'this.DialogDetail.caseNo') - if (this.DialogDetail.caseNo != undefined && this.DialogDetail.caseNo != '') { - this.queryParam.caseNo = this.DialogDetail.caseNo - } - if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') { - this.queryParam.caseId = this.DialogDetail.caseId - } - - this.queryParam.traceId = this.DialogDetail.id + + this.initializeQuery() + this.getList(1) }, methods: { + initializeQuery(){ + if (this.DialogDetail.caseNo != undefined && this.DialogDetail.caseNo != '') { + this.queryParam.caseNo = this.DialogDetail.caseNo + } + if (this.DialogDetail.caseId != undefined && this.DialogDetail.caseId != '') { + this.queryParam.caseId = this.DialogDetail.caseId + } + this.queryParam.traceId = this.DialogDetail.id + }, handleChangeDate() { this.activeUsage = '' if (this.queryDate === null) { @@ -168,6 +172,7 @@ export default { this.queryParam.size = 10 this.activeUsage = '' this.queryDate = '' + this.initializeQuery() }, handleSearch() { this.queryParam.size = 10;