Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
9c32f898
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1195
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看板
提交
9c32f898
编写于
6月 13, 2023
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
面试官安排管理重构完成
上级
efcce96a
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
23 addition
and
189 deletion
+23
-189
boss/src/main/resources/template/js/bossInterviewArrangement/arrangeInterviewer.js
...emplate/js/bossInterviewArrangement/arrangeInterviewer.js
+0
-74
boss/src/main/resources/template/js/bossInterviewArrangement/bossInterviewerList.js
...mplate/js/bossInterviewArrangement/bossInterviewerList.js
+23
-12
boss/src/main/resources/template/tpl/bossInterviewArrangement/arrangeInterviewer.html
...late/tpl/bossInterviewArrangement/arrangeInterviewer.html
+0
-102
boss/src/main/resources/template/tpl/bossInterviewArrangement/bossInterviewerList.html
...ate/tpl/bossInterviewArrangement/bossInterviewerList.html
+0
-1
未找到文件。
boss/src/main/resources/template/js/bossInterviewArrangement/arrangeInterviewer.js
已删除
100644 → 0
浏览文件 @
efcce96a
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
tagEditor
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
interviewer
=
[];
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
});
var
userNames
=
[];
interviewer
=
[].
concat
(
json
.
bean
.
interviewer
);
$
.
each
(
interviewer
,
function
(
i
,
item
)
{
userNames
.
push
(
item
.
name
);
});
$
(
'
#interviewer
'
).
tagEditor
({
initialTags
:
userNames
,
placeholder
:
'
请选择面试官
'
,
editorTag
:
false
,
beforeTagDelete
:
function
(
field
,
editor
,
tags
,
val
)
{
interviewer
=
[].
concat
(
arrayUtil
.
removeArrayPointName
(
interviewer
,
val
));
}
});
matchingLanguage
();
form
.
render
();
// 提交
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
id
:
parent
.
rowId
,
interviewer
:
interviewer
[
0
].
id
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
setBossInterviewer
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
// 面试官选择
$
(
"
body
"
).
on
(
"
click
"
,
"
.interviewerBtn
"
,
function
()
{
systemCommonUtil
.
userReturnList
=
[].
concat
(
interviewer
);
systemCommonUtil
.
chooseOrNotMy
=
"
1
"
;
// 人员列表中是否包含自己--1.包含;其他参数不包含
systemCommonUtil
.
chooseOrNotEmail
=
"
2
"
;
// 人员列表中是否必须绑定邮箱--1.必须;其他参数没必要
systemCommonUtil
.
checkType
=
"
2
"
;
// 人员选择类型,1.多选;其他。单选
systemCommonUtil
.
openSysUserStaffChoosePage
(
function
(
userReturnList
){
// 重置数据
interviewer
=
[].
concat
(
systemCommonUtil
.
tagEditorResetData
(
'
interviewer
'
,
userReturnList
));
});
});
});
\ No newline at end of file
boss/src/main/resources/template/js/bossInterviewArrangement/bossInterviewerList.js
浏览文件 @
9c32f898
var
rowId
=
""
;
// 获取我录入的人员需求关联的面试者信息列表
layui
.
config
({
...
...
@@ -16,7 +15,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowable
BasePath
+
'
queryMyEntryBossPersonRequireAboutArrangementList
'
,
url
:
sysMainMation
.
boss
BasePath
+
'
queryMyEntryBossPersonRequireAboutArrangementList
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -24,20 +23,34 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
interviewName
'
,
title
:
'
面试者
'
,
width
:
100
},
{
field
:
'
departmentName
'
,
title
:
'
面试部门
'
,
width
:
140
},
{
field
:
'
jobName
'
,
title
:
'
面试岗位
'
,
width
:
150
},
{
field
:
'
oddNumber
'
,
title
:
'
单据编号
'
,
align
:
'
left
'
,
width
:
200
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
oddNumber
+
'
</a>
'
;
}},
{
field
:
'
interviewMation
'
,
title
:
'
面试者
'
,
width
:
100
,
templet
:
function
(
d
)
{
return
d
.
interviewMation
.
name
;
}},
{
field
:
'
recruitDepartmentMation
'
,
title
:
'
面试部门
'
,
width
:
140
,
templet
:
function
(
d
)
{
return
isNull
(
d
.
personRequireMation
)
?
''
:
d
.
personRequireMation
.
recruitDepartmentMation
.
name
;
}},
{
field
:
'
recruitJobMation
'
,
title
:
'
面试岗位
'
,
width
:
150
,
templet
:
function
(
d
)
{
return
isNull
(
d
.
personRequireMation
)
?
''
:
d
.
personRequireMation
.
recruitJobMation
.
name
;
}},
{
field
:
'
interviewTime
'
,
title
:
'
面试时间
'
,
width
:
140
,
align
:
'
center
'
},
{
field
:
'
interviewer
'
,
title
:
'
面试官
'
,
width
:
140
},
{
field
:
'
interviewer
'
,
title
:
'
面试官
'
,
width
:
120
,
templet
:
function
(
d
)
{
return
isNull
(
d
.
interviewerMation
)
?
''
:
d
.
interviewerMation
.
name
;
}},
{
field
:
'
state
'
,
title
:
'
面试状态
'
,
width
:
160
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
bossInterviewArrangementState
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
{
field
:
'
state
'
,
title
:
'
面试状态
'
,
width
:
160
,
templet
:
function
(
d
)
{
return
bossUtil
.
showStateName
(
d
.
state
);
}},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.entryTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
257
,
toolbar
:
'
#messageTableBar
'
}
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
120
,
toolbar
:
'
#messageTableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入
面试者
"
,
function
()
{
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入
单据编号
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
...
...
@@ -55,9 +68,8 @@ layui.config({
// 安排面试官
function
arrangeInterviewer
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/bossInterviewArrangement/arrangeInterviewer.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023061300001&id=
'
+
data
.
id
,
null
)
,
title
:
'
安排面试官
'
,
pageId
:
"
arrangeInterviewer
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
@@ -70,9 +82,8 @@ layui.config({
// 详情
function
details
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/bossInterviewArrangement/bossInterviewArrangementDetails.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023060400004&id=
'
+
data
.
id
,
null
)
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
bossInterviewArrangementDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
boss/src/main/resources/template/tpl/bossInterviewArrangement/arrangeInterviewer.html
已删除
100644 → 0
浏览文件 @
efcce96a
<!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
"
>
<
input
type
=
"
text
"
id
=
"
interviewer
"
name
=
"
interviewer
"
win
-
verify
=
"
required
"
placeholder
=
"
请选择面试官
"
class
=
"
layui-input
"
readonly
=
"
readonly
"
/>
<
i
class
=
"
fa fa-plus-circle input-icon interviewerBtn
"
style
=
"
top: 8px;
"
><
/i
>
<
/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
(
'
arrangeInterviewer
'
);
</script>
</body>
</html>
\ No newline at end of file
boss/src/main/resources/template/tpl/bossInterviewArrangement/bossInterviewerList.html
浏览文件 @
9c32f898
...
...
@@ -18,7 +18,6 @@
{{
#
if
((
d
.
state
==
'
2
'
||
d
.
state
==
'
3
'
)
&&
auth
(
'
1649993901134
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
arrangeInterviewer
"
>
安排面试官
<
/a
>
{{
#
}
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
details
"
>
详情
<
/a
>
</script>
</div>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录