From b91dbbf536f3aa848c73be5e8ca87c0ff3ebb83d Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Mon, 3 Jul 2023 16:08:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9C=BC=E8=BD=B4=E6=8A=98=E7=BA=BF=E5=9B=BE?= =?UTF-8?q?=E5=AE=8C=E6=88=90,=E8=A1=A8=E5=8D=95=E5=A2=9E=E5=8A=A0loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 4 +- src/mixins/view-module.js | 4 + .../reservation/subList/index.vue | 2 +- .../optometryManagement/cornea/index.vue | 2 +- .../optometryManagement/dioptric/index.vue | 9 +- .../optometryManagement/seeDoctor/eyeAxis.vue | 212 ++++++++++++++++++ .../optometryManagement/seeDoctor/index.vue | 8 +- .../seeDoctor/{ok-lens-rgp => }/reviewSum.vue | 69 +++--- .../outpatientManagement/call/index.vue | 2 +- .../outpatientManagement/treat/index.vue | 2 +- 10 files changed, 258 insertions(+), 56 deletions(-) create mode 100644 src/page-subspecialty/views/modules/optometryManagement/seeDoctor/eyeAxis.vue rename src/page-subspecialty/views/modules/optometryManagement/seeDoctor/{ok-lens-rgp => }/reviewSum.vue (64%) diff --git a/public/index.html b/public/index.html index 47688a7..65983e7 100644 --- a/public/index.html +++ b/public/index.html @@ -39,8 +39,8 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> diff --git a/src/mixins/view-module.js b/src/mixins/view-module.js index 87e9f07..8604611 100644 --- a/src/mixins/view-module.js +++ b/src/mixins/view-module.js @@ -26,6 +26,7 @@ export default { page: 1, // 当前页码 limit: 10, // 每页数 total: 0, // 总条数 + buttonDisabled:false, dataListLoading: false, // 数据列表,loading状态 dataListSelections: [], // 数据列表,多选项 addOrUpdateVisible: false, // 新增/更新,弹窗visible状态 @@ -47,6 +48,7 @@ export default { // 获取数据列表 getDataList() { this.dataListLoading = true + this.buttonDisabled = true let params = { page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null, limit: this.mixinViewModuleOptions.getDataListIsPage ? this.limit : null, @@ -59,6 +61,7 @@ export default { } ).then(({ data: res }) => { this.dataListLoading = false + this.buttonDisabled = false if (res.code !== 0) { this.dataList = [] this.total = 0 @@ -69,6 +72,7 @@ export default { this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 }).catch(() => { this.dataListLoading = false + this.buttonDisabled = false }) : '' }, dealObjectValue(obj) { diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue index 2574670..65cbea4 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/subList/index.vue @@ -85,7 +85,7 @@ >{{ item.label }} -
+
-
+
- {{ item.label }} + {{ item.label }}
顺呼 @@ -51,7 +51,7 @@
-
+
- +