Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
vue-flow-editor
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-10-08 14:50:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5262fe2eb8a00013222af3935c4134add4274629
5262fe2e
1 parent
d08eb0f6
✨ feat: 老汪需要调用外部选择组织结构组件,重新调整样式
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
doc/selectUserPage.vue
doc/selectUserView.vue
doc/selectUserPage.vue
View file @
5262fe2
<!--
* @Date: 2024-06-21 16:41:18
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-
06-21 16:59:12
* @LastEditTime: 2024-
10-08 14:42:15
* @FilePath: /vue-flow-editor/doc/selectUserPage.vue
* @Description: 文件描述
-->
...
...
@@ -9,6 +9,7 @@
<div class="select-user-page">
<select-user-view
:visible="dialogUserFormVisible"
:fullscreen="true"
:list="dialogUserTags"
@close="onCloseUserView"
@confirm="onConfirmUserView"
...
...
@@ -42,11 +43,23 @@ const openUserForm = () => {
}
const onCloseUserView = (status) => {
dialogUserFormVisible.value = status
// dialogUserFormVisible.value = status
//在 iframe 中调用父页面中定义的变量 - 老汪控制
let fn = parent.parent.onCancelOrgPricker;
if (fn) {
fn();
return false;
}
}
const onConfirmUserView = async (data) => { // 负责人弹框确认回调
console.warn(data);
// console.warn(data);
//在 iframe 中调用父页面中定义的变量 - 老汪控制
let fn = parent.parent.onConfirmOrgPicker;
if (fn) {
fn(data);
return false;
}
}
</script>
...
...
doc/selectUserView.vue
View file @
5262fe2
<!--
* @Date: 2023-11-01 10:18:53
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-
07-30 16:28:12
* @LastEditTime: 2024-
10-08 14:38:37
* @FilePath: /vue-flow-editor/doc/selectUserView.vue
* @Description: 成员列表选择控件
-->
...
...
@@ -9,7 +9,8 @@
<el-dialog
v-model="dialogUserFormVisible"
title="成员列表"
@close="closeUserForm"
:fullscreen="fullscreen"
:show-close="false"
>
<div class="flow-tag__wrapper" style="max-height: 150px; overflow: auto;">
<el-tag
...
...
@@ -300,6 +301,7 @@ import { ElNotification, ElMessage, ElMessageBox } from 'element-plus'
const props = defineProps({
visible: Boolean,
fullscreen: Boolean,
list: Array,
});
const emit = defineEmits(["close", "confirm"]);
...
...
@@ -1004,4 +1006,5 @@ const onSearchInput = (val) => {
overflow: hidden; /* 超出部分隐藏 */
text-overflow: ellipsis; /* 用省略号表示被隐藏的部分 */
}
</style>
...
...
Please
register
or
login
to post a comment