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-07-16 11:19:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c7b17d6916fcfce3b8e5a42a720d6d3b097b8b54
c7b17d69
1 parent
400df6de
消息接受对象文字显示新增字段绑定,节点负责人和消息接受对象的值显示问题修复,新增填表人字段控制
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
5 deletions
doc/index.vue
doc/index.vue
View file @
c7b17d6
...
...
@@ -276,7 +276,6 @@
</div>
<div v-if="state.more_attr_data.is_node">
<p style="font-size: 14px; font-weight: bold;">消息配置</p>
<p style="font-size: 13px; color: #525967;">系统默认会发消息通知各节点负责人,可以按需设置节点负责人以外的用户获取消息提醒</p>
<!-- <div style="display: flex; justify-content: space-between; align-items: center;">
<div style="font-size: 0.9rem;">打开配置</div>
<div><el-switch v-model="state.more_attr_data.msg_open" /></div>
...
...
@@ -303,6 +302,7 @@
<div style="margin-left: 0.5rem;">
<div style="font-size: 14px; margin: 0.5rem 0;">接收对象</div>
<p style="font-size: 13px; color: #525967;">{{ state.more_attr_data.message_user_desc }}</p>
<div class="flow-tag__wrapper" @click="openNodeMsgUserForm">
<el-tag
v-if="state.more_attr_data.message_user_list?.length"
...
...
@@ -318,6 +318,13 @@
<div v-else class="text-empty">请选择成员</div>
</div>
</div>
<!-- TODO:等待后台字段 -->
<div style="margin-left: 0.5rem;">
<div style="display: flex; justify-content: space-between; align-items: center;">
<div style="font-size: 14px; margin-left: 5px;">发送填表人</div>
<div><el-switch v-model="state.more_attr_data.is_website_msg" :disabled="!state.more_attr_data.show" /></div>
</div>
</div>
</div>
</div>
</div>
...
...
@@ -773,6 +780,7 @@ export default {
is_wechat_msg: false,
website_msg_desc: '',
wechat_msg_desc: '',
message_user_desc: '',
},
node_name: '', // 节点名称
node_idx: null, // 节点index
...
...
@@ -1556,19 +1564,26 @@ export default {
}
const onCloseUserView = (status: boolean) => {
state.dialogUserFormVisible = status
state.dialogUserFormVisible = status
;
}
const onConfirmUserView = async (data: any) => { // 负责人弹框确认回调
if (state.is_user_tags_visible) { // 赋值给负责人框
state.userTags = data;
state.userTags = _.cloneDeep(data);
// 关闭后更新标记数据
state.is_user_tags_visible = false;
}
if (state.is_next_step_user_visible) { // 赋值给下一步负责人框
state.nextStepUserTags = data;
state.nextStepUserTags = _.cloneDeep(data);
// 关闭后更新标记数据
state.is_next_step_user_visible = false;
}
if (state.is_node_msg_user_visible) { // 赋值给节点消息配置负责人框
state.more_attr_data.message_user_list = data;
state.more_attr_data.message_user_list = _.cloneDeep(data);
// 关闭后更新标记数据
state.is_node_msg_user_visible = false;
}
// // 自动保存流程
// let { nodes, edges } = editor.editorState.graph.save();
// // 检查路径有效性
...
...
Please
register
or
login
to post a comment