From de4ac8d72dc69abe60e37d5a45af4246ca96975b Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Wed, 31 Jan 2024 15:10:20 +0800 Subject: [PATCH] =?UTF-8?q?task#10595,=E6=A1=88=E4=BB=B6=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=B8=8B=E6=8B=89=E5=88=B7=E6=96=B0=E6=95=88?= =?UTF-8?q?=E6=9E=9C=E4=BB=A5=E5=8F=8A=E6=95=B0=E6=8D=AE=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E7=9A=84=E9=A1=B5=E9=9D=A2=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/caseList/caseAuditList.vue | 55 ++++++++++++++++++++++------ 1 file changed, 43 insertions(+), 12 deletions(-) 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 {