From a29194c89494db548775a54d1dd336c9040dd3bd Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Fri, 1 Jul 2022 13:51:53 +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 --- .../components/ParameterItemCollectionList.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 20b926bd8..8a5ca15a8 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -348,6 +348,7 @@ + {{this.$t('pleaseWaitWhileRunning')}} @@ -428,6 +429,7 @@ } ], selectedRowKeys: [], + textLoading: false, formInline: {}, url: { tableHeader: 'params/collectManifest/getHeader', @@ -821,6 +823,7 @@ let _this = this let paramsConfig = this.Dateline.paramsConfig === undefined ? '' : this.Dateline.paramsConfig.join(',') let param = { paramsManifestId: this.paramsManifest.id, paramsConfigIds: paramsConfig } + this.textLoading = true axios({ url: '/jero-boot/params/collectManifest/lockConfigColumn', method: 'post', @@ -839,14 +842,17 @@ }) .then((res) => { if (res.data.success) { + this.textLoading = false _this.$message.success(res.data.result) this.areaVisibleFreeze = false this.$refs.CollectionTabel.getTableList() } else { + this.textLoading = false _this.$message.warning(res.data.result) } }) .catch((error) => { + this.textLoading = false }) }, // 冻结配置取消 @@ -897,6 +903,7 @@ }, // 下发收集---请求接口 distributionAndCollection() { + let _array = [] this.selectedRowKeysValue.forEach((item, index) => { _array.push(item.id) @@ -907,6 +914,7 @@ projectId: this.$route.query.projectId, ids: _array.join(',') } + this.textLoading = true axios({ url: '/jero-boot/params/collectManifest/issueCollection', method: 'post', @@ -927,12 +935,15 @@ if (res.data.success) { _this.$message.success(this.$t('OperationSuccessful')) _this.areaVisible = false + this.textLoading = false _this.GetgetTableList() } else { + this.textLoading = false _this.$message.warning(this.$t('operationFailed')) } }) .catch((error) => { + this.textLoading = false }) }, // 同步上报库 权限