Showing
4 changed files
with
65 additions
and
12 deletions
| ... | @@ -43,7 +43,7 @@ | ... | @@ -43,7 +43,7 @@ |
| 43 | <vue-flow-edit-menu-group label="操作节点" value> | 43 | <vue-flow-edit-menu-group label="操作节点" value> |
| 44 | <!-- 注意 key 值的绑定 --> | 44 | <!-- 注意 key 值的绑定 --> |
| 45 | <vue-flow-edit-menu | 45 | <vue-flow-edit-menu |
| 46 | - v-for="(value, key) in state.controlConfig" | 46 | + v-for="(value, key) in state.controlList" |
| 47 | :key="key" | 47 | :key="key" |
| 48 | :model="{ control: key, text: value.text, desc: value.desc }" | 48 | :model="{ control: key, text: value.text, desc: value.desc }" |
| 49 | > | 49 | > |
| ... | @@ -137,7 +137,7 @@ | ... | @@ -137,7 +137,7 @@ |
| 137 | <el-col :span="6">可编辑</el-col> | 137 | <el-col :span="6">可编辑</el-col> |
| 138 | </el-row> | 138 | </el-row> |
| 139 | <el-row v-if="!state.search_auth_value" style="width: 100%; padding-left: 10px;"> | 139 | <el-row v-if="!state.search_auth_value" style="width: 100%; padding-left: 10px;"> |
| 140 | - <el-col :span="12" style="color: #409eff;">全选</el-col> | 140 | + <el-col :span="12" style="color: #009688">全选</el-col> |
| 141 | <el-col :span="6" style="padding-left: 5px;" | 141 | <el-col :span="6" style="padding-left: 5px;" |
| 142 | ><el-checkbox | 142 | ><el-checkbox |
| 143 | @change="onAuthAllChange" | 143 | @change="onAuthAllChange" |
| ... | @@ -220,7 +220,7 @@ | ... | @@ -220,7 +220,7 @@ |
| 220 | </div> | 220 | </div> |
| 221 | </div> | 221 | </div> |
| 222 | <div v-else class="more-attr-set"> | 222 | <div v-else class="more-attr-set"> |
| 223 | - <el-button @click="onConfirmMoreAttr(state.more_attr_data)" type="primary" style="width: 100%;">完成</el-button> | 223 | + <el-button @click="onConfirmMoreAttr(state.more_attr_data)" type="primary" color="#009688" style="width: 100%;">完成</el-button> |
| 224 | <div class="more-attr-switch"> | 224 | <div class="more-attr-switch"> |
| 225 | <div class="more-attr-title">{{ state.more_attr_data.label }}</div> | 225 | <div class="more-attr-title">{{ state.more_attr_data.label }}</div> |
| 226 | <div><el-switch v-model="state.more_attr_data.show" /></div> | 226 | <div><el-switch v-model="state.more_attr_data.show" /></div> |
| ... | @@ -304,7 +304,7 @@ | ... | @@ -304,7 +304,7 @@ |
| 304 | <!-- 表单底部按钮 --> | 304 | <!-- 表单底部按钮 --> |
| 305 | <template v-slot:foot> | 305 | <template v-slot:foot> |
| 306 | <div v-if="state.main_attr_set" style="width: 100%; text-align: center;"> | 306 | <div v-if="state.main_attr_set" style="width: 100%; text-align: center;"> |
| 307 | - <el-button type="primary" @click="saveForm" style="width: 40%;">保存</el-button> | 307 | + <el-button type="primary" color="#009688" @click="saveForm" style="width: 40%;">保存</el-button> |
| 308 | <el-button @click="cancel" style="width: 40%;">关闭</el-button> | 308 | <el-button @click="cancel" style="width: 40%;">关闭</el-button> |
| 309 | </div> | 309 | </div> |
| 310 | </template> | 310 | </template> |
| ... | @@ -432,32 +432,46 @@ export default { | ... | @@ -432,32 +432,46 @@ export default { |
| 432 | // img: "https://cdn.ipadbiz.cn/oa/crowd-node.svg" | 432 | // img: "https://cdn.ipadbiz.cn/oa/crowd-node.svg" |
| 433 | // } | 433 | // } |
| 434 | // }, | 434 | // }, |
| 435 | + controlList: { | ||
| 436 | + flow: { | ||
| 437 | + text: '流程节点', | ||
| 438 | + desc: '流程节点', | ||
| 439 | + color: '#ed8383', | ||
| 440 | + img: 'https://cdn.ipadbiz.cn/oa/flow/icons-flow.png', | ||
| 441 | + }, | ||
| 442 | + cc: { | ||
| 443 | + text: '抄送节点', | ||
| 444 | + desc: '抄送节点', | ||
| 445 | + color: '#ed8383', | ||
| 446 | + img: 'https://cdn.ipadbiz.cn/oa/flow/icon-cc.png', | ||
| 447 | + }, | ||
| 448 | + }, | ||
| 435 | controlConfig: { | 449 | controlConfig: { |
| 436 | start: { | 450 | start: { |
| 437 | id: 'start-node', | 451 | id: 'start-node', |
| 438 | text: '开始', | 452 | text: '开始', |
| 439 | desc: '开始', | 453 | desc: '开始', |
| 440 | color: '#9283ed', | 454 | color: '#9283ed', |
| 441 | - img: 'https://cdn.ipadbiz.cn/oa/advertisement-node.svg', | 455 | + img: 'https://cdn.ipadbiz.cn/oa/flow/icon-start.png', |
| 442 | }, | 456 | }, |
| 443 | flow: { | 457 | flow: { |
| 444 | text: '流程节点', | 458 | text: '流程节点', |
| 445 | desc: '流程节点', | 459 | desc: '流程节点', |
| 446 | color: '#ed8383', | 460 | color: '#ed8383', |
| 447 | - img: 'https://cdn.ipadbiz.cn/oa/coupon-node.svg', | 461 | + img: 'https://cdn.ipadbiz.cn/oa/flow/icons-flow.png', |
| 448 | }, | 462 | }, |
| 449 | cc: { | 463 | cc: { |
| 450 | text: '抄送节点', | 464 | text: '抄送节点', |
| 451 | desc: '抄送节点', | 465 | desc: '抄送节点', |
| 452 | color: '#ed8383', | 466 | color: '#ed8383', |
| 453 | - img: 'https://cdn.ipadbiz.cn/oa/coupon-node.svg', | 467 | + img: 'https://cdn.ipadbiz.cn/oa/flow/icon-cc.png', |
| 454 | }, | 468 | }, |
| 455 | end: { | 469 | end: { |
| 456 | id: 'end-node', | 470 | id: 'end-node', |
| 457 | text: '结束', | 471 | text: '结束', |
| 458 | desc: '结束', | 472 | desc: '结束', |
| 459 | color: '#92dba8', | 473 | color: '#92dba8', |
| 460 | - img: 'https://cdn.ipadbiz.cn/oa/crowd-node.svg', | 474 | + img: 'https://cdn.ipadbiz.cn/oa/flow/icon-end.png', |
| 461 | }, | 475 | }, |
| 462 | }, | 476 | }, |
| 463 | search_auth_value: '', | 477 | search_auth_value: '', |
| ... | @@ -1296,7 +1310,7 @@ body { | ... | @@ -1296,7 +1310,7 @@ body { |
| 1296 | .right { | 1310 | .right { |
| 1297 | } */ | 1311 | } */ |
| 1298 | .active { | 1312 | .active { |
| 1299 | - color: #409eff; | 1313 | + color: #009688; |
| 1300 | } | 1314 | } |
| 1301 | } | 1315 | } |
| 1302 | .content:hover .btn-action { | 1316 | .content:hover .btn-action { |
| ... | @@ -1335,4 +1349,22 @@ body { | ... | @@ -1335,4 +1349,22 @@ body { |
| 1335 | font-size: 14px; | 1349 | font-size: 14px; |
| 1336 | } | 1350 | } |
| 1337 | } | 1351 | } |
| 1352 | + | ||
| 1353 | +.el-tabs__item.is-active, .el-radio-button__inner:hover { | ||
| 1354 | + color: #009688 !important; | ||
| 1355 | +} | ||
| 1356 | +.el-tabs__active-bar, .el-radio-button__original-radio:checked+.el-radio-button__inner { | ||
| 1357 | + background-color: #009688!important; | ||
| 1358 | +} | ||
| 1359 | +.el-tag { | ||
| 1360 | + background-color: #009688!important; | ||
| 1361 | + color: white !important; | ||
| 1362 | +} | ||
| 1363 | +.el-tag .el-tag__close, .el-radio-button__original-radio:checked+.el-radio-button__inner:hover { | ||
| 1364 | + color: white !important; | ||
| 1365 | +} | ||
| 1366 | +.el-checkbox__input.is-checked .el-checkbox__inner, .el-switch.is-checked .el-switch__core { | ||
| 1367 | + background-color: #009688!important; | ||
| 1368 | + border-color: #009688!important; | ||
| 1369 | +} | ||
| 1338 | </style> | 1370 | </style> | ... | ... |
| 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-22 15:46:03 | 4 | + * @LastEditTime: 2023-11-22 16:51:48 |
| 5 | * @FilePath: /vue-flow-editor/doc/selectUserView.vue | 5 | * @FilePath: /vue-flow-editor/doc/selectUserView.vue |
| 6 | * @Description: 成员列表选择控件 | 6 | * @Description: 成员列表选择控件 |
| 7 | --> | 7 | --> |
| ... | @@ -349,7 +349,12 @@ watch(() => { | ... | @@ -349,7 +349,12 @@ watch(() => { |
| 349 | dialogUserFormVisible.value = true; | 349 | dialogUserFormVisible.value = true; |
| 350 | } else { | 350 | } else { |
| 351 | dialogUserFormVisible.value = false; | 351 | dialogUserFormVisible.value = false; |
| 352 | + // 用户选择弹框关闭时,清空数据 | ||
| 352 | is_active_search.value = false; | 353 | is_active_search.value = false; |
| 354 | + userTabType.value = "corp-tree"; | ||
| 355 | + activeTabId.value = "tab-corp"; | ||
| 356 | + activeTabIdx.value = 0; | ||
| 357 | + tabOffset.value = 0; | ||
| 353 | } | 358 | } |
| 354 | }); | 359 | }); |
| 355 | 360 | ||
| ... | @@ -851,6 +856,7 @@ const onSearchInput = (val) => { | ... | @@ -851,6 +856,7 @@ const onSearchInput = (val) => { |
| 851 | .el-input-group__append { | 856 | .el-input-group__append { |
| 852 | width: 100px !important; | 857 | width: 100px !important; |
| 853 | padding: 0 !important; | 858 | padding: 0 !important; |
| 859 | + box-shadow: none!important; | ||
| 854 | } | 860 | } |
| 855 | .search-group { | 861 | .search-group { |
| 856 | display: flex; | 862 | display: flex; |
| ... | @@ -871,4 +877,12 @@ const onSearchInput = (val) => { | ... | @@ -871,4 +877,12 @@ const onSearchInput = (val) => { |
| 871 | } | 877 | } |
| 872 | } | 878 | } |
| 873 | } | 879 | } |
| 880 | + | ||
| 881 | +.el-tag { | ||
| 882 | + background-color: #009688!important; | ||
| 883 | + color: white !important; | ||
| 884 | +} | ||
| 885 | +.el-tag .el-tag__close { | ||
| 886 | + color: white !important; | ||
| 887 | +} | ||
| 874 | </style> | 888 | </style> | ... | ... |
src/assets/logo.png
0 → 100644
16.2 KB
| 1 | +/* | ||
| 2 | + * @Date: 2023-10-27 09:29:59 | ||
| 3 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | + * @LastEditTime: 2023-11-22 16:16:48 | ||
| 5 | + * @FilePath: /vue-flow-editor/src/editor/vue-flow-editor-menu.tsx | ||
| 6 | + * @Description: 文件描述 | ||
| 7 | + */ | ||
| 1 | import {computed, inject} from "vue"; | 8 | import {computed, inject} from "vue"; |
| 2 | import {VueFlowEditorProvider} from "@/editor/editor"; | 9 | import {VueFlowEditorProvider} from "@/editor/editor"; |
| 3 | import {suffixSize} from "@/utils/utils"; | 10 | import {suffixSize} from "@/utils/utils"; |
| 4 | 11 | ||
| 5 | -const logo = require('../assets/vue-flow-editor.png') | 12 | +const logo = require('../assets/logo.png') |
| 6 | 13 | ||
| 7 | interface Menu { | 14 | interface Menu { |
| 8 | name: string, | 15 | name: string, |
| ... | @@ -37,4 +44,4 @@ export default { | ... | @@ -37,4 +44,4 @@ export default { |
| 37 | </div> | 44 | </div> |
| 38 | ) | 45 | ) |
| 39 | }, | 46 | }, |
| 40 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 47 | +} | ... | ... |
-
Please register or login to post a comment