diff --git a/src/views/caseList/caseAuditList.vue b/src/views/caseList/caseAuditList.vue index 0169c409..3c1879c9 100644 --- a/src/views/caseList/caseAuditList.vue +++ b/src/views/caseList/caseAuditList.vue @@ -66,7 +66,7 @@ export default { }, created() { const urlParams = new URLSearchParams(window.location.search); - this.id = this.$route.params.id || urlParams.get('id'); + this.id = this.$route.params.id || urlParams.get('id') || this.$route.params.batchCode; }, async mounted() { this.activeIndex=this.$route.params?.activeIndex || 0 @@ -116,6 +116,7 @@ export default { params: { id:id, index:this.activeIndex, + batchCode:this.id, } }); }, @@ -172,9 +173,9 @@ export default { .navBar{ margin-bottom: 46px; } -::v-deep .van-nav-bar__content{ +/*::v-deep .van-nav-bar__content{ background-color: #354683 !important; -} +}*/ .tab_wrap { @include fontWeightSize(500, 14px); @include flexColAround(); diff --git a/src/views/caseList/caseDetail.vue b/src/views/caseList/caseDetail.vue index 2ee2eaaf..d5306308 100644 --- a/src/views/caseList/caseDetail.vue +++ b/src/views/caseList/caseDetail.vue @@ -8,9 +8,10 @@ :border="false" :fixed="true" :safe-area-inset-top="true" - @click-left="h5GoBack" + @click-left="goPrePage" /> +
DDA2304142407036
@@ -142,11 +143,13 @@ export default { abPath:[], bcPath:[], activeIndex:'', + batchCode:'', } }, created() { this.id = this.$route.params.id; this.activeIndex=this.$route.params.index; + this.batchCode=this.$route.params.batchCode }, async mounted(){ await this.getOrderDetail() @@ -161,6 +164,7 @@ export default { params: { id:this.id, activeIndex:this.activeIndex, + batchCode:this.batchCode, } }); }, diff --git a/src/views/caseList/caseList.vue b/src/views/caseList/caseList.vue index d51195fe..ac72f287 100644 --- a/src/views/caseList/caseList.vue +++ b/src/views/caseList/caseList.vue @@ -18,19 +18,25 @@ {{item.num}}
-
-
-
-
审核批次:{{item.batchCode}}
-
查看
+ +
+
+
+
审核批次:{{item.batchCode}}
+
查看
+
+
报销金额:{{item.totalAmount}}元/{{item.auditSuccessAmount}}元
+
案件数量:{{item.orderCount}}/{{item.auditSuccessCount}}
+
提交人员:{{ item.createUser }}
+
提交时间:{{ item.createTime }}
-
报销金额:{{item.totalAmount}}元/{{item.auditSuccessAmount}}元
-
案件数量:{{item.orderCount}}/{{item.auditSuccessCount}}
-
提交人员:{{ item.createUser }}
-
提交时间:{{ item.createTime }}
+ +
+
+
-
+
@@ -47,12 +53,18 @@ export default { pageList:[], pageNum:1, pageSize:10, + isLoading:"", } }, async mounted() { await this.getCount(); await this.getList() }, + computed:{ + show() { + return (this.pageList.length < 0 || this.pageList.length == 0); // 判断数组长度是否大于 0 + }, + }, methods:{ async changeTab(index) { this.activeIndex = index @@ -60,6 +72,13 @@ export default { this.pageList = []; await this.getList() }, + onRefresh() { + this.getList() + setTimeout(() => { + this.$toast('刷新成功'); + this.isLoading = false; + }, 1000); + }, async getList(){ let res=await reimburseBatchList({ pageNum:this.pageNum, @@ -83,7 +102,6 @@ export default { name: 'caseAuditList', // 目标路由的名称 params: { id: id, // 参数对象的属性 - // queryTime: this.time || this.queryTime } }); }, @@ -101,9 +119,17 @@ export default { .navBar{ margin-bottom: 46px; } -::v-deep .van-nav-bar__content{ - background-color: #354683 !important; +.bgEmptyImg{ + @include flexTwoCenter; + height: 90% ; + background-color: #FAFAFA; + img{ + width: 100%; + } } +/*::v-deep .van-nav-bar__content{ + background-color: #354683 !important; +}*/ .tab_wrap { @include fontWeightSize(500, 14px); @include flexColAround(); diff --git a/src/views/driverCaseList/driverCaseList.vue b/src/views/driverCaseList/driverCaseList.vue index 7f1eba02..b5e52c25 100644 --- a/src/views/driverCaseList/driverCaseList.vue +++ b/src/views/driverCaseList/driverCaseList.vue @@ -8,7 +8,7 @@ :border="false" :fixed="true" :safe-area-inset-top="true" - @click-left="h5GoBack" + @click-left="goBack" />