hookehuyr

✨ feat(节点负责人控件): 根据API进行结构功能调整

1 /* 1 /*
2 * @Date: 2021-08-18 12:47:05 2 * @Date: 2021-08-18 12:47:05
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-10-27 11:05:12 4 + * @LastEditTime: 2023-11-21 15:29:14
5 * @FilePath: /vue-flow-editor/build/docs.js 5 * @FilePath: /vue-flow-editor/build/docs.js
6 * @Description: 文件描述 6 * @Description: 文件描述
7 */ 7 */
...@@ -40,9 +40,9 @@ module.exports = { ...@@ -40,9 +40,9 @@ module.exports = {
40 compress: true, 40 compress: true,
41 // 设置代理 41 // 设置代理
42 proxy: { 42 proxy: {
43 - '/srv/': { 43 + '/admin/': {
44 // filter: ['/op/', '/fi/', '/de/', '/st/', '/fr/', '/pr/', '/pu/', '/dl/', '/b/', '/t/', '/rpt/', '/mm/', '/mp/'], 44 // filter: ['/op/', '/fi/', '/de/', '/st/', '/fr/', '/pr/', '/pu/', '/dl/', '/b/', '/t/', '/rpt/', '/mm/', '/mp/'],
45 - target: 'https://oa.onwall.cn', 45 + target: 'https://oa-dev.onwall.cn',
46 changeOrigin: true, 46 changeOrigin: true,
47 // pathRewrite: { 47 // pathRewrite: {
48 // '^/api': '' 48 // '^/api': ''
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
101 v-if="state.userTags.length" 101 v-if="state.userTags.length"
102 v-for="tag in state.userTags" 102 v-for="tag in state.userTags"
103 :key="tag.name" 103 :key="tag.name"
104 - style="margin-left: 0.25rem; margin-right: 0.25rem;" 104 + style="margin: 0 0.25rem 0.5rem 0.25rem;"
105 > 105 >
106 {{ tag.name }} 106 {{ tag.name }}
107 </el-tag> 107 </el-tag>
...@@ -521,20 +521,20 @@ export default { ...@@ -521,20 +521,20 @@ export default {
521 521
522 onMounted(() => { 522 onMounted(() => {
523 document.title = '可视化流程设计器' 523 document.title = '可视化流程设计器'
524 - // 显示提示框的标志位 524 + // // 显示提示框的标志位
525 - var showConfirmation = true; 525 + // var showConfirmation = true;
526 - // 监听 beforeunload 事件 526 + // // 监听 beforeunload 事件
527 - window.addEventListener('beforeunload', function (event) { 527 + // window.addEventListener('beforeunload', function (event) {
528 - if (showConfirmation) { 528 + // if (showConfirmation) {
529 - // 取消事件的默认行为(弹出确认对话框) 529 + // // 取消事件的默认行为(弹出确认对话框)
530 - event.preventDefault(); 530 + // event.preventDefault();
531 - } 531 + // }
532 - }); 532 + // });
533 - // 监听 unload 事件 533 + // // 监听 unload 事件
534 - window.addEventListener('unload', function () { 534 + // window.addEventListener('unload', function () {
535 - // 设置标志位为 false,避免在刷新页面时再次显示提示框 535 + // // 设置标志位为 false,避免在刷新页面时再次显示提示框
536 - showConfirmation = false; 536 + // showConfirmation = false;
537 - }); 537 + // });
538 // 监听 resize 事件 538 // 监听 resize 事件
539 window.addEventListener('resize', function () { 539 window.addEventListener('resize', function () {
540 state.detailModel = null; 540 state.detailModel = null;
......
1 /* 1 /*
2 * @Date: 2023-10-27 11:12:24 2 * @Date: 2023-10-27 11:12:24
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-10-27 11:13:00 4 + * @LastEditTime: 2023-11-21 15:23:46
5 * @FilePath: /vue-flow-editor/doc/axios.js 5 * @FilePath: /vue-flow-editor/doc/axios.js
6 * @Description: 文件描述 6 * @Description: 文件描述
7 */ 7 */
8 import axios from 'axios'; 8 import axios from 'axios';
9 9
10 axios.defaults.params = { 10 axios.defaults.params = {
11 - f: 'custom_form', 11 + m: 'mod',
12 + p: 'authority_my',
12 }; 13 };
13 14
14 /** 15 /**
......
This diff is collapsed. Click to expand it.
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
28 "echarts": "^5.1.2", 28 "echarts": "^5.1.2",
29 "element-plus": "^2.4.1", 29 "element-plus": "^2.4.1",
30 "jquery": "^3.7.1", 30 "jquery": "^3.7.1",
31 + "lodash": "^4.17.21",
31 "sass": "^1.69.4", 32 "sass": "^1.69.4",
32 "sass-loader": "10.1.1", 33 "sass-loader": "10.1.1",
33 "vue": "^3.0.0", 34 "vue": "^3.0.0",
......