29326
This commit is contained in:
@@ -386,11 +386,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
toSelect() {
|
|
||||||
// uni.navigateTo({
|
|
||||||
// url: './residentList'
|
|
||||||
// })
|
|
||||||
},
|
|
||||||
rules() {
|
rules() {
|
||||||
return {
|
return {
|
||||||
objectType: '请选择监测对象类型',
|
objectType: '请选择监测对象类型',
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ export default {
|
|||||||
id: '',
|
id: '',
|
||||||
type: '',
|
type: '',
|
||||||
operationDesc: '',
|
operationDesc: '',
|
||||||
|
flag: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(query) {
|
onLoad(query) {
|
||||||
@@ -65,12 +66,14 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
|
if(this.flag) return
|
||||||
if (!this.operationDesc) {
|
if (!this.operationDesc) {
|
||||||
return this.$u.toast('请选择帮扶类型')
|
return this.$u.toast('请选择帮扶类型')
|
||||||
}
|
}
|
||||||
if (!this.detail) {
|
if (!this.detail) {
|
||||||
return this.$u.toast('请输入帮扶内容')
|
return this.$u.toast('请输入帮扶内容')
|
||||||
}
|
}
|
||||||
|
this.flag = true
|
||||||
this.$http.post('/app/apppreventionreturntopovertylog/addOrUpdate', {
|
this.$http.post('/app/apppreventionreturntopovertylog/addOrUpdate', {
|
||||||
detail: this.detail,
|
detail: this.detail,
|
||||||
files: this.files,
|
files: this.files,
|
||||||
|
|||||||
Reference in New Issue
Block a user