Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
f2e8cca0
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看板
提交
f2e8cca0
编写于
4月 17, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增入职功能,包含同意入职以及拒绝入职
上级
9eb1ee58
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
241 addition
and
2 deletion
+241
-2
boss/src/main/resources/template/js/bossInterviewArrangement/bossInterviewArrangementDetails.js
...ssInterviewArrangement/bossInterviewArrangementDetails.js
+13
-0
boss/src/main/resources/template/js/bossInterviewArrangement/bossInterviewArrangementList.js
.../bossInterviewArrangement/bossInterviewArrangementList.js
+21
-0
boss/src/main/resources/template/js/bossInterviewArrangement/inductionResult.js
...s/template/js/bossInterviewArrangement/inductionResult.js
+62
-0
boss/src/main/resources/template/js/bossInterviewer/arrangeInterviewerIsMyList.js
...template/js/bossInterviewer/arrangeInterviewerIsMyList.js
+2
-2
boss/src/main/resources/template/tpl/bossInterviewArrangement/bossInterviewArrangementDetails.html
...InterviewArrangement/bossInterviewArrangementDetails.html
+17
-0
boss/src/main/resources/template/tpl/bossInterviewArrangement/bossInterviewArrangementList.html
...ossInterviewArrangement/bossInterviewArrangementList.html
+3
-0
boss/src/main/resources/template/tpl/bossInterviewArrangement/inductionResult.html
...emplate/tpl/bossInterviewArrangement/inductionResult.html
+108
-0
web/src/main/resources/template/assets/lib/layui/customer/bossUtil.js
.../resources/template/assets/lib/layui/customer/bossUtil.js
+15
-0
未找到文件。
boss/src/main/resources/template/js/bossInterviewArrangement/bossInterviewArrangementDetails.js
浏览文件 @
f2e8cca0
...
...
@@ -21,15 +21,28 @@ layui.config({
ajaxSendLoadBefore
:
function
(
hdb
,
json
){
json
.
bean
.
basicResume
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
basicResume
);
json
.
bean
.
evaluation
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
evaluation
);
json
.
bean
.
reason
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
reason
);
if
(
type
==
'
interviewerResult
'
)
{
// 面试官查看
json
.
bean
.
stateName
=
bossUtil
.
showArrangeInterviewerStateName
(
json
.
bean
.
state
);
}
else
{
// HR以及部门经理查看
json
.
bean
.
stateName
=
bossUtil
.
showStateName
(
json
.
bean
.
state
);
// 入职信息的状态
json
.
bean
.
inductionResultStateName
=
bossUtil
.
showInductionResultStateName
(
json
.
bean
.
state
);
}
},
ajaxSendAfter
:
function
(
json
)
{
skyeyeEnclosure
.
showDetails
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
console
.
log
(
type
)
if
(
type
==
'
interviewerResult
'
)
{
// 面试官查看
$
(
"
#inductionResultMation
"
).
hide
();
}
else
{
// HR以及部门经理查看
}
matchingLanguage
();
form
.
render
();
}
...
...
boss/src/main/resources/template/js/bossInterviewArrangement/bossInterviewArrangementList.js
浏览文件 @
f2e8cca0
...
...
@@ -60,6 +60,8 @@ layui.config({
sub
(
data
);
}
else
if
(
layEvent
===
'
cancellation
'
)
{
// 作废
cancellation
(
data
);
}
else
if
(
layEvent
===
'
inductionResult
'
)
{
// 入职
inductionResult
(
data
);
}
});
...
...
@@ -99,6 +101,25 @@ layui.config({
});
}
// 入职
function
inductionResult
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/bossInterviewArrangement/inductionResult.html
"
,
title
:
'
入职
'
,
pageId
:
"
inductionResult
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}
});
}
// 提交
function
sub
(
data
){
layer
.
confirm
(
'
确认提交该数据吗?
'
,
{
icon
:
3
,
title
:
'
提交操作
'
},
function
(
index
)
{
...
...
boss/src/main/resources/template/js/bossInterviewArrangement/inductionResult.js
0 → 100644
浏览文件 @
f2e8cca0
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
queryBossInterviewArrangementById
"
,
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
,
json
){
json
.
bean
.
basicResume
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
basicResume
);
json
.
bean
.
stateName
=
bossUtil
.
showStateName
(
json
.
bean
.
state
);
},
ajaxSendAfter
:
function
(
json
)
{
skyeyeEnclosure
.
showDetails
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
$
(
"
#reasonBox
"
).
hide
();
form
.
on
(
'
radio(state)
'
,
function
(
data
)
{
var
thisRowValue
=
data
.
value
;
if
(
thisRowValue
==
6
){
// 同意入职
$
(
"
#reasonBox
"
).
hide
();
}
else
if
(
thisRowValue
==
7
){
// 拒绝入职
$
(
"
#reasonBox
"
).
show
();
}
});
matchingLanguage
();
form
.
render
();
// 提交
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
id
:
parent
.
rowId
,
state
:
$
(
"
input[name='state']:checked
"
).
val
(),
reason
:
$
(
"
#reason
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
setInductionResult
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}});
}
return
false
;
});
}
});
});
\ No newline at end of file
boss/src/main/resources/template/js/bossInterviewer/arrangeInterviewerIsMyList.js
浏览文件 @
f2e8cca0
...
...
@@ -60,7 +60,7 @@ layui.config({
function
interview
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/bossInterviewer/interviewerResult.html
?type=interviewerResult
"
,
url
:
"
../../tpl/bossInterviewer/interviewerResult.html
"
,
title
:
'
面试
'
,
pageId
:
"
interviewerResult
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
@@ -79,7 +79,7 @@ layui.config({
function
details
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/bossInterviewArrangement/bossInterviewArrangementDetails.html
"
,
url
:
"
../../tpl/bossInterviewArrangement/bossInterviewArrangementDetails.html
?type=interviewerResult
"
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
bossInterviewArrangementDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
boss/src/main/resources/template/tpl/bossInterviewArrangement/bossInterviewArrangementDetails.html
浏览文件 @
f2e8cca0
...
...
@@ -95,6 +95,23 @@
{{{
evaluation
}}}
<
/div
>
<
/div
>
<
div
id
=
"
inductionResultMation
"
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
入职信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
入职状态
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{{
inductionResultStateName
}}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
拒绝入职的原因
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{{
reason
}}}
<
/div
>
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
...
...
boss/src/main/resources/template/tpl/bossInterviewArrangement/bossInterviewArrangementList.html
浏览文件 @
f2e8cca0
...
...
@@ -54,6 +54,9 @@
{{
#
if
(
d
.
state
==
'
1
'
&&
auth
(
'
1649929364723
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
state
==
'
4
'
&&
auth
(
'
1650189947768
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
inductionResult
"
>
入职
<
/a
>
{{
#
}
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
details
"
>
详情
<
/a
>
</script>
</div>
...
...
boss/src/main/resources/template/tpl/bossInterviewArrangement/inductionResult.html
0 → 100644
浏览文件 @
f2e8cca0
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto;padding:20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
面试者信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
面试者
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
interviewName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
面试时间
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
interviewTime
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
联系方式
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
phone
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
工作年限
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
workYears
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
心仪岗位
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
favoriteJob
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
基本简历
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{{
basicResume
}}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
附件资料
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
enclosureUpload
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
人员需求信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
需求部门
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
departmentName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
需求岗位
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
jobName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
span
class
=
"
hr-title
"
>
入职信息
<
/span><hr
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
入职结果
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block winui-radio
"
win
-
verify
=
"
required
"
>
<
input
type
=
"
radio
"
name
=
"
state
"
lay
-
filter
=
"
state
"
value
=
"
6
"
title
=
"
同意入职
"
checked
=
"
checked
"
/>
<
input
type
=
"
radio
"
name
=
"
state
"
lay
-
filter
=
"
state
"
value
=
"
7
"
title
=
"
拒绝入职
"
/>
<
/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
"
>
<
textarea
id
=
"
reason
"
name
=
"
reason
"
placeholder
=
"
请输入拒绝原因
"
class
=
"
layui-textarea
"
style
=
"
height: 100px;
"
maxlength
=
"
400
"
><
/textarea
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
div
class
=
"
layui-input-block
"
>
<
button
class
=
"
winui-btn
"
id
=
"
cancle
"
><
language
showName
=
"
com.skyeye.cancel
"
><
/language></
button
>
<
button
class
=
"
winui-btn
"
lay
-
submit
lay
-
filter
=
"
formSubBean
"
>
提交
<
/button
>
<
/div
>
<
/div
>
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/bossInterviewArrangement/
'
}).
use
(
'
inductionResult
'
);
</script>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/customer/bossUtil.js
浏览文件 @
f2e8cca0
...
...
@@ -53,6 +53,21 @@ var bossUtil = {
}
},
/**
* 入职信息的状态
*
* @param state
* @returns {string}
*/
showInductionResultStateName
:
function
(
state
){
if
(
state
==
'
6
'
)
{
return
"
<span class='state-success'>同意入职</span>
"
;
}
else
if
(
state
==
'
7
'
)
{
return
"
<span class='state-error'>拒绝入职</span>
"
;
}
return
''
;
},
/**
* 面试官列表展示的面试状态
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录