Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
f6b42c8b
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1436
Star
162
Fork
130
代码
文件
提交
分支
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看板
提交
f6b42c8b
编写于
8月 25, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
解决项目任务树加载时html乱码的问题,解决项目任命时提示XXX不能为空的问题
上级
d6eb9030
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
66 addition
and
55 deletion
+66
-55
pro/src/main/resources/template/js/proproject/proappoint.js
pro/src/main/resources/template/js/proproject/proappoint.js
+24
-16
pro/src/main/resources/template/js/protask/protasklist.js
pro/src/main/resources/template/js/protask/protasklist.js
+20
-22
pro/src/main/resources/template/js/protaskall/protasklist.js
pro/src/main/resources/template/js/protaskall/protasklist.js
+1
-3
pro/src/main/resources/template/tpl/protask/protasklist.html
pro/src/main/resources/template/tpl/protask/protasklist.html
+1
-0
pro/src/main/resources/template/tpl/protaskall/protasklist.html
...c/main/resources/template/tpl/protaskall/protasklist.html
+3
-0
web/src/main/resources/template/assets/lib/layui/customer/ueEditorUtil.js
...ources/template/assets/lib/layui/customer/ueEditorUtil.js
+17
-14
未找到文件。
pro/src/main/resources/template/js/proproject/proappoint.js
浏览文件 @
f6b42c8b
...
...
@@ -36,14 +36,14 @@ layui.config({
skyeyeEnclosure
.
showDetails
({
"
businessEnclosureUpload
"
:
json
.
bean
.
businessEnclosureInfoList
});
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
planUe
=
ueEditorUtil
.
initEditor
(
'
planContainer
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
if
(
!
isNull
(
json
.
bean
.
projectContent
))
ue
.
setContent
(
json
.
bean
.
projectContent
);
else
ue
.
setContent
(
"
在此处填写您的[分工明细]
"
);
});
planUe
=
ueEditorUtil
.
initEditor
(
'
planContainer
'
);
planUe
.
addListener
(
"
ready
"
,
function
()
{
if
(
!
isNull
(
json
.
bean
.
planContent
))
planUe
.
setContent
(
json
.
bean
.
planContent
);
...
...
@@ -101,10 +101,10 @@ layui.config({
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAppointBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rowId
:
parent
.
rowId
,
form
.
on
(
'
submit(formAppointBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rowId
:
parent
.
rowId
,
toProjectManager
:
systemCommonUtil
.
tagEditorGetAllData
(
'
projectManager
'
,
toProjectManager
),
// 项目经理
toProjectSponsor
:
systemCommonUtil
.
tagEditorGetAllData
(
'
projectSponsor
'
,
toProjectSponsor
),
// 项目赞助人
toProjectMembers
:
systemCommonUtil
.
tagEditorGetAllData
(
'
projectMembers
'
,
toProjectMembers
),
// 项目组成员
...
...
@@ -112,18 +112,26 @@ layui.config({
planEnclosureInfoStr
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
planEnclosureUpload
'
),
projectContent
:
encodeURIComponent
(
ue
.
getContent
()),
planContent
:
encodeURIComponent
(
planUe
.
getContent
())
};
if
(
isNull
(
params
.
projectContent
)){
winui
.
window
.
msg
(
"
请填写业务需求和目标
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
proproject014
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
};
if
(
isNull
(
params
.
toProjectManager
))
{
winui
.
window
.
msg
(
"
请选择项目经理
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
params
.
toProjectMembers
))
{
winui
.
window
.
msg
(
"
请选择项目成员
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
params
.
projectContent
))
{
winui
.
window
.
msg
(
"
请填写业务需求和目标
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
proproject014
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}});
}
return
false
;
});
}
});
...
...
pro/src/main/resources/template/js/protask/protasklist.js
浏览文件 @
f6b42c8b
...
...
@@ -29,32 +29,30 @@ layui.config({
where
:
getTableParams
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
,
rowspan
:
2
},
{
field
:
'
taskName
'
,
title
:
'
名称
'
,
rowspan
:
2
,
width
:
200
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
taskName
+
'
</a>
'
;
}},
{
field
:
'
taskName
'
,
title
:
'
名称
'
,
rowspan
:
2
,
width
:
200
},
{
field
:
'
processInstanceId
'
,
title
:
'
流程ID
'
,
rowspan
:
2
,
width
:
70
,
templet
:
function
(
d
)
{
return
'
<a lay-event="processDetails" class="notice-title-click">
'
+
d
.
processInstanceId
+
'
</a>
'
;
}},
{
field
:
'
state
'
,
title
:
'
审批状态
'
,
rowspan
:
2
,
width
:
80
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
'
0
'
)
{
return
"
草稿
"
;
}
else
if
(
d
.
state
==
'
1
'
)
{
return
"
<span class='state-new'>审核中</span>
"
;
}
else
if
(
d
.
state
==
'
2
'
)
{
return
"
<span class='state-new'>执行中</span>
"
;
}
else
if
(
d
.
state
==
'
3
'
)
{
return
"
<span class='state-new'>执行完成</span>
"
;
}
else
if
(
d
.
state
==
'
4
'
)
{
return
"
<span class='state-error'>关闭</span>
"
;
}
else
if
(
d
.
state
==
'
5
'
)
{
return
"
<span class='state-error'>撤销</span>
"
;
}
else
if
(
d
.
state
==
'
6
'
)
{
return
"
<span class='state-down'>作废</span>
"
;
}
else
if
(
d
.
state
==
'
11
'
)
{
return
"
<span class='state-up'>审核通过</span>
"
;
}
else
if
(
d
.
state
==
'
12
'
)
{
return
"
<span class='state-down'>审核不通过</span>
"
;
}
if
(
d
.
state
==
'
0
'
)
{
return
"
草稿
"
;
}
else
if
(
d
.
state
==
'
1
'
)
{
return
"
<span class='state-new'>审核中</span>
"
;
}
else
if
(
d
.
state
==
'
2
'
)
{
return
"
<span class='state-new'>执行中</span>
"
;
}
else
if
(
d
.
state
==
'
3
'
)
{
return
"
<span class='state-new'>执行完成</span>
"
;
}
else
if
(
d
.
state
==
'
4
'
)
{
return
"
<span class='state-error'>关闭</span>
"
;
}
else
if
(
d
.
state
==
'
5
'
)
{
return
"
<span class='state-error'>撤销</span>
"
;
}
else
if
(
d
.
state
==
'
6
'
)
{
return
"
<span class='state-down'>作废</span>
"
;
}
else
if
(
d
.
state
==
'
11
'
)
{
return
"
<span class='state-up'>审核通过</span>
"
;
}
else
if
(
d
.
state
==
'
12
'
)
{
return
"
<span class='state-down'>审核不通过</span>
"
;
}
}},
{
field
:
'
projectName
'
,
title
:
'
所属项目
'
,
rowspan
:
2
,
width
:
120
},
{
field
:
'
performId
'
,
title
:
'
执行人
'
,
rowspan
:
2
,
width
:
200
},
...
...
pro/src/main/resources/template/js/protaskall/protasklist.js
浏览文件 @
f6b42c8b
...
...
@@ -24,9 +24,7 @@ layui.config({
where
:
getTableParams
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
,
rowspan
:
2
},
{
field
:
'
taskName
'
,
title
:
'
名称
'
,
rowspan
:
2
,
width
:
200
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
taskName
+
'
</a>
'
;
}},
{
field
:
'
taskName
'
,
title
:
'
名称
'
,
rowspan
:
2
,
width
:
200
},
{
field
:
'
processInstanceId
'
,
title
:
'
流程ID
'
,
rowspan
:
2
,
width
:
70
,
templet
:
function
(
d
)
{
return
'
<a lay-event="processDetails" class="notice-title-click">
'
+
d
.
processInstanceId
+
'
</a>
'
;
}},
...
...
pro/src/main/resources/template/tpl/protask/protasklist.html
浏览文件 @
f6b42c8b
...
...
@@ -108,6 +108,7 @@
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
revoke
"
>
撤销
<
/a
>
{{
#
}
}}
{{
#
}
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
details
"
>
详情
<
/a
>
</script>
</div>
</div>
...
...
pro/src/main/resources/template/tpl/protaskall/protasklist.html
浏览文件 @
f6b42c8b
...
...
@@ -41,6 +41,9 @@
<div
style=
"margin:auto 10px;"
>
<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 layui-btn-normal
"
lay
-
event
=
"
details
"
>
详情
<
/a
>
</script>
</div>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
...
...
web/src/main/resources/template/assets/lib/layui/customer/ueEditorUtil.js
浏览文件 @
f6b42c8b
var
ueEditorUtil
=
{
initEditor
:
function
(
id
){
var
ue
=
UE
.
getEditor
(
id
,{
ueEditorMap
:
{},
initEditor
:
function
(
id
)
{
ueEditorUtil
.
ueEditorMap
[
id
]
=
UE
.
getEditor
(
id
,
{
initialFrameWidth
:
'
100%
'
,
//初始化编辑器宽度,默认1000
initialFrameHeight
:
800
,
maximumWords
:
100000
,
autoHeightEnabled
:
false
,
// 禁止自动增高,改用滚动条
enableAutoSave
:
false
,
// 自动保存
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
return
ue
;
if
(
ueEditorUtil
.
ueEditorMap
.
length
==
1
)
{
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
)
{
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
)
{
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
)
{
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
}
return
ueEditorUtil
.
ueEditorMap
[
id
];
},
};
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录