This commit is contained in:
shijingjing
2022-07-21 17:02:35 +08:00
parent d51565f80f
commit 8350a2b6cc
2 changed files with 8 additions and 6 deletions

View File

@@ -6,6 +6,7 @@
<div class="left">
<AiAreaPicker v-model="areaId" :areaId="user.areaId" :name.sync="areaName" @select="areaSelect" selectRoot>
<div>
<u-icon name="map-fill" color="#999" size="24" style="margin-left: 4px;width: 14px;display:inline-block;margin-top:18px"></u-icon>
<span v-if="areaId" style="color:#333;fontSize: 14px;" class="areaName">{{ areaName }}</span>
<span v-else style="color: #999;fontSize: 14px;" class="areaName">所在地区</span>
<u-icon name="arrow-down" color="#999" size="24" style="margin-left: 4px;width: 14px;display:inline-block;margin-top:18px" @select="areaSelect(e)"></u-icon>
@@ -14,7 +15,7 @@
</div>
<div class="right">
<AiSelect v-model="houseType" :list="typeList" @data="typeSelect">
<span v-if="!houseType" style="color: #999;">类型</span>
<span v-if="!houseType" style="color: #999;">户类型</span>
<span v-else>{{ $dict.getLabel('fpHouseType', houseType) }}</span>
<u-icon name="arrow-down" color="#999" size="24" style="margin-left: 4px;width: 14px;display:inline-block;"></u-icon>
</AiSelect>
@@ -90,7 +91,7 @@ export default {
this.getList()
},
getList() {
this.$http.post('/app/appgirdmemberpoverty/listByGirdMember', null, {
this.$http.post('/app/apppreventionreturntopoverty/list', null, {
params: {
current: this.current,
name: this.name,
@@ -113,6 +114,7 @@ export default {
},
onShow() {
document.title = '帮扶成效'
this.areaId = this.user.areaId
this.getList()
}
}

View File

@@ -6,7 +6,7 @@
</div>
<div class="form-item form-item__textarea">
<div class="form-item__title">
<em>*</em>
<em v-if="type==0">*</em>
<h2>{{type == 1 ? '帮扶内容' : '走访内容'}}</h2>
</div>
<textarea maxlength="500" v-model="detail" :placeholder="type == 1 ? '请输入帮扶内容' : '请输入走访内容'"></textarea>
@@ -72,9 +72,9 @@ export default {
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('请输入走访内容')