Browse Source

关联选项设置优化为树

lwx_v27
liwenxuan 6 days ago
parent
commit
41073f6837
  1. 30
      src/components/DesignForm/formControlPropertiNew.vue

30
src/components/DesignForm/formControlPropertiNew.vue

@ -2836,7 +2836,7 @@ const glxxszTree = computed(()=>{
datapropsformList = JSON.parse(JSON.stringify(props.formList)) datapropsformList = JSON.parse(JSON.stringify(props.formList))
} }
console.log(datapropsformList) //console.log(datapropsformList)
if(associatedFormsCurrentFormFieldTreeForGlxxszExceptSelf && associatedFormsCurrentFormFieldTreeForGlxxszExceptSelf.value[0].children && associatedFormsCurrentFormFieldTreeForGlxxszExceptSelf.value[0].children.length>0){ if(associatedFormsCurrentFormFieldTreeForGlxxszExceptSelf && associatedFormsCurrentFormFieldTreeForGlxxszExceptSelf.value[0].children && associatedFormsCurrentFormFieldTreeForGlxxszExceptSelf.value[0].children.length>0){
@ -7655,6 +7655,10 @@ const formatTooltip = (val: number) => {
style="width: 100%" style="width: 100%"
:data="glxxszTree" :data="glxxszTree"
multiple multiple
show-checkbox
collapse-tags
collapse-tags-tooltip
:max-collapse-tags="2"
clearable clearable
filterable filterable
/> />
@ -7696,6 +7700,12 @@ const formatTooltip = (val: number) => {
style="width: 100%" style="width: 100%"
:data="glxxszTree" :data="glxxszTree"
multiple multiple
show-checkbox
collapse-tags
collapse-tags-tooltip
:max-collapse-tags="2"
clearable
filterable
/> />
</template> </template>
</el-table-column> </el-table-column>
@ -7768,6 +7778,12 @@ const formatTooltip = (val: number) => {
style="width: 100%" style="width: 100%"
:data="glxxszTree" :data="glxxszTree"
multiple multiple
show-checkbox
collapse-tags
collapse-tags-tooltip
:max-collapse-tags="2"
clearable
filterable
/> />
</template> </template>
</el-table-column> </el-table-column>
@ -7816,6 +7832,12 @@ const formatTooltip = (val: number) => {
style="width: 60%" style="width: 60%"
:data="glxxszTree" :data="glxxszTree"
multiple multiple
show-checkbox
collapse-tags
collapse-tags-tooltip
:max-collapse-tags="2"
clearable
filterable
/> />
</div> </div>
<div style="display: flex;width: 100%;"> <div style="display: flex;width: 100%;">
@ -7827,6 +7849,12 @@ const formatTooltip = (val: number) => {
style="width: 60%" style="width: 60%"
:data="glxxszTree" :data="glxxszTree"
multiple multiple
show-checkbox
collapse-tags
collapse-tags-tooltip
:max-collapse-tags="2"
clearable
filterable
/> />
</div> </div>
</template> </template>

Loading…
Cancel
Save