Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
d3817929
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1436
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看板
提交
d3817929
编写于
5月 23, 2023
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
人员需求申请迁移到表单布局
上级
5602c720
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
40 addition
and
543 deletion
+40
-543
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAdd.js
...ces/template/js/bossPersonRequire/bossPersonRequireAdd.js
+0
-72
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAllList.js
...template/js/bossPersonRequire/bossPersonRequireAllList.js
+19
-33
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireDetails.js
...template/js/bossPersonRequire/bossPersonRequireDetails.js
+0
-32
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireEdit.js
...es/template/js/bossPersonRequire/bossPersonRequireEdit.js
+0
-93
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireList.js
...es/template/js/bossPersonRequire/bossPersonRequireList.js
+8
-12
boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireAdd.html
.../template/tpl/bossPersonRequire/bossPersonRequireAdd.html
+0
-83
boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireAllList.html
...plate/tpl/bossPersonRequire/bossPersonRequireAllList.html
+12
-37
boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireDetails.html
...plate/tpl/bossPersonRequire/bossPersonRequireDetails.html
+0
-89
boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireEdit.html
...template/tpl/bossPersonRequire/bossPersonRequireEdit.html
+0
-91
web/src/main/resources/template/assets/lib/layui/customer/common/systemCommonUtil.js
...late/assets/lib/layui/customer/common/systemCommonUtil.js
+1
-1
未找到文件。
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAdd.js
已删除
100644 → 0
浏览文件 @
5602c720
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
fileUpload
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
serviceClassName
=
sysServiceMation
[
"
bossPersonRequire
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
// 获取当前登录员工信息
systemCommonUtil
.
getSysCurrentLoginUserMation
(
function
(
data
)
{
var
departmentId
=
data
.
bean
.
departmentId
;
$
(
"
#recruitDepartmentId
"
).
attr
(
"
departmentId
"
,
departmentId
);
$
(
"
#recruitDepartmentId
"
).
html
(
data
.
bean
.
departmentName
);
$
(
"
#applyDepartmentId
"
).
attr
(
"
departmentId
"
,
departmentId
);
$
(
"
#applyDepartmentId
"
).
html
(
data
.
bean
.
departmentName
);
$
(
"
#applyUser
"
).
html
(
data
.
bean
.
jobNumber
+
'
_
'
+
data
.
bean
.
userName
);
// 根据部门id获取岗位集合
systemCommonUtil
.
queryJobListByDepartmentId
(
departmentId
,
function
(
data
)
{
$
(
"
#recruitJobId
"
).
html
(
getDataUseHandlebars
(
selOption
,
data
));
form
.
render
(
'
select
'
);
});
});
skyeyeEnclosure
.
init
(
'
enclosureUpload
'
);
matchingLanguage
();
// 保存为草稿
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
saveData
(
"
1
"
,
""
);
}
return
false
;
});
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
serviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
return
false
;
});
function
saveData
(
subType
,
approvalId
)
{
var
params
=
{
recruitDepartmentId
:
$
(
"
#recruitDepartmentId
"
).
attr
(
"
departmentId
"
),
recruitJobId
:
$
(
"
#recruitJobId
"
).
val
(),
wages
:
$
(
"
#wages
"
).
val
(),
recruitNum
:
$
(
"
#recruitNum
"
).
val
(),
jobRequire
:
$
(
"
#jobRequire
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
applyDepartmentId
:
$
(
"
#applyDepartmentId
"
).
attr
(
"
departmentId
"
),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
subType
:
subType
,
// 表单类型 1.保存草稿 2.提交审批
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
insertBossPersonRequire
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireAllList.js
浏览文件 @
d3817929
...
...
@@ -19,7 +19,7 @@ layui.config({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowable
BasePath
+
'
queryAllBossPersonRequireList
'
,
url
:
sysMainMation
.
boss
BasePath
+
'
queryAllBossPersonRequireList
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
...
...
@@ -27,29 +27,32 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
createName
'
,
title
:
'
申请人
'
,
width
:
140
},
{
field
:
'
applyDepartmentName
'
,
title
:
'
申请人部门
'
,
width
:
140
},
{
field
:
'
recruitJobName
'
,
title
:
'
需求岗位
'
,
width
:
150
},
{
field
:
'
recruitDepartmentName
'
,
title
:
'
需求部门
'
,
width
:
140
},
{
field
:
'
wages
'
,
title
:
'
薪资
'
,
width
:
120
},
{
field
:
'
oddNumber
'
,
title
:
'
单据编号
'
,
align
:
'
left
'
,
width
:
200
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
oddNumber
+
'
</a>
'
;
}},
{
field
:
'
createName
'
,
title
:
'
申请人
'
,
width
:
120
},
{
field
:
'
recruitDepartmentMation
'
,
title
:
'
需求部门
'
,
width
:
140
,
templet
:
function
(
d
)
{
return
d
.
recruitDepartmentMation
.
name
;
}},
{
field
:
'
recruitJobMation
'
,
title
:
'
需求岗位
'
,
width
:
150
,
templet
:
function
(
d
)
{
return
d
.
recruitJobMation
.
name
;
}},
{
field
:
'
wages
'
,
title
:
'
薪资范围
'
,
width
:
120
},
{
field
:
'
recruitNum
'
,
title
:
'
需求人数
'
,
width
:
100
},
{
field
:
'
processInstanceId
'
,
title
:
'
流程ID
'
,
width
:
100
,
templet
:
function
(
d
)
{
return
'
<a lay-event="processDetails" class="notice-title-click">
'
+
d
.
processInstanceId
+
'
</a>
'
;
}},
{
field
:
'
stateName
'
,
title
:
'
状态
'
,
width
:
90
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
6
){
return
'
<span class="state-new">招聘中</span>
'
;
}
else
if
(
d
.
state
==
7
){
return
'
<span class="state-new">招聘结束</span>
'
;
}
else
{
return
activitiUtil
.
showStateName2
(
d
.
state
,
1
);
}
{
field
:
'
state
'
,
title
:
'
状态
'
,
align
:
'
left
'
,
width
:
80
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
bossPersonRequireState
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.entryTime
"
][
languageType
],
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
257
,
toolbar
:
'
#messageTableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入单据编号
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
});
...
...
@@ -84,7 +87,7 @@ layui.config({
function
details
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/bossPersonRequire/bossPersonRequireDetails.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023052100003&id=
'
+
data
.
id
,
null
)
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
bossPersonRequireDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
@@ -94,14 +97,6 @@ layui.config({
}
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
return
false
;
});
// 刷新
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
...
...
@@ -111,16 +106,7 @@ layui.config({
}
function
getTableParams
()
{
var
startTime
=
""
,
endTime
=
""
;
if
(
!
isNull
(
$
(
"
#createTime
"
).
val
()))
{
startTime
=
$
(
"
#createTime
"
).
val
().
split
(
'
~
'
)[
0
].
trim
()
+
'
00:00:00
'
;
endTime
=
$
(
"
#createTime
"
).
val
().
split
(
'
~
'
)[
1
].
trim
()
+
'
23:59:59
'
;
}
return
{
state
:
$
(
"
#state
"
).
val
(),
startTime
:
startTime
,
endTime
:
endTime
};
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
bossPersonRequireAllList
'
,
{});
...
...
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireDetails.js
已删除
100644 → 0
浏览文件 @
5602c720
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
$
=
layui
.
$
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
queryBossPersonRequireDetailsById
"
,
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
,
json
){
json
.
bean
.
jobRequire
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
jobRequire
);
json
.
bean
.
remark
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
remark
);
},
ajaxSendAfter
:
function
(
json
)
{
// 附件回显
skyeyeEnclosure
.
showDetails
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
matchingLanguage
();
}
});
});
});
\ No newline at end of file
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireEdit.js
已删除
100644 → 0
浏览文件 @
5602c720
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
;
var
serviceClassName
=
sysServiceMation
[
"
bossPersonRequire
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
queryBossPersonRequireToEditById
"
,
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendAfter
:
function
(
json
)
{
// 附件回显
skyeyeEnclosure
.
initTypeISData
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
// 根据部门id获取岗位集合
systemCommonUtil
.
queryJobListByDepartmentId
(
json
.
bean
.
recruitDepartmentId
,
function
(
data
)
{
$
(
"
#recruitJobId
"
).
html
(
getDataUseHandlebars
(
selOption
,
data
));
$
(
"
#recruitJobId
"
).
val
(
json
.
bean
.
recruitJobId
);
form
.
render
(
'
select
'
);
});
if
(
json
.
bean
.
state
==
'
1
'
){
$
(
"
.typeTwo
"
).
removeClass
(
"
layui-hide
"
);
}
else
{
$
(
"
.typeOne
"
).
removeClass
(
"
layui-hide
"
);
}
matchingLanguage
();
form
.
render
();
}
});
// 保存为草稿
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
saveData
(
'
1
'
,
""
);
}
return
false
;
});
// 提交审批
form
.
on
(
'
submit(formSubBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
activitiUtil
.
startProcess
(
serviceClassName
,
null
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
return
false
;
});
// 工作流中保存
form
.
on
(
'
submit(subBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
saveData
(
'
3
'
,
""
);
}
return
false
;
});
function
saveData
(
subType
,
approvalId
)
{
var
params
=
{
recruitDepartmentId
:
$
(
"
#recruitDepartmentId
"
).
attr
(
"
departmentId
"
),
recruitJobId
:
$
(
"
#recruitJobId
"
).
val
(),
wages
:
$
(
"
#wages
"
).
val
(),
recruitNum
:
$
(
"
#recruitNum
"
).
val
(),
jobRequire
:
$
(
"
#jobRequire
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
applyDepartmentId
:
$
(
"
#applyDepartmentId
"
).
attr
(
"
departmentId
"
),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
subType
:
subType
,
// 表单类型 1.保存草稿 2.提交审批
approvalId
:
approvalId
,
id
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
updateBossPersonRequire
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
boss/src/main/resources/template/js/bossPersonRequire/bossPersonRequireList.js
浏览文件 @
d3817929
...
...
@@ -46,7 +46,7 @@ layui.config({
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入单据编号
"
,
function
()
{
refreshTable
(
);
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()}
);
});
}
});
...
...
@@ -72,7 +72,7 @@ layui.config({
// 添加
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
systemCommonUtil
.
getUrl
(
''
,
null
),
url
:
systemCommonUtil
.
getUrl
(
'
FP2023052100001
'
,
null
),
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
bossPersonRequireAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
@@ -85,7 +85,7 @@ layui.config({
// 编辑申请
function
edit
(
data
)
{
_openNewWindows
({
url
:
systemCommonUtil
.
getUrl
(
'
&id=
'
+
data
.
id
,
null
),
url
:
systemCommonUtil
.
getUrl
(
'
FP2023052100002
&id=
'
+
data
.
id
,
null
),
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
bossPersonRequireEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
@@ -99,7 +99,7 @@ layui.config({
// 详情
function
details
(
data
)
{
_openNewWindows
({
url
:
systemCommonUtil
.
getUrl
(
'
&id=
'
+
data
.
id
,
null
),
url
:
systemCommonUtil
.
getUrl
(
'
FP2023052100003
&id=
'
+
data
.
id
,
null
),
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
bossPersonRequireDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
@@ -112,7 +112,7 @@ layui.config({
function
revoke
(
data
)
{
layer
.
confirm
(
'
确认撤销该申请吗?
'
,
{
icon
:
3
,
title
:
'
撤销操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
revokeBoss
PersonRequire
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
bossBasePath
+
"
revoke
PersonRequire
"
,
params
:
{
processInstanceId
:
data
.
processInstanceId
},
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
...
...
@@ -123,12 +123,12 @@ layui.config({
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
serviceClassName
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
serviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
id
:
data
.
id
,
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
editBossPersonRequireToSubApproval
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
bossBasePath
+
"
submitPersonRequire
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
提交成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
...
...
@@ -140,7 +140,7 @@ layui.config({
function
cancellation
(
data
)
{
layer
.
confirm
(
'
确认作废该申请吗?
'
,
{
icon
:
3
,
title
:
'
作废操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
updateBossPersonRequireToCancellation
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
PU
T
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
bossBasePath
+
"
invalidPersonRequire
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
"
POS
T
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
...
...
@@ -156,10 +156,6 @@ layui.config({
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
refreshTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
...
...
boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireAdd.html
已删除
100644 → 0
浏览文件 @
5602c720
<!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"
>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
需求部门
</label>
<div
class=
"layui-input-block ver-center"
id=
"recruitDepartmentId"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
需求岗位
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
id=
"recruitJobId"
name=
"recruitJobId"
lay-filter=
"recruitJobId"
lay-search=
""
win-verify=
"required"
>
</select>
</div>
</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=
"wages"
name=
"wages"
win-verify=
"required"
placeholder=
"请输入薪资"
class=
"layui-input"
/>
</div>
</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=
"recruitNum"
name=
"recruitNum"
win-verify=
"required|number"
placeholder=
"请输入需求人数"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
岗位要求
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<textarea
id=
"jobRequire"
name=
"jobRequire"
placeholder=
"请输入岗位要求"
win-verify=
"required"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
说明
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"remark"
name=
"remark"
placeholder=
"请输入说明"
class=
"layui-textarea"
style=
"height: 100px;"
maxlength=
"200"
></textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
相关附件
</label>
<div
class=
"layui-input-block"
id=
"enclosureUpload"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
申请人
</label>
<div
class=
"layui-input-block ver-center"
id=
"applyUser"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
申请人部门
</label>
<div
class=
"layui-input-block ver-center"
id=
"applyDepartmentId"
>
</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=
"formAddBean"
>
保存为草稿
</button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formSubBean"
>
提交审批
</button>
</div>
</div>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/bossPersonRequire/
'
}).
use
(
'
bossPersonRequireAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireAllList.html
浏览文件 @
d3817929
...
...
@@ -7,45 +7,20 @@
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin:0 auto; height: 100%;"
>
<div
class=
"txtcenter"
style=
"margin:0 auto; padding-top: 10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
状态
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"state"
>
<option
value=
""
>
全部
</option>
<option
value=
"2"
>
审核通过
</option>
<option
value=
"6"
>
招聘中
</option>
<option
value=
"7"
>
招聘结束
</option>
</select>
</div>
<label
class=
"layui-form-label"
>
录入时间
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"createTime"
name=
"createTime"
placeholder=
"请选择录入时间"
class=
"layui-input"
/>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
style=
"text-align: left;"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"messageTableBar"
>
{{
#
if
((
d
.
state
==
2
||
d
.
state
==
6
)
&&
auth
(
'
1649989287428
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
setPersonLiable
"
>
责任人
<
/a
>
{{
#
}
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
details
"
>
详情
<
/a
>
</script>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
style=
"text-align: left;"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"messageTableBar"
>
{{
#
if
((
d
.
state
!=
'
endRecruitment
'
)
&&
auth
(
'
1649989287428
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
setPersonLiable
"
>
责任人
<
/a
>
{{
#
}
}}
</script>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
...
...
boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireDetails.html
已删除
100644 → 0
浏览文件 @
5602c720
<!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"
>
</form>
</div>
<!-- beanTemplate -->
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
需求部门
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
recruitDepartmentName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
需求岗位
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
recruitJobName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
薪资
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
wages
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
需求人数
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
recruitNum
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
岗位要求
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{{
jobRequire
}}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
说明
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{{
remark
}}}
<
/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-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
申请人
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
userName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
申请人部门
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
applyDepartmentName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
责任人
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
#
each
personLiable
}}
<
span
class
=
"
layui-badge layui-bg-blue skyeye-badge
"
>
{{
name
}}
<
/span
>
{{
/
each
}}
<
/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/bossPersonRequire/
'
}).
use
(
'
bossPersonRequireDetails
'
);
</script>
</body>
</html>
\ No newline at end of file
boss/src/main/resources/template/tpl/bossPersonRequire/bossPersonRequireEdit.html
已删除
100644 → 0
浏览文件 @
5602c720
<!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"
>
</form>
</div>
<!-- beanTemplate -->
<script
type=
"text/x-handlebars-template"
id=
"beanTemplate"
>
{{
#
bean
}}
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
需求部门
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
recruitDepartmentId
"
departmentId
=
"
{{recruitDepartmentId}}
"
>
{{
recruitDepartmentName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
需求岗位
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
select
id
=
"
recruitJobId
"
name
=
"
recruitJobId
"
lay
-
filter
=
"
recruitJobId
"
lay
-
search
=
""
win
-
verify
=
"
required
"
>
<
/select
>
<
/div
>
<
/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
=
"
wages
"
name
=
"
wages
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入薪资
"
class
=
"
layui-input
"
value
=
"
{{wages}}
"
/>
<
/div
>
<
/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
=
"
recruitNum
"
name
=
"
recruitNum
"
win
-
verify
=
"
required|number
"
placeholder
=
"
请输入需求人数
"
class
=
"
layui-input
"
value
=
"
{{recruitNum}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
岗位要求
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
textarea
id
=
"
jobRequire
"
name
=
"
jobRequire
"
placeholder
=
"
请输入岗位要求
"
win
-
verify
=
"
required
"
class
=
"
layui-textarea
"
style
=
"
height: 100px;
"
>
{{
jobRequire
}}
<
/textarea
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
说明
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
textarea
id
=
"
remark
"
name
=
"
remark
"
placeholder
=
"
请输入说明
"
class
=
"
layui-textarea
"
style
=
"
height: 100px;
"
maxlength
=
"
200
"
>
{{
remark
}}
<
/textarea
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
相关附件
<
/label
>
<
div
class
=
"
layui-input-block
"
id
=
"
enclosureUpload
"
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
申请人
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
applyUser
"
>
{{
userName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
申请人部门
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
id
=
"
applyDepartmentId
"
departmentId
=
"
{{applyDepartmentId}}
"
>
{{
applyDepartmentName
}}
<
/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 typeOne layui-hide
"
lay
-
submit
lay
-
filter
=
"
formEditBean
"
>
保存为草稿
<
/button
>
<
button
class
=
"
winui-btn typeOne layui-hide
"
lay
-
submit
lay
-
filter
=
"
formSubBean
"
>
提交审批
<
/button
>
<
button
class
=
"
winui-btn typeTwo layui-hide
"
lay
-
submit
lay
-
filter
=
"
subBean
"
><
language
showName
=
"
com.skyeye.save
"
><
/language></
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/bossPersonRequire/
'
}).
use
(
'
bossPersonRequireEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/customer/common/systemCommonUtil.js
浏览文件 @
d3817929
...
...
@@ -63,7 +63,7 @@ var systemCommonUtil = {
},
/**
* 根据部门id获取岗位集合
* 根据部门id获取岗位集合
(组件中使用)
*
* @param callback 回执函数
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录