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