Merge branch 'main' of http://8.130.49.250:3000/admin/gr_report_web
This commit is contained in:
@@ -179,6 +179,7 @@ interface Column {
|
|||||||
placeholder?: string
|
placeholder?: string
|
||||||
textFormatter?: string //回显名称格式化
|
textFormatter?: string //回显名称格式化
|
||||||
clearable?: boolean
|
clearable?: boolean
|
||||||
|
defaultExpandAll?: boolean //默认展开所有节点
|
||||||
}
|
}
|
||||||
interface Props {
|
interface Props {
|
||||||
column: Column
|
column: Column
|
||||||
@@ -213,6 +214,7 @@ const treeSblxOption = ref({
|
|||||||
multiple: props.column.multiple,
|
multiple: props.column.multiple,
|
||||||
checkStrictly: props.column.checkStrictly,
|
checkStrictly: props.column.checkStrictly,
|
||||||
accordion: props.column.accordion,
|
accordion: props.column.accordion,
|
||||||
|
defaultExpandAll: props.column.defaultExpandAll || false,
|
||||||
props: { label: 'industryName', value: 'id', childern: 'children' }
|
props: { label: 'industryName', value: 'id', childern: 'children' }
|
||||||
})
|
})
|
||||||
const treeSblxData = ref<TreeSblx[]>([])
|
const treeSblxData = ref<TreeSblx[]>([])
|
||||||
|
|||||||
@@ -421,6 +421,7 @@ const sblxSelectConfig = [
|
|||||||
{ label: '勾选值只保留子节点', value: 'leafOnly', val: false, type: 'switch', dic: dicObj.boolean },
|
{ label: '勾选值只保留子节点', value: 'leafOnly', val: false, type: 'switch', dic: dicObj.boolean },
|
||||||
{ label: '禁用父级勾选', value: 'stopParent', val: false, type: 'switch', dic: dicObj.boolean },
|
{ label: '禁用父级勾选', value: 'stopParent', val: false, type: 'switch', dic: dicObj.boolean },
|
||||||
{ label: '每次只展开一个同级树节点', value: 'accordion', val: false, type: 'switch', dic: dicObj.boolean },
|
{ label: '每次只展开一个同级树节点', value: 'accordion', val: false, type: 'switch', dic: dicObj.boolean },
|
||||||
|
{ label: '默认展开所有节点', value: 'defaultExpandAll', val: false, type: 'switch', dic: dicObj.boolean },
|
||||||
{ label: '分隔符', value: 'separator', val: ' | ' },
|
{ label: '分隔符', value: 'separator', val: ' | ' },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user