Showing
2 changed files
with
4 additions
and
6 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-08-29 14:31:20 | 2 | * @Date: 2022-08-29 14:31:20 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-07-26 23:09:29 | 4 | + * @LastEditTime: 2024-07-27 19:44:50 |
| 5 | * @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue | 5 | * @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue |
| 6 | * @Description: 树形组件 | 6 | * @Description: 树形组件 |
| 7 | --> | 7 | --> |
| ... | @@ -247,7 +247,6 @@ let role_list = []; | ... | @@ -247,7 +247,6 @@ let role_list = []; |
| 247 | let dept_list = []; | 247 | let dept_list = []; |
| 248 | 248 | ||
| 249 | // 处理Tab显示问题 | 249 | // 处理Tab显示问题 |
| 250 | -// TODO:等待后台数据 | ||
| 251 | const tree_tabs = ['dept', 'role', 'user']; | 250 | const tree_tabs = ['dept', 'role', 'user']; |
| 252 | const tabList = computed(() => { | 251 | const tabList = computed(() => { |
| 253 | let arr = []; | 252 | let arr = []; |
| ... | @@ -319,7 +318,6 @@ const openTree = () => { | ... | @@ -319,7 +318,6 @@ const openTree = () => { |
| 319 | }); | 318 | }); |
| 320 | } | 319 | } |
| 321 | 320 | ||
| 322 | -// TODO:等待后台数据显示更多详情字段 | ||
| 323 | const clickNode = (node) => { // 点击显示选择详情 | 321 | const clickNode = (node) => { // 点击显示选择详情 |
| 324 | if (!props.component_props.readonly) return false; // 非只读不予许操作 | 322 | if (!props.component_props.readonly) return false; // 非只读不予许操作 |
| 325 | // TODO:暂时隐藏等待后续接口提供更多字段 显示 | 323 | // TODO:暂时隐藏等待后续接口提供更多字段 显示 | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-03-29 14:55:46 | 2 | * @Date: 2023-03-29 14:55:46 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-07-01 11:53:37 | 4 | + * @LastEditTime: 2024-07-27 19:46:08 |
| 5 | * @FilePath: /data-table/src/components/PickerField/MyComponent.vue | 5 | * @FilePath: /data-table/src/components/PickerField/MyComponent.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -61,10 +61,10 @@ const onConfirm = ({ selectedOptions }) => { | ... | @@ -61,10 +61,10 @@ const onConfirm = ({ selectedOptions }) => { |
| 61 | useCustomFieldValue(() => picker_value.value); | 61 | useCustomFieldValue(() => picker_value.value); |
| 62 | 62 | ||
| 63 | // 绑定值发生变化时回调,处理选项为其他时的输入项录入 | 63 | // 绑定值发生变化时回调,处理选项为其他时的输入项录入 |
| 64 | -// const has_add_info = ref(false); // TODO: 文字不一定是其他,后续可能需要字段绑定一个值,标识是否有其他输入框进行判断 | 64 | +// const has_add_info = ref(false); // 文字不一定是其他,后续可能需要字段绑定一个值,标识是否有其他输入框进行判断 |
| 65 | // const add_info = ref(''); | 65 | // const add_info = ref(''); |
| 66 | // const add_info_name = ref(props.item.key + '#'); | 66 | // const add_info_name = ref(props.item.key + '#'); |
| 67 | -// const add_info_key = ref('其他'); // TODO: 以后动态获取 | 67 | +// const add_info_key = ref('其他'); // 以后动态获取 |
| 68 | 68 | ||
| 69 | // onMounted(() => { | 69 | // onMounted(() => { |
| 70 | // add_info_name.value = `${props.item.key}#${add_info_key.value}` | 70 | // add_info_name.value = `${props.item.key}#${add_info_key.value}` | ... | ... |
-
Please register or login to post a comment