Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
7bcefdb8
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1173
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看板
提交
7bcefdb8
编写于
6月 15, 2023
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
员工调岗申请托管到表单布局
上级
9f745355
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
9 addition
and
611 deletion
+9
-611
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferAdd.js
...s/bossInterviewJobTransfer/bossInterviewJobTransferAdd.js
+0
-111
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferDetails.js
...ssInterviewJobTransfer/bossInterviewJobTransferDetails.js
+0
-31
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferEdit.js
.../bossInterviewJobTransfer/bossInterviewJobTransferEdit.js
+0
-146
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferList.js
.../bossInterviewJobTransfer/bossInterviewJobTransferList.js
+5
-8
boss/src/main/resources/template/tpl/bossInterviewJobTransfer/bossInterviewJobTransferAdd.html
...bossInterviewJobTransfer/bossInterviewJobTransferAdd.html
+0
-96
boss/src/main/resources/template/tpl/bossInterviewJobTransfer/bossInterviewJobTransferDetails.html
...InterviewJobTransfer/bossInterviewJobTransferDetails.html
+0
-93
boss/src/main/resources/template/tpl/bossInterviewJobTransfer/bossInterviewJobTransferEdit.html
...ossInterviewJobTransfer/bossInterviewJobTransferEdit.html
+0
-105
web/src/main/resources/template/assets/lib/layui/customer/bossUtil.js
.../resources/template/assets/lib/layui/customer/bossUtil.js
+1
-19
web/src/main/resources/template/assets/lib/layui/customer/skyeye/dsFormUtil.js
...s/template/assets/lib/layui/customer/skyeye/dsFormUtil.js
+3
-2
未找到文件。
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferAdd.js
已删除
100644 → 0
浏览文件 @
9f745355
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
textool
'
,
'
laydate
'
,
'
dtree
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
laydate
=
layui
.
laydate
,
textool
=
layui
.
textool
,
form
=
layui
.
form
,
dtree
=
layui
.
dtree
;
var
serviceClassName
=
sysServiceMation
[
"
bossInterviewJobTransfer
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
// 调岗类型
$
(
"
#transferType
"
).
html
(
getDataUseHandlebars
(
selOption
,
{
rows
:
bossUtil
.
getTransferTypeList
()}));
textool
.
init
({
eleId
:
'
remark
'
,
maxlength
:
200
});
// 加载组织结构
organizationUtil
.
initAddOrganization
(
dtree
);
skyeyeEnclosure
.
init
(
'
enclosureUpload
'
);
matchingLanguage
();
form
.
render
();
// 保存为草稿
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
,
function
(
approvalId
)
{
saveData
(
"
2
"
,
approvalId
);
});
}
return
false
;
});
function
saveData
(
subType
,
approvalId
)
{
if
(
isNull
(
organizationUtil
.
getCompanyMation
(
dtree
)[
'
nodeId
'
])){
winui
.
window
.
msg
(
'
请选择企业
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
organizationUtil
.
getDepartmentMation
(
dtree
)[
'
nodeId
'
])){
winui
.
window
.
msg
(
'
请选择部门
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
organizationUtil
.
getJobMation
(
dtree
)[
'
nodeId
'
])){
winui
.
window
.
msg
(
'
请选择岗位
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
var
params
=
{
transferType
:
$
(
"
#transferType
"
).
val
(),
transferStaffId
:
$
(
"
#transferStaffId
"
).
attr
(
"
staffId
"
),
primaryCompanyId
:
$
(
"
#primaryCompanyId
"
).
attr
(
"
companyId
"
),
primaryCompanyName
:
$
(
"
#primaryCompanyId
"
).
html
(),
primaryDepartmentId
:
$
(
"
#primaryDepartmentId
"
).
attr
(
"
departmentId
"
),
primaryDepartmentName
:
$
(
"
#primaryDepartmentId
"
).
html
(),
primaryJobId
:
$
(
"
#primaryJobId
"
).
attr
(
"
jobId
"
),
primaryJobName
:
$
(
"
#primaryJobId
"
).
html
(),
primaryJobScoreId
:
$
(
"
#primaryJobScoreId
"
).
attr
(
"
jobScoreId
"
),
primaryJobScoreName
:
$
(
"
#primaryJobScoreId
"
).
html
(),
currentCompanyId
:
organizationUtil
.
getCompanyMation
(
dtree
)[
'
nodeId
'
],
currentCompanyName
:
organizationUtil
.
getCompanyMation
(
dtree
)[
'
context
'
],
currentDepartmentId
:
organizationUtil
.
getDepartmentMation
(
dtree
)[
'
nodeId
'
],
currentDepartmentName
:
organizationUtil
.
getDepartmentMation
(
dtree
)[
'
context
'
],
currentJobId
:
organizationUtil
.
getJobMation
(
dtree
)[
'
nodeId
'
],
currentJobName
:
organizationUtil
.
getJobMation
(
dtree
)[
'
context
'
],
currentJobScoreId
:
organizationUtil
.
getJobScoreMation
(
dtree
)[
'
nodeId
'
],
currentJobScoreName
:
organizationUtil
.
getJobScoreMation
(
dtree
)[
'
context
'
],
remark
:
$
(
"
#remark
"
).
val
(),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
subType
:
subType
,
// 表单类型 1.保存草稿 2.提交审批
approvalId
:
approvalId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
insertBossInterviewJobTransfer
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
// 人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
.transferStaffIdBtn
"
,
function
()
{
systemCommonUtil
.
userStaffCheckType
=
false
;
// 选择类型,默认单选,true:多选,false:单选
systemCommonUtil
.
openSysAllUserStaffChoosePage
(
function
(
checkStaffMation
){
$
(
"
#transferStaffId
"
).
attr
(
"
staffId
"
,
checkStaffMation
.
id
);
$
(
"
#transferStaffId
"
).
val
(
checkStaffMation
.
jobNumber
+
'
_
'
+
checkStaffMation
.
userName
);
$
(
"
#primaryCompanyId
"
).
attr
(
"
companyId
"
,
checkStaffMation
.
companyId
);
$
(
"
#primaryCompanyId
"
).
html
(
checkStaffMation
.
companyName
);
$
(
"
#primaryDepartmentId
"
).
attr
(
"
departmentId
"
,
checkStaffMation
.
departmentId
);
$
(
"
#primaryDepartmentId
"
).
html
(
checkStaffMation
.
departmentName
);
$
(
"
#primaryJobId
"
).
attr
(
"
jobId
"
,
checkStaffMation
.
jobId
);
$
(
"
#primaryJobId
"
).
html
(
checkStaffMation
.
jobName
);
$
(
"
#primaryJobScoreId
"
).
attr
(
"
jobScoreId
"
,
checkStaffMation
.
jobScoreId
);
$
(
"
#primaryJobScoreId
"
).
html
(
checkStaffMation
.
jobScoreName
);
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferDetails.js
已删除
100644 → 0
浏览文件 @
9f745355
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
+
"
queryBossInterviewJobTransferDetailsById
"
,
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
,
json
){
json
.
bean
.
remark
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
remark
);
json
.
bean
.
transferTypeName
=
bossUtil
.
getTransferTypeNameById
(
json
.
bean
.
transferType
);
},
ajaxSendAfter
:
function
(
json
)
{
// 附件回显
skyeyeEnclosure
.
showDetails
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
matchingLanguage
();
}
});
});
});
\ No newline at end of file
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferEdit.js
已删除
100644 → 0
浏览文件 @
9f745355
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
textool
'
,
'
laydate
'
,
'
dtree
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
laydate
=
layui
.
laydate
,
textool
=
layui
.
textool
,
form
=
layui
.
form
,
dtree
=
layui
.
dtree
;
var
serviceClassName
=
sysServiceMation
[
"
bossInterviewJobTransfer
"
][
"
key
"
];
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
queryBossInterviewJobTransferToEditById
"
,
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendAfter
:
function
(
json
)
{
// 调岗类型
$
(
"
#transferType
"
).
html
(
getDataUseHandlebars
(
selOption
,
{
rows
:
bossUtil
.
getTransferTypeList
()}));
$
(
"
#transferType
"
).
val
(
json
.
bean
.
transferType
);
textool
.
init
({
eleId
:
'
remark
'
,
maxlength
:
200
});
var
organization
=
{
companyId
:
json
.
bean
.
currentCompanyId
,
departmentId
:
json
.
bean
.
currentDepartmentId
,
jobId
:
json
.
bean
.
currentJobId
,
jobScoreId
:
json
.
bean
.
currentJobScoreId
};
// 加载组织结构
organizationUtil
.
initEditOrganization
(
dtree
,
organization
);
// 附件回显
skyeyeEnclosure
.
initTypeISData
({
'
enclosureUpload
'
:
json
.
bean
.
enclosureInfo
});
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
,
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
)
{
if
(
isNull
(
organizationUtil
.
getCompanyMation
(
dtree
)[
'
nodeId
'
])){
winui
.
window
.
msg
(
'
请选择企业
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
organizationUtil
.
getDepartmentMation
(
dtree
)[
'
nodeId
'
])){
winui
.
window
.
msg
(
'
请选择部门
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
organizationUtil
.
getJobMation
(
dtree
)[
'
nodeId
'
])){
winui
.
window
.
msg
(
'
请选择岗位
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
var
params
=
{
transferType
:
$
(
"
#transferType
"
).
val
(),
transferStaffId
:
$
(
"
#transferStaffId
"
).
attr
(
"
staffId
"
),
primaryCompanyId
:
$
(
"
#primaryCompanyId
"
).
attr
(
"
companyId
"
),
primaryCompanyName
:
$
(
"
#primaryCompanyId
"
).
html
(),
primaryDepartmentId
:
$
(
"
#primaryDepartmentId
"
).
attr
(
"
departmentId
"
),
primaryDepartmentName
:
$
(
"
#primaryDepartmentId
"
).
html
(),
primaryJobId
:
$
(
"
#primaryJobId
"
).
attr
(
"
jobId
"
),
primaryJobName
:
$
(
"
#primaryJobId
"
).
html
(),
primaryJobScoreId
:
$
(
"
#primaryJobScoreId
"
).
attr
(
"
jobScoreId
"
),
primaryJobScoreName
:
$
(
"
#primaryJobScoreId
"
).
html
(),
currentCompanyId
:
organizationUtil
.
getCompanyMation
(
dtree
)[
'
nodeId
'
],
currentCompanyName
:
organizationUtil
.
getCompanyMation
(
dtree
)[
'
context
'
],
currentDepartmentId
:
organizationUtil
.
getDepartmentMation
(
dtree
)[
'
nodeId
'
],
currentDepartmentName
:
organizationUtil
.
getDepartmentMation
(
dtree
)[
'
context
'
],
currentJobId
:
organizationUtil
.
getJobMation
(
dtree
)[
'
nodeId
'
],
currentJobName
:
organizationUtil
.
getJobMation
(
dtree
)[
'
context
'
],
currentJobScoreId
:
organizationUtil
.
getJobScoreMation
(
dtree
)[
'
nodeId
'
],
currentJobScoreName
:
organizationUtil
.
getJobScoreMation
(
dtree
)[
'
context
'
],
remark
:
$
(
"
#remark
"
).
val
(),
enclosureInfo
:
skyeyeEnclosure
.
getEnclosureIdsByBoxId
(
'
enclosureUpload
'
),
subType
:
subType
,
// 表单类型 1.保存草稿 2.提交审批
approvalId
:
approvalId
,
id
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
updateBossInterviewJobTransfer
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
// 人员选择
$
(
"
body
"
).
on
(
"
click
"
,
"
.transferStaffIdBtn
"
,
function
()
{
systemCommonUtil
.
userStaffCheckType
=
false
;
// 选择类型,默认单选,true:多选,false:单选
systemCommonUtil
.
openSysAllUserStaffChoosePage
(
function
(
checkStaffMation
){
$
(
"
#transferStaffId
"
).
attr
(
"
staffId
"
,
checkStaffMation
.
id
);
$
(
"
#transferStaffId
"
).
val
(
checkStaffMation
.
jobNumber
+
'
_
'
+
checkStaffMation
.
userName
);
$
(
"
#primaryCompanyId
"
).
attr
(
"
companyId
"
,
checkStaffMation
.
companyId
);
$
(
"
#primaryCompanyId
"
).
html
(
checkStaffMation
.
companyName
);
$
(
"
#primaryDepartmentId
"
).
attr
(
"
departmentId
"
,
checkStaffMation
.
departmentId
);
$
(
"
#primaryDepartmentId
"
).
html
(
checkStaffMation
.
departmentName
);
$
(
"
#primaryJobId
"
).
attr
(
"
jobId
"
,
checkStaffMation
.
jobId
);
$
(
"
#primaryJobId
"
).
html
(
checkStaffMation
.
jobName
);
$
(
"
#primaryJobScoreId
"
).
attr
(
"
jobScoreId
"
,
checkStaffMation
.
jobScoreId
);
$
(
"
#primaryJobScoreId
"
).
html
(
checkStaffMation
.
jobScoreName
);
});
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
boss/src/main/resources/template/js/bossInterviewJobTransfer/bossInterviewJobTransferList.js
浏览文件 @
7bcefdb8
var
rowId
=
""
;
// 岗位调动申请申请
// 岗位调动申请申请
layui
.
config
({
layui
.
config
({
...
@@ -49,7 +48,7 @@ layui.config({
...
@@ -49,7 +48,7 @@ layui.config({
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
140
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
140
},
{
field
:
'
lastUpdateTime
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateTime
"
][
languageType
],
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateTime
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateTime
"
][
languageType
],
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
257
,
toolbar
:
'
#messageTableBar
'
}
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
257
,
toolbar
:
'
#messageTableBar
'
}
],
],
[
[
{
field
:
'
primaryCompanyName
'
,
title
:
'
企业
'
,
align
:
'
left
'
,
width
:
150
,
templet
:
function
(
d
)
{
{
field
:
'
primaryCompanyName
'
,
title
:
'
企业
'
,
align
:
'
left
'
,
width
:
150
,
templet
:
function
(
d
)
{
...
@@ -107,7 +106,7 @@ layui.config({
...
@@ -107,7 +106,7 @@ layui.config({
// 添加
// 添加
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
_openNewWindows
({
url
:
"
../../tpl/bossInterviewJobTransfer/bossInterviewJobTransferAdd.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023061400001
'
,
null
)
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
bossInterviewJobTransferAdd
"
,
pageId
:
"
bossInterviewJobTransferAdd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
...
@@ -130,9 +129,8 @@ layui.config({
...
@@ -130,9 +129,8 @@ layui.config({
// 编辑申请
// 编辑申请
function
edit
(
data
)
{
function
edit
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
_openNewWindows
({
url
:
"
../../tpl/bossInterviewJobTransfer/bossInterviewJobTransferEdit.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023061400002&id=
'
+
data
.
id
,
null
)
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
bossInterviewJobTransferEdit
"
,
pageId
:
"
bossInterviewJobTransferEdit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
...
@@ -147,7 +145,7 @@ layui.config({
...
@@ -147,7 +145,7 @@ layui.config({
function
subApproval
(
data
)
{
function
subApproval
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.approvalOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.approvalOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
activitiUtil
.
startProcess
(
serviceClassName
,
function
(
approvalId
)
{
activitiUtil
.
startProcess
(
serviceClassName
,
null
,
function
(
approvalId
)
{
var
params
=
{
var
params
=
{
id
:
data
.
id
,
id
:
data
.
id
,
approvalId
:
approvalId
approvalId
:
approvalId
...
@@ -173,9 +171,8 @@ layui.config({
...
@@ -173,9 +171,8 @@ layui.config({
// 详情
// 详情
function
details
(
data
)
{
function
details
(
data
)
{
rowId
=
data
.
id
;
_openNewWindows
({
_openNewWindows
({
url
:
"
../../tpl/bossInterviewJobTransfer/bossInterviewJobTransferDetails.html
"
,
url
:
systemCommonUtil
.
getUrl
(
'
FP2023061400003&id=
'
+
data
.
id
,
null
)
,
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
title
:
systemLanguage
[
"
com.skyeye.detailsPageTitle
"
][
languageType
],
pageId
:
"
bossInterviewJobTransferDetails
"
,
pageId
:
"
bossInterviewJobTransferDetails
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
...
...
boss/src/main/resources/template/tpl/bossInterviewJobTransfer/bossInterviewJobTransferAdd.html
已删除
100644 → 0
浏览文件 @
9f745355
<!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-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=
"transferStaffId"
name=
"transferStaffId"
win-verify=
"required"
placeholder=
"请选择申请人"
class=
"layui-input"
readonly=
"readonly"
/>
<i
class=
"fa fa-plus-circle input-icon transferStaffIdBtn"
style=
"top: 8px;"
></i>
</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 ver-center"
>
<div
class=
"layui-form-item layui-col-xs3"
id=
"primaryCompanyId"
>
</div>
<div
class=
"layui-form-item layui-col-xs3"
id=
"primaryDepartmentId"
>
</div>
<div
class=
"layui-form-item layui-col-xs3"
id=
"primaryJobId"
>
</div>
<div
class=
"layui-form-item layui-col-xs3"
id=
"primaryJobScoreId"
>
</div>
</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"
>
<div
class=
"layui-form-item layui-col-xs3"
>
<ul
id=
"demoTree1"
class=
"dtree"
data-id=
"0"
style=
"overflow-y: auto;height: 250px;"
></ul>
</div>
<div
class=
"layui-form-item layui-col-xs3"
>
<ul
id=
"demoTree2"
class=
"dtree"
data-id=
"0"
style=
"overflow-y: auto;height: 250px;"
></ul>
</div>
<div
class=
"layui-form-item layui-col-xs3"
>
<ul
id=
"demoTree3"
class=
"dtree"
data-id=
"0"
style=
"overflow-y: auto;height: 250px;"
></ul>
</div>
<div
class=
"layui-form-item layui-col-xs3"
>
<ul
id=
"demoTree4"
class=
"dtree"
data-id=
"0"
style=
"overflow-y: auto;height: 250px;"
></ul>
</div>
</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=
"transferType"
name=
"transferType"
lay-search=
""
win-verify=
"required"
lay-filter=
"transferType"
>
</select>
</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=
"remark"
name=
"remark"
win-verify=
"required"
placeholder=
"请输入调岗原因"
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"
id=
"enclosureUpload"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
type=
"button"
><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/bossInterviewJobTransfer/
'
}).
use
(
'
bossInterviewJobTransferAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
boss/src/main/resources/template/tpl/bossInterviewJobTransfer/bossInterviewJobTransferDetails.html
已删除
100644 → 0
浏览文件 @
9f745355
<!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-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
"
>
{{
transferStaffName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
原职位信息
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
{{
primaryCompanyName
}}
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
{{
primaryDepartmentName
}}
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
{{
primaryJobName
}}
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
{{
primaryJobScoreName
}}
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
现职位信息
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
{{
currentCompanyName
}}
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
{{
currentDepartmentName
}}
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
{{
currentJobName
}}
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
{{
currentJobScoreName
}}
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
调岗类型
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
transferTypeName
}}
<
/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
>
{{
/
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/bossInterviewJobTransfer/
'
}).
use
(
'
bossInterviewJobTransferDetails
'
);
</script>
</body>
</html>
\ No newline at end of file
boss/src/main/resources/template/tpl/bossInterviewJobTransfer/bossInterviewJobTransferEdit.html
已删除
100644 → 0
浏览文件 @
9f745355
<!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-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
=
"
transferStaffId
"
name
=
"
transferStaffId
"
win
-
verify
=
"
required
"
placeholder
=
"
请选择申请人
"
class
=
"
layui-input
"
readonly
=
"
readonly
"
value
=
"
{{transferStaffName}}
"
staffId
=
"
{{transferStaffId}}
"
/>
<
i
class
=
"
fa fa-plus-circle input-icon transferStaffIdBtn
"
style
=
"
top: 8px;
"
><
/i
>
<
/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 ver-center
"
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
id
=
"
primaryCompanyId
"
companyId
=
"
{{primaryCompanyId}}
"
>
{{
primaryCompanyName
}}
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
id
=
"
primaryDepartmentId
"
departmentId
=
"
{{primaryDepartmentId}}
"
>
{{
primaryDepartmentName
}}
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
id
=
"
primaryJobId
"
jobId
=
"
{{primaryJobId}}
"
>
{{
primaryJobName
}}
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
id
=
"
primaryJobScoreId
"
jobScoreId
=
"
{{primaryJobScoreId}}
"
>
{{
primaryJobScoreName
}}
<
/div
>
<
/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
"
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
<
ul
id
=
"
demoTree1
"
class
=
"
dtree
"
data
-
id
=
"
0
"
style
=
"
overflow-y: auto;height: 250px;
"
><
/ul
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
<
ul
id
=
"
demoTree2
"
class
=
"
dtree
"
data
-
id
=
"
0
"
style
=
"
overflow-y: auto;height: 250px;
"
><
/ul
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
<
ul
id
=
"
demoTree3
"
class
=
"
dtree
"
data
-
id
=
"
0
"
style
=
"
overflow-y: auto;height: 250px;
"
><
/ul
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs3
"
>
<
ul
id
=
"
demoTree4
"
class
=
"
dtree
"
data
-
id
=
"
0
"
style
=
"
overflow-y: auto;height: 250px;
"
><
/ul
>
<
/div
>
<
/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
=
"
transferType
"
name
=
"
transferType
"
lay
-
search
=
""
win
-
verify
=
"
required
"
lay
-
filter
=
"
transferType
"
>
<
/select
>
<
/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
=
"
remark
"
name
=
"
remark
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入调岗原因
"
class
=
"
layui-textarea
"
style
=
"
height: 100px;
"
>
{{
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-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/bossInterviewJobTransfer/
'
}).
use
(
'
bossInterviewJobTransferEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/customer/bossUtil.js
浏览文件 @
7bcefdb8
...
@@ -57,24 +57,6 @@ var bossUtil = {
...
@@ -57,24 +57,6 @@ var bossUtil = {
getLeaveTypeNameById
:
function
(
id
){
getLeaveTypeNameById
:
function
(
id
){
var
list
=
bossUtil
.
getLeaveTypeList
();
var
list
=
bossUtil
.
getLeaveTypeList
();
return
getInPoingArr
(
list
,
"
id
"
,
id
,
"
name
"
);
return
getInPoingArr
(
list
,
"
id
"
,
id
,
"
name
"
);
},
// 调岗类型
transferTypeList
:
{
"
flatTone
"
:
{
"
id
"
:
1
,
"
name
"
:
"
平调
"
},
"
promotion
"
:
{
"
id
"
:
2
,
"
name
"
:
"
晋升
"
},
"
demotion
"
:
{
"
id
"
:
3
,
"
name
"
:
"
降职
"
},
},
getTransferTypeList
:
function
()
{
var
list
=
[];
$
.
each
(
bossUtil
.
transferTypeList
,
function
(
key
,
value
)
{
list
.
push
(
value
);
});
return
list
;
},
getTransferTypeNameById
:
function
(
id
){
var
list
=
bossUtil
.
getTransferTypeList
();
return
getInPoingArr
(
list
,
"
id
"
,
id
,
"
name
"
);
}
}
};
};
\ No newline at end of file
web/src/main/resources/template/assets/lib/layui/customer/skyeye/dsFormUtil.js
浏览文件 @
7bcefdb8
...
@@ -160,7 +160,8 @@ var dsFormUtil = {
...
@@ -160,7 +160,8 @@ var dsFormUtil = {
value
=
data
;
value
=
data
;
}
}
var
showType
=
dsFormUtil
.
getShowType
(
content
.
attrDefinition
);
var
showType
=
dsFormUtil
.
getShowType
(
content
.
attrDefinition
);
if
(
showType
==
8
&&
dsFormComponent
.
numCode
==
'
userStaffChoose
'
)
{
if
(
showType
==
8
&&
(
dsFormComponent
.
numCode
==
'
userStaffChoose
'
||
dsFormComponent
.
numCode
==
'
staffChoose
'
))
{
var
key
=
attrDefinition
.
attrKey
;
var
key
=
attrDefinition
.
attrKey
;
// 例如:将key由relationUserId变为relationUserMation
// 例如:将key由relationUserId变为relationUserMation
key
=
dsFormUtil
.
getKeyIdToMation
(
key
);
key
=
dsFormUtil
.
getKeyIdToMation
(
key
);
...
@@ -421,7 +422,7 @@ var dsFormUtil = {
...
@@ -421,7 +422,7 @@ var dsFormUtil = {
}
}
// 加载html
// 加载html
var
str
=
''
;
var
str
=
''
;
if
(
component
.
numCode
==
'
userStaffChoose
'
)
{
if
(
component
.
numCode
==
'
userStaffChoose
'
||
component
.
numCode
==
'
staffChoose
'
)
{
str
=
getDataUseHandlebars
(
dsFormUtil
.
showType
[
'
8-1
'
],
{
bean
:
content
});
str
=
getDataUseHandlebars
(
dsFormUtil
.
showType
[
'
8-1
'
],
{
bean
:
content
});
}
else
{
}
else
{
str
=
getDataUseHandlebars
(
dsFormUtil
.
showType
[
showType
],
{
bean
:
content
});
str
=
getDataUseHandlebars
(
dsFormUtil
.
showType
[
showType
],
{
bean
:
content
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录