Commit 788841a8 authored by xd's avatar xd

修改加载状态

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