Commit 788841a8 authored by xd's avatar xd

修改加载状态

parent 9baf0ca0
......@@ -225,10 +225,10 @@ export default {
this.$emit("handleAddCancel")
},
handleAddFinish(formName) {
this.formLoading = true
this.loadText = "处理中"
this.$refs[formName].validate((valid) => {
if (valid) {
this.formLoading = true
this.loadText = "处理中"
this.addForm.clerkIds = this.addForm.clerkIds + ""
// let data = Object.assign(this.addForm,{ clerkIdss })
// delete data.clerkIds
......
......@@ -251,10 +251,10 @@ export default {
this.$emit("handleEditCancel")
},
handleEditFinish(formName) {
this.formLoading = true
this.loadText = "处理中"
this.$refs[formName].validate((valid) => {
if (valid) {
this.formLoading = true
this.loadText = "处理中"
this.addForm.clerkIds = this.addForm.clerkIds + ""
editDept(this.addForm).then(res => {
if(res.result == 'success') {
......
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 to comment