|
|
@ -616,17 +616,18 @@ export default { |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
groupList.forEach(item => { |
|
|
|
item.itemList.forEach(async n => { |
|
|
|
n.tableName = item.tableName |
|
|
|
if (n.optionSourceType === 'remote') { |
|
|
|
await this.getOptionsList(n.optionSourceValue).then(res => { |
|
|
|
n.options = res |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
groupList.forEach(item => { |
|
|
|
item.itemList.forEach(async n => { |
|
|
|
n.tableName = item.tableName |
|
|
|
if (n.optionSourceType === 'remote' && type !== 'edit') { |
|
|
|
await this.getOptionsList(n.optionSourceValue).then(res => { |
|
|
|
n.options = res |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
// } |
|
|
|
this.formList = itemList |
|
|
|
this.tabsList = groupList |
|
|
|
} |
|
|
|