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) {