From b3e77e218df41d05bb5d5039e6e4c7cd0fb4c5c5 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 06 三月 2025 14:23:29 +0800 Subject: [PATCH] 业务流程添加按钮权限 --- src/views/performance/class/index.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/performance/class/index.vue b/src/views/performance/class/index.vue index 31ac64c..4a318ef 100644 --- a/src/views/performance/class/index.vue +++ b/src/views/performance/class/index.vue @@ -530,7 +530,6 @@ laboratory: this.query.laboratory, }).then((res) => { this.pageLoading = false; - if (res.code == 201) return; this.total = res.data.page.total; this.list = res.data.page.records.map((item) => { for (let key in item.monthlyAttendance) { @@ -551,7 +550,9 @@ }; this.weeks.push(obj); }); - }); + }).catch(() => { + this.pageLoading = false; + }) }, initYear() { this.pageLoading = true; -- Gitblit v1.9.3