29195
This commit is contained in:
@@ -50,6 +50,7 @@ export default {
|
|||||||
},
|
},
|
||||||
userList: [],
|
userList: [],
|
||||||
id: '',
|
id: '',
|
||||||
|
flag: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -93,6 +94,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
confirm() {
|
confirm() {
|
||||||
|
if(this.flag) reutrn
|
||||||
if(!this.form.residentId) {
|
if(!this.form.residentId) {
|
||||||
return this.$u.toast('请选择四邻对象')
|
return this.$u.toast('请选择四邻对象')
|
||||||
}
|
}
|
||||||
@@ -102,7 +104,7 @@ export default {
|
|||||||
if(!this.form.description) {
|
if(!this.form.description) {
|
||||||
return this.$u.toast('请输入事件描述')
|
return this.$u.toast('请输入事件描述')
|
||||||
}
|
}
|
||||||
|
this.flag = true
|
||||||
this.$instance.post('/app/apppartyfourlinkage/addByWxApplet',{
|
this.$instance.post('/app/apppartyfourlinkage/addByWxApplet',{
|
||||||
...this.form,
|
...this.form,
|
||||||
id: this.id || '',
|
id: this.id || '',
|
||||||
|
|||||||
Reference in New Issue
Block a user