Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
1a3b05ab
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看板
提交
1a3b05ab
编写于
4月 19, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
员工入职完善
上级
c136d939
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
54 addition
and
3 deletion
+54
-3
boss/src/main/resources/template/js/bossInterviewArrangement/inductionResult.js
...s/template/js/bossInterviewArrangement/inductionResult.js
+36
-3
boss/src/main/resources/template/tpl/bossInterviewArrangement/inductionResult.html
...emplate/tpl/bossInterviewArrangement/inductionResult.html
+18
-0
未找到文件。
boss/src/main/resources/template/js/bossInterviewArrangement/inductionResult.js
浏览文件 @
1a3b05ab
...
...
@@ -4,10 +4,11 @@ layui.config({
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
laydate
=
layui
.
laydate
,
form
=
layui
.
form
;
showGrid
({
...
...
@@ -24,13 +25,27 @@ layui.config({
ajaxSendAfter
:
function
(
json
)
{
skyeyeEnclosure
.
showDetails
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
// 入职时间
laydate
.
render
({
elem
:
'
#entryTime
'
,
range
:
false
});
// 参加工作时间
laydate
.
render
({
elem
:
'
#workTime
'
,
range
:
false
});
$
(
"
#reasonBox
"
).
hide
();
form
.
on
(
'
radio(state)
'
,
function
(
data
)
{
var
thisRowValue
=
data
.
value
;
if
(
thisRowValue
==
6
){
// 同意入职
$
(
"
#reasonBox
"
).
hide
();
$
(
"
.agreePass
"
).
show
();
}
else
if
(
thisRowValue
==
7
){
// 拒绝入职
$
(
"
#reasonBox
"
).
show
();
$
(
"
.agreePass
"
).
hide
();
}
});
...
...
@@ -39,10 +54,28 @@ layui.config({
// 提交
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
state
=
$
(
"
input[name='state']:checked
"
).
val
();
if
(
state
==
6
)
{
if
(
isNull
(
$
(
"
#entryTime
"
).
val
())){
winui
.
window
.
msg
(
'
请选择入职时间
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
$
(
"
#workTime
"
).
val
())){
winui
.
window
.
msg
(
'
请选择参加工作时间
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
$
(
"
#userIdCard
"
).
val
())){
winui
.
window
.
msg
(
'
请输入身份证
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
}
var
params
=
{
id
:
parent
.
rowId
,
state
:
$
(
"
input[name='state']:checked
"
).
val
(),
reason
:
$
(
"
#reason
"
).
val
()
state
:
state
,
reason
:
$
(
"
#reason
"
).
val
(),
entryTime
:
$
(
"
#entryTime
"
).
val
(),
workTime
:
$
(
"
#workTime
"
).
val
(),
userIdCard
:
$
(
"
#userIdCard
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
setInductionResult
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
...
...
boss/src/main/resources/template/tpl/bossInterviewArrangement/inductionResult.html
浏览文件 @
1a3b05ab
...
...
@@ -84,6 +84,24 @@
<
input
type
=
"
radio
"
name
=
"
state
"
lay
-
filter
=
"
state
"
value
=
"
7
"
title
=
"
拒绝入职
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6 agreePass
"
>
<
label
class
=
"
layui-form-label
"
>
入职时间
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
entryTime
"
name
=
"
entryTime
"
placeholder
=
"
XXXX-XX-XX
"
class
=
"
layui-input
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6 agreePass
"
>
<
label
class
=
"
layui-form-label
"
>
参加工作时间
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
workTime
"
name
=
"
workTime
"
placeholder
=
"
XXXX-XX-XX
"
class
=
"
layui-input
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6 agreePass
"
>
<
label
class
=
"
layui-form-label
"
>
身份证
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
userIdCard
"
name
=
"
userIdCard
"
win
-
verify
=
"
identity
"
placeholder
=
"
请输入身份证
"
class
=
"
layui-input
"
maxlength
=
"
18
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
id
=
"
reasonBox
"
>
<
label
class
=
"
layui-form-label
"
>
拒绝原因
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录