Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
c6c40ebe
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1172
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
c6c40ebe
编写于
11月 30, 2018
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
流程图修改
上级
f6174f1c
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
80 addition
and
55 deletion
+80
-55
skyeye-web/src/main/webapp/js/planproject/planprojectlist.js
skyeye-web/src/main/webapp/js/planproject/planprojectlist.js
+20
-0
skyeye-web/src/main/webapp/tpl/flowchart/makeflowchart.html
skyeye-web/src/main/webapp/tpl/flowchart/makeflowchart.html
+59
-55
skyeye-web/src/main/webapp/tpl/planproject/planprojectlist.html
...-web/src/main/webapp/tpl/planproject/planprojectlist.html
+1
-0
未找到文件。
skyeye-web/src/main/webapp/js/planproject/planprojectlist.js
浏览文件 @
c6c40ebe
...
...
@@ -47,6 +47,8 @@ layui.config({
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
flowChart
'
)
{
//流程图设计
flowChart
(
data
);
}
else
if
(
layEvent
===
'
projectDesc
'
)
{
//项目简介
layer
.
open
({
id
:
'
项目简介
'
,
...
...
@@ -103,6 +105,24 @@ layui.config({
}});
}
//流程图设计
function
flowChart
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/flowchart/makeflowchart.html
"
,
title
:
"
流程图设计
"
,
pageId
:
"
planprojectedit
"
,
maxmin
:
true
,
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
top
.
winui
.
window
.
msg
(
"
操作成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
if
(
refreshCode
==
'
-9999
'
)
{
top
.
winui
.
window
.
msg
(
"
操作失败
"
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
//刷新数据
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
(){
loadTable
();
...
...
skyeye-web/src/main/webapp/tpl/flowchart/makeflowchart.html
浏览文件 @
c6c40ebe
...
...
@@ -8,63 +8,67 @@
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"layui-col-xs12"
>
<div
id=
"toolBar"
class=
"lct-toolBar layui-col-xs12"
>
<ul>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addCustom1"
><i
class=
"iconfont icon-tuoyuan"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addCustom2"
><i
class=
"iconfont icon-changfangxing"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addCustom3"
><i
class=
"iconfont icon-lingxing-B"
></i></button>
</li>
<li
class=
"s-line"
>
|
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addLine"
><i
class=
"iconfont icon-line"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addArrowLine"
><i
class=
"iconfont icon-one-line-arrow"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addSmooth"
><i
class=
"iconfont icon-quxian"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addArrowSmooth"
><i
class=
"iconfont icon-quxianjiantou"
></i></button>
</li>
<!-- <li>
<button class="layui-btn layui-btn-primary layui-btn-sm" id="addLineFlow"><i class="iconfont icon-zhexian"></i></button>
</li> -->
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addPolyLineFlow"
><i
class=
"iconfont icon-zhexianjiantou-copy"
></i></button>
</li>
<li
class=
"s-line"
>
|
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"drag"
><i
class=
"fa fa-arrows"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"edit"
><i
class=
"fa fa-edit"
></i></button>
</li>
<li
class=
"s-line"
>
|
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"delete"
><i
class=
"fa fa-trash-o"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"consoleJSON"
><i
class=
"fa fa-save"
></i></button>
</li>
</ul>
<div
class=
"layui-col-xs12"
>
<div
class=
"layui-col-xs2"
style=
"min-height: 100px;"
>
</div>
<div
class=
"layui-col-xs12"
>
<!-- <div class="layui-col-xs2 left-div">
</div> -->
<div
class=
"layui-col-xs12 coverModel"
id=
"mountNode"
>
<div
class=
"layui-col-xs10"
>
<div
id=
"toolBar"
class=
"lct-toolBar layui-col-xs12"
>
<ul>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addCustom1"
><i
class=
"iconfont icon-tuoyuan"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addCustom2"
><i
class=
"iconfont icon-changfangxing"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addCustom3"
><i
class=
"iconfont icon-lingxing-B"
></i></button>
</li>
<li
class=
"s-line"
>
|
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addLine"
><i
class=
"iconfont icon-line"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addArrowLine"
><i
class=
"iconfont icon-one-line-arrow"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addSmooth"
><i
class=
"iconfont icon-quxian"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addArrowSmooth"
><i
class=
"iconfont icon-quxianjiantou"
></i></button>
</li>
<!-- <li>
<button class="layui-btn layui-btn-primary layui-btn-sm" id="addLineFlow"><i class="iconfont icon-zhexian"></i></button>
</li> -->
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"addPolyLineFlow"
><i
class=
"iconfont icon-zhexianjiantou-copy"
></i></button>
</li>
<li
class=
"s-line"
>
|
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"drag"
><i
class=
"fa fa-arrows"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"edit"
><i
class=
"fa fa-edit"
></i></button>
</li>
<li
class=
"s-line"
>
|
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"delete"
><i
class=
"fa fa-trash-o"
></i></button>
</li>
<li>
<button
class=
"layui-btn layui-btn-primary layui-btn-sm"
id=
"consoleJSON"
><i
class=
"fa fa-save"
></i></button>
</li>
</ul>
</div>
<div
class=
"layui-col-xs12"
>
<!-- <div class="layui-col-xs2 left-div">
</div> -->
<div
class=
"layui-col-xs12 coverModel"
id=
"mountNode"
>
</div>
<!-- <div class="layui-col-xs2 right-div">
</div> -->
</div>
<!-- <div class="layui-col-xs2 right-div">
</div> -->
</div>
</div>
</div>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
...
...
skyeye-web/src/main/webapp/tpl/planproject/planprojectlist.html
浏览文件 @
c6c40ebe
...
...
@@ -34,6 +34,7 @@
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
flowChart
"
>
流程图设计
<
/a
>
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
>
编辑
<
/a
>
<
a
class
=
"
layui-btn layui-btn-danger layui-btn-xs
"
lay
-
event
=
"
del
"
>
删除
<
/a
>
</script>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录