hookehuyr

节点负责人显示新增图标

...@@ -109,7 +109,10 @@ ...@@ -109,7 +109,10 @@
109 :key="tag.name" 109 :key="tag.name"
110 style="margin: 0 0.25rem 0.5rem 0.25rem;" 110 style="margin: 0 0.25rem 0.5rem 0.25rem;"
111 > 111 >
112 - {{ tag.name }} 112 + <el-icon v-if="tag.type === 'dept'" style="display: inline-block; vertical-align: middle; line-height: 10px;height: 13px;"><House /></el-icon>
113 + <el-icon v-if="tag.type === 'user'" style="display: inline-block; vertical-align: middle; line-height: 10px;height: 12px;"><Female /></el-icon>
114 + <el-icon v-if="tag.type === 'role'" style="display: inline-block; vertical-align: middle; line-height: 10px;height: 12px;"><User /></el-icon>
115 + <span style="margin-left: 2px;display: inline-block; vertical-align: middle; line-height: 10px; height: 10px;">{{ tag.name }}</span>
113 </el-tag> 116 </el-tag>
114 <div v-else class="text-empty">请选择成员</div> 117 <div v-else class="text-empty">请选择成员</div>
115 </div> 118 </div>
...@@ -624,10 +627,10 @@ export default { ...@@ -624,10 +627,10 @@ export default {
624 showConfirmation = false; 627 showConfirmation = false;
625 }); 628 });
626 // 监听 resize 事件 629 // 监听 resize 事件
627 - window.addEventListener('resize', function () { 630 + // window.addEventListener('resize', function () {
628 - state.detailModel = null; 631 + // state.detailModel = null;
629 - editor.closeModel(); 632 + // editor.closeModel();
630 - }); 633 + // });
631 }) 634 })
632 635
633 function handleActiveChange(name: any) { 636 function handleActiveChange(name: any) {
......
1 <!-- 1 <!--
2 * @Date: 2023-11-01 10:18:53 2 * @Date: 2023-11-01 10:18:53
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-11-23 17:53:19 4 + * @LastEditTime: 2023-11-24 15:12:43
5 * @FilePath: /vue-flow-editor/doc/selectUserView.vue 5 * @FilePath: /vue-flow-editor/doc/selectUserView.vue
6 * @Description: 成员列表选择控件 6 * @Description: 成员列表选择控件
7 --> 7 -->
...@@ -20,7 +20,10 @@ ...@@ -20,7 +20,10 @@
20 closable 20 closable
21 @close="handleTagClose(tag)" 21 @close="handleTagClose(tag)"
22 > 22 >
23 - {{ tag.name }} 23 + <el-icon v-if="tag.type === 'dept'" style="display: inline-block; vertical-align: middle; height: 13px;"><House /></el-icon>
24 + <el-icon v-if="tag.type === 'user'" style="display: inline-block; vertical-align: middle; height: 12px;"><Female /></el-icon>
25 + <el-icon v-if="tag.type === 'role'" style="display: inline-block; vertical-align: middle; height: 12px;"><User /></el-icon>
26 + <span style="margin-left: 2px;display: inline-block; vertical-align: middle; line-height: 10px; height: 10px;">{{ tag.name }}</span>
24 </el-tag> 27 </el-tag>
25 <div v-else class="text-empty">请选择成员</div> 28 <div v-else class="text-empty">请选择成员</div>
26 </div> 29 </div>
......