Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
34f6eda0
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1194
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看板
提交
34f6eda0
编写于
10月 15, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
流程设计功能调整
上级
b715b409
变更
43
隐藏空白更改
内联
并排
Showing
43 changed file
with
101 addition
and
83 deletion
+101
-83
activiti/src/main/resources/template/js/actFlow/actFlowAdd.js
...viti/src/main/resources/template/js/actFlow/actFlowAdd.js
+2
-6
activiti/src/main/resources/template/js/actFlow/actFlowEdit.js
...iti/src/main/resources/template/js/actFlow/actFlowEdit.js
+2
-6
activiti/src/main/resources/template/js/actFlow/actFlowList.js
...iti/src/main/resources/template/js/actFlow/actFlowList.js
+2
-1
activiti/src/main/resources/template/tpl/actFlow/actFlowAdd.html
...i/src/main/resources/template/tpl/actFlow/actFlowAdd.html
+9
-8
activiti/src/main/resources/template/tpl/actFlow/actFlowEdit.html
.../src/main/resources/template/tpl/actFlow/actFlowEdit.html
+8
-7
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferEdit.js
.../bossInterviewJobTransfer/bossInterviewJobTransferEdit.js
+2
-1
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferList.js
.../bossInterviewJobTransfer/bossInterviewJobTransferList.js
+2
-1
boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitAdd.js
...ces/template/js/bossInterviewQuit/bossInterviewQuitAdd.js
+2
-1
boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitEdit.js
...es/template/js/bossInterviewQuit/bossInterviewQuitEdit.js
+2
-1
boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitList.js
...es/template/js/bossInterviewQuit/bossInterviewQuitList.js
+2
-1
boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerAdd.js
...ssInterviewRegularWorker/bossInterviewRegularWorkerAdd.js
+2
-1
boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerEdit.js
...sInterviewRegularWorker/bossInterviewRegularWorkerEdit.js
+2
-1
boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerList.js
...sInterviewRegularWorker/bossInterviewRegularWorkerList.js
+2
-1
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAdd.js
...ces/template/js/bossPersonRequire/bossPersonRequireAdd.js
+2
-1
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireEdit.js
...es/template/js/bossPersonRequire/bossPersonRequireEdit.js
+2
-1
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireList.js
...es/template/js/bossPersonRequire/bossPersonRequireList.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripAdd.js
...late/js/checkWorkBusinessTrip/checkWorkBusinessTripAdd.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripEdit.js
...ate/js/checkWorkBusinessTrip/checkWorkBusinessTripEdit.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripList.js
...ate/js/checkWorkBusinessTrip/checkWorkBusinessTripList.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkCancelLeave/checkWorkCancelLeaveAdd.js
...mplate/js/checkWorkCancelLeave/checkWorkCancelLeaveAdd.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkCancelLeave/checkWorkCancelLeaveEdit.js
...plate/js/checkWorkCancelLeave/checkWorkCancelLeaveEdit.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkCancelLeave/checkWorkCancelLeaveList.js
...plate/js/checkWorkCancelLeave/checkWorkCancelLeaveList.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkLeave/checkWorkLeaveAdd.js
...resources/template/js/checkWorkLeave/checkWorkLeaveAdd.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkLeave/checkWorkLeaveEdit.js
...esources/template/js/checkWorkLeave/checkWorkLeaveEdit.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkLeave/checkWorkLeaveList.js
...esources/template/js/checkWorkLeave/checkWorkLeaveList.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkOvertime/checkWorkOvertimeEdit.js
...es/template/js/checkWorkOvertime/checkWorkOvertimeEdit.js
+2
-1
checkwork/src/main/resources/template/js/checkWorkOvertime/checkWorkOvertimeList.js
...es/template/js/checkWorkOvertime/checkWorkOvertimeList.js
+2
-1
erp/src/main/resources/template/js/otherwarehous/otherwarehousedit.js
.../resources/template/js/otherwarehous/otherwarehousedit.js
+2
-5
erp/src/main/resources/template/js/purchasereturns/purchasereturnsedit.js
...ources/template/js/purchasereturns/purchasereturnsedit.js
+3
-7
erp/src/main/resources/template/js/retailreturns/retailreturnsedit.js
.../resources/template/js/retailreturns/retailreturnsedit.js
+2
-2
erp/src/main/resources/template/js/salesreturns/salesreturnsedit.js
...in/resources/template/js/salesreturns/salesreturnsedit.js
+2
-6
pro/src/main/resources/template/js/procostexpense/procostexpenseadd.js
...resources/template/js/procostexpense/procostexpenseadd.js
+2
-1
pro/src/main/resources/template/js/procostexpense/procostexpensealllist.js
...urces/template/js/procostexpense/procostexpensealllist.js
+2
-1
pro/src/main/resources/template/js/procostexpense/procostexpenseedit.js
...esources/template/js/procostexpense/procostexpenseedit.js
+2
-1
pro/src/main/resources/template/js/profile/profileadd.js
pro/src/main/resources/template/js/profile/profileadd.js
+2
-1
pro/src/main/resources/template/js/profile/profileedit.js
pro/src/main/resources/template/js/profile/profileedit.js
+2
-1
pro/src/main/resources/template/js/profile/profilelist.js
pro/src/main/resources/template/js/profile/profilelist.js
+2
-1
pro/src/main/resources/template/js/proproject/myproprojectlist.js
...main/resources/template/js/proproject/myproprojectlist.js
+3
-2
pro/src/main/resources/template/js/proproject/proprojectadd.js
...rc/main/resources/template/js/proproject/proprojectadd.js
+2
-1
pro/src/main/resources/template/js/proproject/proprojectedit.js
...c/main/resources/template/js/proproject/proprojectedit.js
+2
-1
pro/src/main/resources/template/js/protask/protaskedit.js
pro/src/main/resources/template/js/protask/protaskedit.js
+2
-1
pro/src/main/resources/template/js/proworkload/proworkloadadd.js
.../main/resources/template/js/proworkload/proworkloadadd.js
+2
-1
pro/src/main/resources/template/js/proworkload/proworkloadedit.js
...main/resources/template/js/proworkload/proworkloadedit.js
+2
-1
未找到文件。
activiti/src/main/resources/template/js/actFlow/actFlowAdd.js
浏览文件 @
34f6eda0
...
...
@@ -31,16 +31,12 @@ layui.config({
var
params
=
{
flowName
:
$
(
"
#flowName
"
).
val
(),
modelKey
:
$
(
"
#modelKey
"
).
val
(),
businessLinkType
:
data
.
field
.
businessLinkType
businessLinkType
:
data
.
field
.
businessLinkType
,
serviceClassName
:
$
(
"
#serviceClassName
"
).
attr
(
"
className
"
)
};
if
(
params
.
businessLinkType
==
2
)
{
params
.
serviceClassName
=
$
(
"
#serviceClassName
"
).
attr
(
"
className
"
);
params
.
businessKey
=
$
(
"
#businessKey
"
).
val
();
params
.
businessData
=
$
(
"
#businessData
"
).
val
();
if
(
isNull
(
params
.
serviceClassName
))
{
winui
.
window
.
msg
(
"
请选择工作流业务模型
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
params
.
businessKey
))
{
winui
.
window
.
msg
(
"
请输入属性字段
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
...
...
activiti/src/main/resources/template/js/actFlow/actFlowEdit.js
浏览文件 @
34f6eda0
...
...
@@ -36,16 +36,12 @@ layui.config({
id
:
parent
.
rowId
,
flowName
:
$
(
"
#flowName
"
).
val
(),
modelKey
:
$
(
"
#modelKey
"
).
val
(),
businessLinkType
:
json
.
bean
.
businessLinkType
businessLinkType
:
json
.
bean
.
businessLinkType
,
serviceClassName
:
$
(
"
#serviceClassName
"
).
attr
(
"
className
"
)
};
if
(
params
.
businessLinkType
==
2
)
{
params
.
serviceClassName
=
$
(
"
#serviceClassName
"
).
attr
(
"
className
"
);
params
.
businessKey
=
$
(
"
#businessKey
"
).
val
();
params
.
businessData
=
$
(
"
#businessData
"
).
val
();
if
(
isNull
(
params
.
serviceClassName
))
{
winui
.
window
.
msg
(
"
请选择工作流业务模型
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
params
.
businessKey
))
{
winui
.
window
.
msg
(
"
请输入属性字段
"
,
{
icon
:
2
,
time
:
2000
});
return
false
;
...
...
activiti/src/main/resources/template/js/actFlow/actFlowList.js
浏览文件 @
34f6eda0
...
...
@@ -24,7 +24,7 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
,
rowspan
:
'
2
'
},
{
colspan
:
'
4
'
,
title
:
'
模型信息
'
,
align
:
'
center
'
},
{
colspan
:
'
5
'
,
title
:
'
模型信息
'
,
align
:
'
center
'
},
{
colspan
:
'
2
'
,
title
:
'
发布信息
'
,
align
:
'
center
'
},
{
field
:
'
actModelId
'
,
title
:
'
流程配置
'
,
align
:
"
center
"
,
width
:
80
,
rowspan
:
'
2
'
,
templet
:
function
(
d
)
{
if
(
isNull
(
d
.
actModelId
))
{
...
...
@@ -43,6 +43,7 @@ layui.config({
{
field
:
'
modelId
'
,
title
:
'
模型ID
'
,
width
:
100
},
{
field
:
'
modelKey
'
,
title
:
'
模型key
'
,
width
:
250
},
{
field
:
'
version
'
,
title
:
'
版本
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
d
.
model
.
version
}},
{
field
:
'
serviceName
'
,
title
:
'
工作流业务模型
'
,
width
:
140
},
{
field
:
'
deploymentId
'
,
title
:
'
发布状态
'
,
align
:
"
center
"
,
width
:
80
,
templet
:
function
(
d
)
{
if
(
isNull
(
d
.
model
.
deploymentId
))
{
return
"
<span class='state-new'>未发布</span>
"
;
...
...
activiti/src/main/resources/template/tpl/actFlow/actFlowAdd.html
浏览文件 @
34f6eda0
...
...
@@ -23,20 +23,21 @@
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
绑定业务模型
<i
class=
"red"
>
*
</i></label>
<label
class=
"layui-form-label"
>
工作流业务模型
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"serviceClassName"
name=
"serviceClassName"
placeholder=
"请选择工作流业务模型"
class=
"layui-input"
readonly
/>
<i
class=
"fa fa-user-plus input-icon"
id=
"serviceClassNameSel"
></i>
<div
class=
"layui-form-mid layui-word-aux"
style=
"width: 100%;"
>
动态表单类型的工作流可不选择业务模型
</div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
关联业务数据
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
>
<input
type=
"radio"
name=
"businessLinkType"
value=
"2"
title=
"是"
lay-filter=
"businessLinkType"
checked
/>
<input
type=
"radio"
name=
"businessLinkType"
value=
"1"
title=
"否"
lay-filter=
"businessLinkType"
/>
<div
class=
"layui-form-mid layui-word-aux"
style=
"width: 100%;"
>
该选项确定后无法更换
</div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12 business"
>
<label
class=
"layui-form-label"
>
工作流业务模型
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"serviceClassName"
name=
"serviceClassName"
placeholder=
"请选择工作流业务模型"
class=
"layui-input"
readonly
/>
<i
class=
"fa fa-user-plus input-icon"
id=
"serviceClassNameSel"
></i>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12 business"
>
<label
class=
"layui-form-label"
>
属性字段
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
...
...
activiti/src/main/resources/template/tpl/actFlow/actFlowEdit.html
浏览文件 @
34f6eda0
...
...
@@ -29,17 +29,18 @@
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
绑定业务模型
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
businessLinkType
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12 business
"
>
<
label
class
=
"
layui-form-label
"
>
工作流业务模型
<
i
class
=
"
red
"
>*<
/i></
label
>
<
label
class
=
"
layui-form-label
"
>
工作流业务模型
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
serviceClassName
"
name
=
"
serviceClassName
"
placeholder
=
"
请选择工作流业务模型
"
class
=
"
layui-input
"
readonly
value
=
"
{{serviceName}}
"
className
=
"
{{serviceClassName}}
"
/>
<
i
class
=
"
fa fa-user-plus input-icon
"
id
=
"
serviceClassNameSel
"
><
/i
>
<
div
class
=
"
layui-form-mid layui-word-aux
"
style
=
"
width: 100%;
"
>
动态表单类型的工作流可不选择业务模型
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
关联业务数据
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
businessLinkType
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12 business
"
>
...
...
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferEdit.js
浏览文件 @
34f6eda0
...
...
@@ -11,6 +11,7 @@ layui.config({
textool
=
layui
.
textool
,
form
=
layui
.
form
,
dtree
=
layui
.
dtree
;
var
serviceClassName
=
sysServiceMation
[
"
bossInterviewJobTransfer
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
showGrid
({
...
...
@@ -61,7 +62,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
bossInterviewJobTransfer
"
][
"
key
"
]
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferList.js
浏览文件 @
34f6eda0
...
...
@@ -12,6 +12,7 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
bossInterviewJobTransfer
"
][
"
key
"
];
// 新增
authBtn
(
'
1651308552871
'
);
...
...
@@ -125,7 +126,7 @@ layui.config({
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
bossInterviewJobTransfer
"
][
"
key
"
]
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
function
(
approvalId
)
{
var
params
=
{
id
:
data
.
id
,
approvalId
:
approvalId
...
...
boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitAdd.js
浏览文件 @
34f6eda0
...
...
@@ -10,6 +10,7 @@ layui.config({
laydate
=
layui
.
laydate
,
textool
=
layui
.
textool
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
bossInterviewQuit
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
// 离职类型
...
...
@@ -46,7 +47,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
bossInterviewQuit
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitEdit.js
浏览文件 @
34f6eda0
...
...
@@ -10,6 +10,7 @@ layui.config({
laydate
=
layui
.
laydate
,
textool
=
layui
.
textool
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
bossInterviewQuit
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
showGrid
({
...
...
@@ -54,7 +55,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
bossInterviewQuit
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitList.js
浏览文件 @
34f6eda0
...
...
@@ -12,6 +12,7 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
bossInterviewQuit
"
][
"
key
"
];
// 新增
authBtn
(
'
1650894715778
'
);
...
...
@@ -113,7 +114,7 @@ layui.config({
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
bossInterviewQuit
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
id
:
data
.
id
,
approvalId
:
approvalId
...
...
boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerAdd.js
浏览文件 @
34f6eda0
...
...
@@ -10,6 +10,7 @@ layui.config({
laydate
=
layui
.
laydate
,
textool
=
layui
.
textool
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
bossInterviewRegularWorker
"
][
"
key
"
];
// 转正日期
laydate
.
render
({
elem
:
'
#regularTime
'
,
type
:
'
date
'
});
...
...
@@ -45,7 +46,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
bossInterviewRegularWorker
"
][
"
key
"
]
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerEdit.js
浏览文件 @
34f6eda0
...
...
@@ -10,6 +10,7 @@ layui.config({
laydate
=
layui
.
laydate
,
textool
=
layui
.
textool
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
bossInterviewRegularWorker
"
][
"
key
"
];
showGrid
({
id
:
"
showForm
"
,
...
...
@@ -49,7 +50,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
bossInterviewRegularWorker
"
][
"
key
"
]
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerList.js
浏览文件 @
34f6eda0
...
...
@@ -12,6 +12,7 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
bossInterviewRegularWorker
"
][
"
key
"
];
// 新增
authBtn
(
'
1650787545029
'
);
...
...
@@ -112,7 +113,7 @@ layui.config({
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
bossInterviewRegularWorker
"
][
"
key
"
]
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
function
(
approvalId
)
{
var
params
=
{
id
:
data
.
id
,
approvalId
:
approvalId
...
...
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAdd.js
浏览文件 @
34f6eda0
...
...
@@ -9,6 +9,7 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
bossPersonRequire
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
// 获取当前登录员工信息
...
...
@@ -39,7 +40,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
bossPersonRequire
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireEdit.js
浏览文件 @
34f6eda0
...
...
@@ -9,6 +9,7 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
bossPersonRequire
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
showGrid
({
...
...
@@ -51,7 +52,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
bossPersonRequire
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireList.js
浏览文件 @
34f6eda0
...
...
@@ -12,6 +12,7 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
bossPersonRequire
"
][
"
key
"
];
// 新增
authBtn
(
'
1649569413156
'
);
...
...
@@ -117,7 +118,7 @@ layui.config({
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
assetArticlesPurchase
"
][
"
key
"
]
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
function
(
approvalId
)
{
var
params
=
{
id
:
data
.
id
,
approvalId
:
approvalId
...
...
checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripAdd.js
浏览文件 @
34f6eda0
...
...
@@ -13,6 +13,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkBusinessTrip
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
// 出差日期的初始化集合
...
...
@@ -74,7 +75,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkBusinessTrip
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripEdit.js
浏览文件 @
34f6eda0
...
...
@@ -13,6 +13,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkBusinessTrip
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
// 出差日期的初始化集合
...
...
@@ -92,7 +93,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkBusinessTrip
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
checkwork/src/main/resources/template/js/checkWorkBusinessTrip/checkWorkBusinessTripList.js
浏览文件 @
34f6eda0
...
...
@@ -14,6 +14,7 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkBusinessTrip
"
][
"
key
"
];
// 新增出差申请
authBtn
(
'
1617804801914
'
);
...
...
@@ -113,7 +114,7 @@ layui.config({
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkBusinessTrip
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
approvalId
...
...
checkwork/src/main/resources/template/js/checkWorkCancelLeave/checkWorkCancelLeaveAdd.js
浏览文件 @
34f6eda0
...
...
@@ -13,6 +13,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkCancelLeave
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
// 销假日期的初始化集合
...
...
@@ -97,7 +98,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkCancelLeave
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
checkwork/src/main/resources/template/js/checkWorkCancelLeave/checkWorkCancelLeaveEdit.js
浏览文件 @
34f6eda0
...
...
@@ -13,6 +13,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkCancelLeave
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
// 销假日期的初始化集合
...
...
@@ -114,7 +115,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkCancelLeave
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
checkwork/src/main/resources/template/js/checkWorkCancelLeave/checkWorkCancelLeaveList.js
浏览文件 @
34f6eda0
...
...
@@ -14,6 +14,7 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkCancelLeave
"
][
"
key
"
];
// 新增销假申请
authBtn
(
'
1618112042591
'
);
...
...
@@ -113,7 +114,7 @@ layui.config({
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkCancelLeave
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
approvalId
...
...
checkwork/src/main/resources/template/js/checkWorkLeave/checkWorkLeaveAdd.js
浏览文件 @
34f6eda0
...
...
@@ -20,6 +20,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkLeave
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
// 请假日期的初始化集合
...
...
@@ -125,7 +126,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkLeave
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
checkwork/src/main/resources/template/js/checkWorkLeave/checkWorkLeaveEdit.js
浏览文件 @
34f6eda0
...
...
@@ -20,6 +20,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkLeave
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
// 请假日期的初始化集合
...
...
@@ -143,7 +144,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkLeave
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
checkwork/src/main/resources/template/js/checkWorkLeave/checkWorkLeaveList.js
浏览文件 @
34f6eda0
...
...
@@ -14,6 +14,7 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkLeave
"
][
"
key
"
];
// 新增请假申请
authBtn
(
'
1616239712898
'
);
...
...
@@ -113,7 +114,7 @@ layui.config({
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkLeave
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
approvalId
...
...
checkwork/src/main/resources/template/js/checkWorkOvertime/checkWorkOvertimeEdit.js
浏览文件 @
34f6eda0
...
...
@@ -10,6 +10,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkOvertime
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
// 加班日期的初始化集合
...
...
@@ -58,7 +59,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkOvertime
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
checkwork/src/main/resources/template/js/checkWorkOvertime/checkWorkOvertimeList.js
浏览文件 @
34f6eda0
...
...
@@ -14,6 +14,7 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
checkWorkOvertime
"
][
"
key
"
];
// 新增加班申请
authBtn
(
'
1618046226263
'
);
...
...
@@ -113,7 +114,7 @@ layui.config({
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
checkWorkOvertime
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
approvalId
...
...
erp/src/main/resources/template/js/otherwarehous/otherwarehousedit.js
浏览文件 @
34f6eda0
...
...
@@ -16,9 +16,9 @@ layui.config({
var
$
=
layui
.
$
,
laydate
=
layui
.
laydate
,
textool
=
layui
.
textool
;
layedit
=
layui
.
layedit
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
putIsOthers
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
// 已经选择的商品集合key:表格的行trId,value:商品信息
...
...
@@ -32,15 +32,12 @@ layui.config({
// 初始化账户
systemCommonUtil
.
getSysAccountListByType
(
function
(
json
)
{
// 加载账户数据
$
(
"
#accountId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
});
// 初始化仓库
erpOrderUtil
.
getDepotList
(
function
(
json
){
// 加载仓库数据
$
(
"
#depotId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
// 渲染数据到页面
initDataToShow
();
});
...
...
@@ -160,7 +157,7 @@ layui.config({
// 走工作流的提交审批
form
.
on
(
'
submit(formSubOneBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
putIsOthers
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
erp/src/main/resources/template/js/purchasereturns/purchasereturnsedit.js
浏览文件 @
34f6eda0
...
...
@@ -17,9 +17,9 @@ layui.config({
var
$
=
layui
.
$
,
laydate
=
layui
.
laydate
,
textool
=
layui
.
textool
;
layedit
=
layui
.
layedit
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
outIsPurchaseReturns
"
][
"
key
"
];
var
inoutitemHtml
=
""
;
//支出项目
...
...
@@ -35,25 +35,21 @@ layui.config({
// 初始化账户
systemCommonUtil
.
getSysAccountListByType
(
function
(
json
)
{
// 加载账户数据
$
(
"
#accountId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
});
// 初始化支出项目
systemCommonUtil
.
getSysInoutitemListByType
(
2
,
function
(
json
)
{
// 加载支出项目
inoutitemHtml
=
getDataUseHandlebars
(
selOption
,
json
);
});
// 初始化仓库
erpOrderUtil
.
getDepotList
(
function
(
json
){
// 加载仓库数据
$
(
"
#depotId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
// 初始化回显数据
initDataShow
();
});
//初始化回显数据
//
初始化回显数据
function
initDataShow
(){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
purchasereturns003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
submitType
=
json
.
bean
.
submitType
;
...
...
@@ -198,7 +194,7 @@ layui.config({
// 走工作流的提交审批
form
.
on
(
'
submit(formSubOneBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
outIsPurchaseReturns
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
erp/src/main/resources/template/js/retailreturns/retailreturnsedit.js
浏览文件 @
34f6eda0
...
...
@@ -13,9 +13,9 @@ layui.config({
var
$
=
layui
.
$
,
laydate
=
layui
.
laydate
,
textool
=
layui
.
textool
;
layedit
=
layui
.
layedit
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
putIsRetailReturns
"
][
"
key
"
];
var
showTdByEdit
=
'
rkNum
'
;
//根据那一列的值进行变化,默认根据数量
var
beanTemplate
=
$
(
"
#beanTemplate
"
).
html
();
...
...
@@ -213,7 +213,7 @@ layui.config({
// 走工作流的提交审批
form
.
on
(
'
submit(formSubOneBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
putIsRetailReturns
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnsedit.js
浏览文件 @
34f6eda0
...
...
@@ -20,9 +20,9 @@ layui.config({
var
$
=
layui
.
$
,
laydate
=
layui
.
laydate
,
textool
=
layui
.
textool
;
layedit
=
layui
.
layedit
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
putIsSalesReturns
"
][
"
key
"
];
var
inoutitemHtml
=
""
;
//支出项目
var
salesManList
=
new
Array
();
//销售人员
...
...
@@ -39,21 +39,17 @@ layui.config({
// 初始化账户
systemCommonUtil
.
getSysAccountListByType
(
function
(
json
)
{
// 加载账户数据
$
(
"
#accountId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
});
// 初始化支出项目
systemCommonUtil
.
getSysInoutitemListByType
(
2
,
function
(
json
)
{
// 加载支出项目
inoutitemHtml
=
getDataUseHandlebars
(
selOption
,
json
);
});
// 初始化仓库
erpOrderUtil
.
getDepotList
(
function
(
json
){
// 加载仓库数据
$
(
"
#depotId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
// 初始化回显数据
initDataShow
();
});
...
...
@@ -215,7 +211,7 @@ layui.config({
// 走工作流的提交审批
form
.
on
(
'
submit(formSubOneBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
putIsSalesReturns
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
pro/src/main/resources/template/js/procostexpense/procostexpenseadd.js
浏览文件 @
34f6eda0
...
...
@@ -11,6 +11,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
proCostExpense
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
var
costTypeList
=
""
;
//支出分类集合展示html
...
...
@@ -78,7 +79,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proCostExpense
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
pro/src/main/resources/template/js/procostexpense/procostexpensealllist.js
浏览文件 @
34f6eda0
...
...
@@ -11,6 +11,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
proCostExpense
"
][
"
key
"
];
authBtn
(
'
1574906688311
'
);
...
...
@@ -111,7 +112,7 @@ layui.config({
function
subApproval
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proCostExpense
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
approvalId
...
...
pro/src/main/resources/template/js/procostexpense/procostexpenseedit.js
浏览文件 @
34f6eda0
...
...
@@ -11,6 +11,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
proCostExpense
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
var
costTypeList
=
""
;
//支出分类集合展示html
...
...
@@ -91,7 +92,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proCostExpense
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
pro/src/main/resources/template/js/profile/profileadd.js
浏览文件 @
34f6eda0
...
...
@@ -10,6 +10,7 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
proFile
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
ue
=
ueEditorUtil
.
initEditor
(
'
content
'
);
...
...
@@ -37,7 +38,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proFile
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
pro/src/main/resources/template/js/profile/profileedit.js
浏览文件 @
34f6eda0
...
...
@@ -10,6 +10,7 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
proFile
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
ue
;
...
...
@@ -60,7 +61,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proFile
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
pro/src/main/resources/template/js/profile/profilelist.js
浏览文件 @
34f6eda0
...
...
@@ -11,6 +11,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
proFile
"
][
"
key
"
];
authBtn
(
'
1575277345327
'
);
...
...
@@ -108,7 +109,7 @@ layui.config({
function
subApproval
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proFile
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
approvalId
...
...
pro/src/main/resources/template/js/proproject/myproprojectlist.js
浏览文件 @
34f6eda0
...
...
@@ -10,7 +10,8 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
var
serviceClassName
=
sysServiceMation
[
"
proProject
"
][
"
key
"
];
authBtn
(
'
1574672416396
'
);
//新增
// 项目分类
...
...
@@ -240,7 +241,7 @@ layui.config({
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proProject
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
rowId
:
data
.
id
,
approvalId
:
approvalId
...
...
pro/src/main/resources/template/js/proproject/proprojectadd.js
浏览文件 @
34f6eda0
...
...
@@ -12,6 +12,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
proProject
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
...
...
@@ -101,7 +102,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proProject
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
pro/src/main/resources/template/js/proproject/proprojectedit.js
浏览文件 @
34f6eda0
...
...
@@ -12,6 +12,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
proProject
"
][
"
key
"
];
var
ue
;
showGrid
({
...
...
@@ -127,7 +128,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proProject
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
pro/src/main/resources/template/js/protask/protaskedit.js
浏览文件 @
34f6eda0
...
...
@@ -12,6 +12,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
proTask
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
pId
=
""
;
//是否是主任务
...
...
@@ -126,7 +127,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proTask
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
pro/src/main/resources/template/js/proworkload/proworkloadadd.js
浏览文件 @
34f6eda0
...
...
@@ -11,6 +11,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
proworkLoad
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
var
proList
=
new
Array
();
//项目集合
...
...
@@ -151,7 +152,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proworkLoad
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
pro/src/main/resources/template/js/proworkload/proworkloadedit.js
浏览文件 @
34f6eda0
...
...
@@ -11,6 +11,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
;
var
serviceClassName
=
sysServiceMation
[
"
proworkLoad
"
][
"
key
"
];
var
rowNum
=
1
;
//表格的序号
var
proList
=
new
Array
();
//项目集合
...
...
@@ -182,7 +183,7 @@ layui.config({
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
s
ysActivitiModel
[
"
proworkLoad
"
][
"
key
"
]
,
null
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
s
erviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录