From a889cb39a89b08866bb75c0ae92722e58dfca180 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Sat, 2 Jul 2022 09:59:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/jero/JLoading.vue | 2 +- .../components/ParameterItemCollectionList.vue | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/jero-web/src/components/jero/JLoading.vue b/jero-web/src/components/jero/JLoading.vue index 29a67aea8..8266f08ee 100644 --- a/jero-web/src/components/jero/JLoading.vue +++ b/jero-web/src/components/jero/JLoading.vue @@ -54,7 +54,7 @@ position: absolute; top: 0; left: 0; - z-index: 999; + z-index: 111999; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.9); diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 57ceeffdf..79b133147 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -1048,6 +1048,7 @@ }) let _this = this let param = { ids: _array.join(',') } + this.textLoading = true axios({ url: '/jero-boot/params/collectManifest/back', method: 'post', @@ -1066,14 +1067,17 @@ }) .then((res) => { if (res.data.success) { + this.textLoading = false _this.$message.success(_this.$t('OperationSuccessful')) _this.GetgetTableList() _this.selectedRowKeysValue = [] } else { + this.textLoading = false _this.$message.warning(_this.$t('operationFailed')) } }) .catch((error) => { + this.textLoading = false }) }, // 强制撤回权限 @@ -1093,6 +1097,7 @@ }) let _this = this let param = { ids: _array.join(',') } + this.textLoading = true axios({ url: '/jero-boot/params/collectManifest/withdraw', method: 'post', @@ -1111,14 +1116,17 @@ }) .then((res) => { if (res.data.success) { + this.textLoading = false _this.$message.success(_this.$t('OperationSuccessful')) _this.GetgetTableList() _this.selectedRowKeysValue = [] } else { + this.textLoading = false _this.$message.warning(_this.$t('operationFailed')) } }) .catch((error) => { + this.textLoading = false }) }, // 分配填写人 @@ -1195,6 +1203,7 @@ this.$confirm({ content: _this.$t('ConfirmBatchDeletion'), onOk() { + this.textLoading = true axios({ url: '/jero-boot/params/collectManifest/deleteBatch', method: 'post', @@ -1217,11 +1226,14 @@ _this.selectedRowKeys = [] _this.$refs.CollectionTabel.getData() _this.$refs.CollectionTabel.getTableList() + this.textLoading = false } else { + this.textLoading = false _this.$message.warning(_this.$t('operationFailed')) } }) .catch((error) => { + this.textLoading = false }) } })