This commit is contained in:
liuye
2022-02-11 11:32:30 +08:00
parent e5d35b859f
commit 281a2de1fc
4 changed files with 13 additions and 7 deletions

View File

@@ -114,7 +114,7 @@
<div class="btn">保存</div>
</div>
<u-picker mode="time" v-model="dateShow" :params="deteParams" start-year="2010" @confirm="dateConfirm">请选择
<u-picker mode="time" v-model="dateShow" :params="deteParams" start-year="1900" @confirm="dateConfirm">请选择
</u-picker>
<u-select v-model="showSelect" :list="selectList" label-name="dictName" value-name="dictValue"
@confirm="confirmSelect"/>
@@ -175,6 +175,7 @@ export default {
this.$http.post(`app/appcommunityhouseinfo/update`, this.houseInfo).then(res => {
if (res?.code == 0) {
this.$u.toast('提交成功')
uni.$emit('changeHouseInfo')
setTimeout(() => {
uni.navigateBack({})
}, 600)

View File

@@ -150,7 +150,6 @@ export default {
params: {
current: 1,
size: 1000000,
areaId: this.user.areaId
}
}).then(res => {
if (res?.data) {
@@ -299,7 +298,6 @@ export default {
params: {
current: 1,
size: 20,
areaId: this.user.areaId,
name: this.name
}
}).then(res => {

View File

@@ -168,6 +168,9 @@ export default {
this.$dict.load('householdRelation', 'houselivingStatus', 'houseLeaseSituation', 'houseUseStatus',
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType')
this.getBuilding()
uni.$on('changeHouseInfo', res => {
this.getHouseDetail(this.houseInfo.id)
})
},
methods: {
getSelectList(communityId) {

View File

@@ -26,18 +26,22 @@
<div v-if="form.girdMemberManageList && form.girdMemberManageList.length">
<div class="info-flex" v-for="(item, index) in form.girdMemberManageList" :key="index">
<span class="label">网格长</span>
<span class="value">{{ item.name }}&nbsp;&nbsp;{{ item.phone }}
<span class="value">
<AiOpenData v-if="item.name" type="userName" :openid="item.name" />
<!-- &nbsp;&nbsp;{{ item.phone }}
<img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone(item.phone)" class="phone-icon"
v-if="item.phone">
v-if="item.phone"> -->
</span>
</div>
</div>
<div v-if="form.girdMemberList && form.girdMemberList.length">
<div class="info-flex" v-for="(item, index) in form.girdMemberList" :key="index">
<span class="label">网格管理员</span>
<span class="value">{{ item.name }}&nbsp;&nbsp;{{ item.phone }}
<span class="value">
<AiOpenData v-if="item.name" type="userName" :openid="item.name" />
<!-- &nbsp;&nbsp;{{ item.phone }}
<img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone(item.phone)" class="phone-icon"
v-if="item.phone">
v-if="item.phone"> -->
</span>
</div>
</div>