|
|
@ -6,7 +6,6 @@ |
|
|
|
<el-col v-for="(item,index) in formPreviewData" :key="index" class="drag-item" :span="item.isLine ? 24 : 12"> |
|
|
|
<el-form-item :label="item.fieldCnName" :prop="item.fieldName"> |
|
|
|
<!-- select --> |
|
|
|
<!-- :load-options="loadOptions" --> |
|
|
|
<treeselect |
|
|
|
v-if="item.isInputClass === 'select'" |
|
|
|
v-model="addOrUpdateForm[item.fieldName]" |
|
|
@ -150,7 +149,7 @@ export default { |
|
|
|
this.formPreviewData.map(item => { |
|
|
|
if (item.dictionaryConfigId) { |
|
|
|
FetchFindAllSubsetById({ id: item.dictionaryConfigId.id }).then(res => { |
|
|
|
parentNode.children = res.content.map(function(obj) { |
|
|
|
parentNode.children = res.map(function(obj) { |
|
|
|
if (obj.hasChildren) { |
|
|
|
obj.children = null |
|
|
|
} |
|
|
|