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
2023-11-22 12:28:45 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bd2047f144e6af03383fad0a2d86d3261a7a61fa
bd2047f1
1 parent
a6e1388a
✨ feat(节点负责人控件): 根据API进行结构功能调整
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
20 deletions
build/docs.js
doc/App.vue
doc/axios.js
doc/selectUserView.vue
package.json
build/docs.js
View file @
bd2047f
/*
* @Date: 2021-08-18 12:47:05
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-1
0-27 11:05:12
* @LastEditTime: 2023-1
1-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': ''
...
...
doc/App.vue
View file @
bd2047f
...
...
@@ -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;
...
...
doc/axios.js
View file @
bd2047f
/*
* @Date: 2023-10-27 11:12:24
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-1
0-27 11:13:00
* @LastEditTime: 2023-1
1-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'
,
};
/**
...
...
doc/selectUserView.vue
View file @
bd2047f
This diff is collapsed. Click to expand it.
package.json
View file @
bd2047f
...
...
@@ -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"
,
...
...
Please
register
or
login
to post a comment