居民档案bug

This commit is contained in:
花有清香月有阴
2021-12-22 16:36:28 +08:00
parent c28f8734e2
commit 93e680eeb1
7 changed files with 30 additions and 19 deletions

View File

@@ -97,16 +97,18 @@ export default {
mounted() {},
methods: {
getDetail() {
this.$http.post(`/app/appvisitvondolence/queryDetailById?id=${this.params.id}`).then((res) => {
if (res?.data) {
this.forms = res.data
this.forms.realityValue = res.data.reality
this.forms.reality = this.$dict.getLabel('realityStatus', res.data.reality)
if (res.data.images) {
this.forms.images = JSON.parse(res.data.images || '[]')
if (this.params.id) {
this.$http.post(`/app/appvisitvondolence/queryDetailById?id=${this.params.id}`).then((res) => {
if (res?.data) {
this.forms = res.data
this.forms.realityValue = res.data.reality
this.forms.reality = this.$dict.getLabel('realityStatus', res.data.reality)
if (res.data.images) {
this.forms.images = JSON.parse(res.data.images || '[]')
}
}
}
})
})
}
},
submit() {
@@ -218,15 +220,14 @@ export default {
.u-form-item--right__content__slot {
.AiAreaPicker {
width: 100%;
display: flex;
justify-content: end;
.AiSearchPopup {
.areaSelector {
.location {
opacity: 0;
}
div {
width: 100%;
text-align: right;
}
}
}
}