hookehuyr

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

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