Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
6d6e5ec4
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1195
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看板
提交
6d6e5ec4
编写于
4月 03, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
工作流整改
上级
ab570eab
变更
28
隐藏空白更改
内联
并排
Showing
28 changed file
with
71 addition
and
71 deletion
+71
-71
activiti/src/main/resources/template/js/actBaseClass/actBaseClassAdd.js
...ain/resources/template/js/actBaseClass/actBaseClassAdd.js
+1
-1
activiti/src/main/resources/template/js/actBaseClass/actBaseClassDetails.js
...resources/template/js/actBaseClass/actBaseClassDetails.js
+1
-1
activiti/src/main/resources/template/js/actBaseClass/actBaseClassEdit.js
...in/resources/template/js/actBaseClass/actBaseClassEdit.js
+2
-2
activiti/src/main/resources/template/js/actBaseClass/actBaseClassList.js
...in/resources/template/js/actBaseClass/actBaseClassList.js
+2
-2
activiti/src/main/resources/template/js/activiticommon/activitiwithdraw.js
.../resources/template/js/activiticommon/activitiwithdraw.js
+1
-1
activiti/src/main/resources/template/js/activiticommon/myactivitidetails.js
...resources/template/js/activiticommon/myactivitidetails.js
+2
-2
activiti/src/main/resources/template/js/activitimodel/activitimodellist.js
.../resources/template/js/activitimodel/activitimodellist.js
+8
-8
activiti/src/main/resources/template/js/actmodletype/actModleDetails.js
...ain/resources/template/js/actmodletype/actModleDetails.js
+1
-1
activiti/src/main/resources/template/js/actmodletype/actmodleedit.js
...c/main/resources/template/js/actmodletype/actmodleedit.js
+3
-3
activiti/src/main/resources/template/js/actmodletype/actmodletypeadd.js
...ain/resources/template/js/actmodletype/actmodletypeadd.js
+3
-3
activiti/src/main/resources/template/js/actmodletype/actmodletypelist.js
...in/resources/template/js/actmodletype/actmodletypelist.js
+14
-14
activiti/src/main/resources/template/js/addSignTask/afterAddSignTask.js
...ain/resources/template/js/addSignTask/afterAddSignTask.js
+1
-1
activiti/src/main/resources/template/js/addSignTask/beforeAddSignTask.js
...in/resources/template/js/addSignTask/beforeAddSignTask.js
+1
-1
activiti/src/main/resources/template/js/addSignTask/jointlySign.js
...src/main/resources/template/js/addSignTask/jointlySign.js
+2
-2
activiti/src/main/resources/template/js/allactiviti/allcomplatepossess.js
...n/resources/template/js/allactiviti/allcomplatepossess.js
+1
-1
activiti/src/main/resources/template/js/allactiviti/alltodopossess.js
.../main/resources/template/js/allactiviti/alltodopossess.js
+3
-3
activiti/src/main/resources/template/js/approvalActiviti/approvalPersonChoose.js
...rces/template/js/approvalActiviti/approvalPersonChoose.js
+1
-1
activiti/src/main/resources/template/js/approvalActiviti/approvalProcess.js
...resources/template/js/approvalActiviti/approvalProcess.js
+3
-3
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js
...s/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js
+1
-1
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessDetail.js
...sFormPageSequence/dsFormPageSequenceDraftProcessDetail.js
+1
-1
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessEdit.js
.../dsFormPageSequence/dsFormPageSequenceDraftProcessEdit.js
+2
-2
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessEditToAct.js
...rmPageSequence/dsFormPageSequenceDraftProcessEditToAct.js
+2
-2
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessList.js
.../dsFormPageSequence/dsFormPageSequenceDraftProcessList.js
+3
-3
activiti/src/main/resources/template/js/myActiviti/initiatedProcess.js
...main/resources/template/js/myActiviti/initiatedProcess.js
+2
-2
activiti/src/main/resources/template/js/myActiviti/processedProcess.js
...main/resources/template/js/myActiviti/processedProcess.js
+2
-2
web/src/main/resources/static/editor-app/resources/dataTables.js
.../main/resources/static/editor-app/resources/dataTables.js
+2
-2
web/src/main/resources/static/editor-app/resources/dataTablesgroup.js
.../resources/static/editor-app/resources/dataTablesgroup.js
+2
-2
web/src/main/resources/template/assets/lib/layui/customer/activitiUtil.js
...ources/template/assets/lib/layui/customer/activitiUtil.js
+4
-4
未找到文件。
activiti/src/main/resources/template/js/actBaseClass/actBaseClassAdd.js
浏览文件 @
6d6e5ec4
...
...
@@ -19,7 +19,7 @@ layui.config({
classUrl
:
data
.
field
.
classUrl
,
desc
:
$
(
"
#desc
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actbaseclass002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actbaseclass002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
activiti/src/main/resources/template/js/actBaseClass/actBaseClassDetails.js
浏览文件 @
6d6e5ec4
...
...
@@ -13,7 +13,7 @@ layui.config({
var
beanTemplate
=
$
(
'
#beanTemplate
'
).
html
();
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
actbaseclass006
"
,
url
:
flowable
BasePath
+
"
actbaseclass006
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
beanTemplate
,
...
...
activiti/src/main/resources/template/js/actBaseClass/actBaseClassEdit.js
浏览文件 @
6d6e5ec4
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
actbaseclass004
"
,
url
:
flowable
BasePath
+
"
actbaseclass004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
$
(
'
#beanTemplate
'
).
html
(),
...
...
@@ -26,7 +26,7 @@ layui.config({
classUrl
:
$
(
"
#classUrl
"
).
val
(),
desc
:
$
(
"
#desc
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actbaseclass005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actbaseclass005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
activiti/src/main/resources/template/js/actBaseClass/actBaseClassList.js
浏览文件 @
6d6e5ec4
...
...
@@ -16,7 +16,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
actbaseclass001
'
,
url
:
flowable
BasePath
+
'
actbaseclass001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -67,7 +67,7 @@ layui.config({
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actbaseclass003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actbaseclass003
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
activiti/src/main/resources/template/js/activiticommon/activitiwithdraw.js
浏览文件 @
6d6e5ec4
...
...
@@ -25,7 +25,7 @@ layui.config({
processInstanceId
:
processInstanceId
,
hisTaskId
:
hisTaskId
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode026
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode026
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
activiti/src/main/resources/template/js/activiticommon/myactivitidetails.js
浏览文件 @
6d6e5ec4
...
...
@@ -27,7 +27,7 @@ layui.config({
tableTemplate
=
$
(
"
#tableTemplate
"
).
html
(),
//表格展示
voucherTemplate
=
$
(
"
#voucherTemplate
"
).
html
();
//凭证展示
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode025
"
,
params
:
{
processInstanceId
:
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
j
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode025
"
,
params
:
{
processInstanceId
:
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
j
){
if
(
j
.
returnCode
==
0
){
var
jsonStr
=
""
;
//实体json对象
var
str
=
""
;
...
...
@@ -111,7 +111,7 @@ layui.config({
done
:
function
(
page
,
next
)
{
//到达临界点(默认滚动触发),触发下一页
var
lis
=
[];
//以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回)
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode017
"
,
params
:{
processInstanceId
:
parent
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode017
"
,
params
:{
processInstanceId
:
parent
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
jsonStr
=
""
;
//实体json对象
$
.
each
(
json
.
rows
,
function
(
index
,
bean
)
{
...
...
activiti/src/main/resources/template/js/activitimodel/activitimodellist.js
浏览文件 @
6d6e5ec4
...
...
@@ -16,7 +16,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
activitimode002
'
,
url
:
flowable
BasePath
+
'
activitimode002
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -89,7 +89,7 @@ layui.config({
var
msg
=
obj
?
'
确认删除模型【
'
+
obj
.
data
.
name
+
'
】吗?
'
:
'
确认删除选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
删除模型
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode006
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode006
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -124,7 +124,7 @@ layui.config({
var
msg
=
data
?
'
确认发布模型【
'
+
data
.
name
+
'
】吗?
'
:
'
确认发布选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
发布模型
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode003
"
,
params
:{
modelId
:
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode003
"
,
params
:{
modelId
:
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
发布成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -141,7 +141,7 @@ layui.config({
var
msg
=
data
?
'
确认升级模型【
'
+
data
.
name
+
'
】版本吗?
'
:
'
确认升级选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
版本升级
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode003
"
,
params
:{
modelId
:
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode003
"
,
params
:{
modelId
:
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
升级成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -157,7 +157,7 @@ layui.config({
var
msg
=
obj
?
'
确认取消发布【
'
+
obj
.
data
.
name
+
'
】吗?
'
:
'
确认取消发布选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
取消发布
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode007
"
,
params
:{
deploymentId
:
data
.
deploymentId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode007
"
,
params
:{
deploymentId
:
data
.
deploymentId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
取消发布成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -172,7 +172,7 @@ layui.config({
function
copyModel
(
data
){
layer
.
confirm
(
'
确认拷贝选中数据吗?
'
,
{
icon
:
3
,
title
:
'
模型拷贝
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode028
"
,
params
:{
modelId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode028
"
,
params
:{
modelId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
拷贝成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -185,12 +185,12 @@ layui.config({
// 导出xml
function
ecportXML
(
data
){
window
.
open
(
req
BasePath
+
"
activitimode010?modelId=
"
+
data
.
id
);
window
.
open
(
flowable
BasePath
+
"
activitimode010?modelId=
"
+
data
.
id
);
}
//新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode001
"
,
params
:{},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode001
"
,
params
:{},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
_openNewWindows
({
url
:
"
../../static/modeler.html?modelId=
"
+
json
.
bean
.
id
,
...
...
activiti/src/main/resources/template/js/actmodletype/actModleDetails.js
浏览文件 @
6d6e5ec4
...
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
actmodletype021
"
,
url
:
flowable
BasePath
+
"
actmodletype021
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
...
...
activiti/src/main/resources/template/js/actmodletype/actmodleedit.js
浏览文件 @
6d6e5ec4
...
...
@@ -16,7 +16,7 @@ layui.config({
function
initDsForm
(
id
){
showGrid
({
id
:
"
dsFormId
"
,
url
:
req
BasePath
+
"
actmodletype020
"
,
url
:
flowable
BasePath
+
"
actmodletype020
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -29,7 +29,7 @@ layui.config({
showGrid
({
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
actmodletype011
"
,
url
:
flowable
BasePath
+
"
actmodletype011
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/actmodletype/actmodleeditTemplate.tpl
'
),
...
...
@@ -201,7 +201,7 @@ layui.config({
return
false
;
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype012
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype012
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
activiti/src/main/resources/template/js/actmodletype/actmodletypeadd.js
浏览文件 @
6d6e5ec4
...
...
@@ -65,7 +65,7 @@ layui.config({
showGrid
({
id
:
"
actId
"
,
url
:
req
BasePath
+
"
activitimode009
"
,
url
:
flowable
BasePath
+
"
activitimode009
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
...
...
@@ -94,7 +94,7 @@ layui.config({
function
initDsForm
(){
showGrid
({
id
:
"
dsFormId
"
,
url
:
req
BasePath
+
"
actmodletype020
"
,
url
:
flowable
BasePath
+
"
actmodletype020
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
...
...
@@ -168,7 +168,7 @@ layui.config({
return
false
;
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
activiti/src/main/resources/template/js/actmodletype/actmodletypelist.js
浏览文件 @
6d6e5ec4
...
...
@@ -22,7 +22,7 @@ layui.config({
//初始化左侧菜单申请类型数据
function
showLeft
(){
var
modleTypeTemplate
=
$
(
'
#modleTypeTemplate
'
).
html
();
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype002
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype002
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
str
=
getDataUseHandlebars
(
modleTypeTemplate
,
json
);
$
(
"
#setting
"
).
html
(
str
);
...
...
@@ -100,7 +100,7 @@ layui.config({
var
value
=
obj
.
find
(
"
input
"
).
val
();
if
(
!
isNull
(
value
)){
if
(
html
!=
value
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype004
"
,
params
:
{
rowId
:
clickId
,
title
:
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype004
"
,
params
:
{
rowId
:
clickId
,
title
:
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
obj
.
find
(
"
a[rowid='
"
+
clickId
+
"
']
"
).
find
(
"
span
"
).
html
(
value
);
}
else
{
...
...
@@ -137,7 +137,7 @@ layui.config({
function
deleteModleType
(){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype005
"
,
params
:{
rowId
:
clickId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype005
"
,
params
:{
rowId
:
clickId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
$
(
"
#setting
"
).
find
(
"
a[rowid='
"
+
clickId
+
"
']
"
).
remove
();
...
...
@@ -160,7 +160,7 @@ layui.config({
var
msg
=
'
确认上线该申请类型吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
上线申请类型实体
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype015
"
,
params
:{
rowId
:
clickId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype015
"
,
params
:{
rowId
:
clickId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#setting
"
).
find
(
"
a[rowid='
"
+
clickId
+
"
']
"
).
find
(
"
div
"
).
remove
();
$
(
"
#setting
"
).
find
(
"
a[rowid='
"
+
clickId
+
"
']
"
).
find
(
"
span
"
).
after
(
'
<div class="up-state-point"></div>
'
);
...
...
@@ -177,7 +177,7 @@ layui.config({
var
msg
=
'
确认下线该申请类型吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
下线申请类型实体
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype016
"
,
params
:{
rowId
:
clickId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype016
"
,
params
:{
rowId
:
clickId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
$
(
"
#setting
"
).
find
(
"
a[rowid='
"
+
clickId
+
"
']
"
).
find
(
"
div
"
).
remove
();
$
(
"
#setting
"
).
find
(
"
a[rowid='
"
+
clickId
+
"
']
"
).
find
(
"
span
"
).
after
(
'
<div class="down-state-point"></div>
'
);
...
...
@@ -191,7 +191,7 @@ layui.config({
//上移申请类型
function
upMoveModleType
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype017
"
,
params
:{
rowId
:
clickId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype017
"
,
params
:{
rowId
:
clickId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveUpOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
var
a
=
$
(
"
#setting
"
).
find
(
"
a[rowid='
"
+
clickId
+
"
']
"
).
prev
();
...
...
@@ -205,7 +205,7 @@ layui.config({
//下移申请类型
function
downMoveModleType
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype018
"
,
params
:{
rowId
:
clickId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype018
"
,
params
:{
rowId
:
clickId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveDownOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
var
a
=
$
(
"
#setting
"
).
find
(
"
a[rowid='
"
+
clickId
+
"
']
"
).
next
();
...
...
@@ -250,7 +250,7 @@ layui.config({
$
(
this
).
select
();
return
;
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype001
"
,
params
:
{
title
:
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype001
"
,
params
:
{
title
:
value
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
obj
.
find
(
"
input
"
).
remove
();
clickId
=
json
.
bean
.
id
;
...
...
@@ -283,7 +283,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
actmodletype007
'
,
url
:
flowable
BasePath
+
'
actmodletype007
'
,
where
:
{
typeId
:
clickId
,
title
:
$
(
"
#title
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
@@ -362,7 +362,7 @@ layui.config({
function
del
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -378,7 +378,7 @@ layui.config({
var
msg
=
'
确认上线选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
上线申请类型实体
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype009
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype009
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
上线成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -394,7 +394,7 @@ layui.config({
var
msg
=
'
确认下线选中数据吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
下线申请类型实体
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype010
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype010
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
下线成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -439,7 +439,7 @@ layui.config({
//上移申请类型实体
function
upMove
(
data
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype013
"
,
params
:{
rowId
:
data
.
id
,
typeId
:
data
.
typeId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype013
"
,
params
:{
rowId
:
data
.
id
,
typeId
:
data
.
typeId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveUpOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
@@ -451,7 +451,7 @@ layui.config({
//下移申请类型实体
function
downMove
(
data
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
actmodletype014
"
,
params
:{
rowId
:
data
.
id
,
typeId
:
data
.
typeId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
actmodletype014
"
,
params
:{
rowId
:
data
.
id
,
typeId
:
data
.
typeId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.moveDownOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
activiti/src/main/resources/template/js/addSignTask/afterAddSignTask.js
浏览文件 @
6d6e5ec4
...
...
@@ -53,7 +53,7 @@ layui.config({
taskId
:
taskId
,
chooseUserMation
:
JSON
.
stringify
(
table
.
cache
.
messageTable
)
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitiTask004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitiTask004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
activiti/src/main/resources/template/js/addSignTask/beforeAddSignTask.js
浏览文件 @
6d6e5ec4
...
...
@@ -53,7 +53,7 @@ layui.config({
taskId
:
taskId
,
chooseUserMation
:
JSON
.
stringify
(
table
.
cache
.
messageTable
)
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitiTask003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitiTask003
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
activiti/src/main/resources/template/js/addSignTask/jointlySign.js
浏览文件 @
6d6e5ec4
...
...
@@ -18,7 +18,7 @@ layui.config({
var
taskBean
;
// 获取会签节点信息
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitiTask006
"
,
params
:
{
taskId
:
taskId
},
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitiTask006
"
,
params
:
{
taskId
:
taskId
},
method
:
"
GET
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
taskBean
=
json
.
bean
;
if
(
json
.
bean
.
isSequential
){
...
...
@@ -112,7 +112,7 @@ layui.config({
taskId
:
taskId
,
chooseUserMation
:
JSON
.
stringify
(
table
.
cache
.
messageTable
)
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitiTask005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitiTask005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
activiti/src/main/resources/template/js/allactiviti/allcomplatepossess.js
浏览文件 @
6d6e5ec4
...
...
@@ -15,7 +15,7 @@ layui.config({
id
:
'
messageAllComplateTable
'
,
elem
:
'
#messageAllComplateTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
activitimode018
'
,
url
:
flowable
BasePath
+
'
activitimode018
'
,
where
:{},
even
:
true
,
page
:
true
,
...
...
activiti/src/main/resources/template/js/allactiviti/alltodopossess.js
浏览文件 @
6d6e5ec4
...
...
@@ -15,7 +15,7 @@ layui.config({
id
:
'
messageAllConductTable
'
,
elem
:
'
#messageAllConductTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
activitimode019
'
,
url
:
flowable
BasePath
+
'
activitimode019
'
,
where
:{},
even
:
true
,
page
:
true
,
...
...
@@ -68,7 +68,7 @@ layui.config({
var
msg
=
'
确认挂起该流程吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
挂起
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode020
"
,
params
:{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode020
"
,
params
:{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
该流程已挂起
"
,
{
icon
:
1
,
time
:
2000
});
reloadAllConductTable
();
...
...
@@ -84,7 +84,7 @@ layui.config({
var
msg
=
'
确认激活该流程吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
激活
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode021
"
,
params
:{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode021
"
,
params
:{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
该流程已激活
"
,
{
icon
:
1
,
time
:
2000
});
reloadAllConductTable
();
...
...
activiti/src/main/resources/template/js/approvalActiviti/approvalPersonChoose.js
浏览文件 @
6d6e5ec4
...
...
@@ -17,7 +17,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
activitiProcess001
'
,
url
:
flowable
BasePath
+
'
activitiProcess001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
false
,
...
...
activiti/src/main/resources/template/js/approvalActiviti/approvalProcess.js
浏览文件 @
6d6e5ec4
...
...
@@ -36,7 +36,7 @@ layui.config({
tableTemplate
=
$
(
"
#tableTemplate
"
).
html
(),
//表格展示
voucherTemplate
=
$
(
"
#voucherTemplate
"
).
html
();
//凭证展示
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode016
"
,
params
:
{
taskId
:
taskId
,
processInstanceId
:
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
j
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode016
"
,
params
:
{
taskId
:
taskId
,
processInstanceId
:
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
j
){
if
(
j
.
returnCode
==
0
){
pageTypes
=
isNull
(
j
.
bean
.
pageTypes
)
?
'
1
'
:
j
.
bean
.
pageTypes
;
var
jsonStr
=
""
;
//实体json对象
...
...
@@ -349,7 +349,7 @@ layui.config({
pageTypes
:
pageTypes
,
approverId
:
activitiUtil
.
getApprovalPersonId
()
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode005
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode005
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
@@ -371,7 +371,7 @@ layui.config({
done
:
function
(
page
,
next
)
{
//到达临界点(默认滚动触发),触发下一页
var
lis
=
[];
//以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回)
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode017
"
,
params
:{
processInstanceId
:
parent
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode017
"
,
params
:{
processInstanceId
:
parent
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
var
jsonStr
=
""
;
//实体json对象
$
.
each
(
json
.
rows
,
function
(
index
,
bean
)
{
...
...
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessAdd.js
浏览文件 @
6d6e5ec4
...
...
@@ -42,7 +42,7 @@ layui.config({
pageId
:
parent
.
dsFormId
,
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode022
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode022
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
申请提交成功,等待审核...
"
,
{
icon
:
1
,
time
:
2000
},
function
(){
parent
.
layer
.
close
(
index
);
...
...
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessDetail.js
浏览文件 @
6d6e5ec4
...
...
@@ -13,7 +13,7 @@ layui.config({
// 动态表单草稿状态下的详情
var
rowId
=
parent
.
rowId
;
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
pagesequence006
"
,
params
:
{
rowId
:
rowId
},
type
:
'
json
'
,
callback
:
function
(
j
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
pagesequence006
"
,
params
:
{
rowId
:
rowId
},
type
:
'
json
'
,
callback
:
function
(
j
){
if
(
j
.
returnCode
==
0
){
dsFormUtil
.
initSequenceDataDetails
(
"
showForm
"
,
j
.
rows
);
matchingLanguage
();
...
...
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessEdit.js
浏览文件 @
6d6e5ec4
...
...
@@ -13,7 +13,7 @@ layui.config({
form
=
layui
.
form
;
// 编辑动态表单时进行回显
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
pagesequence003
"
,
params
:{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
pagesequence003
"
,
params
:{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
dsFormUtil
.
loadDsFormItemToEdit
(
"
showForm
"
,
json
.
rows
);
$
(
"
#showForm
"
).
append
(
'
<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">
'
+
...
...
@@ -29,7 +29,7 @@ layui.config({
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
dsFormUtil
.
getPageData
(
$
(
"
#showForm
"
));
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
pagesequence004
"
,
params
:
{
jsonStr
:
JSON
.
stringify
(
params
)},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
pagesequence004
"
,
params
:
{
jsonStr
:
JSON
.
stringify
(
params
)},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessEditToAct.js
浏览文件 @
6d6e5ec4
...
...
@@ -13,7 +13,7 @@ layui.config({
form
=
layui
.
form
;
// 获取动态表单内容用于编辑申请类型实体
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode023
"
,
params
:{
rowId
:
parent
.
sequenceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode023
"
,
params
:{
rowId
:
parent
.
sequenceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
dsFormUtil
.
loadDsFormItemToEdit
(
"
showForm
"
,
json
.
rows
);
$
(
"
#showForm
"
).
append
(
'
<div class="layui-form-item layui-col-xs12"><div class="layui-input-block">
'
+
...
...
@@ -33,7 +33,7 @@ layui.config({
taskId
:
parent
.
taskId
,
processInstanceId
:
parent
.
processInstanceId
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode024
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode024
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
...
...
activiti/src/main/resources/template/js/dsFormPageSequence/dsFormPageSequenceDraftProcessList.js
浏览文件 @
6d6e5ec4
...
...
@@ -24,7 +24,7 @@ layui.config({
id
:
'
messageMyStartTable
'
,
elem
:
'
#messageMyStartTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
pagesequence001
'
,
url
:
flowable
BasePath
+
'
pagesequence001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -104,7 +104,7 @@ layui.config({
pageId
:
data
.
pageId
,
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
pagesequence005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
pagesequence005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
申请提交成功,等待审核...
"
,
{
icon
:
1
,
time
:
2000
});
reloadMyStartTable
();
...
...
@@ -120,7 +120,7 @@ layui.config({
function
deleteRow
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
pagesequence002
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
pagesequence002
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
reloadMyStartTable
();
...
...
activiti/src/main/resources/template/js/myActiviti/initiatedProcess.js
浏览文件 @
6d6e5ec4
...
...
@@ -33,7 +33,7 @@ layui.config({
id
:
'
messageMyStartTable
'
,
elem
:
'
#messageMyStartTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
activitimode013
'
,
url
:
flowable
BasePath
+
'
activitimode013
'
,
where
:{
startTime
:
startTime
,
endTime
:
endTime
,
processInstanceId
:
$
(
"
#processInstanceId
"
).
val
()},
even
:
true
,
page
:
true
,
...
...
@@ -136,7 +136,7 @@ layui.config({
function
refreshPic
(
data
){
layer
.
confirm
(
'
确认重新生成流程图吗?
'
,
{
icon
:
3
,
title
:
'
刷新流程图操作
'
},
function
(
i
)
{
layer
.
close
(
i
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode027
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode027
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
...
...
activiti/src/main/resources/template/js/myActiviti/processedProcess.js
浏览文件 @
6d6e5ec4
...
...
@@ -19,7 +19,7 @@ layui.config({
id
:
'
messageMyHistoryTaskTable
'
,
elem
:
'
#messageMyHistoryTaskTable
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
activitimode014
'
,
url
:
flowable
BasePath
+
'
activitimode014
'
,
where
:{},
even
:
true
,
page
:
true
,
...
...
@@ -104,7 +104,7 @@ layui.config({
function
refreshPic
(
data
){
layer
.
confirm
(
'
确认重新生成流程图吗?
'
,
{
icon
:
3
,
title
:
'
刷新流程图操作
'
},
function
(
i
)
{
layer
.
close
(
i
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitimode027
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitimode027
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}
else
{
...
...
web/src/main/resources/static/editor-app/resources/dataTables.js
浏览文件 @
6d6e5ec4
...
...
@@ -120,7 +120,7 @@
"
displayLength
"
:
that
.
data
.
pageInfo
.
pageSize
,
// 每页记录条数,默认为10
"
serverSide
"
:
true
,
"
ajaxDataProp
"
:
"
data
"
,
"
ajaxSource
"
:
req
BasePath
+
"
activitimode011
"
,
"
ajaxSource
"
:
flowable
BasePath
+
"
activitimode011
"
,
"
fnServerData
"
:
$
.
proxy
(
that
.
fillDataTable
,
that
),
"
fnInitComplete
"
:
$
.
proxy
(
that
.
fnInitComplete
,
that
),
"
singleSelect
"
:
true
,
//单选
...
...
@@ -492,7 +492,7 @@
dataCache
.
data
(
"
pageInfo
"
,
pageInfo
);
var
retData
=
null
;
//注释以上部分,统一用ajaxPost处理,以便处理session超时(ajax请求超时)
ajaxPost
(
req
BasePath
+
"
activitimode011
"
,
{
ajaxPost
(
flowable
BasePath
+
"
activitimode011
"
,
{
"
reqObj
"
:
this
.
toJSONString
(
reqParam
)
},
function
(
result
,
status
)
{
retData
=
result
;
...
...
web/src/main/resources/static/editor-app/resources/dataTablesgroup.js
浏览文件 @
6d6e5ec4
...
...
@@ -120,7 +120,7 @@
"
displayLength
"
:
that
.
data
.
pageInfo
.
pageSize
,
// 每页记录条数,默认为10
"
serverSide
"
:
true
,
"
ajaxDataProp
"
:
"
data
"
,
"
ajaxSource
"
:
req
BasePath
+
"
activitimode012
"
,
"
ajaxSource
"
:
flowable
BasePath
+
"
activitimode012
"
,
"
fnServerData
"
:
$
.
proxy
(
that
.
fillDataTable
,
that
),
"
fnInitComplete
"
:
$
.
proxy
(
that
.
fnInitComplete
,
that
),
"
singleSelect
"
:
true
,
//单选
...
...
@@ -492,7 +492,7 @@
dataCache
.
data
(
"
pageInfo
"
,
pageInfo
);
var
retData
=
null
;
//注释以上部分,统一用ajaxPost处理,以便处理session超时(ajax请求超时)
ajaxPost
(
req
BasePath
+
"
activitimode012
"
,
{
ajaxPost
(
flowable
BasePath
+
"
activitimode012
"
,
{
"
reqObj
"
:
this
.
toJSONString
(
reqParam
)
},
function
(
result
,
status
)
{
retData
=
result
;
...
...
web/src/main/resources/template/assets/lib/layui/customer/activitiUtil.js
浏览文件 @
6d6e5ec4
...
...
@@ -62,7 +62,7 @@ var activitiUtil = {
flag
:
flag
};
// 优先请求一次获取下个用户节点的信息,如果没有审批节点信息,则不加载审批人选项
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitiProcess001
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitiProcess001
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
!
isNull
(
json
.
bean
)){
var
approvalPersonChooseDom
=
'
<div class="layui-form-item layui-col-xs12">
'
+
...
...
@@ -161,7 +161,7 @@ var activitiUtil = {
sequential
:
false
,
userIds
:
JSON
.
stringify
([
"
300b878c5c6744f2b48e6bc40beefd11
"
,
"
0f17e3da88bc4e22841156388964e12e
"
])
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitiProcess003
"
,
params
:
params
,
method
:
"
POST
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitiProcess003
"
,
params
:
params
,
method
:
"
POST
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
typeof
callback
===
'
function
'
)
{
callback
();
...
...
@@ -219,7 +219,7 @@ var activitiUtil = {
taskId
:
task
.
taskId
,
principalUserId
:
staffChooseList
[
0
].
id
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitiTask001
"
,
params
:
params
,
method
:
"
POST
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitiTask001
"
,
params
:
params
,
method
:
"
POST
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
typeof
callback
===
'
function
'
)
{
callback
();
...
...
@@ -243,7 +243,7 @@ var activitiUtil = {
taskId
:
task
.
taskId
,
transferredPersonId
:
staffChooseList
[
0
].
id
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
activitiTask002
"
,
params
:
params
,
method
:
"
POST
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
activitiTask002
"
,
params
:
params
,
method
:
"
POST
"
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
typeof
callback
===
'
function
'
)
{
callback
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录