diff --git a/src/views/modules/part/routingManagement.vue b/src/views/modules/part/routingManagement.vue index 63cd2c8..b934122 100644 --- a/src/views/modules/part/routingManagement.vue +++ b/src/views/modules/part/routingManagement.vue @@ -849,8 +849,7 @@ - + @@ -934,13 +933,10 @@ - - + + - + @@ -949,8 +945,7 @@ - + @@ -963,8 +958,7 @@ - + @@ -973,7 +967,7 @@ - 保存 + 保存 关闭 @@ -1013,8 +1007,7 @@ :label="item.columnLabel"> @@ -1038,8 +1031,7 @@ - + @@ -1069,8 +1061,7 @@ :label="item.columnLabel"> @@ -2864,7 +2855,8 @@ export default { workGuidelineDisableModal: false, headerSaveFlag: false, copyPartModelFlag: false, - toolModelFlag: false + toolModelFlag: false, + guidelineLoading: false } }, @@ -4320,6 +4312,7 @@ export default { this.$message.warning('请选择检验签字!') return } + this.guidelineLoading = true if (this.saveWorkGuidelineData.flag === '1') { workGuidelineSave(this.saveWorkGuidelineData).then(({data}) => { if (data && data.code === 0) { @@ -4332,11 +4325,15 @@ export default { onClose: () => { } }) + this.guidelineLoading = false } else { + this.guidelineLoading = false this.$alert(data.msg, '错误', { confirmButtonText: '确定' }) } + }).catch(() => { + this.guidelineLoading = false }) } else { workGuidelineEdit(this.saveWorkGuidelineData).then(({data}) => { @@ -4350,11 +4347,15 @@ export default { onClose: () => { } }) + this.guidelineLoading = false } else { + this.guidelineLoading = false this.$alert(data.msg, '错误', { confirmButtonText: '确定' }) } + }).catch(() => { + this.guidelineLoading = false }) } },