29340
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="form">
|
||||
<div class="help">
|
||||
<div class="help" v-if="type == 1">
|
||||
<div><span style="color: #FF4466;">*</span>帮扶类型</div>
|
||||
<AiSelect dict="fpAssistanceMeasures" v-model="operationDesc"></AiSelect>
|
||||
</div>
|
||||
@@ -68,12 +68,19 @@ export default {
|
||||
},
|
||||
submit() {
|
||||
if(this.flag) return
|
||||
if (!this.operationDesc) {
|
||||
return this.$u.toast('请选择帮扶类型')
|
||||
}
|
||||
if (!this.detail) {
|
||||
return this.$u.toast('请输入帮扶内容')
|
||||
if(this.type == 1) {
|
||||
if (!this.operationDesc) {
|
||||
return this.$u.toast('请选择帮扶类型')
|
||||
}
|
||||
if (!this.detail) {
|
||||
return this.$u.toast('请输入帮扶内容')
|
||||
}
|
||||
} else {
|
||||
if (!this.detail) {
|
||||
return this.$u.toast('请输入走访内容')
|
||||
}
|
||||
}
|
||||
|
||||
this.flag = true
|
||||
this.$http.post('/app/apppreventionreturntopovertylog/addOrUpdate', {
|
||||
detail: this.detail,
|
||||
|
||||
Reference in New Issue
Block a user