This commit is contained in:
shijingjing
2022-04-27 10:17:50 +08:00
parent 8431e7e283
commit 4b5dc3e42f
2 changed files with 3 additions and 5 deletions

View File

@@ -386,11 +386,6 @@ export default {
},
methods: {
toSelect() {
// uni.navigateTo({
// url: './residentList'
// })
},
rules() {
return {
objectType: '请选择监测对象类型',

View File

@@ -36,6 +36,7 @@ export default {
id: '',
type: '',
operationDesc: '',
flag: false,
}
},
onLoad(query) {
@@ -65,12 +66,14 @@ export default {
})
},
submit() {
if(this.flag) return
if (!this.operationDesc) {
return this.$u.toast('请选择帮扶类型')
}
if (!this.detail) {
return this.$u.toast('请输入帮扶内容')
}
this.flag = true
this.$http.post('/app/apppreventionreturntopovertylog/addOrUpdate', {
detail: this.detail,
files: this.files,