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
c10495d0
Commit
c10495d0
authored
Mar 28, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改 员工筛选
parent
6b3e7fb9
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
31 additions
and
28 deletions
+31
-28
index.html
dist/index.html
+2
-2
13.462b158420af9109c2c4.js
dist/static/js/13.462b158420af9109c2c4.js
+2
-0
14.94920536d81601122060.js
dist/static/js/14.94920536d81601122060.js
+2
-2
15.0bab23d82b5728dd4cdd.js
dist/static/js/15.0bab23d82b5728dd4cdd.js
+0
-2
15.35d29be8ae21328d7a1a.js
dist/static/js/15.35d29be8ae21328d7a1a.js
+2
-2
7.2d8d6e52a6ac43313122.js
dist/static/js/7.2d8d6e52a6ac43313122.js
+2
-0
7.f05b01bdfcae0b11fcf0.js
dist/static/js/7.f05b01bdfcae0b11fcf0.js
+0
-2
app.2a1ad6040a1ec278014d.js
dist/static/js/app.2a1ad6040a1ec278014d.js
+2
-2
manifest.137092945810187b05be.js
dist/static/js/manifest.137092945810187b05be.js
+2
-2
employeeList.vue
src/components/employeeRecord/employeeList.vue
+17
-14
No files found.
dist/index.html
View file @
c10495d0
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.9ffd80a362beb879ba75d6d8dee5c99d.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
https://cdn.ravenjs.com/3.26.2/vue/raven.min.js
crossorigin=
anonymous
></script><script>
Raven
.
config
(
'https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672'
).
install
();
</script><script
type=
text/javascript
src=
./static/js/manifest.bebde6e5258493fb272a.js
></script><script
type=
text/javascript
src=
./static/js/vendor.2a06374a31d674ca49d2.js
></script><script
type=
text/javascript
src=
./static/js/app.296e360df3d0a2b0f2dd.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.9ffd80a362beb879ba75d6d8dee5c99d.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
https://cdn.ravenjs.com/3.26.2/vue/raven.min.js
crossorigin=
anonymous
></script><script>
Raven
.
config
(
'https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672'
).
install
();
</script><script
type=
text/javascript
src=
./static/js/manifest.137092945810187b05be.js
></script><script
type=
text/javascript
src=
./static/js/vendor.2a06374a31d674ca49d2.js
></script><script
type=
text/javascript
src=
./static/js/app.2a1ad6040a1ec278014d.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/js/13.462b158420af9109c2c4.js
0 → 100644
View file @
c10495d0
webpackJsonp
([
13
],{
NNAT
:
function
(
e
,
t
,
o
){
"use strict"
;
var
i
=
o
(
"fZjL"
),
a
=
o
.
n
(
i
),
s
=
o
(
"mvHQ"
),
n
=
o
.
n
(
s
),
r
=
o
(
"P9l9"
),
l
=
o
(
"0xDb"
),
c
=
{
name
:
"list-item"
,
props
:{
item
:{
type
:
String
,
required
:
!
0
}},
filters
:{
formatDate
:
l
.
b
},
data
:
function
(){
return
{
typeLsit
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
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
},
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
:{
callHandle
:
function
(
e
){
"编辑员工资料"
!=
e
.
typeTitle
?
this
.
$emit
(
"callHandle"
,
e
.
obj
,
e
.
type
,
e
.
typeTitle
):
location
.
href
=
"#/recordInfo?recordId="
+
e
.
obj
.
recordId
}},
mounted
:
function
(){}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
e
.
propList
[
e
.
item
].
slot
?
o
(
"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
?
o
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
typeLsit
[
t
.
row
[
e
.
item
]
||
5
])
+
"
\
n "
)]):
"hireDate"
==
e
.
item
||
"correctionDate"
==
e
.
item
||
"fireDate"
==
e
.
item
?
o
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatDate"
)(
t
.
row
[
e
.
item
],
"YY-MM-DD"
)
||
"--"
)
+
"
\
n "
)]):
"headPic"
==
e
.
item
?
o
(
"div"
,[
t
.
row
[
e
.
item
]?
o
(
"img"
,{
staticClass
:
"header-pic"
,
attrs
:{
src
:
t
.
row
[
e
.
item
]}}):
o
(
"div"
,{
staticClass
:
"replace-head-img"
},[
o
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])]):
"fireReason"
==
e
.
item
?
o
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
reasons
[
t
.
row
[
e
.
item
]]
||
"--"
)
+
"
\
n "
)]):
"handleEmployee"
==
e
.
item
?
o
(
"div"
,[
o
(
"div"
,{
staticClass
:
"table-handle"
},[
o
(
"el-dropdown"
,{
staticClass
:
"more"
,
on
:{
command
:
e
.
callHandle
}},[
o
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
e
.
_v
(
" 更多"
),
o
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
o
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
2
==
t
.
row
.
clerkStatus
?[
o
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"turnPositive"
,
typeTitle
:
"办理转正"
}}},[
e
.
_v
(
"办理转正"
)]),
e
.
_v
(
" "
),
o
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"eidtCorrectionTime"
,
typeTitle
:
"修改转正时间"
}}},[
e
.
_v
(
"修改转正时间"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"editEmployee"
,
typeTitle
:
"编辑员工资料"
}}},[
e
.
_v
(
"编辑员工资料"
)]),
e
.
_v
(
" "
),
o
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"resignation"
,
typeTitle
:
"办理离职"
}}},[
e
.
_v
(
"办理离职"
)])],
2
)],
1
)],
1
)]):
"handleUnEmployee"
==
e
.
item
?
o
(
"div"
,[
o
(
"div"
,{
staticClass
:
"table-handle"
},[
o
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"#/recordInfo?recordId="
+
t
.
row
.
recordId
+
"&type=unemployee"
}},[
e
.
_v
(
"编辑"
)])])]):
e
.
_e
()]}}])}):
o
(
"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
}})},
staticRenderFns
:[]};
var
p
=
o
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
o
(
"edn0"
)},
null
,
null
).
exports
,
u
=
o
(
"IVno"
),
h
=
o
(
"Ie7z"
),
m
=
o
(
"c4uw"
),
f
=
{
name
:
"employeeRecordList"
,
props
:{
isUnEmployee
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
listItem
:
p
,
handleDialog
:
u
.
a
,
vueSelectStore
:
h
.
a
,
vueSelectEmployee
:
m
.
a
},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
440
-
160
,
pickerOptions2
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
o
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
o
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
o
,
t
])}}]},
employeeList
:[],
pageNum
:
1
,
pageSize
:
20
,
sortType
:
"desc"
,
sortColumn
:
"hireDate"
,
statusList
:[
"全部"
,
"正式"
,
"试用"
],
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
:[]}},
methods
:{
searchFn
:
function
(){
this
.
getEmloyeeList
()},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
r
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
o
=
[],
i
=
[];
1
==
t
.
data
.
errorCode
&&
(
o
=
t
.
data
.
result
.
departmentList
||
[],
i
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
o
,
personData
:
i
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
callSelector
:
function
(){
this
.
$refs
.
departmentSelector
.
treeSet
.
dialogVisible
=!
0
},
callStoreSelector
:
function
(){
this
.
$refs
.
storeSelector
.
treeSet
.
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
){
var
t
=
this
,
o
=
t
.
adDefaultSelection
.
map
(
function
(
e
){
return
e
.
id
}),
i
=
t
.
selectionList
.
map
(
function
(
e
){
return
e
.
id
}),
a
=
JSON
.
parse
(
n
()(
t
.
selectionList
));
e
.
forEach
(
function
(
e
){
o
.
includes
(
e
.
id
)
||
t
.
adDefaultSelection
.
push
(
e
),
i
.
includes
(
e
.
id
)
||
a
.
push
(
e
)}),
t
.
selectionList
=
a
,
t
.
formatSelectionList
(
a
)},
handleStoreSelectedList
:
function
(
e
){
var
t
=
this
;
t
.
stList
=
e
;
var
o
=
t
.
defaultStoreList
.
map
(
function
(
e
){
return
e
.
id
}),
i
=
t
.
selectionList
.
map
(
function
(
e
){
return
e
.
id
}),
a
=
JSON
.
parse
(
n
()(
t
.
selectionList
));
e
.
forEach
(
function
(
e
){
o
.
includes
(
e
.
id
)
||
t
.
defaultStoreList
.
push
(
e
),
i
.
includes
(
e
.
id
)
||
a
.
push
(
e
)}),
t
.
selectionList
=
a
,
t
.
formatSelectionList
(
a
)},
formatSelectionList
:
function
(
e
){
var
t
=
this
,
o
=
t
.
unique
(
e
);
t
.
selectionList
=
o
,
t
.
chooseClerkIdList
=
[],
t
.
chooseStoreIdList
=
[],
t
.
chooseGroupIdList
=
[],
o
.
length
&&
o
.
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
o
=
this
,
i
=
o
.
selectionList
.
indexOf
(
e
);
o
.
selectionList
.
splice
(
i
,
1
),(
3
==
e
.
type
||
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
1
==
e
.
isStoreGroup
)
&&
o
.
defaultStoreList
.
forEach
(
function
(
t
,
i
){(
t
.
id
=
e
.
id
)
&&
o
.
defaultStoreList
.
splice
(
i
,
1
)}),
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
0
==
e
.
isStoreGroup
&&
o
.
adDefaultSelection
.
forEach
(
function
(
t
,
i
){(
t
.
id
=
e
.
id
)
&&
o
.
adDefaultSelection
.
splice
(
i
,
1
)}),
o
.
formatSelectionList
(
o
.
selectionList
),
o
.
changed
+=
1
},
handleSuccess
:
function
(){
this
.
dialogVisible
=!
1
,
this
.
getEmloyeeList
()},
callHandle
:
function
(
e
,
t
,
o
){
this
.
handleType
=
t
,
this
.
employeeObj
=
e
,
this
.
typeTitle
=
o
,
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
,
o
=
t
?
"/haoban-manage-web/record/find-fire-employee-record-page"
:
"/haoban-manage-web/record/find-on-work-employee-record-page"
,
i
=
{
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
)(
o
,
i
).
then
(
function
(
o
){
1
==
o
.
data
.
errorCode
?(
e
.
employeeList
=
o
.
data
.
result
.
list
,
e
.
total
=
t
?
o
.
data
.
result
.
total
:
o
.
data
.
result
.
pageInfo
.
total
):
e
.
$message
.
error
({
message
:
o
.
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"
,
"hireDate"
,
"fireDate"
,
"fireReason"
,
"handleUnEmployee"
]:[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"hireDate"
,
"correctionDate"
,
"handleEmployee"
]}}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"e-r-l-container"
},[
o
(
"div"
,{
staticClass
:
"handle-area"
},[
o
(
"div"
,{
staticClass
:
"flex1"
},[
o
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
attrs
:{
disabled
:
e
.
disabled
},
on
:{
click
:
e
.
callSelector
}},[
e
.
_v
(
"行政架构选人"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
on
:{
click
:
e
.
callStoreSelector
}},[
e
.
_v
(
"门店架构选人"
)]),
e
.
_v
(
" "
),
e
.
isUnEmployee
?
o
(
"div"
,{
staticClass
:
"block"
},[
o
(
"span"
,{
staticClass
:
"demonstration"
},[
e
.
_v
(
"离职日期"
)]),
e
.
_v
(
" "
),
o
(
"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
):[
o
(
"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
o
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})})),
e
.
_v
(
" "
),
o
(
"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
o
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})}))],
e
.
_v
(
" "
),
o
(
"el-input"
,{
staticStyle
:{
width
:
"218px"
,
"margin-left"
:
"10px"
},
attrs
:{
placeholder
:
"请输入姓名或手机号"
,
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
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showExportSet
}},[
e
.
_v
(
"导出"
),
o
(
"i"
,{
staticClass
:
"el-icon-upload el-icon--right"
})])],
1
),
e
.
_v
(
" "
),
e
.
selectionList
.
length
?
o
(
"ul"
,{
staticClass
:
"selector-selected-list"
},[
e
.
_l
(
e
.
selectionList
,
function
(
t
,
i
){
return
[
o
(
"li"
,{
key
:
i
+
t
.
id
+
t
.
label
,
staticClass
:
"sld"
},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
" "
),
o
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
o
){
e
.
delSld
(
t
,
t
.
isStoreGroup
)}}})])]}),
e
.
_v
(
" "
),
o
(
"li"
,{
staticClass
:
"sld tip"
},[
e
.
_v
(
"共筛选出"
+
e
.
_s
(
e
.
total
)
+
"人"
)])],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"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
[
o
(
"list-item"
,{
key
:
t
,
attrs
:{
item
:
t
},
on
:{
callHandle
:
e
.
callHandle
}})]})],
2
),
e
.
_v
(
" "
),
e
.
employeeList
.
length
?
o
(
"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
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
typeTitle
,
visible
:
e
.
dialogVisible
,
width
:
"480px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
o
(
"handle-dialog"
,{
attrs
:{
employee
:
e
.
employeeObj
,
handleType
:
e
.
handleType
,
typeTitle
:
e
.
typeTitle
},
on
:{
handleSuccess
:
e
.
handleSuccess
}})],
1
),
e
.
_v
(
" "
),
o
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleStoreSelectedList
}}),
e
.
_v
(
" "
),
o
(
"vue-select-employee"
,{
ref
:
"departmentSelector"
,
attrs
:{
changed
:
e
.
changed
,
treeData
:
e
.
treeData
,
defaultSelection
:
e
.
adDefaultSelection
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
g
=
o
(
"VU/8"
)(
f
,
y
,
!
1
,
function
(
e
){
o
(
"o17R"
)},
null
,
null
);
t
.
a
=
g
.
exports
},
TGrv
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
o
(
"3Xzz"
),
a
=
o
(
"NNAT"
),
s
=
{
name
:
"employeeRecord"
,
components
:{
navCrumb
:
i
.
a
,
employeeList
:
a
.
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
(){}},
n
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-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
r
=
o
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
e
){
o
(
"xnej"
)},
null
,
null
);
t
.
default
=
r
.
exports
},
edn0
:
function
(
e
,
t
){},
o17R
:
function
(
e
,
t
){},
xnej
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/1
3.fd57c44bf2068416be03
.js
→
dist/static/js/1
4.94920536d81601122060
.js
View file @
c10495d0
webpackJsonp
([
13
],{
"06NE"
:
function
(
e
,
t
){},
"2FlR"
:
function
(
e
,
t
,
a
){
e
.
exports
=
a
.
p
+
"static/img/test.50e4091.png"
},
TGzc
:
function
(
e
,
t
){},
Zx22
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:
Object
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
this
.
value
,
leftData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}],
rightData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
e
,
t
){
function
a
(
e
){
return
e
>
9
?
""
+
e
:
"0"
+
e
}
var
s
=
new
Date
(
e
),
i
=
s
.
getFullYear
(),
n
=
s
.
getMonth
()
+
1
,
o
=
s
.
getDate
();
return
i
+
t
+
a
(
n
)
+
t
+
a
(
o
)
+
t
},
handleData
:
function
(){}},
watch
:{
value
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
storeChangeData
:
function
(
e
,
t
){}},
mounted
:
function
(){}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店环境图变更"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更前
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
e
.
_l
(
e
.
leftData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img"
+
t
,
attrs
:{
src
:
e
.
src
,
alt
:
""
}})]})],
2
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更后
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
e
.
_l
(
e
.
rightData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img0"
+
t
,
attrs
:{
src
:
e
.
src
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"06NE"
)},
"data-v-13208767"
,
null
);
t
.
a
=
n
.
exports
},
xCEU
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
i
=
a
(
"Zx22"
),
n
=
a
(
"3E4D"
),
o
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
r
=
a
(
"P9l9"
),
c
=
{
name
:
"unreview"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"审核中心"
,
path
:
"/unreview"
},{
name
:
"待审核"
,
path
:
""
}],
filterValue
:
""
,
filterOptions
:[{
label
:
"全部事项"
,
value
:
""
},{
label
:
"新增成员"
,
value
:
"1"
},{
label
:
"成员离职"
,
value
:
"2"
}],
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
selectId
:
""
,
ruleForm
:{
refuseReason
:
""
},
rules
:{
refuseReason
:[{
required
:
!
0
,
message
:
"拒绝理由不能为空"
,
trigger
:
"change"
},{
min
:
1
,
max
:
50
,
message
:
"长度在 1 到 50 个字"
,
trigger
:
"change"
}]},
showStoreDialog
:
!
1
,
storeChangeData
:{},
approveVisible
:
!
1
,
refuseVisible
:
!
1
}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
"--"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
"--"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
e
){
return
(
e
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)}},
computed
:{},
methods
:{
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleClick
:
function
(
e
,
t
,
a
){
this
.
selectId
=
t
.
enterpriseAuditingId
,
a
?
this
.
refuseVisible
=!
0
:
this
.
approveVisible
=!
0
},
sendApprove
:
function
(){
this
.
postApprove
(
this
.
selectId
)},
approveAll
:
function
(){
var
e
=
this
.
multipleSelection
.
length
?
this
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
enterpriseAuditingId
}):
""
;
if
(
!
e
)
return
this
.
$message
({
message
:
"请至少选择一条审核事项"
,
type
:
"warning"
}),
!
1
;
this
.
postAllApprove
(
e
)},
postApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseAuditingId
:
e
};
Object
(
r
.
c
)(
"/haoban-manage-web/audit/approve.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
approveVisible
=!
1
,
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postAllApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseAuditingIds
:
e
};
Object
(
r
.
c
)(
"/haoban-manage-web/audit/batch-approve.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
cancelRefuse
:
function
(
e
){
this
.
refuseVisible
=!
1
,
this
.
$refs
.
ruleForm
.
resetFields
()},
sendRefuse
:
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
postRefuse
()})},
postRefuse
:
function
(){
var
e
=
this
,
t
=
{
enterpriseAuditingId
:
e
.
selectId
,
refuseReason
:
e
.
ruleForm
.
refuseReason
};
Object
(
r
.
a
)(
"/haoban-manage-web/audit/refuse.json"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
refuseVisible
=!
1
,
void
e
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
showSingleInfo
:
function
(
e
){},
showStoreChange
:
function
(
e
){
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
e
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
auditingType
:
t
.
filterValue
,
auditingStatus
:
"0"
,
search
:
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
r
.
a
)(
"/haoban-manage-web/audit/auditing-list.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
,
t
){
e
.
createTime
&&
(
e
.
createTime
=
Object
(
l
.
b
)(
e
.
createTime
))}),
t
.
tableData
=
a
.
result
.
list
,
void
(
t
.
total
=
a
.
result
.
total
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
getTableList
()},
components
:{
navCrumb
:
s
.
a
,
storeChange
:
i
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head flex flex-space-between"
},[
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"全部事项"
},
on
:{
change
:
e
.
getTableList
},
model
:{
value
:
e
.
filterValue
,
callback
:
function
(
t
){
e
.
filterValue
=
t
},
expression
:
"filterValue"
}},
e
.
_l
(
e
.
filterOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
approveAll
}},[
e
.
_v
(
"批量同意"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
auditingType
?
"门店信息变更"
:
1
==
t
.
row
.
auditingType
?
"新增成员"
:
"成员离职"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
t
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
applyName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
t
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
code
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
positionName
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
applyName
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
detail
))]),
e
.
_v
(
" "
),
0
==
t
.
row
.
auditingType
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showStoreChange
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)]):
e
.
_e
()],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"同意"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
,
"refuse"
)}}},[
e
.
_v
(
"拒绝"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
e
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
e
.
storeChangeData
},
model
:{
value
:
e
.
showStoreDialog
,
callback
:
function
(
t
){
e
.
showStoreDialog
=
t
},
expression
:
"showStoreDialog"
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"approve-dialog"
,
attrs
:{
title
:
""
,
visible
:
e
.
approveVisible
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
approveVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"approve-body text-center"
},[
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-success"
}),
a
(
"span"
,{
staticClass
:
"approve-icon-tip"
},[
e
.
_v
(
"同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-tip"
},[
e
.
_v
(
"是否确认同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
approveVisible
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sendApprove
}},[
e
.
_v
(
"确 定"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"refuse-dialog"
,
attrs
:{
title
:
"提示"
,
visible
:
e
.
refuseVisible
,
"before-close"
:
e
.
cancelRefuse
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
refuseVisible
=
t
}}},[
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"refuse-tip"
},[
e
.
_v
(
"请输入拒绝理由"
)]),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"refuseReason"
}},[
a
(
"el-input"
,{
staticClass
:
"font-14"
,
attrs
:{
type
:
"textarea"
,
placeholder
:
"最多 50 个字"
,
rows
:
3
},
model
:{
value
:
e
.
ruleForm
.
refuseReason
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"refuseReason"
,
t
)},
expression
:
"ruleForm.refuseReason"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
cancelRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
sendRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
c
,
u
,
!
1
,
function
(
e
){
a
(
"TGzc"
)},
"data-v-bba9823e"
,
null
);
t
.
default
=
p
.
exports
}});
webpackJsonp
([
14
],{
"06NE"
:
function
(
e
,
t
){},
"2FlR"
:
function
(
e
,
t
,
a
){
e
.
exports
=
a
.
p
+
"static/img/test.50e4091.png"
},
TGzc
:
function
(
e
,
t
){},
Zx22
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:
Object
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
this
.
value
,
leftData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}],
rightData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
e
,
t
){
function
a
(
e
){
return
e
>
9
?
""
+
e
:
"0"
+
e
}
var
s
=
new
Date
(
e
),
i
=
s
.
getFullYear
(),
n
=
s
.
getMonth
()
+
1
,
o
=
s
.
getDate
();
return
i
+
t
+
a
(
n
)
+
t
+
a
(
o
)
+
t
},
handleData
:
function
(){}},
watch
:{
value
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
storeChangeData
:
function
(
e
,
t
){}},
mounted
:
function
(){}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店环境图变更"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更前
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
e
.
_l
(
e
.
leftData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img"
+
t
,
attrs
:{
src
:
e
.
src
,
alt
:
""
}})]})],
2
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
e
.
_v
(
"
\
n 变更后
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
e
.
_l
(
e
.
rightData
,
function
(
e
,
t
){
return
[
a
(
"img"
,{
key
:
"img0"
+
t
,
attrs
:{
src
:
e
.
src
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"06NE"
)},
"data-v-13208767"
,
null
);
t
.
a
=
n
.
exports
},
xCEU
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
i
=
a
(
"Zx22"
),
n
=
a
(
"3E4D"
),
o
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
r
=
a
(
"P9l9"
),
c
=
{
name
:
"unreview"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"审核中心"
,
path
:
"/unreview"
},{
name
:
"待审核"
,
path
:
""
}],
filterValue
:
""
,
filterOptions
:[{
label
:
"全部事项"
,
value
:
""
},{
label
:
"新增成员"
,
value
:
"1"
},{
label
:
"成员离职"
,
value
:
"2"
}],
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
selectId
:
""
,
ruleForm
:{
refuseReason
:
""
},
rules
:{
refuseReason
:[{
required
:
!
0
,
message
:
"拒绝理由不能为空"
,
trigger
:
"change"
},{
min
:
1
,
max
:
50
,
message
:
"长度在 1 到 50 个字"
,
trigger
:
"change"
}]},
showStoreDialog
:
!
1
,
storeChangeData
:{},
approveVisible
:
!
1
,
refuseVisible
:
!
1
}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
"--"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
"--"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
e
){
return
(
e
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)}},
computed
:{},
methods
:{
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleClick
:
function
(
e
,
t
,
a
){
this
.
selectId
=
t
.
enterpriseAuditingId
,
a
?
this
.
refuseVisible
=!
0
:
this
.
approveVisible
=!
0
},
sendApprove
:
function
(){
this
.
postApprove
(
this
.
selectId
)},
approveAll
:
function
(){
var
e
=
this
.
multipleSelection
.
length
?
this
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
enterpriseAuditingId
}):
""
;
if
(
!
e
)
return
this
.
$message
({
message
:
"请至少选择一条审核事项"
,
type
:
"warning"
}),
!
1
;
this
.
postAllApprove
(
e
)},
postApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseAuditingId
:
e
};
Object
(
r
.
c
)(
"/haoban-manage-web/audit/approve.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
t
.
approveVisible
=!
1
,
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postAllApprove
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseAuditingIds
:
e
};
Object
(
r
.
c
)(
"/haoban-manage-web/audit/batch-approve.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
cancelRefuse
:
function
(
e
){
this
.
refuseVisible
=!
1
,
this
.
$refs
.
ruleForm
.
resetFields
()},
sendRefuse
:
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
postRefuse
()})},
postRefuse
:
function
(){
var
e
=
this
,
t
=
{
enterpriseAuditingId
:
e
.
selectId
,
refuseReason
:
e
.
ruleForm
.
refuseReason
};
Object
(
r
.
a
)(
"/haoban-manage-web/audit/refuse.json"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
refuseVisible
=!
1
,
void
e
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
showSingleInfo
:
function
(
e
){},
showStoreChange
:
function
(
e
){
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
e
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
auditingType
:
t
.
filterValue
,
auditingStatus
:
"0"
,
search
:
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
r
.
a
)(
"/haoban-manage-web/audit/auditing-list.json"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
,
t
){
e
.
createTime
&&
(
e
.
createTime
=
Object
(
l
.
b
)(
e
.
createTime
))}),
t
.
tableData
=
a
.
result
.
list
,
void
(
t
.
total
=
a
.
result
.
total
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
getTableList
()},
components
:{
navCrumb
:
s
.
a
,
storeChange
:
i
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head flex flex-space-between"
},[
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"全部事项"
},
on
:{
change
:
e
.
getTableList
},
model
:{
value
:
e
.
filterValue
,
callback
:
function
(
t
){
e
.
filterValue
=
t
},
expression
:
"filterValue"
}},
e
.
_l
(
e
.
filterOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
approveAll
}},[
e
.
_v
(
"批量同意"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
auditingType
?
"门店信息变更"
:
1
==
t
.
row
.
auditingType
?
"新增成员"
:
"成员离职"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
t
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
applyName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
t
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
code
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
positionName
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
applyName
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
detail
))]),
e
.
_v
(
" "
),
0
==
t
.
row
.
auditingType
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showStoreChange
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)]):
e
.
_e
()],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"同意"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleClick
(
t
.
$index
,
t
.
row
,
"refuse"
)}}},[
e
.
_v
(
"拒绝"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
e
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
e
.
storeChangeData
},
model
:{
value
:
e
.
showStoreDialog
,
callback
:
function
(
t
){
e
.
showStoreDialog
=
t
},
expression
:
"showStoreDialog"
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"approve-dialog"
,
attrs
:{
title
:
""
,
visible
:
e
.
approveVisible
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
approveVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"approve-body text-center"
},[
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-success"
}),
a
(
"span"
,{
staticClass
:
"approve-icon-tip"
},[
e
.
_v
(
"同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-tip"
},[
e
.
_v
(
"是否确认同意"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
approveVisible
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sendApprove
}},[
e
.
_v
(
"确 定"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"refuse-dialog"
,
attrs
:{
title
:
"提示"
,
visible
:
e
.
refuseVisible
,
"before-close"
:
e
.
cancelRefuse
,
width
:
"422px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
refuseVisible
=
t
}}},[
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"refuse-tip"
},[
e
.
_v
(
"请输入拒绝理由"
)]),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"refuseReason"
}},[
a
(
"el-input"
,{
staticClass
:
"font-14"
,
attrs
:{
type
:
"textarea"
,
placeholder
:
"最多 50 个字"
,
rows
:
3
},
model
:{
value
:
e
.
ruleForm
.
refuseReason
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"refuseReason"
,
t
)},
expression
:
"ruleForm.refuseReason"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"approve-footer dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
cancelRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
sendRefuse
(
"ruleForm"
)}}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
c
,
u
,
!
1
,
function
(
e
){
a
(
"TGzc"
)},
"data-v-bba9823e"
,
null
);
t
.
default
=
p
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/15.0bab23d82b5728dd4cdd.js
deleted
100644 → 0
View file @
6b3e7fb9
webpackJsonp
([
15
],{
MBQR
:
function
(
e
,
t
){},
NNAT
:
function
(
e
,
t
,
o
){
"use strict"
;
var
i
=
o
(
"fZjL"
),
a
=
o
.
n
(
i
),
s
=
o
(
"mvHQ"
),
n
=
o
.
n
(
s
),
l
=
o
(
"P9l9"
),
r
=
o
(
"0xDb"
),
c
=
{
name
:
"list-item"
,
props
:{
item
:{
type
:
String
,
required
:
!
0
}},
filters
:{
formatDate
:
r
.
b
},
data
:
function
(){
return
{
typeLsit
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
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
},
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
:{
callHandle
:
function
(
e
){
"编辑员工资料"
!=
e
.
typeTitle
?
this
.
$emit
(
"callHandle"
,
e
.
obj
,
e
.
type
,
e
.
typeTitle
):
location
.
href
=
"#/recordInfo?recordId="
+
e
.
obj
.
recordId
}},
mounted
:
function
(){}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
e
.
propList
[
e
.
item
].
slot
?
o
(
"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
?
o
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
typeLsit
[
t
.
row
[
e
.
item
]
||
5
])
+
"
\
n "
)]):
"hireDate"
==
e
.
item
||
"correctionDate"
==
e
.
item
||
"fireDate"
==
e
.
item
?
o
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatDate"
)(
t
.
row
[
e
.
item
],
"YY-MM-DD"
)
||
"--"
)
+
"
\
n "
)]):
"headPic"
==
e
.
item
?
o
(
"div"
,[
t
.
row
[
e
.
item
]?
o
(
"img"
,{
staticClass
:
"header-pic"
,
attrs
:{
src
:
t
.
row
[
e
.
item
]}}):
o
(
"div"
,{
staticClass
:
"replace-head-img"
},[
o
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])]):
"fireReason"
==
e
.
item
?
o
(
"div"
,[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
reasons
[
t
.
row
[
e
.
item
]]
||
"--"
)
+
"
\
n "
)]):
"handleEmployee"
==
e
.
item
?
o
(
"div"
,[
o
(
"div"
,{
staticClass
:
"table-handle"
},[
o
(
"el-dropdown"
,{
staticClass
:
"more"
,
on
:{
command
:
e
.
callHandle
}},[
o
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
e
.
_v
(
" 更多"
),
o
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
o
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
2
==
t
.
row
.
clerkStatus
?[
o
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"turnPositive"
,
typeTitle
:
"办理转正"
}}},[
e
.
_v
(
"办理转正"
)]),
e
.
_v
(
" "
),
o
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"eidtCorrectionTime"
,
typeTitle
:
"修改转正时间"
}}},[
e
.
_v
(
"修改转正时间"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"editEmployee"
,
typeTitle
:
"编辑员工资料"
}}},[
e
.
_v
(
"编辑员工资料"
)]),
e
.
_v
(
" "
),
o
(
"el-dropdown-item"
,{
attrs
:{
command
:{
obj
:
t
.
row
,
type
:
"resignation"
,
typeTitle
:
"办理离职"
}}},[
e
.
_v
(
"办理离职"
)])],
2
)],
1
)],
1
)]):
"handleUnEmployee"
==
e
.
item
?
o
(
"div"
,[
o
(
"div"
,{
staticClass
:
"table-handle"
},[
o
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"#/recordInfo?recordId="
+
t
.
row
.
recordId
+
"&type=unemployee"
}},[
e
.
_v
(
"编辑"
)])])]):
e
.
_e
()]}}])}):
o
(
"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
}})},
staticRenderFns
:[]};
var
p
=
o
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
o
(
"edn0"
)},
null
,
null
).
exports
,
u
=
o
(
"IVno"
),
h
=
o
(
"Ie7z"
),
m
=
o
(
"c4uw"
),
f
=
{
name
:
"employeeRecordList"
,
props
:{
isUnEmployee
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
listItem
:
p
,
handleDialog
:
u
.
a
,
vueSelectStore
:
h
.
a
,
vueSelectEmployee
:
m
.
a
},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
440
-
160
,
pickerOptions2
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
o
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
o
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
o
,
t
])}}]},
employeeList
:[],
pageNum
:
1
,
pageSize
:
20
,
sortType
:
"desc"
,
sortColumn
:
"hireDate"
,
statusList
:[
"全部"
,
"正式"
,
"试用"
],
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
:[]}},
methods
:{
searchFn
:
function
(){
this
.
getEmloyeeList
()},
getGroupData
:
function
(){
var
e
=
this
;
Object
(
l
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
t
){
var
o
=
[],
i
=
[];
1
==
t
.
data
.
errorCode
&&
(
o
=
t
.
data
.
result
.
departmentList
||
[],
i
=
t
.
data
.
result
.
searchList
||
[]),
e
.
treeData
=
{
treeData
:
o
,
personData
:
i
},
e
.
disabled
=!
1
}).
catch
(
function
(
e
){})},
callSelector
:
function
(){
this
.
$refs
.
departmentSelector
.
treeSet
.
dialogVisible
=!
0
},
callStoreSelector
:
function
(){
this
.
$refs
.
storeSelector
.
treeSet
.
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
){
var
t
=
this
,
o
=
t
.
adDefaultSelection
.
map
(
function
(
e
){
return
e
.
id
}),
i
=
t
.
selectionList
.
map
(
function
(
e
){
return
e
.
id
}),
a
=
JSON
.
parse
(
n
()(
t
.
selectionList
));
e
.
forEach
(
function
(
e
){
o
.
includes
(
e
.
id
)
||
t
.
adDefaultSelection
.
push
(
e
),
i
.
includes
(
e
.
id
)
||
a
.
push
(
e
)}),
t
.
selectionList
=
a
,
t
.
formatSelectionList
(
a
)},
handleStoreSelectedList
:
function
(
e
){
var
t
=
this
;
t
.
stList
=
e
;
var
o
=
t
.
defaultStoreList
.
map
(
function
(
e
){
return
e
.
id
}),
i
=
t
.
selectionList
.
map
(
function
(
e
){
return
e
.
id
}),
a
=
JSON
.
parse
(
n
()(
t
.
selectionList
));
e
.
forEach
(
function
(
e
){
o
.
includes
(
e
.
id
)
||
t
.
defaultStoreList
.
push
(
e
),
i
.
includes
(
e
.
id
)
||
a
.
push
(
e
)}),
t
.
selectionList
=
a
,
t
.
formatSelectionList
(
a
)},
formatSelectionList
:
function
(
e
){
var
t
=
this
.
unique
(
e
);
this
.
selectionList
=
t
;
var
o
=
this
;
t
.
length
&&
(
o
.
chooseClerkIdList
=
[],
o
.
chooseStoreIdList
=
[],
o
.
chooseGroupIdList
=
[],
t
.
forEach
(
function
(
e
){
e
.
employeeClerkId
?
o
.
chooseClerkIdList
.
push
(
e
.
employeeClerkId
):
e
.
storeId
?
o
.
chooseStoreIdList
.
push
(
e
.
storeId
):
e
.
groupId
&&
o
.
chooseGroupIdList
.
push
(
e
.
groupId
)}),
o
.
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
o
=
this
,
i
=
o
.
selectionList
.
indexOf
(
e
);
o
.
selectionList
.
splice
(
i
,
1
),(
3
==
e
.
type
||
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
1
==
e
.
isStoreGroup
)
&&
o
.
defaultStoreList
.
forEach
(
function
(
t
,
i
){(
t
.
id
=
e
.
id
)
&&
o
.
defaultStoreList
.
splice
(
i
,
1
)}),
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
0
==
e
.
isStoreGroup
&&
o
.
adDefaultSelection
.
forEach
(
function
(
t
,
i
){(
t
.
id
=
e
.
id
)
&&
o
.
adDefaultSelection
.
splice
(
i
,
1
)}),
console
.
log
(
i
,
o
.
defaultStoreList
,
o
.
adDefaultSelection
),
o
.
formatSelectionList
(
o
.
selectionList
),
o
.
changed
+=
1
},
handleSuccess
:
function
(){
this
.
dialogVisible
=!
1
,
this
.
getEmloyeeList
()},
callHandle
:
function
(
e
,
t
,
o
){
this
.
handleType
=
t
,
this
.
employeeObj
=
e
,
this
.
typeTitle
=
o
,
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
,
o
=
t
?
"/haoban-manage-web/record/find-fire-employee-record-page"
:
"/haoban-manage-web/record/find-on-work-employee-record-page"
,
i
=
{
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
(
l
.
a
)(
o
,
i
).
then
(
function
(
o
){
1
==
o
.
data
.
errorCode
?(
e
.
employeeList
=
o
.
data
.
result
.
list
,
e
.
total
=
t
?
o
.
data
.
result
.
total
:
o
.
data
.
result
.
pageInfo
.
total
):
e
.
$message
.
error
({
message
:
o
.
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"
,
"hireDate"
,
"fireDate"
,
"fireReason"
,
"handleUnEmployee"
]:[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"hireDate"
,
"correctionDate"
,
"handleEmployee"
]}}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"e-r-l-container"
},[
o
(
"div"
,{
staticClass
:
"handle-area"
},[
o
(
"div"
,{
staticClass
:
"flex1"
},[
o
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
attrs
:{
disabled
:
e
.
disabled
},
on
:{
click
:
e
.
callSelector
}},[
e
.
_v
(
"行政架构选人"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
staticStyle
:{
"margin-right"
:
"10px"
,
height
:
"32px"
},
on
:{
click
:
e
.
callStoreSelector
}},[
e
.
_v
(
"门店架构选人"
)]),
e
.
_v
(
" "
),
e
.
isUnEmployee
?
o
(
"div"
,{
staticClass
:
"block"
},[
o
(
"span"
,{
staticClass
:
"demonstration"
},[
e
.
_v
(
"离职日期"
)]),
e
.
_v
(
" "
),
o
(
"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
):[
o
(
"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
o
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})})),
e
.
_v
(
" "
),
o
(
"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
o
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
,
value
:
t
}})}))],
e
.
_v
(
" "
),
o
(
"el-input"
,{
staticStyle
:{
width
:
"218px"
,
"margin-left"
:
"10px"
},
attrs
:{
placeholder
:
"请输入姓名或手机号"
,
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
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showExportSet
}},[
e
.
_v
(
"导出"
),
o
(
"i"
,{
staticClass
:
"el-icon-upload el-icon--right"
})])],
1
),
e
.
_v
(
" "
),
e
.
selectionList
.
length
?
o
(
"ul"
,{
staticClass
:
"selector-selected-list"
},[
e
.
_l
(
e
.
selectionList
,
function
(
t
,
i
){
return
[
o
(
"li"
,{
key
:
i
+
t
.
id
+
t
.
label
,
staticClass
:
"sld"
},[
e
.
_v
(
e
.
_s
(
t
.
label
)
+
" "
),
o
(
"i"
,{
staticClass
:
"el-icon-close"
,
on
:{
click
:
function
(
o
){
e
.
delSld
(
t
,
t
.
isStoreGroup
)}}})])]}),
e
.
_v
(
" "
),
o
(
"li"
,{
staticClass
:
"sld tip"
},[
e
.
_v
(
"共筛选出"
+
e
.
_s
(
e
.
total
)
+
"人"
)])],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"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
[
o
(
"list-item"
,{
key
:
t
,
attrs
:{
item
:
t
},
on
:{
callHandle
:
e
.
callHandle
}})]})],
2
),
e
.
_v
(
" "
),
e
.
employeeList
.
length
?
o
(
"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
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
typeTitle
,
visible
:
e
.
dialogVisible
,
width
:
"480px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
o
(
"handle-dialog"
,{
attrs
:{
employee
:
e
.
employeeObj
,
handleType
:
e
.
handleType
,
typeTitle
:
e
.
typeTitle
},
on
:{
handleSuccess
:
e
.
handleSuccess
}})],
1
),
e
.
_v
(
" "
),
o
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleStoreSelectedList
}}),
e
.
_v
(
" "
),
o
(
"vue-select-employee"
,{
ref
:
"departmentSelector"
,
attrs
:{
changed
:
e
.
changed
,
treeData
:
e
.
treeData
,
defaultSelection
:
e
.
adDefaultSelection
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
g
=
o
(
"VU/8"
)(
f
,
y
,
!
1
,
function
(
e
){
o
(
"MBQR"
)},
null
,
null
);
t
.
a
=
g
.
exports
},
TGrv
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
o
(
"3Xzz"
),
a
=
o
(
"NNAT"
),
s
=
{
name
:
"employeeRecord"
,
components
:{
navCrumb
:
i
.
a
,
employeeList
:
a
.
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
(){}},
n
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"common-set-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
l
=
o
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
e
){
o
(
"xnej"
)},
null
,
null
);
t
.
default
=
l
.
exports
},
edn0
:
function
(
e
,
t
){},
xnej
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/1
4.f0728b10f9177134d268
.js
→
dist/static/js/1
5.35d29be8ae21328d7a1a
.js
View file @
c10495d0
webpackJsonp
([
14
],{
"06NE"
:
function
(
t
,
e
){},
"2FlR"
:
function
(
t
,
e
,
a
){
t
.
exports
=
a
.
p
+
"static/img/test.50e4091.png"
},
CLYF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
n
=
a
(
"Zx22"
),
i
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
o
=
a
(
"P9l9"
),
r
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"审核中心"
,
path
:
"/unreview"
},{
name
:
"已审核"
,
path
:
""
}],
filterValue
:
"99"
,
filterOptions
:[{
label
:
"已同意"
,
value
:
"1"
},{
label
:
"已拒绝"
,
value
:
"2"
},{
label
:
"已审核"
,
value
:
"99"
}],
searchValue
:
""
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
applyInfo
:{},
showStoreDialog
:
!
1
,
storeChangeData
:{}}},
filters
:{
formatTimeYMD
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
t
){
return
(
t
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)}},
computed
:{},
methods
:{
clearSearch
:
function
(){
this
.
getTableList
()},
searchEnterFun
:
function
(
t
){
if
(
!
String
(
t
.
target
.
value
).
trim
())
return
!
1
;
this
.
getTableList
()},
toggleReason
:
function
(
t
){
t
.
visible
=!
0
,
this
.
tableData
.
forEach
(
function
(
e
,
a
){
e
.
enterpriseAuditingId
!=
t
.
enterpriseAuditingId
&&
(
e
.
visible
=!
1
)})},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showSingleInfo
:
function
(
t
){},
showStoreChange
:
function
(
t
){
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
t
},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
auditingType
:
""
,
auditingStatus
:
e
.
filterValue
,
search
:
e
.
searchValue
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
o
.
a
)(
"/haoban-manage-web/audit/auditing-list.json"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
t
,
e
){
t
.
createTime
&&
(
t
.
createTime
=
Object
(
l
.
b
)(
t
.
createTime
))}),
e
.
tableData
=
a
.
result
.
list
,
void
(
e
.
total
=
a
.
result
.
total
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getTableList
()},
components
:{
navCrumb
:
s
.
a
,
storeChange
:
n
.
a
}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"reviewed-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head"
},[
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"全部状态"
},
on
:{
change
:
t
.
getTableList
},
model
:{
value
:
t
.
filterValue
,
callback
:
function
(
e
){
t
.
filterValue
=
e
},
expression
:
"filterValue"
}},
t
.
_l
(
t
.
filterOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
a
(
"el-input"
,{
staticClass
:
"w-250 m-l-10"
,
attrs
:{
placeholder
:
"请输入提交人姓名或门店名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
e
){
return
"button"
in
e
||!
t
.
_k
(
e
.
keyCode
,
"enter"
,
13
,
e
.
key
,
"Enter"
)?
t
.
searchEnterFun
(
e
):
null
}},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"searchValue"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
0
==
e
.
row
.
auditingType
?
"门店信息变更"
:
1
==
e
.
row
.
auditingType
?
"新增成员"
:
"成员离职"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
t
.
showSingleInfo
(
e
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
applyName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
e
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
code
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
phoneNumber
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
positionName
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
applyName
))]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
detail
))]),
t
.
_v
(
" "
),
0
==
e
.
row
.
auditingType
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showStoreChange
(
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)]):
t
.
_e
()],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeYMD"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeHMS"
)(
e
.
row
.
createTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
2
==
e
.
row
.
auditingStatus
?
"color-FF585C"
:
""
]},[
t
.
_v
(
t
.
_s
(
1
==
e
.
row
.
auditingStatus
?
"超级管理员已同意"
:
"超级管理员已拒绝"
))]),
t
.
_v
(
" "
),
a
(
"el-popover"
,{
staticClass
:
"inline-block"
,
attrs
:{
placement
:
"top"
,
width
:
"150"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"tooltip-text"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
refuseReason
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
2
==
e
.
row
.
auditingStatus
?
a
(
"i"
,{
staticClass
:
"el-icon-question"
,
on
:{
click
:
function
(
a
){
t
.
toggleReason
(
e
.
row
)}}}):
t
.
_e
()])])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
t
.
storeChangeData
},
model
:{
value
:
t
.
showStoreDialog
,
callback
:
function
(
e
){
t
.
showStoreDialog
=
e
},
expression
:
"showStoreDialog"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
t
){
a
(
"fjSV"
)},
"data-v-95e721a2"
,
null
);
e
.
default
=
u
.
exports
},
Zx22
:
function
(
t
,
e
,
a
){
"use strict"
;
var
s
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:
Object
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
this
.
value
,
leftData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}],
rightData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
t
,
e
){
function
a
(
t
){
return
t
>
9
?
""
+
t
:
"0"
+
t
}
var
s
=
new
Date
(
t
),
n
=
s
.
getFullYear
(),
i
=
s
.
getMonth
()
+
1
,
l
=
s
.
getDate
();
return
n
+
e
+
a
(
i
)
+
e
+
a
(
l
)
+
e
},
handleData
:
function
(){}},
watch
:{
value
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
storeChangeData
:
function
(
t
,
e
){}},
mounted
:
function
(){}},
n
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店环境图变更"
,
visible
:
t
.
customDialog
,
width
:
"600px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更前
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
t
.
_l
(
t
.
leftData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img"
+
e
,
attrs
:{
src
:
t
.
src
,
alt
:
""
}})]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更后
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
t
.
_l
(
t
.
rightData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img0"
+
e
,
attrs
:{
src
:
t
.
src
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
t
){
a
(
"06NE"
)},
"data-v-13208767"
,
null
);
e
.
a
=
i
.
exports
},
fjSV
:
function
(
t
,
e
){}});
webpackJsonp
([
15
],{
"06NE"
:
function
(
t
,
e
){},
"2FlR"
:
function
(
t
,
e
,
a
){
t
.
exports
=
a
.
p
+
"static/img/test.50e4091.png"
},
CLYF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
n
=
a
(
"Zx22"
),
i
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
o
=
a
(
"P9l9"
),
r
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"审核中心"
,
path
:
"/unreview"
},{
name
:
"已审核"
,
path
:
""
}],
filterValue
:
"99"
,
filterOptions
:[{
label
:
"已同意"
,
value
:
"1"
},{
label
:
"已拒绝"
,
value
:
"2"
},{
label
:
"已审核"
,
value
:
"99"
}],
searchValue
:
""
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
applyInfo
:{},
showStoreDialog
:
!
1
,
storeChangeData
:{}}},
filters
:{
formatTimeYMD
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
t
){
return
"--"
!=
t
?
t
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
t
){
return
(
t
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)}},
computed
:{},
methods
:{
clearSearch
:
function
(){
this
.
getTableList
()},
searchEnterFun
:
function
(
t
){
if
(
!
String
(
t
.
target
.
value
).
trim
())
return
!
1
;
this
.
getTableList
()},
toggleReason
:
function
(
t
){
t
.
visible
=!
0
,
this
.
tableData
.
forEach
(
function
(
e
,
a
){
e
.
enterpriseAuditingId
!=
t
.
enterpriseAuditingId
&&
(
e
.
visible
=!
1
)})},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showSingleInfo
:
function
(
t
){},
showStoreChange
:
function
(
t
){
this
.
showStoreDialog
=!
0
,
this
.
storeChangeData
=
t
},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
auditingType
:
""
,
auditingStatus
:
e
.
filterValue
,
search
:
e
.
searchValue
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
o
.
a
)(
"/haoban-manage-web/audit/auditing-list.json"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
t
,
e
){
t
.
createTime
&&
(
t
.
createTime
=
Object
(
l
.
b
)(
t
.
createTime
))}),
e
.
tableData
=
a
.
result
.
list
,
void
(
e
.
total
=
a
.
result
.
total
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getTableList
()},
components
:{
navCrumb
:
s
.
a
,
storeChange
:
n
.
a
}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"reviewed-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"reviewed-body-head"
},[
a
(
"el-select"
,{
staticClass
:
"w-130"
,
attrs
:{
placeholder
:
"全部状态"
},
on
:{
change
:
t
.
getTableList
},
model
:{
value
:
t
.
filterValue
,
callback
:
function
(
e
){
t
.
filterValue
=
e
},
expression
:
"filterValue"
}},
t
.
_l
(
t
.
filterOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
a
(
"el-input"
,{
staticClass
:
"w-250 m-l-10"
,
attrs
:{
placeholder
:
"请输入提交人姓名或门店名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
e
){
return
"button"
in
e
||!
t
.
_k
(
e
.
keyCode
,
"enter"
,
13
,
e
.
key
,
"Enter"
)?
t
.
searchEnterFun
(
e
):
null
}},
model
:{
value
:
t
.
searchValue
,
callback
:
function
(
e
){
t
.
searchValue
=
e
},
expression
:
"searchValue"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"reviewed-body-content"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"审核事项"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
0
==
e
.
row
.
auditingType
?
"门店信息变更"
:
1
==
e
.
row
.
auditingType
?
"新增成员"
:
"成员离职"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"400"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
t
.
showSingleInfo
(
e
.
row
.
applyId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
applyName
)
+
"
\
n "
),
a
(
"i"
,{
class
:[
2
==
e
.
row
.
sex
?
"icon-xingbienv color-FF585C"
:
"icon-xingbienan color-508CEE"
,
"iconfont"
]})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-code"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"员工代码:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
code
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
phoneNumber
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-job"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"职位:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
positionName
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
t
.
_v
(
"所属门店:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
e
.
row
.
headPic
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headPic
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
applyName
))]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-13"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])])],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"详情"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-hidden-2"
},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
detail
))]),
t
.
_v
(
" "
),
0
==
e
.
row
.
auditingType
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showStoreChange
(
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)]):
t
.
_e
()],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeYMD"
)(
e
.
row
.
createTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-h-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatTimeHMS"
)(
e
.
row
.
createTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
2
==
e
.
row
.
auditingStatus
?
"color-FF585C"
:
""
]},[
t
.
_v
(
t
.
_s
(
1
==
e
.
row
.
auditingStatus
?
"超级管理员已同意"
:
"超级管理员已拒绝"
))]),
t
.
_v
(
" "
),
a
(
"el-popover"
,{
staticClass
:
"inline-block"
,
attrs
:{
placement
:
"top"
,
width
:
"150"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"tooltip-text"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
refuseReason
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
2
==
e
.
row
.
auditingStatus
?
a
(
"i"
,{
staticClass
:
"el-icon-question"
,
on
:{
click
:
function
(
a
){
t
.
toggleReason
(
e
.
row
)}}}):
t
.
_e
()])])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"storeChange"
,{
attrs
:{
storeChangeData
:
t
.
storeChangeData
},
model
:{
value
:
t
.
showStoreDialog
,
callback
:
function
(
e
){
t
.
showStoreDialog
=
e
},
expression
:
"showStoreDialog"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
t
){
a
(
"fjSV"
)},
"data-v-95e721a2"
,
null
);
e
.
default
=
u
.
exports
},
Zx22
:
function
(
t
,
e
,
a
){
"use strict"
;
var
s
=
{
name
:
"custom-dialog"
,
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
storeChangeData
:{
type
:
Object
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
this
.
value
,
leftData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}],
rightData
:[{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)},{
src
:
a
(
"2FlR"
)}]}},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"input"
,
this
.
customDialog
)},
formatDate
:
function
(
t
,
e
){
function
a
(
t
){
return
t
>
9
?
""
+
t
:
"0"
+
t
}
var
s
=
new
Date
(
t
),
n
=
s
.
getFullYear
(),
i
=
s
.
getMonth
()
+
1
,
l
=
s
.
getDate
();
return
n
+
e
+
a
(
i
)
+
e
+
a
(
l
)
+
e
},
handleData
:
function
(){}},
watch
:{
value
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
storeChangeData
:
function
(
t
,
e
){}},
mounted
:
function
(){}},
n
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"门店环境图变更"
,
visible
:
t
.
customDialog
,
width
:
"600px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"dialog-content"
},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更前
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
t
.
_l
(
t
.
leftData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img"
+
e
,
attrs
:{
src
:
t
.
src
,
alt
:
""
}})]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
11
}},[
a
(
"div"
,{
staticClass
:
"grid-content bg-purple-dark"
},[
t
.
_v
(
"
\
n 变更后
\
n "
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"data-body"
},[
a
(
"div"
,{
staticClass
:
"data-body-content flex flex-column flex-space-between"
},[
t
.
_l
(
t
.
rightData
,
function
(
t
,
e
){
return
[
a
(
"img"
,{
key
:
"img0"
+
e
,
attrs
:{
src
:
t
.
src
,
alt
:
""
}})]})],
2
)])])],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
t
){
a
(
"06NE"
)},
"data-v-13208767"
,
null
);
e
.
a
=
i
.
exports
},
fjSV
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/7.2d8d6e52a6ac43313122.js
0 → 100644
View file @
c10495d0
webpackJsonp
([
7
],{
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
(
"0xDb"
),
c
=
{
name
:
"list-item"
,
props
:{
item
:{
type
:
String
,
required
:
!
0
}},
filters
:{
formatDate
:
l
.
b
},
data
:
function
(){
return
{
typeLsit
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
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
},
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
:{
callHandle
:
function
(
e
){
"编辑员工资料"
!=
e
.
typeTitle
?
this
.
$emit
(
"callHandle"
,
e
.
obj
,
e
.
type
,
e
.
typeTitle
):
location
.
href
=
"#/recordInfo?recordId="
+
e
.
obj
.
recordId
}},
mounted
:
function
(){}},
d
=
{
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
.
typeLsit
[
t
.
row
[
e
.
item
]
||
5
])
+
"
\
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"
,
attrs
:{
href
:
"#/recordInfo?recordId="
+
t
.
row
.
recordId
+
"&type=unemployee"
}},[
e
.
_v
(
"编辑"
)])])]):
e
.
_e
()]}}])}):
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
}})},
staticRenderFns
:[]};
var
h
=
i
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
i
(
"edn0"
)},
null
,
null
).
exports
,
u
=
i
(
"IVno"
),
p
=
i
(
"Ie7z"
),
m
=
i
(
"c4uw"
),
f
=
{
name
:
"employeeRecordList"
,
props
:{
isUnEmployee
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
listItem
:
h
,
handleDialog
:
u
.
a
,
vueSelectStore
:
p
.
a
,
vueSelectEmployee
:
m
.
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
:[
"全部"
,
"正式"
,
"试用"
],
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
:[]}},
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
.
$refs
.
departmentSelector
.
treeSet
.
dialogVisible
=!
0
},
callStoreSelector
:
function
(){
this
.
$refs
.
storeSelector
.
treeSet
.
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
){
var
t
=
this
,
i
=
t
.
adDefaultSelection
.
map
(
function
(
e
){
return
e
.
id
}),
o
=
t
.
selectionList
.
map
(
function
(
e
){
return
e
.
id
}),
a
=
JSON
.
parse
(
n
()(
t
.
selectionList
));
e
.
forEach
(
function
(
e
){
i
.
includes
(
e
.
id
)
||
t
.
adDefaultSelection
.
push
(
e
),
o
.
includes
(
e
.
id
)
||
a
.
push
(
e
)}),
t
.
selectionList
=
a
,
t
.
formatSelectionList
(
a
)},
handleStoreSelectedList
:
function
(
e
){
var
t
=
this
;
t
.
stList
=
e
;
var
i
=
t
.
defaultStoreList
.
map
(
function
(
e
){
return
e
.
id
}),
o
=
t
.
selectionList
.
map
(
function
(
e
){
return
e
.
id
}),
a
=
JSON
.
parse
(
n
()(
t
.
selectionList
));
e
.
forEach
(
function
(
e
){
i
.
includes
(
e
.
id
)
||
t
.
defaultStoreList
.
push
(
e
),
o
.
includes
(
e
.
id
)
||
a
.
push
(
e
)}),
t
.
selectionList
=
a
,
t
.
formatSelectionList
(
a
)},
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
)
&&
i
.
defaultStoreList
.
forEach
(
function
(
t
,
o
){(
t
.
id
=
e
.
id
)
&&
i
.
defaultStoreList
.
splice
(
o
,
1
)}),
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
0
==
e
.
isStoreGroup
&&
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"
,
"hireDate"
,
"fireDate"
,
"fireReason"
,
"handleUnEmployee"
]:[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"hireDate"
,
"correctionDate"
,
"handleEmployee"
]}}},
v
=
{
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
,
value
:
t
}})}))],
e
.
_v
(
" "
),
i
(
"el-input"
,{
staticStyle
:{
width
:
"218px"
,
"margin-left"
:
"10px"
},
attrs
:{
placeholder
:
"请输入姓名或手机号"
,
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
}},[
e
.
_v
(
"导出"
),
i
(
"i"
,{
staticClass
:
"el-icon-upload el-icon--right"
})])],
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
},
on
:{
handleSelectedList
:
e
.
handleStoreSelectedList
}}),
e
.
_v
(
" "
),
i
(
"vue-select-employee"
,{
ref
:
"departmentSelector"
,
attrs
:{
changed
:
e
.
changed
,
treeData
:
e
.
treeData
,
defaultSelection
:
e
.
adDefaultSelection
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
g
=
i
(
"VU/8"
)(
f
,
v
,
!
1
,
function
(
e
){
i
(
"o17R"
)},
null
,
null
);
t
.
a
=
g
.
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
}},[
e
.
_v
(
"导出"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai"
})]),
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
(
"wEsK"
)},
null
,
null
);
t
.
a
=
c
.
exports
},
edn0
:
function
(
e
,
t
){},
o17R
:
function
(
e
,
t
){},
rHG8
:
function
(
e
,
t
){},
wEsK
:
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
{
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
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
:{
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"
,
style
:{
height
:
e
.
windowH
}},[
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"
,{
attrs
:{
href
:
"#/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
(
"rHG8"
)},
null
,
null
);
t
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/7.f05b01bdfcae0b11fcf0.js
deleted
100644 → 0
View file @
6b3e7fb9
webpackJsonp
([
7
],{
MBQR
:
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
(
"0xDb"
),
c
=
{
name
:
"list-item"
,
props
:{
item
:{
type
:
String
,
required
:
!
0
}},
filters
:{
formatDate
:
l
.
b
},
data
:
function
(){
return
{
typeLsit
:[
"全部"
,
"全职"
,
"兼职"
,
"外包"
,
"实习"
,
"无类型"
],
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
},
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
:{
callHandle
:
function
(
e
){
"编辑员工资料"
!=
e
.
typeTitle
?
this
.
$emit
(
"callHandle"
,
e
.
obj
,
e
.
type
,
e
.
typeTitle
):
location
.
href
=
"#/recordInfo?recordId="
+
e
.
obj
.
recordId
}},
mounted
:
function
(){}},
d
=
{
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
.
typeLsit
[
t
.
row
[
e
.
item
]
||
5
])
+
"
\
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"
,
attrs
:{
href
:
"#/recordInfo?recordId="
+
t
.
row
.
recordId
+
"&type=unemployee"
}},[
e
.
_v
(
"编辑"
)])])]):
e
.
_e
()]}}])}):
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
}})},
staticRenderFns
:[]};
var
h
=
i
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
i
(
"edn0"
)},
null
,
null
).
exports
,
u
=
i
(
"IVno"
),
p
=
i
(
"Ie7z"
),
m
=
i
(
"c4uw"
),
f
=
{
name
:
"employeeRecordList"
,
props
:{
isUnEmployee
:{
type
:
Boolean
,
default
:
!
1
}},
components
:{
listItem
:
h
,
handleDialog
:
u
.
a
,
vueSelectStore
:
p
.
a
,
vueSelectEmployee
:
m
.
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
:[
"全部"
,
"正式"
,
"试用"
],
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
:[]}},
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
.
$refs
.
departmentSelector
.
treeSet
.
dialogVisible
=!
0
},
callStoreSelector
:
function
(){
this
.
$refs
.
storeSelector
.
treeSet
.
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
){
var
t
=
this
,
i
=
t
.
adDefaultSelection
.
map
(
function
(
e
){
return
e
.
id
}),
o
=
t
.
selectionList
.
map
(
function
(
e
){
return
e
.
id
}),
a
=
JSON
.
parse
(
n
()(
t
.
selectionList
));
e
.
forEach
(
function
(
e
){
i
.
includes
(
e
.
id
)
||
t
.
adDefaultSelection
.
push
(
e
),
o
.
includes
(
e
.
id
)
||
a
.
push
(
e
)}),
t
.
selectionList
=
a
,
t
.
formatSelectionList
(
a
)},
handleStoreSelectedList
:
function
(
e
){
var
t
=
this
;
t
.
stList
=
e
;
var
i
=
t
.
defaultStoreList
.
map
(
function
(
e
){
return
e
.
id
}),
o
=
t
.
selectionList
.
map
(
function
(
e
){
return
e
.
id
}),
a
=
JSON
.
parse
(
n
()(
t
.
selectionList
));
e
.
forEach
(
function
(
e
){
i
.
includes
(
e
.
id
)
||
t
.
defaultStoreList
.
push
(
e
),
o
.
includes
(
e
.
id
)
||
a
.
push
(
e
)}),
t
.
selectionList
=
a
,
t
.
formatSelectionList
(
a
)},
formatSelectionList
:
function
(
e
){
var
t
=
this
.
unique
(
e
);
this
.
selectionList
=
t
;
var
i
=
this
;
t
.
length
&&
(
i
.
chooseClerkIdList
=
[],
i
.
chooseStoreIdList
=
[],
i
.
chooseGroupIdList
=
[],
t
.
forEach
(
function
(
e
){
e
.
employeeClerkId
?
i
.
chooseClerkIdList
.
push
(
e
.
employeeClerkId
):
e
.
storeId
?
i
.
chooseStoreIdList
.
push
(
e
.
storeId
):
e
.
groupId
&&
i
.
chooseGroupIdList
.
push
(
e
.
groupId
)}),
i
.
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
)
&&
i
.
defaultStoreList
.
forEach
(
function
(
t
,
o
){(
t
.
id
=
e
.
id
)
&&
i
.
defaultStoreList
.
splice
(
o
,
1
)}),
e
.
hasOwnProperty
(
"isStoreGroup"
)
&&
0
==
e
.
isStoreGroup
&&
i
.
adDefaultSelection
.
forEach
(
function
(
t
,
o
){(
t
.
id
=
e
.
id
)
&&
i
.
adDefaultSelection
.
splice
(
o
,
1
)}),
console
.
log
(
o
,
i
.
defaultStoreList
,
i
.
adDefaultSelection
),
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"
,
"hireDate"
,
"fireDate"
,
"fireReason"
,
"handleUnEmployee"
]:[
"headPic"
,
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"clerkCode"
,
"positionName"
,
"clerkType"
,
"hireDate"
,
"correctionDate"
,
"handleEmployee"
]}}},
v
=
{
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
,
value
:
t
}})}))],
e
.
_v
(
" "
),
i
(
"el-input"
,{
staticStyle
:{
width
:
"218px"
,
"margin-left"
:
"10px"
},
attrs
:{
placeholder
:
"请输入姓名或手机号"
,
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
}},[
e
.
_v
(
"导出"
),
i
(
"i"
,{
staticClass
:
"el-icon-upload el-icon--right"
})])],
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
},
on
:{
handleSelectedList
:
e
.
handleStoreSelectedList
}}),
e
.
_v
(
" "
),
i
(
"vue-select-employee"
,{
ref
:
"departmentSelector"
,
attrs
:{
changed
:
e
.
changed
,
treeData
:
e
.
treeData
,
defaultSelection
:
e
.
adDefaultSelection
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
g
=
i
(
"VU/8"
)(
f
,
v
,
!
1
,
function
(
e
){
i
(
"MBQR"
)},
null
,
null
);
t
.
a
=
g
.
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
}},[
e
.
_v
(
"导出"
),
i
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai"
})]),
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
(
"wEsK"
)},
null
,
null
);
t
.
a
=
c
.
exports
},
edn0
:
function
(
e
,
t
){},
rHG8
:
function
(
e
,
t
){},
wEsK
:
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
{
windowH
:
window
.
screen
.
availHeight
-
180
+
"px"
,
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
:{
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"
,
style
:{
height
:
e
.
windowH
}},[
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"
,{
attrs
:{
href
:
"#/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
(
"rHG8"
)},
null
,
null
);
t
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/app.2
96e360df3d0a2b0f2d
d.js
→
dist/static/js/app.2
a1ad6040a1ec278014
d.js
View file @
c10495d0
webpackJsonp
([
71
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
o
=
n
.
n
(
a
),
r
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
p
=
n
.
n
(
r
),
i
=
n
(
"7+uW"
),
c
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
c
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
d
=
n
(
"/ocq"
),
m
=
n
(
"5tgt"
),
u
=
n
.
n
(
m
);
i
.
default
.
use
(
d
.
a
);
var
l
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
v
,
h
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
u
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
u
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
u
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
u
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
u
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
u
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
u
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
u
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
u
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
u
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
u
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
u
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
u
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
u
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
u
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
u
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
u
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
u
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
u
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
u
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
u
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
u
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客"
,
component
:
u
()(
"enterpriseApp"
,
"mycustomer"
)},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
u
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
u
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
u
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
component
:
u
()(
"enterpriseApp/quota"
,
"index"
),
redirect
:
"/quota/monthList"
,
children
:[{
path
:
"monthList"
,
name
:
"月指标列表"
,
component
:
u
()(
"enterpriseApp/quota"
,
"monthList"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
u
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
u
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
u
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
u
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
u
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
u
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
u
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
u
()(
"setting"
,
"storePermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
u
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
u
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
u
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
u
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
u
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
l
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
l
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
l
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
f
=
new
d
.
a
({
routes
:
h
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
A
=
n
(
"zL8q"
),
y
=
n
.
n
(
A
),
g
=
n
(
"Rf8U"
),
D
=
n
.
n
(
g
),
k
=
n
(
"mtWM"
),
w
=
n
.
n
(
k
),
x
=
n
(
"bOdI"
),
R
=
n
.
n
(
x
),
C
=
n
(
"NYxO"
);
i
.
default
.
use
(
C
.
a
);
var
b
=
new
C
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
v
=
{},
R
()(
v
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
R
()(
v
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
R
()(
v
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
R
()(
v
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
v
)}),
E
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
I
=
n
.
n
(
E
),
S
=
n
(
"tyqE"
),
T
=
n
.
n
(
S
),
P
=
n
(
"pRVe"
),
q
=
n
.
n
(
P
),
L
=
n
(
"SE7k"
),
j
=
n
.
n
(
L
),
F
=
n
(
"XsK6"
),
O
=
n
.
n
(
F
),
N
=
n
(
"QRL9"
),
z
=
n
.
n
(
N
),
G
=
n
(
"2Pnh"
),
H
=
n
.
n
(
G
),
K
=
n
(
"l9mu"
),
U
=
n
.
n
(
K
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
H
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
r
=
a
,
p
=
0
,
i
=
592.28
/
n
*
a
,
c
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
s
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
s
.
addImage
(
c
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
r
>
0
;)
s
.
addImage
(
c
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
s
.
addPage
();
s
.
save
(
e
+
".pdf"
)})}}};
p
.
a
.
polyfill
(),
i
.
default
.
use
(
X
),
i
.
default
.
use
(
O
.
a
),
i
.
default
.
use
(
z
.
a
),
i
.
default
.
use
(
j
.
a
),
i
.
default
.
use
(
q
.
a
),
i
.
default
.
use
(
T
.
a
),
i
.
default
.
use
(
I
.
a
),
i
.
default
.
config
.
productionTip
=!
1
,
i
.
default
.
use
(
y
.
a
,{
size
:
"large"
}),
i
.
default
.
use
(
D
.
a
,
w
.
a
),
i
.
default
.
axios
.
defaults
.
withCredentials
=!
0
,
f
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
r
=
window
.
location
.
origin
;
a
=
"-1"
!=
r
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
r
,
localStorage
.
getItem
(
"userInfo"
)
||
w
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
o
()(
t
.
result
))}).
catch
(
function
(
e
){
A
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
i
.
default
({
el
:
"#app"
,
router
:
f
,
store
:
b
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
19
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
16
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
39
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
55
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
3
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
45
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
62
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
7
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
8
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
68
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
12
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
20
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
24
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
17
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
50
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
30
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
5
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
10
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
32
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
15
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
23
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
51
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
46
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
36
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
59
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
34
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
48
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
49
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
65
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
41
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
6
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
37
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
4
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
61
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
40
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
52
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
66
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
38
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
44
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
53
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
31
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
57
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
26
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
63
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
18
],
"./enterpriseApp/quota/quotaDay.vue"
:[
"vzD2"
,
0
,
69
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
67
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
64
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
60
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
56
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
28
],
"./errorPage/500.vue"
:[
"FskK"
,
22
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
29
],
"./login/index.vue"
:[
"T+/8"
,
0
,
9
],
"./reviewCenter/index.vue"
:[
"+lem"
,
47
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
14
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
13
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
35
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
42
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
58
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
11
],
"./setting/index.vue"
:[
"VlR1"
,
33
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
54
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
43
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
27
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
21
]};
function
o
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
Xcu2
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){}},[
0
]);
webpackJsonp
([
71
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
o
=
n
.
n
(
a
),
r
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
p
=
n
.
n
(
r
),
i
=
n
(
"7+uW"
),
c
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
c
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
d
=
n
(
"/ocq"
),
m
=
n
(
"5tgt"
),
u
=
n
.
n
(
m
);
i
.
default
.
use
(
d
.
a
);
var
l
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
v
,
h
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
u
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
u
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
u
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
u
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
u
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
u
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
u
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
u
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
u
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
u
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
u
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
u
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
u
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
u
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
u
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
u
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
u
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
u
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
u
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
u
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
u
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
u
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客"
,
component
:
u
()(
"enterpriseApp"
,
"mycustomer"
)},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
u
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
u
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
u
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
component
:
u
()(
"enterpriseApp/quota"
,
"index"
),
redirect
:
"/quota/monthList"
,
children
:[{
path
:
"monthList"
,
name
:
"月指标列表"
,
component
:
u
()(
"enterpriseApp/quota"
,
"monthList"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
u
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
u
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
u
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
u
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
u
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
u
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
u
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
u
()(
"setting"
,
"storePermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
u
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
u
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
u
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
u
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
u
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
l
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
l
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
l
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
f
=
new
d
.
a
({
routes
:
h
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
A
=
n
(
"zL8q"
),
y
=
n
.
n
(
A
),
g
=
n
(
"Rf8U"
),
D
=
n
.
n
(
g
),
k
=
n
(
"mtWM"
),
w
=
n
.
n
(
k
),
x
=
n
(
"bOdI"
),
R
=
n
.
n
(
x
),
C
=
n
(
"NYxO"
);
i
.
default
.
use
(
C
.
a
);
var
b
=
new
C
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
v
=
{},
R
()(
v
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
R
()(
v
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
R
()(
v
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
R
()(
v
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
v
)}),
E
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
I
=
n
.
n
(
E
),
S
=
n
(
"tyqE"
),
T
=
n
.
n
(
S
),
P
=
n
(
"pRVe"
),
q
=
n
.
n
(
P
),
L
=
n
(
"SE7k"
),
j
=
n
.
n
(
L
),
F
=
n
(
"XsK6"
),
O
=
n
.
n
(
F
),
N
=
n
(
"QRL9"
),
z
=
n
.
n
(
N
),
G
=
n
(
"2Pnh"
),
H
=
n
.
n
(
G
),
K
=
n
(
"l9mu"
),
U
=
n
.
n
(
K
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
H
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
r
=
a
,
p
=
0
,
i
=
592.28
/
n
*
a
,
c
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
s
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
s
.
addImage
(
c
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
r
>
0
;)
s
.
addImage
(
c
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
s
.
addPage
();
s
.
save
(
e
+
".pdf"
)})}}};
p
.
a
.
polyfill
(),
i
.
default
.
use
(
X
),
i
.
default
.
use
(
O
.
a
),
i
.
default
.
use
(
z
.
a
),
i
.
default
.
use
(
j
.
a
),
i
.
default
.
use
(
q
.
a
),
i
.
default
.
use
(
T
.
a
),
i
.
default
.
use
(
I
.
a
),
i
.
default
.
config
.
productionTip
=!
1
,
i
.
default
.
use
(
y
.
a
,{
size
:
"large"
}),
i
.
default
.
use
(
D
.
a
,
w
.
a
),
i
.
default
.
axios
.
defaults
.
withCredentials
=!
0
,
f
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
r
=
window
.
location
.
origin
;
a
=
"-1"
!=
r
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
r
,
localStorage
.
getItem
(
"userInfo"
)
||
w
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
o
()(
t
.
result
))}).
catch
(
function
(
e
){
A
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
i
.
default
({
el
:
"#app"
,
router
:
f
,
store
:
b
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
19
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
16
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
39
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
55
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
3
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
45
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
62
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
7
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
8
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
68
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
12
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
20
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
24
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
17
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
50
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
30
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
5
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
10
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
32
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
13
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
23
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
51
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
46
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
36
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
59
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
34
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
48
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
49
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
65
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
41
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
6
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
37
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
4
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
61
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
40
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
52
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
66
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
38
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
44
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
53
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
31
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
57
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
26
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
63
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
18
],
"./enterpriseApp/quota/quotaDay.vue"
:[
"vzD2"
,
0
,
69
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
67
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
64
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
60
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
56
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
28
],
"./errorPage/500.vue"
:[
"FskK"
,
22
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
29
],
"./login/index.vue"
:[
"T+/8"
,
0
,
9
],
"./reviewCenter/index.vue"
:[
"+lem"
,
47
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
15
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
14
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
35
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
42
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
58
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
11
],
"./setting/index.vue"
:[
"VlR1"
,
33
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
54
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
43
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
27
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
21
]};
function
o
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
Xcu2
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
\ No newline at end of file
dist/static/js/manifest.
bebde6e5258493fb272a
.js
→
dist/static/js/manifest.
137092945810187b05be
.js
View file @
c10495d0
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
b
[
t
]
&&
u
.
push
(
b
[
t
][
0
]),
b
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
b
=
{
73
:
0
};
function
f
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
b
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
b
.
exports
,
b
,
b
.
exports
,
f
),
b
.
l
=!
0
,
b
.
exports
}
f
.
e
=
function
(
e
){
var
a
=
b
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
f
){
a
=
b
[
e
]
=
[
c
,
f
]});
a
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"a445e74b3900f3876c72"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"c8863e7a9d4b284238db"
,
3
:
"c3b5d44657dc5ac68265"
,
4
:
"59afc6b09559f1ebc067"
,
5
:
"b2540360eda0ee16006c"
,
6
:
"00b931389a74250125a3"
,
7
:
"f05b01bdfcae0b11fcf0"
,
8
:
"ccfd1bb81626da46f432"
,
9
:
"b916c8d12141617e4db2"
,
10
:
"84a1849b0202f4273f23"
,
11
:
"48cce40bd1119cfef79d"
,
12
:
"8a1633b353b37d5bfcd2"
,
13
:
"fd57c44bf2068416be03"
,
14
:
"f0728b10f9177134d268"
,
15
:
"0bab23d82b5728dd4cdd"
,
16
:
"7016f834cadae9b57028"
,
17
:
"2c76434ec01b2b5ee02f"
,
18
:
"d07d6af2aa0d5ee86261"
,
19
:
"7ed28ae00b8809d6d671"
,
20
:
"8f48037229efe39f46f1"
,
21
:
"2103d8428d4f707fa369"
,
22
:
"dec9447a8c45f2a2c7bb"
,
23
:
"bd9202e3991ee39668e6"
,
24
:
"54f2906c51709913d672"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"1649432938888d71b3c9"
,
27
:
"67137144c98b28cc5a30"
,
28
:
"140ad99228544036c969"
,
29
:
"30037b5674e7675b1da7"
,
30
:
"fa0e0e20a9883b94be73"
,
31
:
"a8e20732b0b0f62f5c5a"
,
32
:
"509f0e1d73c3190be53a"
,
33
:
"d649a5e4d061985d1c3a"
,
34
:
"4977e6b9167f796404b9"
,
35
:
"718d90637b7e54754f31"
,
36
:
"6b7ba3c82f569f7a47e0"
,
37
:
"f8bf84592943c5dfbf8a"
,
38
:
"db0ccdb9d831a1fee238"
,
39
:
"8861e4489f26fe322990"
,
40
:
"c6cf553f8eb155ae6f1a"
,
41
:
"119ab10f2d353ddcdbc8"
,
42
:
"3cda7effdd6238c3e2d9"
,
43
:
"afd187ba0590923ba9e5"
,
44
:
"77199a317327d7ebcf4b"
,
45
:
"5b64fee2aa3e6c3e3fc9"
,
46
:
"588053d1bdb79f78028d"
,
47
:
"e53a7b3b284d29858fae"
,
48
:
"75da586a106599c730c1"
,
49
:
"028b1255269b880f351b"
,
50
:
"4289d8f282974207066c"
,
51
:
"98c3602fc3a9ab54693a"
,
52
:
"5ea13e39ab6e51a9054f"
,
53
:
"5232792298264e487629"
,
54
:
"4749eb7f37153ac94005"
,
55
:
"bea6622b77dd0e24b535"
,
56
:
"a2faa30e5f1c6aeb57be"
,
57
:
"9064c84ce91fad83fe44"
,
58
:
"04dbe15e8a9576b15187"
,
59
:
"b62232922e7ccdd7242e"
,
60
:
"956a6a3b0b11e618bd1b"
,
61
:
"c220c6bad221831a72f6"
,
62
:
"f797b18bb14b4d79151b"
,
63
:
"b05b4ec28d2829c54f65"
,
64
:
"0be98c69b2be684d451f"
,
65
:
"e069a6e1df52acf3f14f"
,
66
:
"9f1afb5a13b54ea92a02"
,
67
:
"d674abd10a01e3c004c8"
,
68
:
"2189902bf2848c91608c"
,
69
:
"4087b90ee08d0100519f"
,
72
:
"e19aae5a21dcfad3391e"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
b
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
b
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
f
.
m
=
e
,
f
.
c
=
c
,
f
.
d
=
function
(
e
,
a
,
c
){
f
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
f
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
a
,
"a"
,
a
),
a
},
f
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
b
[
t
]
&&
u
.
push
(
b
[
t
][
0
]),
b
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
b
=
{
73
:
0
};
function
f
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
b
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
b
.
exports
,
b
,
b
.
exports
,
f
),
b
.
l
=!
0
,
b
.
exports
}
f
.
e
=
function
(
e
){
var
a
=
b
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
f
){
a
=
b
[
e
]
=
[
c
,
f
]});
a
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"a445e74b3900f3876c72"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"c8863e7a9d4b284238db"
,
3
:
"c3b5d44657dc5ac68265"
,
4
:
"59afc6b09559f1ebc067"
,
5
:
"b2540360eda0ee16006c"
,
6
:
"00b931389a74250125a3"
,
7
:
"2d8d6e52a6ac43313122"
,
8
:
"ccfd1bb81626da46f432"
,
9
:
"b916c8d12141617e4db2"
,
10
:
"84a1849b0202f4273f23"
,
11
:
"48cce40bd1119cfef79d"
,
12
:
"8a1633b353b37d5bfcd2"
,
13
:
"462b158420af9109c2c4"
,
14
:
"94920536d81601122060"
,
15
:
"35d29be8ae21328d7a1a"
,
16
:
"7016f834cadae9b57028"
,
17
:
"2c76434ec01b2b5ee02f"
,
18
:
"d07d6af2aa0d5ee86261"
,
19
:
"7ed28ae00b8809d6d671"
,
20
:
"8f48037229efe39f46f1"
,
21
:
"2103d8428d4f707fa369"
,
22
:
"dec9447a8c45f2a2c7bb"
,
23
:
"bd9202e3991ee39668e6"
,
24
:
"54f2906c51709913d672"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"1649432938888d71b3c9"
,
27
:
"67137144c98b28cc5a30"
,
28
:
"140ad99228544036c969"
,
29
:
"30037b5674e7675b1da7"
,
30
:
"fa0e0e20a9883b94be73"
,
31
:
"a8e20732b0b0f62f5c5a"
,
32
:
"509f0e1d73c3190be53a"
,
33
:
"d649a5e4d061985d1c3a"
,
34
:
"4977e6b9167f796404b9"
,
35
:
"718d90637b7e54754f31"
,
36
:
"6b7ba3c82f569f7a47e0"
,
37
:
"f8bf84592943c5dfbf8a"
,
38
:
"db0ccdb9d831a1fee238"
,
39
:
"8861e4489f26fe322990"
,
40
:
"c6cf553f8eb155ae6f1a"
,
41
:
"119ab10f2d353ddcdbc8"
,
42
:
"3cda7effdd6238c3e2d9"
,
43
:
"afd187ba0590923ba9e5"
,
44
:
"77199a317327d7ebcf4b"
,
45
:
"5b64fee2aa3e6c3e3fc9"
,
46
:
"588053d1bdb79f78028d"
,
47
:
"e53a7b3b284d29858fae"
,
48
:
"75da586a106599c730c1"
,
49
:
"028b1255269b880f351b"
,
50
:
"4289d8f282974207066c"
,
51
:
"98c3602fc3a9ab54693a"
,
52
:
"5ea13e39ab6e51a9054f"
,
53
:
"5232792298264e487629"
,
54
:
"4749eb7f37153ac94005"
,
55
:
"bea6622b77dd0e24b535"
,
56
:
"a2faa30e5f1c6aeb57be"
,
57
:
"9064c84ce91fad83fe44"
,
58
:
"04dbe15e8a9576b15187"
,
59
:
"b62232922e7ccdd7242e"
,
60
:
"956a6a3b0b11e618bd1b"
,
61
:
"c220c6bad221831a72f6"
,
62
:
"f797b18bb14b4d79151b"
,
63
:
"b05b4ec28d2829c54f65"
,
64
:
"0be98c69b2be684d451f"
,
65
:
"e069a6e1df52acf3f14f"
,
66
:
"9f1afb5a13b54ea92a02"
,
67
:
"d674abd10a01e3c004c8"
,
68
:
"2189902bf2848c91608c"
,
69
:
"4087b90ee08d0100519f"
,
72
:
"e19aae5a21dcfad3391e"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
b
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
b
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
f
.
m
=
e
,
f
.
c
=
c
,
f
.
d
=
function
(
e
,
a
,
c
){
f
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
f
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
a
,
"a"
,
a
),
a
},
f
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/components/employeeRecord/employeeList.vue
View file @
c10495d0
...
@@ -224,24 +224,28 @@ export default {
...
@@ -224,24 +224,28 @@ export default {
that
.
formatSelectionList
(
arr
);
that
.
formatSelectionList
(
arr
);
},
},
formatSelectionList
(
list
)
{
formatSelectionList
(
list
)
{
let
newList
=
this
.
unique
(
list
);
this
.
selectionList
=
newList
;
let
that
=
this
;
let
that
=
this
;
let
newList
=
that
.
unique
(
list
);
that
.
selectionList
=
newList
;
that
.
chooseClerkIdList
=
[];
that
.
chooseStoreIdList
=
[];
that
.
chooseGroupIdList
=
[];
if
(
!!
newList
.
length
)
{
if
(
!!
newList
.
length
)
{
that
.
chooseClerkIdList
=
[];
newList
.
forEach
(
item
=>
{
that
.
chooseStoreIdList
=
[];
if
(
item
.
type
==
1
)
{
that
.
chooseGroupIdList
=
[];
// 人
newList
.
forEach
(
li
=>
{
that
.
chooseClerkIdList
.
push
(
item
.
employeeClerkId
);
if
(
li
.
employeeClerkId
)
{
}
else
if
(
item
.
type
==
3
)
{
that
.
chooseClerkIdList
.
push
(
li
.
employeeClerkId
);
// 门店
}
else
if
(
li
.
storeId
)
{
that
.
chooseStoreIdList
.
push
(
item
.
storeId
);
that
.
chooseStoreIdList
.
push
(
li
.
storeId
);
}
else
if
(
item
.
type
==
2
)
{
}
else
if
(
li
.
groupId
)
{
// 部门
that
.
chooseGroupIdList
.
push
(
li
.
groupId
);
that
.
chooseGroupIdList
.
push
(
item
.
groupId
);
}
}
});
});
that
.
getEmloyeeList
();
}
}
that
.
pageNum
=
1
;
that
.
getEmloyeeList
();
},
},
unique
(
arr
)
{
unique
(
arr
)
{
let
unique
=
{};
let
unique
=
{};
...
@@ -273,7 +277,6 @@ export default {
...
@@ -273,7 +277,6 @@ export default {
}
}
});
});
}
}
console
.
log
(
idx
,
that
.
defaultStoreList
,
that
.
adDefaultSelection
);
that
.
formatSelectionList
(
that
.
selectionList
);
that
.
formatSelectionList
(
that
.
selectionList
);
// that.adList.forEach(ad => {
// that.adList.forEach(ad => {
// if (ad.id == sld.id) {
// if (ad.id == sld.id) {
...
...
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