Browse Source

顺德居字段回显不正常问题

V1.0
dai 3 years ago
parent
commit
e82d8b5f50
  1. 25
      src/views/modules/shequ/cpts/people-more.vue
  2. 27
      src/views/modules/visual/basicinfo/cpts/people-more.vue

25
src/views/modules/shequ/cpts/people-more.vue

@ -594,16 +594,23 @@ export default {
}
});
});
console.log("1111111111111111111111111", this.groupList);
this.groupList.forEach((subList, index) => {
subList.itemList.forEach(async (item, subIndex) => {
if (item.optionSourceType == "remote" && item.optionSourceValue) {
this.groupList[index].itemList[subIndex].options =
await this.getOptions(item.optionSourceValue);
}
});
});
await Promise.all(
this.groupList.map((subList, index) => {
return Promise.all(
subList.itemList.map(async (item, subIndex) => {
if (
item.optionSourceType == "remote" &&
item.optionSourceValue
) {
this.groupList[index].itemList[subIndex].options =
await this.getOptions(item.optionSourceValue);
}
})
);
})
);
console.log("44444444", this.groupList);
let arr = [
{
groupId: "hs123",

27
src/views/modules/visual/basicinfo/cpts/people-more.vue

@ -536,16 +536,23 @@ export default {
}
});
});
console.log("1111111111111111111111111", this.groupList);
this.groupList.forEach((subList, index) => {
subList.itemList.forEach(async (item, subIndex) => {
if (item.optionSourceType == "remote" && item.optionSourceValue) {
this.groupList[index].itemList[subIndex].options =
await this.getOptions(item.optionSourceValue);
}
});
});
await Promise.all(
this.groupList.map((subList, index) => {
return Promise.all(
subList.itemList.map(async (item, subIndex) => {
if (
item.optionSourceType == "remote" &&
item.optionSourceValue
) {
this.groupList[index].itemList[subIndex].options =
await this.getOptions(item.optionSourceValue);
}
})
);
})
);
console.log("44444444", this.groupList);
let arr = [
{

Loading…
Cancel
Save