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() },