Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FLIPPED-AURORA
gin-vue-admin
提交
b494f66c
G
gin-vue-admin
项目概览
FLIPPED-AURORA
/
gin-vue-admin
大约 1 年 前同步成功
通知
344
Star
18155
Fork
5506
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b494f66c
编写于
2月 26, 2021
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新了某些文本 让提示更加友好
根据scuxiatian提供的方案 修改了workflow前端组件的一些bug
上级
a0c36e0d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
7 addition
and
2 deletion
+7
-2
server/cmd/information/system/api.go
server/cmd/information/system/api.go
+1
-1
server/cmd/information/system/menu.go
server/cmd/information/system/menu.go
+1
-1
web/src/components/gva-wfd/behavior/dragPanelItemAddNode.js
web/src/components/gva-wfd/behavior/dragPanelItemAddNode.js
+1
-0
web/src/components/gva-wfd/components/Wfd.vue
web/src/components/gva-wfd/components/Wfd.vue
+4
-0
未找到文件。
server/cmd/information/system/api.go
浏览文件 @
b494f66c
...
@@ -42,7 +42,7 @@ var apis = []model.SysApi{
...
@@ -42,7 +42,7 @@ var apis = []model.SysApi{
{
global
.
GVA_MODEL
{
ID
:
27
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/casbin/updateCasbin"
,
"更改角色api权限"
,
"casbin"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
27
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/casbin/updateCasbin"
,
"更改角色api权限"
,
"casbin"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
28
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/casbin/getPolicyPathByAuthorityId"
,
"获取权限列表"
,
"casbin"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
28
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/casbin/getPolicyPathByAuthorityId"
,
"获取权限列表"
,
"casbin"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
29
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/fileUploadAndDownload/deleteFile"
,
"删除文件"
,
"fileUploadAndDownload"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
29
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/fileUploadAndDownload/deleteFile"
,
"删除文件"
,
"fileUploadAndDownload"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
30
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/jwt/jsonInBlacklist"
,
"jwt加入黑名单"
,
"jwt"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
30
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/jwt/jsonInBlacklist"
,
"jwt加入黑名单
(退出)
"
,
"jwt"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
31
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/authority/setDataAuthority"
,
"设置角色资源权限"
,
"authority"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
31
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/authority/setDataAuthority"
,
"设置角色资源权限"
,
"authority"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
32
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/system/getSystemConfig"
,
"获取配置文件内容"
,
"system"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
32
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/system/getSystemConfig"
,
"获取配置文件内容"
,
"system"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
33
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/system/setSystemConfig"
,
"设置配置文件内容"
,
"system"
,
"POST"
},
{
global
.
GVA_MODEL
{
ID
:
33
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
"/system/setSystemConfig"
,
"设置配置文件内容"
,
"system"
,
"POST"
},
...
...
server/cmd/information/system/menu.go
浏览文件 @
b494f66c
...
@@ -24,7 +24,7 @@ var menus = []model.SysBaseMenu{
...
@@ -24,7 +24,7 @@ var menus = []model.SysBaseMenu{
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
8
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
true
,
ParentId
:
"0"
,
Path
:
"person"
,
Name
:
"person"
,
Component
:
"view/person/person.vue"
,
Sort
:
4
,
Meta
:
model
.
Meta
{
Title
:
"个人信息"
,
Icon
:
"message-solid"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
8
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
true
,
ParentId
:
"0"
,
Path
:
"person"
,
Name
:
"person"
,
Component
:
"view/person/person.vue"
,
Sort
:
4
,
Meta
:
model
.
Meta
{
Title
:
"个人信息"
,
Icon
:
"message-solid"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
9
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"0"
,
Path
:
"example"
,
Name
:
"example"
,
Component
:
"view/example/index.vue"
,
Sort
:
6
,
Meta
:
model
.
Meta
{
Title
:
"示例文件"
,
Icon
:
"s-management"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
9
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"0"
,
Path
:
"example"
,
Name
:
"example"
,
Component
:
"view/example/index.vue"
,
Sort
:
6
,
Meta
:
model
.
Meta
{
Title
:
"示例文件"
,
Icon
:
"s-management"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
10
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"9"
,
Path
:
"excel"
,
Name
:
"excel"
,
Component
:
"view/example/excel/excel.vue"
,
Sort
:
4
,
Meta
:
model
.
Meta
{
Title
:
"excel导入导出"
,
Icon
:
"s-marketing"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
10
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"9"
,
Path
:
"excel"
,
Name
:
"excel"
,
Component
:
"view/example/excel/excel.vue"
,
Sort
:
4
,
Meta
:
model
.
Meta
{
Title
:
"excel导入导出"
,
Icon
:
"s-marketing"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
11
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"9"
,
Path
:
"upload"
,
Name
:
"upload"
,
Component
:
"view/example/upload/upload.vue"
,
Sort
:
5
,
Meta
:
model
.
Meta
{
Title
:
"
上传下载
"
,
Icon
:
"upload"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
11
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"9"
,
Path
:
"upload"
,
Name
:
"upload"
,
Component
:
"view/example/upload/upload.vue"
,
Sort
:
5
,
Meta
:
model
.
Meta
{
Title
:
"
媒体库(上传下载)
"
,
Icon
:
"upload"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
12
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"9"
,
Path
:
"breakpoint"
,
Name
:
"breakpoint"
,
Component
:
"view/example/breakpoint/breakpoint.vue"
,
Sort
:
6
,
Meta
:
model
.
Meta
{
Title
:
"断点续传"
,
Icon
:
"upload"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
12
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"9"
,
Path
:
"breakpoint"
,
Name
:
"breakpoint"
,
Component
:
"view/example/breakpoint/breakpoint.vue"
,
Sort
:
6
,
Meta
:
model
.
Meta
{
Title
:
"断点续传"
,
Icon
:
"upload"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
13
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"9"
,
Path
:
"customer"
,
Name
:
"customer"
,
Component
:
"view/example/customer/customer.vue"
,
Sort
:
7
,
Meta
:
model
.
Meta
{
Title
:
"客户列表(资源示例)"
,
Icon
:
"s-custom"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
13
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"9"
,
Path
:
"customer"
,
Name
:
"customer"
,
Component
:
"view/example/customer/customer.vue"
,
Sort
:
7
,
Meta
:
model
.
Meta
{
Title
:
"客户列表(资源示例)"
,
Icon
:
"s-custom"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
14
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"0"
,
Path
:
"systemTools"
,
Name
:
"systemTools"
,
Component
:
"view/systemTools/index.vue"
,
Sort
:
5
,
Meta
:
model
.
Meta
{
Title
:
"系统工具"
,
Icon
:
"s-cooperation"
}},
{
GVA_MODEL
:
global
.
GVA_MODEL
{
ID
:
14
,
CreatedAt
:
time
.
Now
(),
UpdatedAt
:
time
.
Now
()},
MenuLevel
:
0
,
Hidden
:
false
,
ParentId
:
"0"
,
Path
:
"systemTools"
,
Name
:
"systemTools"
,
Component
:
"view/systemTools/index.vue"
,
Sort
:
5
,
Meta
:
model
.
Meta
{
Title
:
"系统工具"
,
Icon
:
"s-cooperation"
}},
...
...
web/src/components/gva-wfd/behavior/dragPanelItemAddNode.js
浏览文件 @
b494f66c
...
@@ -121,6 +121,7 @@ export default function(G6){
...
@@ -121,6 +121,7 @@ export default function(G6){
//type、shape属性同时存在即兼容之前版本的数据,又兼容g6的升级
//type、shape属性同时存在即兼容之前版本的数据,又兼容g6的升级
addModel
.
type
=
getShapeName
(
clazz
);
addModel
.
type
=
getShapeName
(
clazz
);
addModel
.
shape
=
getShapeName
(
clazz
);
addModel
.
shape
=
getShapeName
(
clazz
);
addModel
.
hideIcon
=
false
;
const
timestamp
=
new
Date
().
getTime
();
const
timestamp
=
new
Date
().
getTime
();
const
id
=
clazz
+
timestamp
;
const
id
=
clazz
+
timestamp
;
const
x
=
p
.
x
;
const
x
=
p
.
x
;
...
...
web/src/components/gva-wfd/components/Wfd.vue
浏览文件 @
b494f66c
...
@@ -150,6 +150,10 @@
...
@@ -150,6 +150,10 @@
this
.
selectedModel
=
this
.
processModel
;
this
.
selectedModel
=
this
.
processModel
;
}
}
});
});
this
.
graph
.
on
(
'
aftercommandexecute
'
,(
command
)
=>
{
if
(
command
.
name
!==
'
undo
'
&&
command
.
name
!==
'
redo
'
)
return
;
// 更新selectedModel
});
const
page
=
this
.
$refs
[
'
canvas
'
];
const
page
=
this
.
$refs
[
'
canvas
'
];
const
graph
=
this
.
graph
;
const
graph
=
this
.
graph
;
const
height
=
this
.
height
-
1
;
const
height
=
this
.
height
-
1
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录