Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
3ad0320f
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1432
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看板
提交
3ad0320f
编写于
4月 26, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
离职申请完成
上级
cfb81c35
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
27 addition
and
5 deletion
+27
-5
activiti/src/main/resources/template/js/myActiviti/initiatedProcess.js
...main/resources/template/js/myActiviti/initiatedProcess.js
+5
-5
boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitAdd.js
...ces/template/js/bossInterviewQuit/bossInterviewQuitAdd.js
+7
-0
web/src/main/resources/template/assets/lib/layui/customer/systemCommonUtil.js
...es/template/assets/lib/layui/customer/systemCommonUtil.js
+15
-0
未找到文件。
activiti/src/main/resources/template/js/myActiviti/initiatedProcess.js
浏览文件 @
3ad0320f
...
@@ -121,12 +121,12 @@ layui.config({
...
@@ -121,12 +121,12 @@ layui.config({
}
}
layer
.
confirm
(
'
确定撤销该流程吗?
'
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确定撤销该流程吗?
'
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
data
.
revokeMapping
,
params
:{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
data
.
revokeMapping
,
params
:{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
winui
.
window
.
msg
(
"
撤销成功
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
撤销成功
"
,
{
icon
:
1
,
time
:
2000
});
reloadMyStartTable
();
reloadMyStartTable
();
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
});
});
...
...
boss/src/main/resources/template/js/bossInterviewQuit/bossInterviewQuitAdd.js
浏览文件 @
3ad0320f
...
@@ -24,6 +24,13 @@ layui.config({
...
@@ -24,6 +24,13 @@ layui.config({
tools
:
[
'
count
'
,
'
copy
'
,
'
reset
'
]
tools
:
[
'
count
'
,
'
copy
'
,
'
reset
'
]
});
});
if
(
!
systemCommonUtil
.
judgeCurrentUserQuit
())
{
winui
.
window
.
msg
(
'
您已提交离职申请,无法重复提交
'
,
{
icon
:
5
,
time
:
2000
},
function
(){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
-9999
'
;
});
}
// 获取当前登录员工信息
// 获取当前登录员工信息
systemCommonUtil
.
getSysCurrentLoginUserMation
(
function
(
data
)
{
systemCommonUtil
.
getSysCurrentLoginUserMation
(
function
(
data
)
{
$
(
"
#applyUser
"
).
html
(
data
.
bean
.
jobNumber
+
'
_
'
+
data
.
bean
.
userName
);
$
(
"
#applyUser
"
).
html
(
data
.
bean
.
jobNumber
+
'
_
'
+
data
.
bean
.
userName
);
...
...
web/src/main/resources/template/assets/lib/layui/customer/systemCommonUtil.js
浏览文件 @
3ad0320f
...
@@ -43,6 +43,21 @@ var systemCommonUtil = {
...
@@ -43,6 +43,21 @@ var systemCommonUtil = {
return
result
;
return
result
;
},
},
/**
* 判断当前登录用户是否可以申请离职
*/
judgeCurrentUserQuit
:
function
()
{
var
result
=
false
;
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
judgeCurrentUserQuit
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
result
=
json
.
bean
.
canApply
;
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
return
result
;
},
/**
/**
* 获取当前登录用户所属企业的所有部门信息
* 获取当前登录用户所属企业的所有部门信息
*
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录