Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
744d2384
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1423
Star
161
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看板
提交
744d2384
编写于
4月 25, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
转正申请新加个人状态限制
上级
1d777538
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
31 addition
and
0 deletion
+31
-0
boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerAdd.js
...ssInterviewRegularWorker/bossInterviewRegularWorkerAdd.js
+16
-0
web/src/main/resources/template/assets/lib/layui/customer/systemCommonUtil.js
...es/template/assets/lib/layui/customer/systemCommonUtil.js
+15
-0
未找到文件。
boss/src/main/resources/template/js/bossInterviewRegularWorker/bossInterviewRegularWorkerAdd.js
浏览文件 @
744d2384
...
@@ -20,6 +20,22 @@ layui.config({
...
@@ -20,6 +20,22 @@ layui.config({
tools
:
[
'
count
'
,
'
copy
'
,
'
reset
'
]
tools
:
[
'
count
'
,
'
copy
'
,
'
reset
'
]
});
});
if
(
!
systemCommonUtil
.
judgeCurrentUserRegularWorker
())
{
winui
.
window
.
msg
(
'
您已提交转正申请,无法重复提交
'
,
{
icon
:
5
,
time
:
2000
},
function
(){
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
-9999
'
;
});
}
// 获取当前登录员工信息
systemCommonUtil
.
getSysCurrentLoginUserMation
(
function
(
data
)
{
$
(
"
#regularWorkerId
"
).
html
(
data
.
bean
.
jobNumber
+
'
_
'
+
data
.
bean
.
userName
);
$
(
"
#departmentId
"
).
attr
(
"
departmentId
"
,
data
.
bean
.
departmentId
);
$
(
"
#departmentId
"
).
html
(
data
.
bean
.
departmentName
);
$
(
"
#jobId
"
).
attr
(
"
jobId
"
,
data
.
bean
.
jobId
);
$
(
"
#jobId
"
).
html
(
data
.
bean
.
jobName
);
});
skyeyeEnclosure
.
init
(
'
enclosureUpload
'
);
skyeyeEnclosure
.
init
(
'
enclosureUpload
'
);
matchingLanguage
();
matchingLanguage
();
// 保存为草稿
// 保存为草稿
...
...
web/src/main/resources/template/assets/lib/layui/customer/systemCommonUtil.js
浏览文件 @
744d2384
...
@@ -28,6 +28,21 @@ var systemCommonUtil = {
...
@@ -28,6 +28,21 @@ var systemCommonUtil = {
},
async
:
false
});
},
async
:
false
});
},
},
/**
* 判断当前登录用户是否可以申请转正
*/
judgeCurrentUserRegularWorker
:
function
()
{
var
result
=
false
;
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
judgeCurrentUserRegularWorker
"
,
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录