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 }) } })