30413
This commit is contained in:
@@ -79,6 +79,7 @@ export default {
|
||||
integral: '',
|
||||
},
|
||||
dialog: false,
|
||||
flag: false,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -113,15 +114,19 @@ export default {
|
||||
}
|
||||
},
|
||||
onConfirm() {
|
||||
let formData = JSON.stringify(this.form)
|
||||
this.$refs['form'].validate(valid => {
|
||||
if (valid) {
|
||||
this.flag = true
|
||||
this.instance.post(`/app/apppartyintegralinfo/changeIntegral`, this.form ).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("添加成功")
|
||||
this.dialog = false
|
||||
this.getList()
|
||||
} else {
|
||||
this.flag = false
|
||||
}
|
||||
}).catch(() => {
|
||||
this.flag = false
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user