Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-07-27 19:47:27 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
80043d2369cd580a9aaea6d9419883b3afc69495
80043d23
1 parent
774a0178
fix 整理备注
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
src/components/OrgPickerField/MyComponent.vue
src/components/PickerField/MyComponent.vue
src/components/OrgPickerField/MyComponent.vue
View file @
80043d2
<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-2
6 23:09:29
* @LastEditTime: 2024-07-2
7 19:44:50
* @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue
* @Description: 树形组件
-->
...
...
@@ -247,7 +247,6 @@ let role_list = [];
let dept_list = [];
// 处理Tab显示问题
// TODO:等待后台数据
const tree_tabs = ['dept', 'role', 'user'];
const tabList = computed(() => {
let arr = [];
...
...
@@ -319,7 +318,6 @@ const openTree = () => {
});
}
// TODO:等待后台数据显示更多详情字段
const clickNode = (node) => { // 点击显示选择详情
if (!props.component_props.readonly) return false; // 非只读不予许操作
// TODO:暂时隐藏等待后续接口提供更多字段 显示
...
...
src/components/PickerField/MyComponent.vue
View file @
80043d2
<!--
* @Date: 2023-03-29 14:55:46
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-07-
01 11:53:37
* @LastEditTime: 2024-07-
27 19:46:08
* @FilePath: /data-table/src/components/PickerField/MyComponent.vue
* @Description: 文件描述
-->
...
...
@@ -61,10 +61,10 @@ const onConfirm = ({ selectedOptions }) => {
useCustomFieldValue(() => picker_value.value);
// 绑定值发生变化时回调,处理选项为其他时的输入项录入
// const has_add_info = ref(false); //
TODO:
文字不一定是其他,后续可能需要字段绑定一个值,标识是否有其他输入框进行判断
// const has_add_info = ref(false); // 文字不一定是其他,后续可能需要字段绑定一个值,标识是否有其他输入框进行判断
// const add_info = ref('');
// const add_info_name = ref(props.item.key + '#');
// const add_info_key = ref('其他'); //
TODO:
以后动态获取
// const add_info_key = ref('其他'); // 以后动态获取
// onMounted(() => {
// add_info_name.value = `${props.item.key}#${add_info_key.value}`
...
...
Please
register
or
login
to post a comment