diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index 923dc49..3d25246 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -6047,7 +6047,7 @@ const formatTooltip = (val: number) => {
- +
diff --git a/src/components/DesignForm/public/expand/rangedUserTree.vue b/src/components/DesignForm/public/expand/rangedUserTree.vue index bce5ecb..dd16fd8 100644 --- a/src/components/DesignForm/public/expand/rangedUserTree.vue +++ b/src/components/DesignForm/public/expand/rangedUserTree.vue @@ -79,51 +79,6 @@ const keys = computed(()=>{ }) -// 使用示例 -const treeData = { - "id": "102", - "label": "企管部", - "parentId": "309", - "children": [ - { - "id": "284148167597887488", - "label": "荣潇亭", - "parentId": "102", - "children": null, - "value": "303086", - "treeAttrs": null, - "disabled": null, - "type": null - }, - { - "id": "272", - "label": "企管", - "parentId": "102", - "children": [ - { - "id": "284148287831805952", - "label": "吴可楠", - "parentId": "272", - "children": null, - "value": "303122", - "treeAttrs": null, - "disabled": null, - "type": null - } - ], - "value": null, - "treeAttrs": null, - "disabled": null, - "type": null - } - ], - "value": null, - "treeAttrs": null, - "disabled": null, - "type": null -}; - -const idList = ["284148167597887488", "284148287831805952"]; const resData = ref() @@ -144,64 +99,9 @@ const checkorgAndManTree = (()=>{ -/* const resData = computed(()=>{ - if(props.orgAndManTree&&props.orgAndManTree.children&&props.orgAndManTree.children.length>0){ - console.log(11111) - let arr = [] - arr.push(modifyTreeData(props.orgAndManTree,keys.value)) - return arr - }else{ - return [] - } +onUnmounted(()=>{ + alert(1) }) - */ - -const resultExample = [{ - "id": "102", - "label": "企管部", - "parentId": "309", - "children": [ - { - "id": "284148167597887488", - "label": "荣潇亭(303086)", - "parentId": "102", - "children": null, - "value": "303086", - "treeAttrs": null, - "disabled": null, - "type": null, - "number": "荣潇亭(303086)" - }, - { - "id": "272", - "label": "企管", - "parentId": "102", - "children": [ - { - "id": "284148287831805952", - "label": "吴可楠(303122)", - "parentId": "272", - "children": null, - "value": "303122", - "treeAttrs": null, - "disabled": null, - "type": null, - "number": "吴可楠(303122)" - } - ], - "value": null, - "treeAttrs": null, - "disabled": null, - "type": null - } - ], - "value": null, - "treeAttrs": null, - "disabled": null, - "type": null -}] - -