src/views/flowable/workflow/sparePartApply/SparePartApplyHandle.vue
@@ -183,7 +183,10 @@ type="primary" icon="close" >取消</a-button> <a-button @click="submitForm">提交</a-button> <a-button :loading="spinning" @click="submitForm" >提交</a-button> </div> </a-form-model> </div> @@ -350,6 +353,7 @@ }, submitForm() { const that = this; that.spinning = true if (!that.assignFileStream.status == null || that.assignFileStream.status === undefined) { this.$message.warning('请选择审批状态!') return false; @@ -387,6 +391,7 @@ } }).finally(() => { that.confirmLoading = false; that.spinning = false }) }