diff --git a/src/views/modules/processManagement/processFlowInfo.vue b/src/views/modules/processManagement/processFlowInfo.vue index a97a0b6..bd4c969 100644 --- a/src/views/modules/processManagement/processFlowInfo.vue +++ b/src/views/modules/processManagement/processFlowInfo.vue @@ -57,8 +57,8 @@ class="el-button el-button--primary el-button--medium"> {{ "导出" }} - 节点更新 - 流程干预 + 节点更新 + 流程干预 @@ -390,6 +390,7 @@ export default { columnWidth: 100 }, ], + processLoading: false } }, @@ -480,10 +481,12 @@ export default { userId: this.$store.state.user.name, informationList: this.processSelections } + this.processLoading = true processIntervention(tempData).then(({data}) => { if (data && data.code === 0) { this.getDataList() this.processSelections = [] + this.processLoading = false this.$message({ message: '操作成功', type: 'success', @@ -491,10 +494,13 @@ export default { onClose: () => {} }) } else { + this.processLoading = false this.$alert(data.msg, '错误', { confirmButtonText: '确定' }) } + }).catch(()=>{ + this.processLoading = false }) }) }, @@ -522,10 +528,12 @@ export default { userId: this.$store.state.user.name, informationList: this.processSelections } + this.processLoading = true processIntervention(tempData).then(({data}) => { if (data && data.code === 0) { this.getDataList() this.processSelections = [] + this.processLoading = false this.$message({ message: '操作成功', type: 'success', @@ -533,10 +541,13 @@ export default { onClose: () => {} }) } else { + this.processLoading = false this.$alert(data.msg, '错误', { confirmButtonText: '确定' }) } + }).catch(()=>{ + this.processLoading = false }) }) }, diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue index 890928f..c9d5f80 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue @@ -1,6 +1,6 @@