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