This commit is contained in:
yanran200730
2022-01-18 16:30:07 +08:00
parent e7c90dbe7e
commit a7ab45c070

View File

@@ -455,7 +455,10 @@ export default {
})
.then((res) => {
if (res.code == 0) {
this.forms = { ...res.data };
this.forms = {
...res.data,
girdInfoList: []
};
this.user = [{
name: res.data.name,
phone: res.data.phone,
@@ -463,10 +466,11 @@ export default {
}]
this.girdInfoStr = ''
this.photoList = [{ url: this.forms.photo }];
res.data.girdInfoList.forEach((e, index) => {
this.girdInfoStr = this.girdInfoStr + `${e.checkType === '1' ? '网格员' : '网格长'}-${e.girdName} `
})
if (res.data.girdInfoList) {
res.data.girdInfoList.forEach((e, index) => {
this.girdInfoStr = this.girdInfoStr + `${e.checkType === '1' ? '网格员' : '网格长'}-${e.girdName} `
})
}
}
});
},
@@ -478,13 +482,6 @@ export default {
.add {
height: 100%;
::v-deep .AiWechatSelecter-container {
background: red;
.el-icon-circle-close {
display: none!important;
}
}
.form-flex {
display: flex;
align-items: center;