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 18:06:21 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0aa23bc836326d32698b62fd60e6364910c52e95
0aa23bc8
1 parent
5262fe2e
✨ feat(组织结构外用组件): 头部标题可定制,确认时关闭逻辑调整
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
doc/selectUserPage.vue
doc/selectUserView.vue
doc/selectUserPage.vue
View file @
0aa23bc
...
...
@@ -8,6 +8,7 @@
<template>
<div class="select-user-page">
<select-user-view
title=""
:visible="dialogUserFormVisible"
:fullscreen="true"
:list="dialogUserTags"
...
...
doc/selectUserView.vue
View file @
0aa23bc
<!--
* @Date: 2023-11-01 10:18:53
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-08 1
4:38:37
* @LastEditTime: 2024-10-08 1
8:04:49
* @FilePath: /vue-flow-editor/doc/selectUserView.vue
* @Description: 成员列表选择控件
-->
<template>
<el-dialog
v-model="dialogUserFormVisible"
title="成员列表
"
:title="title
"
:fullscreen="fullscreen"
:show-close="false"
>
...
...
@@ -300,6 +300,10 @@ import _ from "lodash";
import { ElNotification, ElMessage, ElMessageBox } from 'element-plus'
const props = defineProps({
title: {
type: String,
default: "成员列表"
},
visible: Boolean,
fullscreen: Boolean,
list: Array,
...
...
@@ -761,8 +765,10 @@ const closeUserForm = () => {
* @return {void} No return value.
*/
const confirmUserForm = () => {
dialogUserFormVisible.value = false;
emit("close", dialogUserFormVisible.value);
if (!props.fullscreen) { // 全屏模式下禁用
dialogUserFormVisible.value = false;
emit("close", dialogUserFormVisible.value);
}
emit("confirm", userTags.value);
};
...
...
Please
register
or
login
to post a comment