29586
This commit is contained in:
@@ -118,6 +118,7 @@ export default {
|
|||||||
linkName: [{ required: true, message: '请输入联系人', trigger: 'change' }],
|
linkName: [{ required: true, message: '请输入联系人', trigger: 'change' }],
|
||||||
linkPhone: [{ required: true, message: '请输入联系方式', trigger: 'change' }],
|
linkPhone: [{ required: true, message: '请输入联系方式', trigger: 'change' }],
|
||||||
},
|
},
|
||||||
|
flag: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 计算
|
// 计算
|
||||||
@@ -148,8 +149,10 @@ export default {
|
|||||||
|
|
||||||
// 确定新增
|
// 确定新增
|
||||||
confirm() {
|
confirm() {
|
||||||
|
if(!this.flag) return
|
||||||
this.$refs['ruleForm'].validate((valid) => {
|
this.$refs['ruleForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.flag = false
|
||||||
this.instance
|
this.instance
|
||||||
.post(`/app/appjob/addOrUpdate`, {
|
.post(`/app/appjob/addOrUpdate`, {
|
||||||
title: this.formData.title,
|
title: this.formData.title,
|
||||||
|
|||||||
Reference in New Issue
Block a user