Commit 2e0ad3cb by Mr. Lan

禁止提交按钮多次提交

parent ff60911c
Showing with 4 additions and 1 deletions
......@@ -180,12 +180,15 @@ export default {
Promise.all(promiseList).then(values => {
this.ruleForm.source = this.processStructureValue.nodes[this.active].id
this.ruleForm.tpls.form_data = values
console.log(this.ruleForm)
createWorkOrder(this.ruleForm).then(response => {
if (response.code === 200) {
this.$router.push({ path: '/process/upcoming' })
}
}).catch(() => {
this.submitDisabled = false
})
}).catch(() => {
this.submitDisabled = false
})
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment