Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
office-web
Commits
1d5506c4
Commit
1d5506c4
authored
Aug 29, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改档案
parent
55871356
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
index.html
dist/index.html
+2
-2
15.276c1dea6267886d052c.js
dist/static/js/15.276c1dea6267886d052c.js
+2
-2
8.7a7d31bc43d1c81f9519.js
dist/static/js/8.7a7d31bc43d1c81f9519.js
+2
-2
manifest.193d09ddad148f82643d.js
dist/static/js/manifest.193d09ddad148f82643d.js
+2
-2
employeeList.vue
src/components/employeeRecord/employeeList.vue
+1
-1
No files found.
dist/index.html
View file @
1d5506c4
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.f1260e2b13117a3ab64cd955b8080fd4.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.33c1a088b35f6451581e.js
></script><script
type=
text/javascript
src=
./static/js/vendor.fe563ee1a7b37e2ffba9.js
></script><script
type=
text/javascript
src=
./static/js/app.3db1b7ce0f38f37ce6a9.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.f1260e2b13117a3ab64cd955b8080fd4.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.193d09ddad148f82643d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.fe563ee1a7b37e2ffba9.js
></script><script
type=
text/javascript
src=
./static/js/app.3db1b7ce0f38f37ce6a9.js
></script></body></html>
\ No newline at end of file
dist/static/js/15.
84bae29b7447e1791f3f
.js
→
dist/static/js/15.
276c1dea6267886d052c
.js
View file @
1d5506c4
webpackJsonp
([
15
],{
NNAT
:
function
(
e
,
t
,
a
){
"use strict"
;
var
o
=
a
(
"fZjL"
),
i
=
a
.
n
(
o
),
s
=
a
(
"mvHQ"
),
r
=
a
.
n
(
s
),
n
=
a
(
"P9l9"
),
l
=
a
(
"Xxa5"
),
c
=
a
.
n
(
l
),
d
=
a
(
"exGp"
),
p
=
a
.
n
(
d
),
u
=
a
(
"0xDb"
),
h
=
a
(
"unF8"
),
m
=
a
(
"Ch4/"
),
f
=
{
name
:
"list-item"
,
props
:{
item
:{
type
:
String
,
required
:
!
0
}},
filters
:{
formatDate
:
u
.
b
},
data
:
function
(){
return
{
typeList
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
statusList
:[
"全部"
,
"正式"
,
"试用"
,
"离职"
],
reasons
:[
""
,
"家庭原因"
,
"个人原因"
,
"发展原因"
,
"合同到期不续签"
,
"协议解除"
,
"无法胜任工作"
,
"经济性裁员"
,
"严重违法违纪"
,
"其他"
],
propList
:{
headPic
:{
label
:
""
,
slot
:
!
0
,
width
:
50
},
clerkName
:{
label
:
"姓名"
,
width
:
90
},
clerkPhone
:{
label
:
"手机号"
},
groupName
:{
label
:
"部门"
},
clerkCode
:{
label
:
"code"
},
positionName
:{
label
:
"职位"
},
clerkType
:{
label
:
"员工类型"
,
slot
:
!
0
},
clerkStatus
:{
label
:
"员工状态"
,
slot
:
!
0
},
hireDate
:{
label
:
"入职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
correctionDate
:{
label
:
"转正日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireDate
:{
label
:
"离职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireReason
:{
label
:
"离职原因"
,
slot
:
!
0
},
handleEmployee
:{
label
:
"操作"
,
slot
:
!
0
},
handleUnEmployee
:{
label
:
"操作"
,
slot
:
!
0
}}}},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
callHandle
:
function
(
e
){
if
(
"编辑员工资料"
!=
e
.
typeTitle
)
this
.
$emit
(
"callHandle"
,
e
.
obj
,
e
.
type
,
e
.
typeTitle
);
else
{
var
t
=
"/recordInfo?recordId="
+
e
.
obj
.
recordId
;
this
.
changeRouter
(
t
)}},
getGicData
:
function
(
e
){
var
t
=
this
;
return
p
()(
c
.
a
.
mark
(
function
a
(){
var
o
,
i
,
s
,
r
;
return
c
.
a
.
wrap
(
function
(
a
){
for
(;;)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
o
=
t
,
i
=
{
type
:
3
,
businessId
:
e
.
obj
.
recordId
},
a
.
next
=
4
,
Object
(
h
.
a
)(
i
);
case
4
:
if
(
s
=
a
.
sent
,
1
!=
(
r
=
s
.
data
).
errorCode
){
a
.
next
=
12
;
break
}
if
(
!
r
.
result
){
a
.
next
=
10
;
break
}
return
o
.
$message
.
error
({
duration
:
1
e3
,
message
:
"已经与 GIC 门店同步,暂无操作权限"
}),
a
.
abrupt
(
"return"
,
!
1
);
case
10
:
a
.
next
=
13
;
break
;
case
12
:
m
.
a
.
errorMsg
(
r
);
case
13
:
case
"end"
:
return
a
.
stop
()}},
a
,
t
)}))()}},
mounted
:
function
(){}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
e
.
propList
[
e
.
item
].
slot
?
a
(
"el-table-column"
,{
attrs
:{
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
sortable
:
e
.
propList
[
e
.
item
].
needSort
,
prop
:
e
.
item
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"clerkType"
==
e
.
item
?
a
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
typeList
[
t
.
row
[
e
.
item
]
||
5
])
+
"
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"clerkStatus"
==
e
.
item
?
a
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
statusList
[
t
.
row
[
e
.
item
]]
||
"无状态"
)
+
"
\
n "
)]):
"hireDate"
==
e
.
item
||
"correctionDate"
==
e
.
item
||
"fireDate"
==
e
.
item
?
a
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatDate"
)(
t
.
row
[
e
.
item
],
"YY-MM-DD"
)
||
"--"
)
+
"
\
n "
)]):
"headPic"
==
e
.
item
?
a
(
"div"
,[
t
.
row
[
e
.
item
]?
a
(
"img"
,{
staticClass
:
"header-pic"
,
attrs
:{
src
:
t
.
row
[
e
.
item
]}}):
a
(
"div"
,{
staticClass
:
"replace-head-img"
},[
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])]):
"fireReason"
==
e
.
item
?
a
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
reasons
[
t
.
row
[
e
.
item
]]
||
"--"
)
+
"
\
n "
)]):
"handleEmployee"
==
e
.
item
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"table-handle"
},[
a
(
"el-dropdown"
,{
staticClass
:
"more"
,
on
:{
command
:
e
.
callHandle
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
e
.
_v
(
" 更多"
),
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
2
==
t
.
row
.
clerkStatus
?[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"turnPositive"
,
typeTitle
:
"办理转正"
}}},[
e
.
_v
(
"办理转正"
)]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"eidtCorrectionTime"
,
typeTitle
:
"修改转正时间"
}}},[
e
.
_v
(
"修改转正时间"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"editEmployee"
,
typeTitle
:
"编辑员工资料"
}}},[
e
.
_v
(
"编辑员工资料"
)]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"resignation"
,
typeTitle
:
"办理离职"
}}},[
e
.
_v
(
"办理离职"
)])],
2
)],
1
)],
1
)]):
"handleUnEmployee"
==
e
.
item
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"table-handle"
},[
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
changeRouter
(
"/recordInfo?recordId="
+
t
.
row
.
recordId
+
"&type=unemployee"
)}}},[
e
.
_v
(
"编辑"
)])])]):
e
.
_e
()]}}])}):
"clerkPhone"
!=
e
.
item
?
a
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"clerkName"
==
e
.
item
?
"control-width"
:
""
,
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
prop
:
e
.
item
,
"show-overflow-tooltip"
:
""
}}):
"clerkPhone"
==
e
.
item
?
a
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"clerkName"
==
e
.
item
?
"control-width"
:
""
,
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
prop
:
e
.
item
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
"86"
==
t
.
row
.
nationcode
||
null
==
t
.
row
.
nationcode
?
t
.
row
.
clerkPhone
:
"+"
+
t
.
row
.
nationcode
+
"-"
+
t
.
row
.
clerkPhone
)
+
"
\
n "
)]}}])}):
e
.
_e
()},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
f
,
y
,
!
1
,
function
(
e
){
a
(
"yjiq"
)},
null
,
null
).
exports
,
v
=
a
(
"IVno"
),
S
=
a
(
"Ie7z"
),
k
=
a
(
"c4uw"
),
b
=
{
name
:
"employeeRecordList"
,
props
:{
isUnEmployee
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
listItem
:
g
,
handleDialog
:
v
.
a
,
vueSelectStore
:
S
.
a
,
vueSelectEmployee
:
k
.
a
},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
440
-
160
,
pickerOptions2
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}}]},
employeeList
:[],
pageNum
:
1
,
pageSize
:
20
,
sortType
:
"desc"
,
sortColumn
:
"hireDate"
,
statusList
:[{
label
:
"全部状态"
,
id
:
"0"
},{
label
:
"正式"
,
id
:
"1"
},{
label
:
"试用"
,
id
:
"2"
},{
label
:
"无状态"
,
id
:
"-1"
}],
typeLsit
:[
"全部类型"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
clerkType
:
0
,
clerkStatus
:
"0"
,
total
:
0
,
handleType
:
"turnPositive"
,
typeTitle
:
""
,
dialogVisible
:
!
1
,
employeeObj
:{},
fireDate
:[],
startDate
:
""
,
endDate
:
""
,
showSelector
:
!
0
,
searchParam
:
""
,
departMentSet
:{},
storeSet
:{},
treeData
:{},
selectionList
:[],
disabled
:
!
0
,
chooseClerkIdList
:[],
chooseGroupIdList
:[],
chooseStoreIdList
:[],
adDefaultSelection
:[],
changed
:
0
,
defaultStoreList
:[],
treeSetDepart
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
treeSetStore
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
}}},
methods
:{
searchFn
:
function
(){
this
.
getEmloyeeList
()},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
a
=
[],
o
=
[];
1
==
t
.
data
.
errorCode
&&
(
a
=
t
.
data
.
result
.
departmentList
||
[],
o
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
a
,
personData
:
o
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
callSelector
:
function
(){
this
.
treeSetDepart
.
dialogVisible
=!
0
},
callStoreSelector
:
function
(){
this
.
treeSetStore
.
dialogVisible
=!
0
},
showExportSet
:
function
(){
if
(
this
.
isUnEmployee
){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)
&&
(
e
=
"http://www.gicdev.com"
);
var
t
=
0
==
this
.
clerkType
?
""
:
this
.
clerkType
;
location
.
href
=
e
+
"/haoban-manage-web/record/export-fire-employee-record?clerkType="
+
t
+
"&sortType="
+
this
.
sortType
+
"&sortColumn="
+
this
.
sortColumn
+
"&startDate="
+
this
.
startDate
+
"&endDate="
+
this
.
endDate
+
"&searchParam="
+
this
.
searchParam
+
"&chooseClerkIdList="
+
this
.
chooseClerkIdList
.
join
(
","
)
+
"&chooseGroupIdList="
+
this
.
chooseGroupIdList
.
join
(
","
)
+
"&chooseStoreIdList="
+
this
.
chooseStoreIdList
.
join
(
","
)}
else
this
.
$emit
(
"showExportSetFn"
)},
handleSelectedList
:
function
(
e
){
this
.
adDefaultSelection
=
e
||
[],
this
.
concatList
()},
handleStoreSelectedList
:
function
(
e
){
this
.
defaultStoreList
=
e
||
[],
this
.
concatList
()},
concatList
:
function
(){
this
.
selectionList
=
this
.
adDefaultSelection
.
concat
(
this
.
defaultStoreList
),
this
.
formatSelectionList
(
this
.
selectionList
)},
formatSelectionList
:
function
(
e
){
var
t
=
this
,
a
=
t
.
unique
(
e
);
t
.
selectionList
=
a
,
t
.
chooseClerkIdList
=
[],
t
.
chooseStoreIdList
=
[],
t
.
chooseGroupIdList
=
[],
a
.
length
&&
a
.
forEach
(
function
(
e
){
1
==
e
.
type
?
t
.
chooseClerkIdList
.
push
(
e
.
employeeClerkId
):
3
==
e
.
type
?
t
.
chooseStoreIdList
.
push
(
e
.
storeId
):
2
==
e
.
type
&&
t
.
chooseGroupIdList
.
push
(
e
.
groupId
)}),
t
.
pageNum
=
1
,
t
.
getEmloyeeList
()},
unique
:
function
(
e
){
var
t
=
{};
return
e
.
forEach
(
function
(
e
){
t
[
r
()(
e
)]
=
e
}),
e
=
i
()(
t
).
map
(
function
(
e
){
return
JSON
.
parse
(
e
)})},
delSld
:
function
(
e
,
t
){
var
a
=
this
,
o
=
a
.
selectionList
.
indexOf
(
e
);
a
.
selectionList
.
splice
(
o
,
1
),(
3
==
e
.
type
||
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
1
==
e
.
isStoreGroup
||
e
.
hasOwnProperty
(
"isClerk"
)
&&
1
==
e
.
isClerk
)
&&
a
.
defaultStoreList
.
forEach
(
function
(
t
,
o
){
t
.
id
==
e
.
id
&&
a
.
defaultStoreList
.
splice
(
o
,
1
)}),(
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
0
==
e
.
isStoreGroup
||
e
.
hasOwnProperty
(
"isClerk"
)
&&
0
==
e
.
isClerk
)
&&
a
.
adDefaultSelection
.
forEach
(
function
(
t
,
o
){
t
.
id
==
e
.
id
&&
a
.
adDefaultSelection
.
splice
(
o
,
1
)}),
a
.
formatSelectionList
(
a
.
selectionList
),
a
.
changed
+=
1
},
handleSuccess
:
function
(){
this
.
dialogVisible
=!
1
,
this
.
getEmloyeeList
()},
callHandle
:
function
(
e
,
t
,
a
){
this
.
handleType
=
t
,
this
.
employeeObj
=
e
,
this
.
typeTitle
=
a
,
this
.
dialogVisible
=!
0
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getEmloyeeList
()},
handleCurrentChange
:
function
(
e
){
this
.
pageNum
=
e
,
this
.
getEmloyeeList
()},
sortList
:
function
(
e
){
this
.
sortColumn
=
e
.
prop
,
this
.
sortType
=
"descending"
==
e
.
order
?
"desc"
:
"asc"
,
this
.
getEmloyeeList
()},
reGetList
:
function
(){
this
.
getEmloyeeList
()},
getEmloyeeList
:
function
(){
var
e
=
this
,
t
=
e
.
isUnEmployee
,
a
=
t
?
"/haoban-manage-web/record/find-fire-employee-record-page"
:
"/haoban-manage-web/record/find-on-work-employee-record-page"
,
o
=
{
pageNum
:
e
.
pageNum
,
chooseClerkIdList
:
e
.
chooseClerkIdList
.
join
(
","
),
chooseGroupIdList
:
e
.
chooseGroupIdList
.
join
(
","
),
chooseStoreIdList
:
e
.
chooseStoreIdList
.
join
(
","
),
pageSize
:
e
.
pageSize
,
sortType
:
e
.
sortType
,
clerkStatus
:
0
==
e
.
clerkStatus
?
""
:
e
.
clerkStatus
,
sortColumn
:
e
.
sortColumn
,
clerkType
:
0
==
e
.
clerkType
?
""
:
e
.
clerkType
,
startDate
:
e
.
startDate
,
endDate
:
e
.
endDate
,
searchParam
:
e
.
searchParam
};
Object
(
n
.
a
)(
a
,
o
).
then
(
function
(
a
){
1
==
a
.
data
.
errorCode
?(
e
.
employeeList
=
a
.
data
.
result
.
list
,
e
.
total
=
t
?
a
.
data
.
result
.
total
:
a
.
data
.
result
.
pageInfo
.
total
):
e
.
$message
.
error
({
message
:
a
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
({
message
:
t
.
message
})})},
selectDate
:
function
(
e
){
e
?(
this
.
startDate
=
e
[
0
],
this
.
endDate
=
e
[
1
]):(
this
.
startDate
=
""
,
this
.
endDate
=
""
),
this
.
getEmloyeeList
()}},
beforeMount
:
function
(){
this
.
getEmloyeeList
(),
this
.
getGroupData
()},
computed
:{
propList
:
function
(){
return
this
.
isUnEmployee
?[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"clerkStatus"
,
"hireDate"
,
"fireDate"
,
"fireReason"
,
"handleUnEmployee"
]:[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"clerkStatus"
,
"hireDate"
,
"correctionDate"
,
"handleEmployee"
]}}},
L
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"e-r-l-container"
},[
a
(
"div"
,{
staticClass
:
"handle-area"
},[
a
(
"div"
,{
staticClass
:
"flex1"
},[
a
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
attrs
:{
disabled
:
e
.
disabled
},
on
:{
click
:
e
.
callSelector
}},[
e
.
_v
(
"行政架构选人"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
on
:{
click
:
e
.
callStoreSelector
}},[
e
.
_v
(
"门店架构选人"
)]),
e
.
_v
(
" "
),
e
.
isUnEmployee
?
a
(
"div"
,{
staticClass
:
"block"
},[
a
(
"span"
,{
staticClass
:
"demonstration"
},[
e
.
_v
(
"离职日期"
)]),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
align
:
"right"
,
"value-format"
:
"yyyy-MM-dd"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:
e
.
pickerOptions2
},
on
:{
change
:
e
.
selectDate
},
model
:{
value
:
e
.
fireDate
,
callback
:
function
(
t
){
e
.
fireDate
=
t
},
expression
:
"fireDate"
}})],
1
):[
a
(
"el-select"
,{
staticClass
:
"m-r-10 w-130"
,
attrs
:{
placeholder
:
"选择类型"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkType
,
callback
:
function
(
t
){
e
.
clerkType
=
t
},
expression
:
"clerkType"
}},
e
.
_l
(
e
.
typeLsit
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})})),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"选择状态"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkStatus
,
callback
:
function
(
t
){
e
.
clerkStatus
=
t
},
expression
:
"clerkStatus"
}},
e
.
_l
(
e
.
statusList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
id
}})})),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"demonstration"
},[
e
.
_v
(
"入职时间"
)]),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
align
:
"right"
,
"value-format"
:
"yyyy-MM-dd"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:
e
.
pickerOptions2
},
on
:{
change
:
e
.
selectDate
},
model
:{
value
:
e
.
fireDate
,
callback
:
function
(
t
){
e
.
fireDate
=
t
},
expression
:
"fireDate"
}})],
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticStyle
:{
width
:
"218px"
,
"margin-left"
:
"10px"
},
attrs
:{
placeholder
:
"请输入姓名/手机号/code"
,
clearable
:
""
},
on
:{
clear
:
e
.
searchFn
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchFn
(
t
):
null
}},
model
:{
value
:
e
.
searchParam
,
callback
:
function
(
t
){
e
.
searchParam
=
t
},
expression
:
"searchParam"
}})],
2
),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showExportSet
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
),
e
.
_v
(
" "
),
e
.
selectionList
.
length
?
a
(
"ul"
,{
staticClass
:
"selector-selected-list"
},[
e
.
_l
(
e
.
selectionList
,
function
(
t
,
o
){
return
[
a
(
"li"
,{
key
:
o
+
t
.
id
+
t
.
label
,
staticClass
:
"sld"
},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
a
){
e
.
delSld
(
t
,
t
.
isStoreGroup
)}}})])]}),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"sld tip"
},[
e
.
_v
(
"共筛选出"
+
e
.
_s
(
e
.
total
)
+
"人"
)])],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticClass
:
"list-table"
,
attrs
:{
data
:
e
.
employeeList
,
"default-sort"
:{
prop
:
"hireDate"
,
order
:
"descending"
}},
on
:{
"sort-change"
:
e
.
sortList
}},[
e
.
_l
(
e
.
propList
,
function
(
t
){
return
[
a
(
"list-item"
,{
key
:
t
,
attrs
:{
item
:
t
},
on
:{
callHandle
:
e
.
callHandle
}})]})],
2
),
e
.
_v
(
" "
),
e
.
employeeList
.
length
?
a
(
"el-pagination"
,{
staticClass
:
"pagination"
,
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
pageNum
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
typeTitle
,
visible
:
e
.
dialogVisible
,
width
:
"480px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"handle-dialog"
,{
attrs
:{
employee
:
e
.
employeeObj
,
handleType
:
e
.
handleType
,
typeTitle
:
e
.
typeTitle
},
on
:{
handleSuccess
:
e
.
handleSuccess
}})],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
defaultList
:
e
.
defaultStoreList
,
treeSet
:
e
.
treeSetStore
},
on
:{
handleSelectedList
:
e
.
handleStoreSelectedList
}}),
e
.
_v
(
" "
),
a
(
"vue-select-employee"
,{
ref
:
"departmentSelector"
,
attrs
:{
treeSet
:
e
.
treeSetDepart
,
changed
:
e
.
changed
,
treeData
:
e
.
treeData
,
defaultSelection
:
e
.
adDefaultSelection
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
w
=
a
(
"VU/8"
)(
b
,
L
,
!
1
,
function
(
e
){
a
(
"WZxo"
)},
null
,
null
);
t
.
a
=
w
.
exports
},
TGrv
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"3Xzz"
),
i
=
a
(
"NNAT"
),
s
=
{
name
:
"employeeRecord"
,
components
:{
navCrumb
:
o
.
a
,
employeeList
:
i
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"员工档案"
,
path
:
"/fileSet"
},{
name
:
"离职员工"
,
path
:
""
}],
typeObj
:{
onWorkCout
:
"在职员工"
,
allWorkCount
:
"全职"
,
partTimeWorkCount
:
"兼职"
,
outWorkCount
:
"外包"
,
practiceWorkCount
:
"实习"
,
noTypeWorkCount
:
"无类型"
,
regularCount
:
"正式"
,
onTrialCount
:
"试用"
,
noStatusCount
:
"无状态"
},
countObj
:{}}},
beforeMount
:
function
(){}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap unemployee-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"e-record-container"
},[
t
(
"employee-list"
,{
attrs
:{
isUnEmployee
:
!
0
}})],
1
)])]),
this
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
s
,
r
,
!
1
,
function
(
e
){
a
(
"XAGK"
)},
null
,
null
);
t
.
default
=
n
.
exports
},
WZxo
:
function
(
e
,
t
){},
XAGK
:
function
(
e
,
t
){},
yjiq
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
15
],{
NNAT
:
function
(
e
,
t
,
a
){
"use strict"
;
var
o
=
a
(
"fZjL"
),
i
=
a
.
n
(
o
),
s
=
a
(
"mvHQ"
),
r
=
a
.
n
(
s
),
n
=
a
(
"P9l9"
),
l
=
a
(
"Xxa5"
),
c
=
a
.
n
(
l
),
d
=
a
(
"exGp"
),
p
=
a
.
n
(
d
),
u
=
a
(
"0xDb"
),
h
=
a
(
"unF8"
),
m
=
a
(
"Ch4/"
),
f
=
{
name
:
"list-item"
,
props
:{
item
:{
type
:
String
,
required
:
!
0
}},
filters
:{
formatDate
:
u
.
b
},
data
:
function
(){
return
{
typeList
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
statusList
:[
"全部"
,
"正式"
,
"试用"
,
"离职"
],
reasons
:[
""
,
"家庭原因"
,
"个人原因"
,
"发展原因"
,
"合同到期不续签"
,
"协议解除"
,
"无法胜任工作"
,
"经济性裁员"
,
"严重违法违纪"
,
"其他"
],
propList
:{
headPic
:{
label
:
""
,
slot
:
!
0
,
width
:
50
},
clerkName
:{
label
:
"姓名"
,
width
:
90
},
clerkPhone
:{
label
:
"手机号"
},
groupName
:{
label
:
"部门"
},
clerkCode
:{
label
:
"code"
},
positionName
:{
label
:
"职位"
},
clerkType
:{
label
:
"员工类型"
,
slot
:
!
0
},
clerkStatus
:{
label
:
"员工状态"
,
slot
:
!
0
},
hireDate
:{
label
:
"入职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
correctionDate
:{
label
:
"转正日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireDate
:{
label
:
"离职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireReason
:{
label
:
"离职原因"
,
slot
:
!
0
},
handleEmployee
:{
label
:
"操作"
,
slot
:
!
0
},
handleUnEmployee
:{
label
:
"操作"
,
slot
:
!
0
}}}},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
callHandle
:
function
(
e
){
if
(
"编辑员工资料"
!=
e
.
typeTitle
)
this
.
$emit
(
"callHandle"
,
e
.
obj
,
e
.
type
,
e
.
typeTitle
);
else
{
var
t
=
"/recordInfo?recordId="
+
e
.
obj
.
recordId
;
this
.
changeRouter
(
t
)}},
getGicData
:
function
(
e
){
var
t
=
this
;
return
p
()(
c
.
a
.
mark
(
function
a
(){
var
o
,
i
,
s
,
r
;
return
c
.
a
.
wrap
(
function
(
a
){
for
(;;)
switch
(
a
.
prev
=
a
.
next
){
case
0
:
return
o
=
t
,
i
=
{
type
:
3
,
businessId
:
e
.
obj
.
recordId
},
a
.
next
=
4
,
Object
(
h
.
a
)(
i
);
case
4
:
if
(
s
=
a
.
sent
,
1
!=
(
r
=
s
.
data
).
errorCode
){
a
.
next
=
12
;
break
}
if
(
!
r
.
result
){
a
.
next
=
10
;
break
}
return
o
.
$message
.
error
({
duration
:
1
e3
,
message
:
"已经与 GIC 门店同步,暂无操作权限"
}),
a
.
abrupt
(
"return"
,
!
1
);
case
10
:
a
.
next
=
13
;
break
;
case
12
:
m
.
a
.
errorMsg
(
r
);
case
13
:
case
"end"
:
return
a
.
stop
()}},
a
,
t
)}))()}},
mounted
:
function
(){}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
e
.
propList
[
e
.
item
].
slot
?
a
(
"el-table-column"
,{
attrs
:{
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
sortable
:
e
.
propList
[
e
.
item
].
needSort
,
prop
:
e
.
item
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"clerkType"
==
e
.
item
?
a
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
typeList
[
t
.
row
[
e
.
item
]
||
5
])
+
"
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"clerkStatus"
==
e
.
item
?
a
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
statusList
[
t
.
row
[
e
.
item
]]
||
"无状态"
)
+
"
\
n "
)]):
"hireDate"
==
e
.
item
||
"correctionDate"
==
e
.
item
||
"fireDate"
==
e
.
item
?
a
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatDate"
)(
t
.
row
[
e
.
item
],
"YY-MM-DD"
)
||
"--"
)
+
"
\
n "
)]):
"headPic"
==
e
.
item
?
a
(
"div"
,[
t
.
row
[
e
.
item
]?
a
(
"img"
,{
staticClass
:
"header-pic"
,
attrs
:{
src
:
t
.
row
[
e
.
item
]}}):
a
(
"div"
,{
staticClass
:
"replace-head-img"
},[
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])]):
"fireReason"
==
e
.
item
?
a
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
reasons
[
t
.
row
[
e
.
item
]]
||
"--"
)
+
"
\
n "
)]):
"handleEmployee"
==
e
.
item
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"table-handle"
},[
a
(
"el-dropdown"
,{
staticClass
:
"more"
,
on
:{
command
:
e
.
callHandle
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
e
.
_v
(
" 更多"
),
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
2
==
t
.
row
.
clerkStatus
?[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"turnPositive"
,
typeTitle
:
"办理转正"
}}},[
e
.
_v
(
"办理转正"
)]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"eidtCorrectionTime"
,
typeTitle
:
"修改转正时间"
}}},[
e
.
_v
(
"修改转正时间"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"editEmployee"
,
typeTitle
:
"编辑员工资料"
}}},[
e
.
_v
(
"编辑员工资料"
)]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"resignation"
,
typeTitle
:
"办理离职"
}}},[
e
.
_v
(
"办理离职"
)])],
2
)],
1
)],
1
)]):
"handleUnEmployee"
==
e
.
item
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"table-handle"
},[
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
changeRouter
(
"/recordInfo?recordId="
+
t
.
row
.
recordId
+
"&type=unemployee"
)}}},[
e
.
_v
(
"编辑"
)])])]):
e
.
_e
()]}}])}):
"clerkPhone"
!=
e
.
item
?
a
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"clerkName"
==
e
.
item
?
"control-width"
:
""
,
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
prop
:
e
.
item
,
"show-overflow-tooltip"
:
""
}}):
"clerkPhone"
==
e
.
item
?
a
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"clerkName"
==
e
.
item
?
"control-width"
:
""
,
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
prop
:
e
.
item
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
"86"
==
t
.
row
.
nationcode
||
null
==
t
.
row
.
nationcode
?
t
.
row
.
clerkPhone
:
"+"
+
t
.
row
.
nationcode
+
"-"
+
t
.
row
.
clerkPhone
)
+
"
\
n "
)]}}])}):
e
.
_e
()},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
f
,
y
,
!
1
,
function
(
e
){
a
(
"yjiq"
)},
null
,
null
).
exports
,
v
=
a
(
"IVno"
),
S
=
a
(
"Ie7z"
),
k
=
a
(
"c4uw"
),
b
=
{
name
:
"employeeRecordList"
,
props
:{
isUnEmployee
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
listItem
:
g
,
handleDialog
:
v
.
a
,
vueSelectStore
:
S
.
a
,
vueSelectEmployee
:
k
.
a
},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
440
-
160
,
pickerOptions2
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}}]},
employeeList
:[],
pageNum
:
1
,
pageSize
:
20
,
sortType
:
"desc"
,
sortColumn
:
"hireDate"
,
statusList
:[{
label
:
"全部状态"
,
id
:
"0"
},{
label
:
"正式"
,
id
:
"1"
},{
label
:
"试用"
,
id
:
"2"
},{
label
:
"无状态"
,
id
:
"-1"
}],
typeLsit
:[
"全部类型"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
clerkType
:
0
,
clerkStatus
:
"0"
,
total
:
0
,
handleType
:
"turnPositive"
,
typeTitle
:
""
,
dialogVisible
:
!
1
,
employeeObj
:{},
fireDate
:[],
startDate
:
""
,
endDate
:
""
,
showSelector
:
!
0
,
searchParam
:
""
,
departMentSet
:{},
storeSet
:{},
treeData
:{},
selectionList
:[],
disabled
:
!
0
,
chooseClerkIdList
:[],
chooseGroupIdList
:[],
chooseStoreIdList
:[],
adDefaultSelection
:[],
changed
:
0
,
defaultStoreList
:[],
treeSetDepart
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
treeSetStore
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
}}},
methods
:{
searchFn
:
function
(){
this
.
getEmloyeeList
()},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
a
=
[],
o
=
[];
1
==
t
.
data
.
errorCode
&&
(
a
=
t
.
data
.
result
.
departmentList
||
[],
o
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
a
,
personData
:
o
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
callSelector
:
function
(){
this
.
treeSetDepart
.
dialogVisible
=!
0
},
callStoreSelector
:
function
(){
this
.
treeSetStore
.
dialogVisible
=!
0
},
showExportSet
:
function
(){
if
(
this
.
isUnEmployee
){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)
&&
(
e
=
"http://www.gicdev.com"
);
var
t
=
0
==
this
.
clerkType
?
""
:
this
.
clerkType
;
location
.
href
=
e
+
"/haoban-manage-web/record/export-fire-employee-record?clerkType="
+
t
+
"&sortType="
+
this
.
sortType
+
"&sortColumn="
+
this
.
sortColumn
+
"&startDate="
+
this
.
startDate
+
"&endDate="
+
this
.
endDate
+
"&searchParam="
+
this
.
searchParam
+
"&chooseClerkIdList="
+
this
.
chooseClerkIdList
.
join
(
","
)
+
"&chooseGroupIdList="
+
this
.
chooseGroupIdList
.
join
(
","
)
+
"&chooseStoreIdList="
+
this
.
chooseStoreIdList
.
join
(
","
)}
else
this
.
$emit
(
"showExportSetFn"
)},
handleSelectedList
:
function
(
e
){
this
.
adDefaultSelection
=
e
||
[],
this
.
concatList
()},
handleStoreSelectedList
:
function
(
e
){
this
.
defaultStoreList
=
e
||
[],
this
.
concatList
()},
concatList
:
function
(){
this
.
selectionList
=
this
.
adDefaultSelection
.
concat
(
this
.
defaultStoreList
),
this
.
formatSelectionList
(
this
.
selectionList
)},
formatSelectionList
:
function
(
e
){
var
t
=
this
,
a
=
t
.
unique
(
e
);
t
.
selectionList
=
a
,
t
.
chooseClerkIdList
=
[],
t
.
chooseStoreIdList
=
[],
t
.
chooseGroupIdList
=
[],
a
.
length
&&
a
.
forEach
(
function
(
e
){
1
==
e
.
type
?
t
.
chooseClerkIdList
.
push
(
e
.
employeeClerkId
):
3
==
e
.
type
?
t
.
chooseStoreIdList
.
push
(
e
.
storeId
):
2
==
e
.
type
&&
t
.
chooseGroupIdList
.
push
(
e
.
groupId
)}),
t
.
pageNum
=
1
,
t
.
getEmloyeeList
()},
unique
:
function
(
e
){
var
t
=
{};
return
e
.
forEach
(
function
(
e
){
t
[
r
()(
e
)]
=
e
}),
e
=
i
()(
t
).
map
(
function
(
e
){
return
JSON
.
parse
(
e
)})},
delSld
:
function
(
e
,
t
){
var
a
=
this
,
o
=
a
.
selectionList
.
indexOf
(
e
);
a
.
selectionList
.
splice
(
o
,
1
),(
3
==
e
.
type
||
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
1
==
e
.
isStoreGroup
||
e
.
hasOwnProperty
(
"isClerk"
)
&&
1
==
e
.
isClerk
)
&&
a
.
defaultStoreList
.
forEach
(
function
(
t
,
o
){
t
.
id
==
e
.
id
&&
a
.
defaultStoreList
.
splice
(
o
,
1
)}),(
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
0
==
e
.
isStoreGroup
||
e
.
hasOwnProperty
(
"isClerk"
)
&&
0
==
e
.
isClerk
)
&&
a
.
adDefaultSelection
.
forEach
(
function
(
t
,
o
){
t
.
id
==
e
.
id
&&
a
.
adDefaultSelection
.
splice
(
o
,
1
)}),
a
.
formatSelectionList
(
a
.
selectionList
),
a
.
changed
+=
1
},
handleSuccess
:
function
(){
this
.
dialogVisible
=!
1
,
this
.
getEmloyeeList
()},
callHandle
:
function
(
e
,
t
,
a
){
this
.
handleType
=
t
,
this
.
employeeObj
=
e
,
this
.
typeTitle
=
a
,
this
.
dialogVisible
=!
0
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getEmloyeeList
()},
handleCurrentChange
:
function
(
e
){
this
.
pageNum
=
e
,
this
.
getEmloyeeList
()},
sortList
:
function
(
e
){
this
.
sortColumn
=
e
.
prop
,
this
.
sortType
=
"descending"
==
e
.
order
?
"desc"
:
"asc"
,
this
.
getEmloyeeList
()},
reGetList
:
function
(){
this
.
getEmloyeeList
()},
getEmloyeeList
:
function
(){
var
e
=
this
,
t
=
e
.
isUnEmployee
,
a
=
t
?
"/haoban-manage-web/record/find-fire-employee-record-page"
:
"/haoban-manage-web/record/find-on-work-employee-record-page"
,
o
=
{
pageNum
:
e
.
pageNum
,
chooseClerkIdList
:
e
.
chooseClerkIdList
.
join
(
","
),
chooseGroupIdList
:
e
.
chooseGroupIdList
.
join
(
","
),
chooseStoreIdList
:
e
.
chooseStoreIdList
.
join
(
","
),
pageSize
:
e
.
pageSize
,
sortType
:
e
.
sortType
,
clerkStatus
:
0
==
e
.
clerkStatus
?
""
:
e
.
clerkStatus
,
sortColumn
:
e
.
sortColumn
,
clerkType
:
0
==
e
.
clerkType
?
""
:
e
.
clerkType
,
startDate
:
e
.
startDate
,
endDate
:
e
.
endDate
,
searchParam
:
e
.
searchParam
};
Object
(
n
.
a
)(
a
,
o
).
then
(
function
(
a
){
1
==
a
.
data
.
errorCode
?(
e
.
employeeList
=
a
.
data
.
result
.
list
,
e
.
total
=
t
?
a
.
data
.
result
.
total
:
a
.
data
.
result
.
pageInfo
.
total
):
e
.
$message
.
error
({
message
:
a
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
({
message
:
t
.
message
})})},
selectDate
:
function
(
e
){
e
?(
this
.
startDate
=
e
[
0
],
this
.
endDate
=
e
[
1
]):(
this
.
startDate
=
""
,
this
.
endDate
=
""
),
this
.
getEmloyeeList
()}},
beforeMount
:
function
(){
this
.
getEmloyeeList
(),
this
.
getGroupData
()},
computed
:{
propList
:
function
(){
return
this
.
isUnEmployee
?[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"clerkStatus"
,
"hireDate"
,
"fireDate"
,
"fireReason"
,
"handleUnEmployee"
]:[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"clerkStatus"
,
"hireDate"
,
"correctionDate"
,
"handleEmployee"
]}}},
L
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"e-r-l-container"
},[
a
(
"div"
,{
staticClass
:
"handle-area"
},[
a
(
"div"
,{
staticClass
:
"flex1"
},[
a
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
attrs
:{
disabled
:
e
.
disabled
},
on
:{
click
:
e
.
callSelector
}},[
e
.
_v
(
"行政架构选人"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
on
:{
click
:
e
.
callStoreSelector
}},[
e
.
_v
(
"门店架构选人"
)]),
e
.
_v
(
" "
),
e
.
isUnEmployee
?
a
(
"div"
,{
staticClass
:
"block"
},[
a
(
"span"
,{
staticClass
:
"demonstration"
},[
e
.
_v
(
"离职日期"
)]),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
align
:
"right"
,
"value-format"
:
"yyyy-MM-dd"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:
e
.
pickerOptions2
},
on
:{
change
:
e
.
selectDate
},
model
:{
value
:
e
.
fireDate
,
callback
:
function
(
t
){
e
.
fireDate
=
t
},
expression
:
"fireDate"
}})],
1
):[
a
(
"el-select"
,{
staticClass
:
"m-r-10 w-130"
,
attrs
:{
placeholder
:
"选择类型"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkType
,
callback
:
function
(
t
){
e
.
clerkType
=
t
},
expression
:
"clerkType"
}},
e
.
_l
(
e
.
typeLsit
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})})),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"选择状态"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkStatus
,
callback
:
function
(
t
){
e
.
clerkStatus
=
t
},
expression
:
"clerkStatus"
}},
e
.
_l
(
e
.
statusList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
id
}})})),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"demonstration"
,
staticStyle
:{
"line-height"
:
"34px"
}},[
e
.
_v
(
"入职时间"
)]),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
align
:
"right"
,
"value-format"
:
"yyyy-MM-dd"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:
e
.
pickerOptions2
},
on
:{
change
:
e
.
selectDate
},
model
:{
value
:
e
.
fireDate
,
callback
:
function
(
t
){
e
.
fireDate
=
t
},
expression
:
"fireDate"
}})],
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticStyle
:{
width
:
"218px"
,
"margin-left"
:
"10px"
},
attrs
:{
placeholder
:
"请输入姓名/手机号/code"
,
clearable
:
""
},
on
:{
clear
:
e
.
searchFn
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchFn
(
t
):
null
}},
model
:{
value
:
e
.
searchParam
,
callback
:
function
(
t
){
e
.
searchParam
=
t
},
expression
:
"searchParam"
}})],
2
),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showExportSet
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
),
e
.
_v
(
" "
),
e
.
selectionList
.
length
?
a
(
"ul"
,{
staticClass
:
"selector-selected-list"
},[
e
.
_l
(
e
.
selectionList
,
function
(
t
,
o
){
return
[
a
(
"li"
,{
key
:
o
+
t
.
id
+
t
.
label
,
staticClass
:
"sld"
},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
a
){
e
.
delSld
(
t
,
t
.
isStoreGroup
)}}})])]}),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"sld tip"
},[
e
.
_v
(
"共筛选出"
+
e
.
_s
(
e
.
total
)
+
"人"
)])],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticClass
:
"list-table"
,
attrs
:{
data
:
e
.
employeeList
,
"default-sort"
:{
prop
:
"hireDate"
,
order
:
"descending"
}},
on
:{
"sort-change"
:
e
.
sortList
}},[
e
.
_l
(
e
.
propList
,
function
(
t
){
return
[
a
(
"list-item"
,{
key
:
t
,
attrs
:{
item
:
t
},
on
:{
callHandle
:
e
.
callHandle
}})]})],
2
),
e
.
_v
(
" "
),
e
.
employeeList
.
length
?
a
(
"el-pagination"
,{
staticClass
:
"pagination"
,
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
pageNum
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
typeTitle
,
visible
:
e
.
dialogVisible
,
width
:
"480px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"handle-dialog"
,{
attrs
:{
employee
:
e
.
employeeObj
,
handleType
:
e
.
handleType
,
typeTitle
:
e
.
typeTitle
},
on
:{
handleSuccess
:
e
.
handleSuccess
}})],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
defaultList
:
e
.
defaultStoreList
,
treeSet
:
e
.
treeSetStore
},
on
:{
handleSelectedList
:
e
.
handleStoreSelectedList
}}),
e
.
_v
(
" "
),
a
(
"vue-select-employee"
,{
ref
:
"departmentSelector"
,
attrs
:{
treeSet
:
e
.
treeSetDepart
,
changed
:
e
.
changed
,
treeData
:
e
.
treeData
,
defaultSelection
:
e
.
adDefaultSelection
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
w
=
a
(
"VU/8"
)(
b
,
L
,
!
1
,
function
(
e
){
a
(
"UAjD"
)},
null
,
null
);
t
.
a
=
w
.
exports
},
TGrv
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"3Xzz"
),
i
=
a
(
"NNAT"
),
s
=
{
name
:
"employeeRecord"
,
components
:{
navCrumb
:
o
.
a
,
employeeList
:
i
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"员工档案"
,
path
:
"/fileSet"
},{
name
:
"离职员工"
,
path
:
""
}],
typeObj
:{
onWorkCout
:
"在职员工"
,
allWorkCount
:
"全职"
,
partTimeWorkCount
:
"兼职"
,
outWorkCount
:
"外包"
,
practiceWorkCount
:
"实习"
,
noTypeWorkCount
:
"无类型"
,
regularCount
:
"正式"
,
onTrialCount
:
"试用"
,
noStatusCount
:
"无状态"
},
countObj
:{}}},
beforeMount
:
function
(){}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-wrap unemployee-wrap"
},[
t
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"right-content"
},[
t
(
"div"
,{
staticClass
:
"right-box"
},[
t
(
"div"
,{
staticClass
:
"e-record-container"
},[
t
(
"employee-list"
,{
attrs
:{
isUnEmployee
:
!
0
}})],
1
)])]),
this
.
_v
(
" "
),
t
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
s
,
r
,
!
1
,
function
(
e
){
a
(
"XAGK"
)},
null
,
null
);
t
.
default
=
n
.
exports
},
UAjD
:
function
(
e
,
t
){},
XAGK
:
function
(
e
,
t
){},
yjiq
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/8.
fa75a84a4cf44dfb7e45
.js
→
dist/static/js/8.
7a7d31bc43d1c81f9519
.js
View file @
1d5506c4
webpackJsonp
([
8
],{
J8vX
:
function
(
e
,
t
){},
NNAT
:
function
(
e
,
t
,
i
){
"use strict"
;
var
o
=
i
(
"fZjL"
),
a
=
i
.
n
(
o
),
s
=
i
(
"mvHQ"
),
n
=
i
.
n
(
s
),
r
=
i
(
"P9l9"
),
l
=
i
(
"Xxa5"
),
c
=
i
.
n
(
l
),
d
=
i
(
"exGp"
),
h
=
i
.
n
(
d
),
u
=
i
(
"0xDb"
),
p
=
i
(
"unF8"
),
m
=
i
(
"Ch4/"
),
f
=
{
name
:
"list-item"
,
props
:{
item
:{
type
:
String
,
required
:
!
0
}},
filters
:{
formatDate
:
u
.
b
},
data
:
function
(){
return
{
typeList
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
statusList
:[
"全部"
,
"正式"
,
"试用"
,
"离职"
],
reasons
:[
""
,
"家庭原因"
,
"个人原因"
,
"发展原因"
,
"合同到期不续签"
,
"协议解除"
,
"无法胜任工作"
,
"经济性裁员"
,
"严重违法违纪"
,
"其他"
],
propList
:{
headPic
:{
label
:
""
,
slot
:
!
0
,
width
:
50
},
clerkName
:{
label
:
"姓名"
,
width
:
90
},
clerkPhone
:{
label
:
"手机号"
},
groupName
:{
label
:
"部门"
},
clerkCode
:{
label
:
"code"
},
positionName
:{
label
:
"职位"
},
clerkType
:{
label
:
"员工类型"
,
slot
:
!
0
},
clerkStatus
:{
label
:
"员工状态"
,
slot
:
!
0
},
hireDate
:{
label
:
"入职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
correctionDate
:{
label
:
"转正日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireDate
:{
label
:
"离职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireReason
:{
label
:
"离职原因"
,
slot
:
!
0
},
handleEmployee
:{
label
:
"操作"
,
slot
:
!
0
},
handleUnEmployee
:{
label
:
"操作"
,
slot
:
!
0
}}}},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
callHandle
:
function
(
e
){
if
(
"编辑员工资料"
!=
e
.
typeTitle
)
this
.
$emit
(
"callHandle"
,
e
.
obj
,
e
.
type
,
e
.
typeTitle
);
else
{
var
t
=
"/recordInfo?recordId="
+
e
.
obj
.
recordId
;
this
.
changeRouter
(
t
)}},
getGicData
:
function
(
e
){
var
t
=
this
;
return
h
()(
c
.
a
.
mark
(
function
i
(){
var
o
,
a
,
s
,
n
;
return
c
.
a
.
wrap
(
function
(
i
){
for
(;;)
switch
(
i
.
prev
=
i
.
next
){
case
0
:
return
o
=
t
,
a
=
{
type
:
3
,
businessId
:
e
.
obj
.
recordId
},
i
.
next
=
4
,
Object
(
p
.
a
)(
a
);
case
4
:
if
(
s
=
i
.
sent
,
1
!=
(
n
=
s
.
data
).
errorCode
){
i
.
next
=
12
;
break
}
if
(
!
n
.
result
){
i
.
next
=
10
;
break
}
return
o
.
$message
.
error
({
duration
:
1
e3
,
message
:
"已经与 GIC 门店同步,暂无操作权限"
}),
i
.
abrupt
(
"return"
,
!
1
);
case
10
:
i
.
next
=
13
;
break
;
case
12
:
m
.
a
.
errorMsg
(
n
);
case
13
:
case
"end"
:
return
i
.
stop
()}},
i
,
t
)}))()}},
mounted
:
function
(){}},
v
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
e
.
propList
[
e
.
item
].
slot
?
i
(
"el-table-column"
,{
attrs
:{
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
sortable
:
e
.
propList
[
e
.
item
].
needSort
,
prop
:
e
.
item
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"clerkType"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
typeList
[
t
.
row
[
e
.
item
]
||
5
])
+
"
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"clerkStatus"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
statusList
[
t
.
row
[
e
.
item
]]
||
"无状态"
)
+
"
\
n "
)]):
"hireDate"
==
e
.
item
||
"correctionDate"
==
e
.
item
||
"fireDate"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatDate"
)(
t
.
row
[
e
.
item
],
"YY-MM-DD"
)
||
"--"
)
+
"
\
n "
)]):
"headPic"
==
e
.
item
?
i
(
"div"
,[
t
.
row
[
e
.
item
]?
i
(
"img"
,{
staticClass
:
"header-pic"
,
attrs
:{
src
:
t
.
row
[
e
.
item
]}}):
i
(
"div"
,{
staticClass
:
"replace-head-img"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])]):
"fireReason"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
reasons
[
t
.
row
[
e
.
item
]]
||
"--"
)
+
"
\
n "
)]):
"handleEmployee"
==
e
.
item
?
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"table-handle"
},[
i
(
"el-dropdown"
,{
staticClass
:
"more"
,
on
:{
command
:
e
.
callHandle
}},[
i
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
e
.
_v
(
" 更多"
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
i
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
2
==
t
.
row
.
clerkStatus
?[
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"turnPositive"
,
typeTitle
:
"办理转正"
}}},[
e
.
_v
(
"办理转正"
)]),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"eidtCorrectionTime"
,
typeTitle
:
"修改转正时间"
}}},[
e
.
_v
(
"修改转正时间"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"editEmployee"
,
typeTitle
:
"编辑员工资料"
}}},[
e
.
_v
(
"编辑员工资料"
)]),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"resignation"
,
typeTitle
:
"办理离职"
}}},[
e
.
_v
(
"办理离职"
)])],
2
)],
1
)],
1
)]):
"handleUnEmployee"
==
e
.
item
?
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"table-handle"
},[
i
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
i
){
e
.
changeRouter
(
"/recordInfo?recordId="
+
t
.
row
.
recordId
+
"&type=unemployee"
)}}},[
e
.
_v
(
"编辑"
)])])]):
e
.
_e
()]}}])}):
"clerkPhone"
!=
e
.
item
?
i
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"clerkName"
==
e
.
item
?
"control-width"
:
""
,
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
prop
:
e
.
item
,
"show-overflow-tooltip"
:
""
}}):
"clerkPhone"
==
e
.
item
?
i
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"clerkName"
==
e
.
item
?
"control-width"
:
""
,
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
prop
:
e
.
item
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
"86"
==
t
.
row
.
nationcode
||
null
==
t
.
row
.
nationcode
?
t
.
row
.
clerkPhone
:
"+"
+
t
.
row
.
nationcode
+
"-"
+
t
.
row
.
clerkPhone
)
+
"
\
n "
)]}}])}):
e
.
_e
()},
staticRenderFns
:[]};
var
g
=
i
(
"VU/8"
)(
f
,
v
,
!
1
,
function
(
e
){
i
(
"yjiq"
)},
null
,
null
).
exports
,
k
=
i
(
"IVno"
),
y
=
i
(
"Ie7z"
),
C
=
i
(
"c4uw"
),
b
=
{
name
:
"employeeRecordList"
,
props
:{
isUnEmployee
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
listItem
:
g
,
handleDialog
:
k
.
a
,
vueSelectStore
:
y
.
a
,
vueSelectEmployee
:
C
.
a
},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
440
-
160
,
pickerOptions2
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
i
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
i
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
i
,
t
])}}]},
employeeList
:[],
pageNum
:
1
,
pageSize
:
20
,
sortType
:
"desc"
,
sortColumn
:
"hireDate"
,
statusList
:[{
label
:
"全部状态"
,
id
:
"0"
},{
label
:
"正式"
,
id
:
"1"
},{
label
:
"试用"
,
id
:
"2"
},{
label
:
"无状态"
,
id
:
"-1"
}],
typeLsit
:[
"全部类型"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
clerkType
:
0
,
clerkStatus
:
"0"
,
total
:
0
,
handleType
:
"turnPositive"
,
typeTitle
:
""
,
dialogVisible
:
!
1
,
employeeObj
:{},
fireDate
:[],
startDate
:
""
,
endDate
:
""
,
showSelector
:
!
0
,
searchParam
:
""
,
departMentSet
:{},
storeSet
:{},
treeData
:{},
selectionList
:[],
disabled
:
!
0
,
chooseClerkIdList
:[],
chooseGroupIdList
:[],
chooseStoreIdList
:[],
adDefaultSelection
:[],
changed
:
0
,
defaultStoreList
:[],
treeSetDepart
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
treeSetStore
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
}}},
methods
:{
searchFn
:
function
(){
this
.
getEmloyeeList
()},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
r
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
i
=
[],
o
=
[];
1
==
t
.
data
.
errorCode
&&
(
i
=
t
.
data
.
result
.
departmentList
||
[],
o
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
i
,
personData
:
o
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
callSelector
:
function
(){
this
.
treeSetDepart
.
dialogVisible
=!
0
},
callStoreSelector
:
function
(){
this
.
treeSetStore
.
dialogVisible
=!
0
},
showExportSet
:
function
(){
if
(
this
.
isUnEmployee
){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)
&&
(
e
=
"http://www.gicdev.com"
);
var
t
=
0
==
this
.
clerkType
?
""
:
this
.
clerkType
;
location
.
href
=
e
+
"/haoban-manage-web/record/export-fire-employee-record?clerkType="
+
t
+
"&sortType="
+
this
.
sortType
+
"&sortColumn="
+
this
.
sortColumn
+
"&startDate="
+
this
.
startDate
+
"&endDate="
+
this
.
endDate
+
"&searchParam="
+
this
.
searchParam
+
"&chooseClerkIdList="
+
this
.
chooseClerkIdList
.
join
(
","
)
+
"&chooseGroupIdList="
+
this
.
chooseGroupIdList
.
join
(
","
)
+
"&chooseStoreIdList="
+
this
.
chooseStoreIdList
.
join
(
","
)}
else
this
.
$emit
(
"showExportSetFn"
)},
handleSelectedList
:
function
(
e
){
this
.
adDefaultSelection
=
e
||
[],
this
.
concatList
()},
handleStoreSelectedList
:
function
(
e
){
this
.
defaultStoreList
=
e
||
[],
this
.
concatList
()},
concatList
:
function
(){
this
.
selectionList
=
this
.
adDefaultSelection
.
concat
(
this
.
defaultStoreList
),
this
.
formatSelectionList
(
this
.
selectionList
)},
formatSelectionList
:
function
(
e
){
var
t
=
this
,
i
=
t
.
unique
(
e
);
t
.
selectionList
=
i
,
t
.
chooseClerkIdList
=
[],
t
.
chooseStoreIdList
=
[],
t
.
chooseGroupIdList
=
[],
i
.
length
&&
i
.
forEach
(
function
(
e
){
1
==
e
.
type
?
t
.
chooseClerkIdList
.
push
(
e
.
employeeClerkId
):
3
==
e
.
type
?
t
.
chooseStoreIdList
.
push
(
e
.
storeId
):
2
==
e
.
type
&&
t
.
chooseGroupIdList
.
push
(
e
.
groupId
)}),
t
.
pageNum
=
1
,
t
.
getEmloyeeList
()},
unique
:
function
(
e
){
var
t
=
{};
return
e
.
forEach
(
function
(
e
){
t
[
n
()(
e
)]
=
e
}),
e
=
a
()(
t
).
map
(
function
(
e
){
return
JSON
.
parse
(
e
)})},
delSld
:
function
(
e
,
t
){
var
i
=
this
,
o
=
i
.
selectionList
.
indexOf
(
e
);
i
.
selectionList
.
splice
(
o
,
1
),(
3
==
e
.
type
||
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
1
==
e
.
isStoreGroup
||
e
.
hasOwnProperty
(
"isClerk"
)
&&
1
==
e
.
isClerk
)
&&
i
.
defaultStoreList
.
forEach
(
function
(
t
,
o
){
t
.
id
==
e
.
id
&&
i
.
defaultStoreList
.
splice
(
o
,
1
)}),(
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
0
==
e
.
isStoreGroup
||
e
.
hasOwnProperty
(
"isClerk"
)
&&
0
==
e
.
isClerk
)
&&
i
.
adDefaultSelection
.
forEach
(
function
(
t
,
o
){
t
.
id
==
e
.
id
&&
i
.
adDefaultSelection
.
splice
(
o
,
1
)}),
i
.
formatSelectionList
(
i
.
selectionList
),
i
.
changed
+=
1
},
handleSuccess
:
function
(){
this
.
dialogVisible
=!
1
,
this
.
getEmloyeeList
()},
callHandle
:
function
(
e
,
t
,
i
){
this
.
handleType
=
t
,
this
.
employeeObj
=
e
,
this
.
typeTitle
=
i
,
this
.
dialogVisible
=!
0
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getEmloyeeList
()},
handleCurrentChange
:
function
(
e
){
this
.
pageNum
=
e
,
this
.
getEmloyeeList
()},
sortList
:
function
(
e
){
this
.
sortColumn
=
e
.
prop
,
this
.
sortType
=
"descending"
==
e
.
order
?
"desc"
:
"asc"
,
this
.
getEmloyeeList
()},
reGetList
:
function
(){
this
.
getEmloyeeList
()},
getEmloyeeList
:
function
(){
var
e
=
this
,
t
=
e
.
isUnEmployee
,
i
=
t
?
"/haoban-manage-web/record/find-fire-employee-record-page"
:
"/haoban-manage-web/record/find-on-work-employee-record-page"
,
o
=
{
pageNum
:
e
.
pageNum
,
chooseClerkIdList
:
e
.
chooseClerkIdList
.
join
(
","
),
chooseGroupIdList
:
e
.
chooseGroupIdList
.
join
(
","
),
chooseStoreIdList
:
e
.
chooseStoreIdList
.
join
(
","
),
pageSize
:
e
.
pageSize
,
sortType
:
e
.
sortType
,
clerkStatus
:
0
==
e
.
clerkStatus
?
""
:
e
.
clerkStatus
,
sortColumn
:
e
.
sortColumn
,
clerkType
:
0
==
e
.
clerkType
?
""
:
e
.
clerkType
,
startDate
:
e
.
startDate
,
endDate
:
e
.
endDate
,
searchParam
:
e
.
searchParam
};
Object
(
r
.
a
)(
i
,
o
).
then
(
function
(
i
){
1
==
i
.
data
.
errorCode
?(
e
.
employeeList
=
i
.
data
.
result
.
list
,
e
.
total
=
t
?
i
.
data
.
result
.
total
:
i
.
data
.
result
.
pageInfo
.
total
):
e
.
$message
.
error
({
message
:
i
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
({
message
:
t
.
message
})})},
selectDate
:
function
(
e
){
e
?(
this
.
startDate
=
e
[
0
],
this
.
endDate
=
e
[
1
]):(
this
.
startDate
=
""
,
this
.
endDate
=
""
),
this
.
getEmloyeeList
()}},
beforeMount
:
function
(){
this
.
getEmloyeeList
(),
this
.
getGroupData
()},
computed
:{
propList
:
function
(){
return
this
.
isUnEmployee
?[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"clerkStatus"
,
"hireDate"
,
"fireDate"
,
"fireReason"
,
"handleUnEmployee"
]:[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"clerkStatus"
,
"hireDate"
,
"correctionDate"
,
"handleEmployee"
]}}},
S
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"e-r-l-container"
},[
i
(
"div"
,{
staticClass
:
"handle-area"
},[
i
(
"div"
,{
staticClass
:
"flex1"
},[
i
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
attrs
:{
disabled
:
e
.
disabled
},
on
:{
click
:
e
.
callSelector
}},[
e
.
_v
(
"行政架构选人"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
on
:{
click
:
e
.
callStoreSelector
}},[
e
.
_v
(
"门店架构选人"
)]),
e
.
_v
(
" "
),
e
.
isUnEmployee
?
i
(
"div"
,{
staticClass
:
"block"
},[
i
(
"span"
,{
staticClass
:
"demonstration"
},[
e
.
_v
(
"离职日期"
)]),
e
.
_v
(
" "
),
i
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
align
:
"right"
,
"value-format"
:
"yyyy-MM-dd"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:
e
.
pickerOptions2
},
on
:{
change
:
e
.
selectDate
},
model
:{
value
:
e
.
fireDate
,
callback
:
function
(
t
){
e
.
fireDate
=
t
},
expression
:
"fireDate"
}})],
1
):[
i
(
"el-select"
,{
staticClass
:
"m-r-10 w-130"
,
attrs
:{
placeholder
:
"选择类型"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkType
,
callback
:
function
(
t
){
e
.
clerkType
=
t
},
expression
:
"clerkType"
}},
e
.
_l
(
e
.
typeLsit
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})})),
e
.
_v
(
" "
),
i
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"选择状态"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkStatus
,
callback
:
function
(
t
){
e
.
clerkStatus
=
t
},
expression
:
"clerkStatus"
}},
e
.
_l
(
e
.
statusList
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
id
}})})),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"demonstration"
},[
e
.
_v
(
"入职时间"
)]),
e
.
_v
(
" "
),
i
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
align
:
"right"
,
"value-format"
:
"yyyy-MM-dd"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:
e
.
pickerOptions2
},
on
:{
change
:
e
.
selectDate
},
model
:{
value
:
e
.
fireDate
,
callback
:
function
(
t
){
e
.
fireDate
=
t
},
expression
:
"fireDate"
}})],
e
.
_v
(
" "
),
i
(
"el-input"
,{
staticStyle
:{
width
:
"218px"
,
"margin-left"
:
"10px"
},
attrs
:{
placeholder
:
"请输入姓名/手机号/code"
,
clearable
:
""
},
on
:{
clear
:
e
.
searchFn
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchFn
(
t
):
null
}},
model
:{
value
:
e
.
searchParam
,
callback
:
function
(
t
){
e
.
searchParam
=
t
},
expression
:
"searchParam"
}})],
2
),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showExportSet
}},[
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
),
e
.
_v
(
" "
),
e
.
selectionList
.
length
?
i
(
"ul"
,{
staticClass
:
"selector-selected-list"
},[
e
.
_l
(
e
.
selectionList
,
function
(
t
,
o
){
return
[
i
(
"li"
,{
key
:
o
+
t
.
id
+
t
.
label
,
staticClass
:
"sld"
},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
i
){
e
.
delSld
(
t
,
t
.
isStoreGroup
)}}})])]}),
e
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"sld tip"
},[
e
.
_v
(
"共筛选出"
+
e
.
_s
(
e
.
total
)
+
"人"
)])],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticClass
:
"list-table"
,
attrs
:{
data
:
e
.
employeeList
,
"default-sort"
:{
prop
:
"hireDate"
,
order
:
"descending"
}},
on
:{
"sort-change"
:
e
.
sortList
}},[
e
.
_l
(
e
.
propList
,
function
(
t
){
return
[
i
(
"list-item"
,{
key
:
t
,
attrs
:{
item
:
t
},
on
:{
callHandle
:
e
.
callHandle
}})]})],
2
),
e
.
_v
(
" "
),
e
.
employeeList
.
length
?
i
(
"el-pagination"
,{
staticClass
:
"pagination"
,
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
pageNum
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}}):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
e
.
typeTitle
,
visible
:
e
.
dialogVisible
,
width
:
"480px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
i
(
"handle-dialog"
,{
attrs
:{
employee
:
e
.
employeeObj
,
handleType
:
e
.
handleType
,
typeTitle
:
e
.
typeTitle
},
on
:{
handleSuccess
:
e
.
handleSuccess
}})],
1
),
e
.
_v
(
" "
),
i
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
defaultList
:
e
.
defaultStoreList
,
treeSet
:
e
.
treeSetStore
},
on
:{
handleSelectedList
:
e
.
handleStoreSelectedList
}}),
e
.
_v
(
" "
),
i
(
"vue-select-employee"
,{
ref
:
"departmentSelector"
,
attrs
:{
treeSet
:
e
.
treeSetDepart
,
changed
:
e
.
changed
,
treeData
:
e
.
treeData
,
defaultSelection
:
e
.
adDefaultSelection
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
L
=
i
(
"VU/8"
)(
b
,
S
,
!
1
,
function
(
e
){
i
(
"WZxo"
)},
null
,
null
);
t
.
a
=
L
.
exports
},
O3H5
:
function
(
e
,
t
,
i
){
"use strict"
;
var
o
=
i
(
"mvHQ"
),
a
=
i
.
n
(
o
),
s
=
i
(
"P9l9"
),
n
=
i
(
"DAYN"
),
r
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
n
).
a
},
data
:
function
(){
return
{
tempList
:[],
checkList
:[],
origin
:[],
checkAll
:
!
1
,
isIndeterminate
:
!
1
,
checkedList
:[]}},
methods
:{
deleteField
:
function
(
e
){
this
.
checkedList
.
splice
(
e
,
1
);
var
t
=
this
.
checkedList
.
map
(
function
(
e
){
return
e
.
fieldCode
});
this
.
origin
.
forEach
(
function
(
e
,
i
){
t
.
includes
(
e
.
fieldCode
)?
e
.
checked
=!
0
:
e
.
checked
=!
1
}),
this
.
checkHalf
()},
checkHalf
:
function
(){
if
(
0
===
this
.
checkedList
.
length
)
return
this
.
isIndeterminate
=!
1
,
!
1
;
this
.
checkedList
.
length
===
this
.
origin
.
length
?
this
.
isIndeterminate
=!
1
:
this
.
isIndeterminate
=!
0
},
checkThis
:
function
(
e
){
var
t
=
this
;
e
.
checked
?
t
.
checkedList
.
push
(
e
):
t
.
checkedList
.
forEach
(
function
(
i
,
o
){
i
.
fieldCode
===
e
.
fieldCode
&&
t
.
checkedList
.
splice
(
o
,
1
)}),
t
.
checkHalf
()},
handleCheckAllChange
:
function
(
e
){
this
.
checkedList
=
[],
this
.
origin
.
forEach
(
function
(
t
,
i
){
t
.
checked
=
e
,
e
&&
(
t
.
order
=
i
+
1
)}),
e
&&
(
this
.
checkedList
=
this
.
origin
.
slice
(
0
)),
this
.
checkHalf
()},
getTemplate
:
function
(){
var
e
=
this
;
Object
(
s
.
a
)(
"/haoban-manage-web/record/employee-find-template"
,{}).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
formatTemplateList
(
t
.
data
.
result
):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
formatTemplateList
:
function
(
e
){
var
t
=
[],
i
=
[],
o
=
e
;
e
.
forEach
(
function
(
e
){
e
.
title
=
e
.
fieldName
,
e
.
name
=
e
.
fieldName
,
e
.
checked
=!
1
;
var
i
=
[];
o
.
forEach
(
function
(
t
){
t
.
parentCode
==
e
.
fieldCode
&&
i
.
push
(
t
)}),
i
.
sort
(
function
(
e
,
t
){
return
1
*
e
.
sort
-
1
*
t
.
sort
}),
i
.
length
>
0
&&
(
e
.
childrens
=
i
),
0
==
e
.
parentCode
&&
t
.
push
(
e
)}),
t
.
sort
(
function
(
e
,
t
){
return
1
*
e
.
sort
-
1
*
t
.
sort
}),
t
.
forEach
(
function
(
e
){
i
=
i
.
concat
(
e
.
childrens
)}),
this
.
origin
=
i
,
this
.
tempList
=
t
},
cancelCho
:
function
(){
this
.
origin
.
forEach
(
function
(
e
){
e
.
checked
=!
1
}),
this
.
$emit
(
"cancelCho"
)},
exportCho
:
function
(){
var
e
=
[];
this
.
checkedList
.
forEach
(
function
(
t
){
t
.
checked
&&
e
.
push
({
fieldCode
:
t
.
fieldCode
,
fieldName
:
t
.
fieldName
})});
a
()(
e
);
var
t
=
window
.
location
.
origin
;
-
1
!=
t
.
indexOf
(
"localhost"
)
&&
(
t
=
"http://www.gicdev.com"
),
location
.
href
=
t
+
"/haoban-manage-web/record/define-export?exportTitleContent="
+
a
()(
e
),
this
.
$emit
(
"cancelCho"
)}},
beforeMount
:
function
(){
this
.
getTemplate
()}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"export-set-container"
},[
e
.
_m
(
0
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-list"
},[
i
(
"draggable"
,{
model
:{
value
:
e
.
checkedList
,
callback
:
function
(
t
){
e
.
checkedList
=
t
},
expression
:
"checkedList"
}},[
e
.
_l
(
e
.
checkedList
,
function
(
t
,
o
){
return
[
t
.
checked
?
i
(
"div"
,{
key
:
t
.
fieldCode
+
o
,
staticClass
:
"cho"
},[
e
.
_v
(
e
.
_s
(
t
.
fieldName
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
t
){
e
.
deleteField
(
o
)}}})]):
e
.
_e
()]})],
2
)],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
"选择需要导出的字段"
)]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area-group"
},[
i
(
"div"
,{
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
}),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
i
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
e
.
isIndeterminate
},
on
:{
change
:
e
.
handleCheckAllChange
},
model
:{
value
:
e
.
checkAll
,
callback
:
function
(
t
){
e
.
checkAll
=
t
},
expression
:
"checkAll"
}},[
e
.
_v
(
"全选"
)])],
1
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
tempList
,
function
(
t
,
o
){
return
i
(
"div"
,{
key
:
t
.
fieldCode
+
o
,
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
e
.
_l
(
e
.
origin
,
function
(
o
){
return
[
o
.
parentCode
==
t
.
fieldCode
?
i
(
"li"
,{
key
:
o
.
fieldCode
},[
i
(
"el-checkbox"
,{
key
:
o
.
fieldCode
,
attrs
:{
label
:
o
.
fieldName
},
on
:{
change
:
function
(
t
){
e
.
checkThis
(
o
)}},
model
:{
value
:
o
.
checked
,
callback
:
function
(
t
){
e
.
$set
(
o
,
"checked"
,
t
)},
expression
:
"items.checked"
}},[
e
.
_v
(
e
.
_s
(
o
.
fieldName
))])],
1
):
e
.
_e
()]})],
2
)])})],
2
)]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"handle-cho-btn"
},[
i
(
"el-button"
,{
staticClass
:
"export-btn"
,
attrs
:{
type
:
"primary"
,
disabled
:
e
.
checkedList
.
length
<
1
},
on
:{
click
:
e
.
exportCho
}},[
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
on
:{
click
:
e
.
cancelCho
}},[
e
.
_v
(
"取消"
)])],
1
)])},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"title"
},[
this
.
_v
(
"已选择字段"
),
t
(
"span"
,[
this
.
_v
(
"导出的列表中将按顺序显示这些字段(可拖拽排序)"
)])])}]};
var
c
=
i
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
i
(
"J8vX"
)},
null
,
null
);
t
.
a
=
c
.
exports
},
WZxo
:
function
(
e
,
t
){},
nyZT
:
function
(
e
,
t
){},
yjiq
:
function
(
e
,
t
){},
zGJY
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
i
(
"3Xzz"
),
a
=
i
(
"P9l9"
),
s
=
i
(
"O3H5"
),
n
=
i
(
"NNAT"
),
r
=
{
name
:
"employeeRecord"
,
components
:{
navCrumb
:
o
.
a
,
employeeList
:
n
.
a
,
exportSet
:
s
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"员工档案"
,
path
:
"/fileSet"
},{
name
:
"在职员工"
,
path
:
""
}],
typeObj
:{
onWorkCout
:
"在职员工"
,
allWorkCount
:
"全职"
,
partTimeWorkCount
:
"兼职"
,
outWorkCount
:
"外包"
,
practiceWorkCount
:
"实习"
,
noTypeWorkCount
:
"无类型"
,
regularCount
:
"正式"
,
onTrialCount
:
"试用"
,
noStatusCount
:
"无状态"
},
otherSet
:{},
countObj
:{},
showExportSet
:
!
1
}},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
cancelCho
:
function
(){
this
.
showExportSet
=!
1
},
showExportSetFn
:
function
(){
this
.
showExportSet
=!
0
},
getEmployeeCount
:
function
(){
var
e
=
this
;
Object
(
a
.
a
)(
"/haoban-manage-web/record/employee-count-detail"
,{}).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
countObj
=
t
.
data
.
result
:
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})}},
beforeMount
:
function
(){
this
.
getEmployeeCount
(),
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"hidden"
})},
beforeDestroy
:
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"auto"
}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"common-set-wrap employee-record-wrap"
},[
i
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
,
slotFlag
:
!
0
}},[[
i
(
"div"
,{
staticClass
:
"top-area"
},[
i
(
"div"
,{
staticClass
:
"top-title"
},[
i
(
"span"
,{
staticClass
:
"title-span"
},[
e
.
_v
(
"在职员工"
)]),
e
.
_v
(
" "
),
i
(
"a"
,{
on
:{
click
:
function
(
t
){
e
.
changeRouter
(
"/recordIo?importCode=record"
)}}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
e
.
_v
(
"导入员工档案"
),
i
(
"i"
,{
staticClass
:
"el-icon-upload el-icon--right"
})])],
1
)]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"e-type-num-title"
},
e
.
_l
(
e
.
countObj
,
function
(
t
,
o
){
return
i
(
"div"
,{
key
:
o
,
staticClass
:
"type-cell"
,
class
:
"onWorkCout"
==
o
||
"noTypeWorkCount"
==
o
?
"with-bdr"
:
""
},[
i
(
"p"
,{
staticClass
:
"type-name"
},[
e
.
_v
(
e
.
_s
(
e
.
typeObj
[
o
]))]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"num"
},[
e
.
_v
(
e
.
_s
(
t
))])])}))])]],
2
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"right-content"
},[
i
(
"div"
,{
staticClass
:
"right-box"
},[
i
(
"div"
,{
staticClass
:
"e-record-container"
},[
e
.
showExportSet
?[
i
(
"export-set"
,{
attrs
:{
otherSet
:
e
.
otherSet
},
on
:{
cancelCho
:
e
.
cancelCho
}})]:[
i
(
"employee-list"
,{
on
:{
showExportSetFn
:
e
.
showExportSetFn
}})]],
2
)])]),
e
.
_v
(
" "
),
i
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
i
(
"nyZT"
)},
null
,
null
);
t
.
default
=
c
.
exports
}});
\ No newline at end of file
webpackJsonp
([
8
],{
J8vX
:
function
(
e
,
t
){},
NNAT
:
function
(
e
,
t
,
i
){
"use strict"
;
var
o
=
i
(
"fZjL"
),
a
=
i
.
n
(
o
),
s
=
i
(
"mvHQ"
),
n
=
i
.
n
(
s
),
r
=
i
(
"P9l9"
),
l
=
i
(
"Xxa5"
),
c
=
i
.
n
(
l
),
d
=
i
(
"exGp"
),
h
=
i
.
n
(
d
),
u
=
i
(
"0xDb"
),
p
=
i
(
"unF8"
),
m
=
i
(
"Ch4/"
),
f
=
{
name
:
"list-item"
,
props
:{
item
:{
type
:
String
,
required
:
!
0
}},
filters
:{
formatDate
:
u
.
b
},
data
:
function
(){
return
{
typeList
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
statusList
:[
"全部"
,
"正式"
,
"试用"
,
"离职"
],
reasons
:[
""
,
"家庭原因"
,
"个人原因"
,
"发展原因"
,
"合同到期不续签"
,
"协议解除"
,
"无法胜任工作"
,
"经济性裁员"
,
"严重违法违纪"
,
"其他"
],
propList
:{
headPic
:{
label
:
""
,
slot
:
!
0
,
width
:
50
},
clerkName
:{
label
:
"姓名"
,
width
:
90
},
clerkPhone
:{
label
:
"手机号"
},
groupName
:{
label
:
"部门"
},
clerkCode
:{
label
:
"code"
},
positionName
:{
label
:
"职位"
},
clerkType
:{
label
:
"员工类型"
,
slot
:
!
0
},
clerkStatus
:{
label
:
"员工状态"
,
slot
:
!
0
},
hireDate
:{
label
:
"入职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
correctionDate
:{
label
:
"转正日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireDate
:{
label
:
"离职日期"
,
needSort
:
"custom"
,
slot
:
!
0
},
fireReason
:{
label
:
"离职原因"
,
slot
:
!
0
},
handleEmployee
:{
label
:
"操作"
,
slot
:
!
0
},
handleUnEmployee
:{
label
:
"操作"
,
slot
:
!
0
}}}},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
callHandle
:
function
(
e
){
if
(
"编辑员工资料"
!=
e
.
typeTitle
)
this
.
$emit
(
"callHandle"
,
e
.
obj
,
e
.
type
,
e
.
typeTitle
);
else
{
var
t
=
"/recordInfo?recordId="
+
e
.
obj
.
recordId
;
this
.
changeRouter
(
t
)}},
getGicData
:
function
(
e
){
var
t
=
this
;
return
h
()(
c
.
a
.
mark
(
function
i
(){
var
o
,
a
,
s
,
n
;
return
c
.
a
.
wrap
(
function
(
i
){
for
(;;)
switch
(
i
.
prev
=
i
.
next
){
case
0
:
return
o
=
t
,
a
=
{
type
:
3
,
businessId
:
e
.
obj
.
recordId
},
i
.
next
=
4
,
Object
(
p
.
a
)(
a
);
case
4
:
if
(
s
=
i
.
sent
,
1
!=
(
n
=
s
.
data
).
errorCode
){
i
.
next
=
12
;
break
}
if
(
!
n
.
result
){
i
.
next
=
10
;
break
}
return
o
.
$message
.
error
({
duration
:
1
e3
,
message
:
"已经与 GIC 门店同步,暂无操作权限"
}),
i
.
abrupt
(
"return"
,
!
1
);
case
10
:
i
.
next
=
13
;
break
;
case
12
:
m
.
a
.
errorMsg
(
n
);
case
13
:
case
"end"
:
return
i
.
stop
()}},
i
,
t
)}))()}},
mounted
:
function
(){}},
v
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
e
.
propList
[
e
.
item
].
slot
?
i
(
"el-table-column"
,{
attrs
:{
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
sortable
:
e
.
propList
[
e
.
item
].
needSort
,
prop
:
e
.
item
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"clerkType"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
typeList
[
t
.
row
[
e
.
item
]
||
5
])
+
"
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"clerkStatus"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
statusList
[
t
.
row
[
e
.
item
]]
||
"无状态"
)
+
"
\
n "
)]):
"hireDate"
==
e
.
item
||
"correctionDate"
==
e
.
item
||
"fireDate"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatDate"
)(
t
.
row
[
e
.
item
],
"YY-MM-DD"
)
||
"--"
)
+
"
\
n "
)]):
"headPic"
==
e
.
item
?
i
(
"div"
,[
t
.
row
[
e
.
item
]?
i
(
"img"
,{
staticClass
:
"header-pic"
,
attrs
:{
src
:
t
.
row
[
e
.
item
]}}):
i
(
"div"
,{
staticClass
:
"replace-head-img"
},[
i
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])]):
"fireReason"
==
e
.
item
?
i
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
reasons
[
t
.
row
[
e
.
item
]]
||
"--"
)
+
"
\
n "
)]):
"handleEmployee"
==
e
.
item
?
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"table-handle"
},[
i
(
"el-dropdown"
,{
staticClass
:
"more"
,
on
:{
command
:
e
.
callHandle
}},[
i
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
e
.
_v
(
" 更多"
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
i
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
2
==
t
.
row
.
clerkStatus
?[
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"turnPositive"
,
typeTitle
:
"办理转正"
}}},[
e
.
_v
(
"办理转正"
)]),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"eidtCorrectionTime"
,
typeTitle
:
"修改转正时间"
}}},[
e
.
_v
(
"修改转正时间"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"editEmployee"
,
typeTitle
:
"编辑员工资料"
}}},[
e
.
_v
(
"编辑员工资料"
)]),
e
.
_v
(
" "
),
i
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"resignation"
,
typeTitle
:
"办理离职"
}}},[
e
.
_v
(
"办理离职"
)])],
2
)],
1
)],
1
)]):
"handleUnEmployee"
==
e
.
item
?
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"table-handle"
},[
i
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
i
){
e
.
changeRouter
(
"/recordInfo?recordId="
+
t
.
row
.
recordId
+
"&type=unemployee"
)}}},[
e
.
_v
(
"编辑"
)])])]):
e
.
_e
()]}}])}):
"clerkPhone"
!=
e
.
item
?
i
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"clerkName"
==
e
.
item
?
"control-width"
:
""
,
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
prop
:
e
.
item
,
"show-overflow-tooltip"
:
""
}}):
"clerkPhone"
==
e
.
item
?
i
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"clerkName"
==
e
.
item
?
"control-width"
:
""
,
label
:
e
.
propList
[
e
.
item
].
label
,
width
:
e
.
propList
[
e
.
item
].
width
,
prop
:
e
.
item
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
"86"
==
t
.
row
.
nationcode
||
null
==
t
.
row
.
nationcode
?
t
.
row
.
clerkPhone
:
"+"
+
t
.
row
.
nationcode
+
"-"
+
t
.
row
.
clerkPhone
)
+
"
\
n "
)]}}])}):
e
.
_e
()},
staticRenderFns
:[]};
var
g
=
i
(
"VU/8"
)(
f
,
v
,
!
1
,
function
(
e
){
i
(
"yjiq"
)},
null
,
null
).
exports
,
k
=
i
(
"IVno"
),
y
=
i
(
"Ie7z"
),
C
=
i
(
"c4uw"
),
b
=
{
name
:
"employeeRecordList"
,
props
:{
isUnEmployee
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
listItem
:
g
,
handleDialog
:
k
.
a
,
vueSelectStore
:
y
.
a
,
vueSelectEmployee
:
C
.
a
},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
440
-
160
,
pickerOptions2
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
i
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
i
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
i
=
new
Date
;
i
.
setTime
(
i
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
i
,
t
])}}]},
employeeList
:[],
pageNum
:
1
,
pageSize
:
20
,
sortType
:
"desc"
,
sortColumn
:
"hireDate"
,
statusList
:[{
label
:
"全部状态"
,
id
:
"0"
},{
label
:
"正式"
,
id
:
"1"
},{
label
:
"试用"
,
id
:
"2"
},{
label
:
"无状态"
,
id
:
"-1"
}],
typeLsit
:[
"全部类型"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
clerkType
:
0
,
clerkStatus
:
"0"
,
total
:
0
,
handleType
:
"turnPositive"
,
typeTitle
:
""
,
dialogVisible
:
!
1
,
employeeObj
:{},
fireDate
:[],
startDate
:
""
,
endDate
:
""
,
showSelector
:
!
0
,
searchParam
:
""
,
departMentSet
:{},
storeSet
:{},
treeData
:{},
selectionList
:[],
disabled
:
!
0
,
chooseClerkIdList
:[],
chooseGroupIdList
:[],
chooseStoreIdList
:[],
adDefaultSelection
:[],
changed
:
0
,
defaultStoreList
:[],
treeSetDepart
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
treeSetStore
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
}}},
methods
:{
searchFn
:
function
(){
this
.
getEmloyeeList
()},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
r
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
i
=
[],
o
=
[];
1
==
t
.
data
.
errorCode
&&
(
i
=
t
.
data
.
result
.
departmentList
||
[],
o
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
i
,
personData
:
o
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
callSelector
:
function
(){
this
.
treeSetDepart
.
dialogVisible
=!
0
},
callStoreSelector
:
function
(){
this
.
treeSetStore
.
dialogVisible
=!
0
},
showExportSet
:
function
(){
if
(
this
.
isUnEmployee
){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)
&&
(
e
=
"http://www.gicdev.com"
);
var
t
=
0
==
this
.
clerkType
?
""
:
this
.
clerkType
;
location
.
href
=
e
+
"/haoban-manage-web/record/export-fire-employee-record?clerkType="
+
t
+
"&sortType="
+
this
.
sortType
+
"&sortColumn="
+
this
.
sortColumn
+
"&startDate="
+
this
.
startDate
+
"&endDate="
+
this
.
endDate
+
"&searchParam="
+
this
.
searchParam
+
"&chooseClerkIdList="
+
this
.
chooseClerkIdList
.
join
(
","
)
+
"&chooseGroupIdList="
+
this
.
chooseGroupIdList
.
join
(
","
)
+
"&chooseStoreIdList="
+
this
.
chooseStoreIdList
.
join
(
","
)}
else
this
.
$emit
(
"showExportSetFn"
)},
handleSelectedList
:
function
(
e
){
this
.
adDefaultSelection
=
e
||
[],
this
.
concatList
()},
handleStoreSelectedList
:
function
(
e
){
this
.
defaultStoreList
=
e
||
[],
this
.
concatList
()},
concatList
:
function
(){
this
.
selectionList
=
this
.
adDefaultSelection
.
concat
(
this
.
defaultStoreList
),
this
.
formatSelectionList
(
this
.
selectionList
)},
formatSelectionList
:
function
(
e
){
var
t
=
this
,
i
=
t
.
unique
(
e
);
t
.
selectionList
=
i
,
t
.
chooseClerkIdList
=
[],
t
.
chooseStoreIdList
=
[],
t
.
chooseGroupIdList
=
[],
i
.
length
&&
i
.
forEach
(
function
(
e
){
1
==
e
.
type
?
t
.
chooseClerkIdList
.
push
(
e
.
employeeClerkId
):
3
==
e
.
type
?
t
.
chooseStoreIdList
.
push
(
e
.
storeId
):
2
==
e
.
type
&&
t
.
chooseGroupIdList
.
push
(
e
.
groupId
)}),
t
.
pageNum
=
1
,
t
.
getEmloyeeList
()},
unique
:
function
(
e
){
var
t
=
{};
return
e
.
forEach
(
function
(
e
){
t
[
n
()(
e
)]
=
e
}),
e
=
a
()(
t
).
map
(
function
(
e
){
return
JSON
.
parse
(
e
)})},
delSld
:
function
(
e
,
t
){
var
i
=
this
,
o
=
i
.
selectionList
.
indexOf
(
e
);
i
.
selectionList
.
splice
(
o
,
1
),(
3
==
e
.
type
||
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
1
==
e
.
isStoreGroup
||
e
.
hasOwnProperty
(
"isClerk"
)
&&
1
==
e
.
isClerk
)
&&
i
.
defaultStoreList
.
forEach
(
function
(
t
,
o
){
t
.
id
==
e
.
id
&&
i
.
defaultStoreList
.
splice
(
o
,
1
)}),(
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
0
==
e
.
isStoreGroup
||
e
.
hasOwnProperty
(
"isClerk"
)
&&
0
==
e
.
isClerk
)
&&
i
.
adDefaultSelection
.
forEach
(
function
(
t
,
o
){
t
.
id
==
e
.
id
&&
i
.
adDefaultSelection
.
splice
(
o
,
1
)}),
i
.
formatSelectionList
(
i
.
selectionList
),
i
.
changed
+=
1
},
handleSuccess
:
function
(){
this
.
dialogVisible
=!
1
,
this
.
getEmloyeeList
()},
callHandle
:
function
(
e
,
t
,
i
){
this
.
handleType
=
t
,
this
.
employeeObj
=
e
,
this
.
typeTitle
=
i
,
this
.
dialogVisible
=!
0
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getEmloyeeList
()},
handleCurrentChange
:
function
(
e
){
this
.
pageNum
=
e
,
this
.
getEmloyeeList
()},
sortList
:
function
(
e
){
this
.
sortColumn
=
e
.
prop
,
this
.
sortType
=
"descending"
==
e
.
order
?
"desc"
:
"asc"
,
this
.
getEmloyeeList
()},
reGetList
:
function
(){
this
.
getEmloyeeList
()},
getEmloyeeList
:
function
(){
var
e
=
this
,
t
=
e
.
isUnEmployee
,
i
=
t
?
"/haoban-manage-web/record/find-fire-employee-record-page"
:
"/haoban-manage-web/record/find-on-work-employee-record-page"
,
o
=
{
pageNum
:
e
.
pageNum
,
chooseClerkIdList
:
e
.
chooseClerkIdList
.
join
(
","
),
chooseGroupIdList
:
e
.
chooseGroupIdList
.
join
(
","
),
chooseStoreIdList
:
e
.
chooseStoreIdList
.
join
(
","
),
pageSize
:
e
.
pageSize
,
sortType
:
e
.
sortType
,
clerkStatus
:
0
==
e
.
clerkStatus
?
""
:
e
.
clerkStatus
,
sortColumn
:
e
.
sortColumn
,
clerkType
:
0
==
e
.
clerkType
?
""
:
e
.
clerkType
,
startDate
:
e
.
startDate
,
endDate
:
e
.
endDate
,
searchParam
:
e
.
searchParam
};
Object
(
r
.
a
)(
i
,
o
).
then
(
function
(
i
){
1
==
i
.
data
.
errorCode
?(
e
.
employeeList
=
i
.
data
.
result
.
list
,
e
.
total
=
t
?
i
.
data
.
result
.
total
:
i
.
data
.
result
.
pageInfo
.
total
):
e
.
$message
.
error
({
message
:
i
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
({
message
:
t
.
message
})})},
selectDate
:
function
(
e
){
e
?(
this
.
startDate
=
e
[
0
],
this
.
endDate
=
e
[
1
]):(
this
.
startDate
=
""
,
this
.
endDate
=
""
),
this
.
getEmloyeeList
()}},
beforeMount
:
function
(){
this
.
getEmloyeeList
(),
this
.
getGroupData
()},
computed
:{
propList
:
function
(){
return
this
.
isUnEmployee
?[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"clerkStatus"
,
"hireDate"
,
"fireDate"
,
"fireReason"
,
"handleUnEmployee"
]:[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"clerkStatus"
,
"hireDate"
,
"correctionDate"
,
"handleEmployee"
]}}},
S
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"e-r-l-container"
},[
i
(
"div"
,{
staticClass
:
"handle-area"
},[
i
(
"div"
,{
staticClass
:
"flex1"
},[
i
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
attrs
:{
disabled
:
e
.
disabled
},
on
:{
click
:
e
.
callSelector
}},[
e
.
_v
(
"行政架构选人"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
on
:{
click
:
e
.
callStoreSelector
}},[
e
.
_v
(
"门店架构选人"
)]),
e
.
_v
(
" "
),
e
.
isUnEmployee
?
i
(
"div"
,{
staticClass
:
"block"
},[
i
(
"span"
,{
staticClass
:
"demonstration"
},[
e
.
_v
(
"离职日期"
)]),
e
.
_v
(
" "
),
i
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
align
:
"right"
,
"value-format"
:
"yyyy-MM-dd"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:
e
.
pickerOptions2
},
on
:{
change
:
e
.
selectDate
},
model
:{
value
:
e
.
fireDate
,
callback
:
function
(
t
){
e
.
fireDate
=
t
},
expression
:
"fireDate"
}})],
1
):[
i
(
"el-select"
,{
staticClass
:
"m-r-10 w-130"
,
attrs
:{
placeholder
:
"选择类型"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkType
,
callback
:
function
(
t
){
e
.
clerkType
=
t
},
expression
:
"clerkType"
}},
e
.
_l
(
e
.
typeLsit
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})})),
e
.
_v
(
" "
),
i
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"选择状态"
},
on
:{
change
:
e
.
reGetList
},
model
:{
value
:
e
.
clerkStatus
,
callback
:
function
(
t
){
e
.
clerkStatus
=
t
},
expression
:
"clerkStatus"
}},
e
.
_l
(
e
.
statusList
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
id
}})})),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"demonstration"
,
staticStyle
:{
"line-height"
:
"34px"
}},[
e
.
_v
(
"入职时间"
)]),
e
.
_v
(
" "
),
i
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
align
:
"right"
,
"value-format"
:
"yyyy-MM-dd"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:
e
.
pickerOptions2
},
on
:{
change
:
e
.
selectDate
},
model
:{
value
:
e
.
fireDate
,
callback
:
function
(
t
){
e
.
fireDate
=
t
},
expression
:
"fireDate"
}})],
e
.
_v
(
" "
),
i
(
"el-input"
,{
staticStyle
:{
width
:
"218px"
,
"margin-left"
:
"10px"
},
attrs
:{
placeholder
:
"请输入姓名/手机号/code"
,
clearable
:
""
},
on
:{
clear
:
e
.
searchFn
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchFn
(
t
):
null
}},
model
:{
value
:
e
.
searchParam
,
callback
:
function
(
t
){
e
.
searchParam
=
t
},
expression
:
"searchParam"
}})],
2
),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showExportSet
}},[
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
),
e
.
_v
(
" "
),
e
.
selectionList
.
length
?
i
(
"ul"
,{
staticClass
:
"selector-selected-list"
},[
e
.
_l
(
e
.
selectionList
,
function
(
t
,
o
){
return
[
i
(
"li"
,{
key
:
o
+
t
.
id
+
t
.
label
,
staticClass
:
"sld"
},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
i
){
e
.
delSld
(
t
,
t
.
isStoreGroup
)}}})])]}),
e
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"sld tip"
},[
e
.
_v
(
"共筛选出"
+
e
.
_s
(
e
.
total
)
+
"人"
)])],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticClass
:
"list-table"
,
attrs
:{
data
:
e
.
employeeList
,
"default-sort"
:{
prop
:
"hireDate"
,
order
:
"descending"
}},
on
:{
"sort-change"
:
e
.
sortList
}},[
e
.
_l
(
e
.
propList
,
function
(
t
){
return
[
i
(
"list-item"
,{
key
:
t
,
attrs
:{
item
:
t
},
on
:{
callHandle
:
e
.
callHandle
}})]})],
2
),
e
.
_v
(
" "
),
e
.
employeeList
.
length
?
i
(
"el-pagination"
,{
staticClass
:
"pagination"
,
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
pageNum
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}}):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
e
.
typeTitle
,
visible
:
e
.
dialogVisible
,
width
:
"480px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
i
(
"handle-dialog"
,{
attrs
:{
employee
:
e
.
employeeObj
,
handleType
:
e
.
handleType
,
typeTitle
:
e
.
typeTitle
},
on
:{
handleSuccess
:
e
.
handleSuccess
}})],
1
),
e
.
_v
(
" "
),
i
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
defaultList
:
e
.
defaultStoreList
,
treeSet
:
e
.
treeSetStore
},
on
:{
handleSelectedList
:
e
.
handleStoreSelectedList
}}),
e
.
_v
(
" "
),
i
(
"vue-select-employee"
,{
ref
:
"departmentSelector"
,
attrs
:{
treeSet
:
e
.
treeSetDepart
,
changed
:
e
.
changed
,
treeData
:
e
.
treeData
,
defaultSelection
:
e
.
adDefaultSelection
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
L
=
i
(
"VU/8"
)(
b
,
S
,
!
1
,
function
(
e
){
i
(
"UAjD"
)},
null
,
null
);
t
.
a
=
L
.
exports
},
O3H5
:
function
(
e
,
t
,
i
){
"use strict"
;
var
o
=
i
(
"mvHQ"
),
a
=
i
.
n
(
o
),
s
=
i
(
"P9l9"
),
n
=
i
(
"DAYN"
),
r
=
{
name
:
"export-set"
,
components
:{
draggable
:
i
.
n
(
n
).
a
},
data
:
function
(){
return
{
tempList
:[],
checkList
:[],
origin
:[],
checkAll
:
!
1
,
isIndeterminate
:
!
1
,
checkedList
:[]}},
methods
:{
deleteField
:
function
(
e
){
this
.
checkedList
.
splice
(
e
,
1
);
var
t
=
this
.
checkedList
.
map
(
function
(
e
){
return
e
.
fieldCode
});
this
.
origin
.
forEach
(
function
(
e
,
i
){
t
.
includes
(
e
.
fieldCode
)?
e
.
checked
=!
0
:
e
.
checked
=!
1
}),
this
.
checkHalf
()},
checkHalf
:
function
(){
if
(
0
===
this
.
checkedList
.
length
)
return
this
.
isIndeterminate
=!
1
,
!
1
;
this
.
checkedList
.
length
===
this
.
origin
.
length
?
this
.
isIndeterminate
=!
1
:
this
.
isIndeterminate
=!
0
},
checkThis
:
function
(
e
){
var
t
=
this
;
e
.
checked
?
t
.
checkedList
.
push
(
e
):
t
.
checkedList
.
forEach
(
function
(
i
,
o
){
i
.
fieldCode
===
e
.
fieldCode
&&
t
.
checkedList
.
splice
(
o
,
1
)}),
t
.
checkHalf
()},
handleCheckAllChange
:
function
(
e
){
this
.
checkedList
=
[],
this
.
origin
.
forEach
(
function
(
t
,
i
){
t
.
checked
=
e
,
e
&&
(
t
.
order
=
i
+
1
)}),
e
&&
(
this
.
checkedList
=
this
.
origin
.
slice
(
0
)),
this
.
checkHalf
()},
getTemplate
:
function
(){
var
e
=
this
;
Object
(
s
.
a
)(
"/haoban-manage-web/record/employee-find-template"
,{}).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
formatTemplateList
(
t
.
data
.
result
):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
formatTemplateList
:
function
(
e
){
var
t
=
[],
i
=
[],
o
=
e
;
e
.
forEach
(
function
(
e
){
e
.
title
=
e
.
fieldName
,
e
.
name
=
e
.
fieldName
,
e
.
checked
=!
1
;
var
i
=
[];
o
.
forEach
(
function
(
t
){
t
.
parentCode
==
e
.
fieldCode
&&
i
.
push
(
t
)}),
i
.
sort
(
function
(
e
,
t
){
return
1
*
e
.
sort
-
1
*
t
.
sort
}),
i
.
length
>
0
&&
(
e
.
childrens
=
i
),
0
==
e
.
parentCode
&&
t
.
push
(
e
)}),
t
.
sort
(
function
(
e
,
t
){
return
1
*
e
.
sort
-
1
*
t
.
sort
}),
t
.
forEach
(
function
(
e
){
i
=
i
.
concat
(
e
.
childrens
)}),
this
.
origin
=
i
,
this
.
tempList
=
t
},
cancelCho
:
function
(){
this
.
origin
.
forEach
(
function
(
e
){
e
.
checked
=!
1
}),
this
.
$emit
(
"cancelCho"
)},
exportCho
:
function
(){
var
e
=
[];
this
.
checkedList
.
forEach
(
function
(
t
){
t
.
checked
&&
e
.
push
({
fieldCode
:
t
.
fieldCode
,
fieldName
:
t
.
fieldName
})});
a
()(
e
);
var
t
=
window
.
location
.
origin
;
-
1
!=
t
.
indexOf
(
"localhost"
)
&&
(
t
=
"http://www.gicdev.com"
),
location
.
href
=
t
+
"/haoban-manage-web/record/define-export?exportTitleContent="
+
a
()(
e
),
this
.
$emit
(
"cancelCho"
)}},
beforeMount
:
function
(){
this
.
getTemplate
()}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"export-set-container"
},[
e
.
_m
(
0
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-list"
},[
i
(
"draggable"
,{
model
:{
value
:
e
.
checkedList
,
callback
:
function
(
t
){
e
.
checkedList
=
t
},
expression
:
"checkedList"
}},[
e
.
_l
(
e
.
checkedList
,
function
(
t
,
o
){
return
[
t
.
checked
?
i
(
"div"
,{
key
:
t
.
fieldCode
+
o
,
staticClass
:
"cho"
},[
e
.
_v
(
e
.
_s
(
t
.
fieldName
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
t
){
e
.
deleteField
(
o
)}}})]):
e
.
_e
()]})],
2
)],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
"选择需要导出的字段"
)]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"cho-area-group"
},[
i
(
"div"
,{
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
}),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
i
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
e
.
isIndeterminate
},
on
:{
change
:
e
.
handleCheckAllChange
},
model
:{
value
:
e
.
checkAll
,
callback
:
function
(
t
){
e
.
checkAll
=
t
},
expression
:
"checkAll"
}},[
e
.
_v
(
"全选"
)])],
1
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
tempList
,
function
(
t
,
o
){
return
i
(
"div"
,{
key
:
t
.
fieldCode
+
o
,
staticClass
:
"group-div"
},[
i
(
"div"
,{
staticClass
:
"group-title"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"group-son-list"
},[
e
.
_l
(
e
.
origin
,
function
(
o
){
return
[
o
.
parentCode
==
t
.
fieldCode
?
i
(
"li"
,{
key
:
o
.
fieldCode
},[
i
(
"el-checkbox"
,{
key
:
o
.
fieldCode
,
attrs
:{
label
:
o
.
fieldName
},
on
:{
change
:
function
(
t
){
e
.
checkThis
(
o
)}},
model
:{
value
:
o
.
checked
,
callback
:
function
(
t
){
e
.
$set
(
o
,
"checked"
,
t
)},
expression
:
"items.checked"
}},[
e
.
_v
(
e
.
_s
(
o
.
fieldName
))])],
1
):
e
.
_e
()]})],
2
)])})],
2
)]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"handle-cho-btn"
},[
i
(
"el-button"
,{
staticClass
:
"export-btn"
,
attrs
:{
type
:
"primary"
,
disabled
:
e
.
checkedList
.
length
<
1
},
on
:{
click
:
e
.
exportCho
}},[
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
on
:{
click
:
e
.
cancelCho
}},[
e
.
_v
(
"取消"
)])],
1
)])},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"title"
},[
this
.
_v
(
"已选择字段"
),
t
(
"span"
,[
this
.
_v
(
"导出的列表中将按顺序显示这些字段(可拖拽排序)"
)])])}]};
var
c
=
i
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
i
(
"J8vX"
)},
null
,
null
);
t
.
a
=
c
.
exports
},
UAjD
:
function
(
e
,
t
){},
nyZT
:
function
(
e
,
t
){},
yjiq
:
function
(
e
,
t
){},
zGJY
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
i
(
"3Xzz"
),
a
=
i
(
"P9l9"
),
s
=
i
(
"O3H5"
),
n
=
i
(
"NNAT"
),
r
=
{
name
:
"employeeRecord"
,
components
:{
navCrumb
:
o
.
a
,
employeeList
:
n
.
a
,
exportSet
:
s
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"员工档案"
,
path
:
"/fileSet"
},{
name
:
"在职员工"
,
path
:
""
}],
typeObj
:{
onWorkCout
:
"在职员工"
,
allWorkCount
:
"全职"
,
partTimeWorkCount
:
"兼职"
,
outWorkCount
:
"外包"
,
practiceWorkCount
:
"实习"
,
noTypeWorkCount
:
"无类型"
,
regularCount
:
"正式"
,
onTrialCount
:
"试用"
,
noStatusCount
:
"无状态"
},
otherSet
:{},
countObj
:{},
showExportSet
:
!
1
}},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
cancelCho
:
function
(){
this
.
showExportSet
=!
1
},
showExportSetFn
:
function
(){
this
.
showExportSet
=!
0
},
getEmployeeCount
:
function
(){
var
e
=
this
;
Object
(
a
.
a
)(
"/haoban-manage-web/record/employee-count-detail"
,{}).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
countObj
=
t
.
data
.
result
:
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})}},
beforeMount
:
function
(){
this
.
getEmployeeCount
(),
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"hidden"
})},
beforeDestroy
:
function
(){
document
.
querySelector
(
".contact-wrap__body"
).
style
.
overflow
=
"auto"
}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"common-set-wrap employee-record-wrap"
},[
i
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
,
slotFlag
:
!
0
}},[[
i
(
"div"
,{
staticClass
:
"top-area"
},[
i
(
"div"
,{
staticClass
:
"top-title"
},[
i
(
"span"
,{
staticClass
:
"title-span"
},[
e
.
_v
(
"在职员工"
)]),
e
.
_v
(
" "
),
i
(
"a"
,{
on
:{
click
:
function
(
t
){
e
.
changeRouter
(
"/recordIo?importCode=record"
)}}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
e
.
_v
(
"导入员工档案"
),
i
(
"i"
,{
staticClass
:
"el-icon-upload el-icon--right"
})])],
1
)]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"e-type-num-title"
},
e
.
_l
(
e
.
countObj
,
function
(
t
,
o
){
return
i
(
"div"
,{
key
:
o
,
staticClass
:
"type-cell"
,
class
:
"onWorkCout"
==
o
||
"noTypeWorkCount"
==
o
?
"with-bdr"
:
""
},[
i
(
"p"
,{
staticClass
:
"type-name"
},[
e
.
_v
(
e
.
_s
(
e
.
typeObj
[
o
]))]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"num"
},[
e
.
_v
(
e
.
_s
(
t
))])])}))])]],
2
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"right-content"
},[
i
(
"div"
,{
staticClass
:
"right-box"
},[
i
(
"div"
,{
staticClass
:
"e-record-container"
},[
e
.
showExportSet
?[
i
(
"export-set"
,{
attrs
:{
otherSet
:
e
.
otherSet
},
on
:{
cancelCho
:
e
.
cancelCho
}})]:[
i
(
"employee-list"
,{
on
:{
showExportSetFn
:
e
.
showExportSetFn
}})]],
2
)])]),
e
.
_v
(
" "
),
i
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
i
(
"nyZT"
)},
null
,
null
);
t
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
33c1a088b35f6451581e
.js
→
dist/static/js/manifest.
193d09ddad148f82643d
.js
View file @
1d5506c4
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
82
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"f738dd3a51c5250d2ccb"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"d3c62c00c91d9891f916"
,
3
:
"a43577b9e52a5719a124"
,
4
:
"2a11022e6016e1503fe8"
,
5
:
"7b4c3b6717833634aafc"
,
6
:
"c9906ce87091d607a658"
,
7
:
"8f462a353a2ce9c0c116"
,
8
:
"fa75a84a4cf44dfb7e45"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"a2aa031ae677b8acbf17"
,
11
:
"e34a64dea1b7a059dcfd"
,
12
:
"bdcf26a1bcccf7e0239b"
,
13
:
"6c87f5cefdf77374932d"
,
14
:
"8a2d85b6cc3b95b868d9"
,
15
:
"84bae29b7447e1791f3f"
,
16
:
"c4ebe5ae46670e5c0754"
,
17
:
"43a28ed857836d70649f"
,
18
:
"ca2eb072a4ce38f9e487"
,
19
:
"7971a9a5d92fefa82083"
,
20
:
"75e0997b94e5d6294ec8"
,
21
:
"58c0c6a374fc0ec6158e"
,
22
:
"047f5bba500bca0d62fe"
,
23
:
"9efbbc6dd315a676ce09"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"a579fe9e82eab9ece806"
,
26
:
"8f0bb144b5e757399727"
,
27
:
"b5f0e5bd5920771b58af"
,
28
:
"140ad99228544036c969"
,
29
:
"36261093da9264fa5f33"
,
30
:
"0d4999d53befa8fd9eaa"
,
31
:
"8baa6bca929d1c9a38f6"
,
32
:
"836f4d0e323c721473e9"
,
33
:
"7b62b2ff369669fe322c"
,
34
:
"f9d53c31059aaff9b360"
,
35
:
"c75699cc6fe47597f200"
,
36
:
"61a1c2681f78e1fd7e80"
,
37
:
"4353ffce2e97d528bc9b"
,
38
:
"23b83bd7920693bc35c6"
,
39
:
"d17e2c61f3cc8d6972fa"
,
40
:
"4f00bfc33f5105e736f2"
,
41
:
"f4e5b4ab3c9a1026ea39"
,
42
:
"835eac905f71b73639f2"
,
43
:
"2865fa193a9856135032"
,
44
:
"d5a36ea207d05a6c786e"
,
45
:
"9ed8480e1b598c7a098d"
,
46
:
"98fb716c1e5a99ebdcf8"
,
47
:
"de0e290ed4c878d0c8c3"
,
48
:
"6d564387f233c08c800d"
,
49
:
"eec7bfd1339e83b6fbaf"
,
50
:
"100db538fff484dd15a0"
,
51
:
"24f2f362e94364e286d4"
,
52
:
"86e20ce22c44d2e5d767"
,
53
:
"9dce74b07cc47cdf56db"
,
54
:
"1503b643475934e2b5e1"
,
55
:
"c423570fcbf037d349d9"
,
56
:
"94bbfa32e0086c5f0bbc"
,
57
:
"bd32ba8c2f8e9ad82ecc"
,
58
:
"396c075bf2e02574d826"
,
59
:
"8669556909924307dc86"
,
60
:
"0ec53183da96964b8e4c"
,
61
:
"a6c4d42ed111c8f08d58"
,
62
:
"83006151f3b25f2e0f59"
,
63
:
"038dd5957146c985c766"
,
64
:
"fa6912661e4aa582bced"
,
65
:
"9e73109e0288d419a92a"
,
66
:
"d14b448b51b083a8b0ea"
,
67
:
"b303b6417880aeabcc58"
,
68
:
"e8fc7626a3e7c75e0a11"
,
69
:
"0a48ab7cfbaebe76ddc0"
,
70
:
"6c2402795ed03b512775"
,
71
:
"1988a49f349f0135dcb8"
,
72
:
"65d04ccb0ca651d8c7df"
,
73
:
"a40fafa07d58770fa2bb"
,
74
:
"f1fd3ff9d86e629dd9de"
,
75
:
"27ea3959da9599852835"
,
76
:
"e24f155e1168c927ee44"
,
77
:
"9f7ea81c191a5e1bbaa2"
,
78
:
"51dbc832d510b2a1c0a3"
,
81
:
"be325ddaae712f760e1a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
82
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"f738dd3a51c5250d2ccb"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"d3c62c00c91d9891f916"
,
3
:
"a43577b9e52a5719a124"
,
4
:
"2a11022e6016e1503fe8"
,
5
:
"7b4c3b6717833634aafc"
,
6
:
"c9906ce87091d607a658"
,
7
:
"8f462a353a2ce9c0c116"
,
8
:
"7a7d31bc43d1c81f9519"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"a2aa031ae677b8acbf17"
,
11
:
"e34a64dea1b7a059dcfd"
,
12
:
"bdcf26a1bcccf7e0239b"
,
13
:
"6c87f5cefdf77374932d"
,
14
:
"8a2d85b6cc3b95b868d9"
,
15
:
"276c1dea6267886d052c"
,
16
:
"c4ebe5ae46670e5c0754"
,
17
:
"43a28ed857836d70649f"
,
18
:
"ca2eb072a4ce38f9e487"
,
19
:
"7971a9a5d92fefa82083"
,
20
:
"75e0997b94e5d6294ec8"
,
21
:
"58c0c6a374fc0ec6158e"
,
22
:
"047f5bba500bca0d62fe"
,
23
:
"9efbbc6dd315a676ce09"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"a579fe9e82eab9ece806"
,
26
:
"8f0bb144b5e757399727"
,
27
:
"b5f0e5bd5920771b58af"
,
28
:
"140ad99228544036c969"
,
29
:
"36261093da9264fa5f33"
,
30
:
"0d4999d53befa8fd9eaa"
,
31
:
"8baa6bca929d1c9a38f6"
,
32
:
"836f4d0e323c721473e9"
,
33
:
"7b62b2ff369669fe322c"
,
34
:
"f9d53c31059aaff9b360"
,
35
:
"c75699cc6fe47597f200"
,
36
:
"61a1c2681f78e1fd7e80"
,
37
:
"4353ffce2e97d528bc9b"
,
38
:
"23b83bd7920693bc35c6"
,
39
:
"d17e2c61f3cc8d6972fa"
,
40
:
"4f00bfc33f5105e736f2"
,
41
:
"f4e5b4ab3c9a1026ea39"
,
42
:
"835eac905f71b73639f2"
,
43
:
"2865fa193a9856135032"
,
44
:
"d5a36ea207d05a6c786e"
,
45
:
"9ed8480e1b598c7a098d"
,
46
:
"98fb716c1e5a99ebdcf8"
,
47
:
"de0e290ed4c878d0c8c3"
,
48
:
"6d564387f233c08c800d"
,
49
:
"eec7bfd1339e83b6fbaf"
,
50
:
"100db538fff484dd15a0"
,
51
:
"24f2f362e94364e286d4"
,
52
:
"86e20ce22c44d2e5d767"
,
53
:
"9dce74b07cc47cdf56db"
,
54
:
"1503b643475934e2b5e1"
,
55
:
"c423570fcbf037d349d9"
,
56
:
"94bbfa32e0086c5f0bbc"
,
57
:
"bd32ba8c2f8e9ad82ecc"
,
58
:
"396c075bf2e02574d826"
,
59
:
"8669556909924307dc86"
,
60
:
"0ec53183da96964b8e4c"
,
61
:
"a6c4d42ed111c8f08d58"
,
62
:
"83006151f3b25f2e0f59"
,
63
:
"038dd5957146c985c766"
,
64
:
"fa6912661e4aa582bced"
,
65
:
"9e73109e0288d419a92a"
,
66
:
"d14b448b51b083a8b0ea"
,
67
:
"b303b6417880aeabcc58"
,
68
:
"e8fc7626a3e7c75e0a11"
,
69
:
"0a48ab7cfbaebe76ddc0"
,
70
:
"6c2402795ed03b512775"
,
71
:
"1988a49f349f0135dcb8"
,
72
:
"65d04ccb0ca651d8c7df"
,
73
:
"a40fafa07d58770fa2bb"
,
74
:
"f1fd3ff9d86e629dd9de"
,
75
:
"27ea3959da9599852835"
,
76
:
"e24f155e1168c927ee44"
,
77
:
"9f7ea81c191a5e1bbaa2"
,
78
:
"51dbc832d510b2a1c0a3"
,
81
:
"be325ddaae712f760e1a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/employeeRecord/employeeList.vue
View file @
1d5506c4
...
...
@@ -11,7 +11,7 @@
<el-select
class=
"w-130"
v-model=
"clerkStatus"
placeholder=
"选择状态"
@
change=
"reGetList"
>
<el-option
v-for=
"(type, index) in statusList"
:key=
"index"
:label=
"type.label"
:value=
"type.id"
>
</el-option>
</el-select>
<span
class=
"demonstration"
>
入职时间
</span>
<span
class=
"demonstration"
style=
"line-height: 34px;"
>
入职时间
</span>
<el-date-picker
v-model=
"fireDate"
type=
"daterange"
align=
"right"
value-format=
"yyyy-MM-dd"
unlink-panels
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"selectDate"
:picker-options=
"pickerOptions2"
>
</el-date-picker>
</
template
>
<div
class=
"block"
v-else
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment