From 5e90c6460fb3f68377949960cfa80d0a83ae5bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 19 Apr 2024 08:44:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RehabilitationPlanandRecords.vue | 4 +- src/views/manage/projectdevice/index.vue | 288 +++--------------- 2 files changed, 51 insertions(+), 241 deletions(-) diff --git a/src/views/manage/components/RehabilitationPlanandRecords.vue b/src/views/manage/components/RehabilitationPlanandRecords.vue index c4a7333..9e122a2 100644 --- a/src/views/manage/components/RehabilitationPlanandRecords.vue +++ b/src/views/manage/components/RehabilitationPlanandRecords.vue @@ -252,9 +252,7 @@ export default { getList(this.query).then(res => { this.itemindex = index this.loading.close(); - if (res.data.length > 0) { - this.categorylist = res.data - } + this.categorylist = res.data }) }, } diff --git a/src/views/manage/projectdevice/index.vue b/src/views/manage/projectdevice/index.vue index 01504f6..d26c197 100644 --- a/src/views/manage/projectdevice/index.vue +++ b/src/views/manage/projectdevice/index.vue @@ -1,28 +1,11 @@ @@ -626,7 +438,7 @@ export default { this.getList(); this.$modal.msgSuccess("解绑成功"); }) - .catch(() => {}); + .catch(() => { }); }, /** 导出按钮操作 */ handleExport() {