diff --git a/src/views/caseList/caseAuditList.vue b/src/views/caseList/caseAuditList.vue index 3dd33619..0169c409 100644 --- a/src/views/caseList/caseAuditList.vue +++ b/src/views/caseList/caseAuditList.vue @@ -18,21 +18,27 @@ {{item.num}} -
-
-
-
审核批次:{{ item.batchCode }}
-
- -
{{item.state.label}}
- + +
+
+
+
审核批次:{{ item.batchCode }}
+
+ +
{{item.state.label}}
+ +
+
报销金额:{{ item.reimburseAmount }}元
+
审核备注:{{ item.auditRemark }}
-
报销金额:{{ item.reimburseAmount }}元
-
审核备注:{{ item.auditRemark }}
+ +
+
+
-
+
@@ -50,8 +56,14 @@ export default { pageNum:1, pageSize:10, id:'',//批次id + isLoading:"", } }, + computed:{ + show() { + return (this.pageList.length < 0 || this.pageList.length == 0); // 判断数组长度是否大于 0 + }, + }, created() { const urlParams = new URLSearchParams(window.location.search); this.id = this.$route.params.id || urlParams.get('id'); @@ -62,6 +74,13 @@ export default { await this.getList() }, methods:{ + onRefresh() { + this.getList() + setTimeout(() => { + this.$toast('刷新成功'); + this.isLoading = false; + }, 1000); + }, async changeTab(index) { this.activeIndex = index this.pageNum = 1 @@ -142,6 +161,10 @@ export default {