From ceb45b33b23bdcf3172adc4a5a8d0079eafab17c Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Tue, 20 Feb 2024 15:36:03 +0800 Subject: [PATCH] =?UTF-8?q?task#11035,=E8=8E=B7=E5=8F=96=E8=B0=83=E5=BA=A6?= =?UTF-8?q?apptoken?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/caseList/caseAuditList.vue | 12 +++++------- src/views/caseList/caseDetail.vue | 4 ++-- src/views/caseList/caseList.vue | 2 ++ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/caseList/caseAuditList.vue b/src/views/caseList/caseAuditList.vue index e8c270b7..051d8812 100644 --- a/src/views/caseList/caseAuditList.vue +++ b/src/views/caseList/caseAuditList.vue @@ -22,7 +22,7 @@
-
审核批次:{{ item.batchCode }}
+
案件编号:{{ item.userOrderCode }}
{{item.state.label}}
@@ -68,11 +68,8 @@ export default { }, async mounted() { - const urlParams = new URLSearchParams(window.location.search); - this.id = this.$route.params.id || urlParams.get('id') || this.$route.params.batchCode; - // console.log(" this.id", this.id) - this.activeIndex=this.$route.params?.activeIndex || 0 - // console.log(" this.activeIndex", this.activeIndex) + this.id = this.$route.params.id || this.$route.params.batchCode; + // this.activeIndex=this.$route.params?.activeIndex || 0 await this.batchOrderCount(); await this.getList() }, @@ -118,10 +115,11 @@ export default { name: 'caseDetail', // 目标路由的名称 params: { id:id, - index:this.activeIndex, + // index:this.activeIndex, batchCode:this.id, } }); + }, getStatus(i){ switch (i){ diff --git a/src/views/caseList/caseDetail.vue b/src/views/caseList/caseDetail.vue index f57de6ec..181d7364 100644 --- a/src/views/caseList/caseDetail.vue +++ b/src/views/caseList/caseDetail.vue @@ -148,7 +148,7 @@ export default { }, created() { this.id = this.$route.params.id; - this.activeIndex=this.$route.params.index; + // this.activeIndex=this.$route.params.index; this.batchCode=this.$route.params.batchCode console.log(" this.batchCode", this.batchCode) }, @@ -164,7 +164,7 @@ export default { this.$router.push({ name: 'caseAuditList', // 目标路由的名称 params: { - activeIndex:this.activeIndex, + // activeIndex:this.activeIndex, batchCode:this.batchCode, } }); diff --git a/src/views/caseList/caseList.vue b/src/views/caseList/caseList.vue index ac72f287..7557cdc0 100644 --- a/src/views/caseList/caseList.vue +++ b/src/views/caseList/caseList.vue @@ -57,6 +57,8 @@ export default { } }, async mounted() { + let token = localStorage.getItem('token'); + this.$notify(token); await this.getCount(); await this.getList() },