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
8ff8d1d4
Commit
8ff8d1d4
authored
Jun 24, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改行政架构列表
parent
6ab4ebe0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
index.html
dist/index.html
+2
-2
4.088f5cabfa85358ed48e.js
dist/static/js/4.088f5cabfa85358ed48e.js
+2
-2
manifest.6d9238a3d06263822fcd.js
dist/static/js/manifest.6d9238a3d06263822fcd.js
+2
-2
employeeList.vue
src/components/contacts/employeeList.vue
+5
-1
No files found.
dist/index.html
View file @
8ff8d1d4
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.b94d9a4ee43756cadafc6e7d8d16b35b.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.381343323cef7a74e539.js
></script><script
type=
text/javascript
src=
./static/js/vendor.f704eefa5ffbf30941b3.js
></script><script
type=
text/javascript
src=
./static/js/app.44fbe683aec5f22f84be.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.b94d9a4ee43756cadafc6e7d8d16b35b.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.6d9238a3d06263822fcd.js
></script><script
type=
text/javascript
src=
./static/js/vendor.f704eefa5ffbf30941b3.js
></script><script
type=
text/javascript
src=
./static/js/app.44fbe683aec5f22f84be.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/js/4.
d96eab831aeba7d76f18
.js
→
dist/static/js/4.
088f5cabfa85358ed48e
.js
View file @
8ff8d1d4
webpackJsonp
([
4
],{
"4WTo"
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"NWt+"
);
e
.
exports
=
function
(
e
,
t
){
var
n
=
[];
return
a
(
e
,
!
1
,
n
.
push
,
n
,
t
),
n
}},
"7Doy"
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"EqjI"
),
s
=
n
(
"7UMu"
),
o
=
n
(
"dSzd"
)(
"species"
);
e
.
exports
=
function
(
e
){
var
t
;
return
s
(
e
)
&&
(
"function"
!=
typeof
(
t
=
e
.
constructor
)
||
t
!==
Array
&&!
s
(
t
.
prototype
)
||
(
t
=
void
0
),
a
(
t
)
&&
null
===
(
t
=
t
[
o
])
&&
(
t
=
void
0
)),
void
0
===
t
?
Array
:
t
}},
"9Bbf"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"kM2E"
);
e
.
exports
=
function
(
e
){
a
(
a
.
S
,
e
,{
of
:
function
(){
for
(
var
e
=
arguments
.
length
,
t
=
new
Array
(
e
);
e
--
;)
t
[
e
]
=
arguments
[
e
];
return
new
this
(
t
)}})}},
"9C8M"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"evD5"
).
f
,
s
=
n
(
"Yobk"
),
o
=
n
(
"xH/j"
),
i
=
n
(
"+ZMJ"
),
r
=
n
(
"2KxR"
),
l
=
n
(
"NWt+"
),
c
=
n
(
"vIB/"
),
u
=
n
(
"EGZi"
),
d
=
n
(
"bRrM"
),
h
=
n
(
"+E39"
),
p
=
n
(
"06OY"
).
fastKey
,
f
=
n
(
"LIJb"
),
m
=
h
?
"_s"
:
"size"
,
v
=
function
(
e
,
t
){
var
n
,
a
=
p
(
t
);
if
(
"F"
!==
a
)
return
e
.
_i
[
a
];
for
(
n
=
e
.
_f
;
n
;
n
=
n
.
n
)
if
(
n
.
k
==
t
)
return
n
};
e
.
exports
=
{
getConstructor
:
function
(
e
,
t
,
n
,
c
){
var
u
=
e
(
function
(
e
,
a
){
r
(
e
,
u
,
t
,
"_i"
),
e
.
_t
=
t
,
e
.
_i
=
s
(
null
),
e
.
_f
=
void
0
,
e
.
_l
=
void
0
,
e
[
m
]
=
0
,
void
0
!=
a
&&
l
(
a
,
n
,
e
[
c
],
e
)});
return
o
(
u
.
prototype
,{
clear
:
function
(){
for
(
var
e
=
f
(
this
,
t
),
n
=
e
.
_i
,
a
=
e
.
_f
;
a
;
a
=
a
.
n
)
a
.
r
=!
0
,
a
.
p
&&
(
a
.
p
=
a
.
p
.
n
=
void
0
),
delete
n
[
a
.
i
];
e
.
_f
=
e
.
_l
=
void
0
,
e
[
m
]
=
0
},
delete
:
function
(
e
){
var
n
=
f
(
this
,
t
),
a
=
v
(
n
,
e
);
if
(
a
){
var
s
=
a
.
n
,
o
=
a
.
p
;
delete
n
.
_i
[
a
.
i
],
a
.
r
=!
0
,
o
&&
(
o
.
n
=
s
),
s
&&
(
s
.
p
=
o
),
n
.
_f
==
a
&&
(
n
.
_f
=
s
),
n
.
_l
==
a
&&
(
n
.
_l
=
o
),
n
[
m
]
--
}
return
!!
a
},
forEach
:
function
(
e
){
f
(
this
,
t
);
for
(
var
n
,
a
=
i
(
e
,
arguments
.
length
>
1
?
arguments
[
1
]:
void
0
,
3
);
n
=
n
?
n
.
n
:
this
.
_f
;)
for
(
a
(
n
.
v
,
n
.
k
,
this
);
n
&&
n
.
r
;)
n
=
n
.
p
},
has
:
function
(
e
){
return
!!
v
(
f
(
this
,
t
),
e
)}}),
h
&&
a
(
u
.
prototype
,
"size"
,{
get
:
function
(){
return
f
(
this
,
t
)[
m
]}}),
u
},
def
:
function
(
e
,
t
,
n
){
var
a
,
s
,
o
=
v
(
e
,
t
);
return
o
?
o
.
v
=
n
:(
e
.
_l
=
o
=
{
i
:
s
=
p
(
t
,
!
0
),
k
:
t
,
v
:
n
,
p
:
a
=
e
.
_l
,
n
:
void
0
,
r
:
!
1
},
e
.
_f
||
(
e
.
_f
=
o
),
a
&&
(
a
.
n
=
o
),
e
[
m
]
++
,
"F"
!==
s
&&
(
e
.
_i
[
s
]
=
o
)),
e
},
getEntry
:
v
,
setStrong
:
function
(
e
,
t
,
n
){
c
(
e
,
t
,
function
(
e
,
n
){
this
.
_t
=
f
(
e
,
t
),
this
.
_k
=
n
,
this
.
_l
=
void
0
},
function
(){
for
(
var
e
=
this
.
_k
,
t
=
this
.
_l
;
t
&&
t
.
r
;)
t
=
t
.
p
;
return
this
.
_t
&&
(
this
.
_l
=
t
=
t
?
t
.
n
:
this
.
_t
.
_f
)?
u
(
0
,
"keys"
==
e
?
t
.
k
:
"values"
==
e
?
t
.
v
:[
t
.
k
,
t
.
v
]):(
this
.
_t
=
void
0
,
u
(
1
))},
n
?
"entries"
:
"values"
,
!
n
,
!
0
),
d
(
t
)}}},
ALrJ
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"+ZMJ"
),
s
=
n
(
"MU5D"
),
o
=
n
(
"sB3e"
),
i
=
n
(
"QRG4"
),
r
=
n
(
"oeOm"
);
e
.
exports
=
function
(
e
,
t
){
var
n
=
1
==
e
,
l
=
2
==
e
,
c
=
3
==
e
,
u
=
4
==
e
,
d
=
6
==
e
,
h
=
5
==
e
||
d
,
p
=
t
||
r
;
return
function
(
t
,
r
,
f
){
for
(
var
m
,
v
,
g
=
o
(
t
),
_
=
s
(
g
),
y
=
a
(
r
,
f
,
3
),
b
=
i
(
_
.
length
),
C
=
0
,
I
=
n
?
p
(
t
,
b
):
l
?
p
(
t
,
0
):
void
0
;
b
>
C
;
C
++
)
if
((
h
||
C
in
_
)
&&
(
v
=
y
(
m
=
_
[
C
],
C
,
g
),
e
))
if
(
n
)
I
[
C
]
=
v
;
else
if
(
v
)
switch
(
e
){
case
3
:
return
!
0
;
case
5
:
return
m
;
case
6
:
return
C
;
case
2
:
I
.
push
(
m
)}
else
if
(
u
)
return
!
1
;
return
d
?
-
1
:
c
||
u
?
u
:
I
}}},
ATfr
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"0xDb"
),
s
=
{
name
:
"searchMenu"
,
components
:{},
props
:{
treeData
:{
type
:
Array
,
required
:
!
0
},
searchResult
:{
type
:
Object
,
required
:
!
0
},
storeFrame
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
searchKey
:
""
,
searchResultShow
:
!
1
,
myProps
:{
children
:
"childrens"
,
label
:
"label"
,
disabled
:
"disabled"
},
menuData
:[],
defaultOpen
:[],
defaultId
:
""
}},
methods
:{
clearFn
:
function
(){
this
.
searchResultShow
=!
1
,
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".el-tree-node"
).
classList
.
add
(
"is-current"
)})},
searchFn
:
function
(){
if
(
""
==
this
.
searchKey
)
return
this
.
searchResultShow
=!
1
,
!
1
;
this
.
searchResultShow
=!
0
,
this
.
$emit
(
"handleSearchKey"
,
this
.
searchKey
)},
handleNodeClick
:
function
(
e
,
t
){
e
.
id
!=
this
.
defaultId
&&
document
.
querySelector
(
".el-tree-node"
)
&&
document
.
querySelector
(
".el-tree-node"
).
classList
.
remove
(
"is-current"
),
this
.
defaultId
=
e
.
groupId
,
this
.
$emit
(
"handleTreeSelection"
,
e
,
t
,
"node"
)},
selectEmployee
:
function
(
e
){
this
.
defaultId
=
e
.
employeeClerkId
,
this
.
$emit
(
"handleEmployeeSelection"
,
e
,
"employee"
)},
handleStoreClick
:
function
(
e
){
this
.
$emit
(
"handleStoreSelection"
,
e
,
"store"
)}},
filter
:{},
computed
:{
employeeList
:
function
(){
return
this
.
searchResult
.
searchList
?
this
.
searchResult
.
searchList
:[]},
departmentList
:
function
(){
return
this
.
searchResult
.
departmentList
?
this
.
searchResult
.
departmentList
:[]},
brandList
:
function
(){
return
this
.
searchResult
.
brandList
?
this
.
searchResult
.
brandList
:[]}},
watch
:{
treeData
:
function
(
e
,
t
){
var
n
=
this
,
s
=
Object
(
a
.
c
)(
e
);
n
.
defaultOpen
=
s
.
defaultOpen
,
n
.
menuData
=
s
.
menuArr
,
n
.
menuData
.
length
&&
n
.
$nextTick
(
function
(){
n
.
defaultId
=
n
.
menuData
.
length
?
n
.
menuData
[
0
].
id
:
""
,
document
.
querySelector
(
".el-tree-node"
).
classList
.
add
(
"is-current"
)})}}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"searh-menu-container"
},[
n
(
"div"
,{
staticClass
:
"p-0-15"
},[
n
(
"el-input"
,{
attrs
:{
"prefix-icon"
:
"el-icon-search"
,
placeholder
:
"姓名/手机号/部门名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearFn
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchFn
(
t
):
null
}},
model
:{
value
:
e
.
searchKey
,
callback
:
function
(
t
){
e
.
searchKey
=
t
},
expression
:
"searchKey"
}}),
e
.
_v
(
" "
),
e
.
_t
(
"buttonBox"
),
e
.
_v
(
" "
),
e
.
searchResultShow
?
e
.
_e
():
n
(
"el-tree"
,{
staticClass
:
"search-menu"
,
attrs
:{
"node-key"
:
"id"
,
"default-expanded-keys"
:
e
.
defaultOpen
,
data
:
e
.
menuData
,
"highlight-current"
:
!
0
,
"expand-on-click-node"
:
!
1
,
props
:
e
.
myProps
},
on
:{
"node-click"
:
e
.
handleNodeClick
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
var
a
=
t
.
node
;
return
t
.
data
,
n
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
n
(
"i"
,{
staticClass
:
"iconfont"
,
class
:
1
==
a
.
level
?
"icon-2zuzhijiagou"
:
"icon-tongshi-zuzhijiagou"
}),
e
.
_v
(
" "
),
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
a
.
label
))])])}}])})],
2
),
e
.
_v
(
" "
),
e
.
searchResultShow
?
n
(
"div"
,{
staticClass
:
"search-result-container m-t-15"
},[
e
.
storeFrame
?[
e
.
_l
(
e
.
brandList
,
function
(
t
,
a
){
return
[
t
.
departmentList
.
length
>
0
||
t
.
storeList
.
length
>
0
||
t
.
searchList
.
length
>
0
?
n
(
"div"
,{
key
:
t
.
topDepartment
.
brandId
+
"_"
+
a
},[
n
(
"div"
,[
n
(
"p"
,{
staticClass
:
"brand-title"
},[
e
.
_v
(
e
.
_s
(
t
.
topDepartment
.
name
))]),
e
.
_v
(
" "
),
t
.
departmentList
.
length
>
0
?
n
(
"ul"
,{
staticClass
:
"search-result-ul"
},[
n
(
"p"
,{
staticClass
:
"title store-frame-title"
},[
e
.
_v
(
"分组列表"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
departmentList
,
function
(
t
,
a
){
return
n
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
staticClass
:
"group-item items"
,
on
:{
click
:
function
(
n
){
e
.
handleNodeClick
(
t
)}}},[
n
(
"i"
,{
staticClass
:
"iconfont icon-tongshi-zuzhijiagou"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
)])})],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
storeList
.
length
>
0
?
n
(
"ul"
,{
staticClass
:
"search-result-ul"
},[
n
(
"p"
,{
staticClass
:
"title store-frame-title"
},[
e
.
_v
(
"门店列表"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
storeList
,
function
(
t
,
a
){
return
n
(
"li"
,{
key
:
a
+
"_"
+
t
.
storeGroupId
,
staticClass
:
"group-item items"
,
on
:{
click
:
function
(
n
){
e
.
handleStoreClick
(
t
)}}},[
n
(
"i"
,{
staticClass
:
"iconfont icon-tongshi-zuzhijiagou"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
storeName
)
+
"
\
n "
)])})],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
searchList
.
length
>
0
?
n
(
"ul"
,{
staticClass
:
"search-result-ul"
},[
n
(
"p"
,{
staticClass
:
"title store-frame-title"
},[
e
.
_v
(
"人员列表"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
searchList
,
function
(
t
,
a
){
return
n
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"person-item items"
,
on
:{
click
:
function
(
n
){
e
.
selectEmployee
(
t
)}}},[
n
(
"i"
,{
staticClass
:
"iconfont icon-chengyuan"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
),
n
(
"span"
,{
staticClass
:
"from-group"
},[
e
.
_v
(
e
.
_s
(
t
.
departmentName
))])])})],
2
):
e
.
_e
()])]):
e
.
_e
()]}),
e
.
_v
(
" "
),
e
.
brandList
.
length
<
1
?
n
(
"p"
,{
staticClass
:
"no-data-tip"
},[
e
.
_v
(
"暂无数据"
)]):
e
.
_e
()]:[
e
.
departmentList
.
length
>
0
?
n
(
"ul"
,{
staticClass
:
"search-result-ul"
},[
n
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"部门列表"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
departmentList
,
function
(
t
,
a
){
return
n
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
class
:[
"group-item items"
,
e
.
defaultId
==
t
.
groupId
?
"active-item"
:
""
],
on
:{
click
:
function
(
n
){
e
.
handleNodeClick
(
t
)}}},[
n
(
"i"
,{
staticClass
:
"iconfont icon-tongshi-zuzhijiagou"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
)])})],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
employeeList
.
length
>
0
?
n
(
"ul"
,{
staticClass
:
"search-result-ul"
},[
n
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"人员列表"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
employeeList
,
function
(
t
,
a
){
return
n
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
class
:[
"person-item items"
,
e
.
defaultId
==
t
.
employeeClerkId
?
"active-item"
:
""
],
on
:{
click
:
function
(
n
){
e
.
selectEmployee
(
t
)}}},[
n
(
"i"
,{
staticClass
:
"iconfont icon-chengyuan"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
),
n
(
"span"
,{
staticClass
:
"from-group"
},[
e
.
_v
(
e
.
_s
(
t
.
departmentName
))])])})],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
departmentList
.
length
<
1
&&
e
.
employeeList
.
length
<
1
?
n
(
"p"
,{
staticClass
:
"no-data-tip"
},[
e
.
_v
(
"暂无数据"
)]):
e
.
_e
()]],
2
):
e
.
_e
()])},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
e
){
n
(
"MEND"
)},
null
,
null
);
t
.
a
=
i
.
exports
},
BDhv
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"kM2E"
);
a
(
a
.
P
+
a
.
R
,
"Set"
,{
toJSON
:
n
(
"m9gC"
)(
"Set"
)})},
HpRW
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"kM2E"
),
s
=
n
(
"lOnJ"
),
o
=
n
(
"+ZMJ"
),
i
=
n
(
"NWt+"
);
e
.
exports
=
function
(
e
){
a
(
a
.
S
,
e
,{
from
:
function
(
e
){
var
t
,
n
,
a
,
r
,
l
=
arguments
[
1
];
return
s
(
this
),(
t
=
void
0
!==
l
)
&&
s
(
l
),
void
0
==
e
?
new
this
:(
n
=
[],
t
?(
a
=
0
,
r
=
o
(
l
,
arguments
[
2
],
2
),
i
(
e
,
!
1
,
function
(
e
){
n
.
push
(
r
(
e
,
a
++
))})):
i
(
e
,
!
1
,
n
.
push
,
n
),
new
this
(
n
))}})}},
LIJb
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"EqjI"
);
e
.
exports
=
function
(
e
,
t
){
if
(
!
a
(
e
)
||
e
.
_t
!==
t
)
throw
TypeError
(
"Incompatible receiver, "
+
t
+
" required!"
);
return
e
}},
MEND
:
function
(
e
,
t
){},
TDHu
:
function
(
e
,
t
){},
ioQ5
:
function
(
e
,
t
,
n
){
n
(
"HpRW"
)(
"Set"
)},
kLcy
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"lHA8"
),
s
=
n
.
n
(
a
),
o
=
n
(
"3Xzz"
),
i
=
n
(
"ATfr"
),
r
=
n
(
"WSbm"
),
l
=
{
name
:
"employee-table"
,
props
:{
employeeList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
headList
:{
type
:
Array
,
default
:
function
(){
return
[
"selection"
,
"name"
,
"phoneNumber"
,
"positionName"
,
"activationStatus"
]}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
180
}},
methods
:{
selectMember
:
function
(
e
){
this
.
$emit
(
"selectMember"
,
e
)},
linkToDetail
:
function
(
e
){
window
.
location
.
href
=
"#/employee?employeeClerkId="
+
e
.
employeeClerkId
}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"employee-table"
},[
n
(
"el-table"
,{
attrs
:{
data
:
e
.
employeeList
},
on
:{
"selection-change"
:
e
.
selectMember
,
"row-click"
:
e
.
linkToDetail
}},[
e
.
_l
(
e
.
headList
,
function
(
t
){
return
[
"selection"
==
t
?
n
(
"el-table-column"
,{
key
:
t
,
attrs
:{
type
:
"selection"
,
width
:
"42"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
"name"
==
t
?
n
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
"姓名"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
name
))]),
e
.
_v
(
" "
),
1
==
t
.
row
.
isManager
?
n
(
"span"
,{
staticClass
:
"is-manager"
},[
e
.
_v
(
"部门负责人"
)]):
e
.
_e
()]}}])}):
e
.
_e
(),
e
.
_v
(
" "
),
"phoneNumber"
==
t
?
n
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
"手机号"
,
prop
:
"phoneNumber"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
"positionName"
==
t
?
n
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
positionName
?
t
.
row
.
positionName
:
"--"
)
+
"
\
n "
)]}}])}):
e
.
_e
(),
e
.
_v
(
" "
),
"activationStatus"
==
t
?
n
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
"状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"div"
,{
staticClass
:
"status-icon"
,
class
:
1
==
e
.
row
.
activationStatus
?
"is-active"
:
""
},[
n
(
"i"
,{
staticClass
:
"iconfont icon-shouji"
})])]}}])}):
e
.
_e
()]})],
2
)],
1
)},
staticRenderFns
:[]};
var
u
=
n
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
n
(
"TDHu"
)},
null
,
null
).
exports
,
d
=
n
(
"P9l9"
),
h
=
{
name
:
"administrativeEstrutura"
,
components
:{
navCrumb
:
o
.
a
,
searchMenu
:
i
.
a
,
employeeInfo
:
r
.
a
,
employeeList
:
u
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"行政架构"
,
path
:
""
}],
showChildMember
:
!
1
,
setDisabledDel
:
!
1
,
menuData
:[],
pageSize
:
20
,
currentPage
:
1
,
selectedList
:[],
total
:
0
,
loading
:
!
0
,
groupInfo
:{
groupName
:
""
,
departmentId
:
""
,
hasPression
:
""
},
employeeList
:[],
searchResult
:{},
showEmployee
:
!
1
,
selectedEmployee
:{}}},
created
:
function
(){},
beforeMount
:
function
(){
this
.
getGroupData
(),
this
.
getEmployee
()},
methods
:{
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getEmployee
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getEmployee
()},
addSon
:
function
(){
location
.
href
=
"#/addDepartment?type=group&addnew=1&departmentId="
+
this
.
groupInfo
.
departmentId
},
goToEdit
:
function
(
e
){
var
t
=
0
==
e
?
"company"
:
"group"
;
location
.
href
=
"#/addDepartment?departmentId="
+
this
.
groupInfo
.
departmentId
+
"&type="
+
t
},
handleSearchKey
:
function
(
e
){
var
t
=
this
,
n
=
{
keyWord
:
e
};
Object
(
d
.
a
)(
"/haoban-manage-web/emp/searchpage"
,
n
).
then
(
function
(
e
){
t
.
searchResult
=
e
.
data
.
result
}).
catch
(
function
(
e
){})},
handleTreeSelection
:
function
(
e
,
t
,
n
){
this
.
groupInfo
.
departmentId
=
e
.
groupId
,
this
.
groupInfo
.
groupName
=
e
.
name
,
this
.
showEmployee
=
n
,
this
.
groupInfo
.
hasPression
=
e
.
hasPression
,
this
.
groupInfo
.
level
=
e
.
level
,
this
.
loading
=!
0
,
this
.
getEmployee
()},
handleEmployeeSelection
:
function
(
e
,
t
){
this
.
selectedEmployee
=
e
,
this
.
showEmployee
=
t
},
selectMember
:
function
(
e
){
this
.
selectedList
=
e
},
delMembers
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否要删除选中的员工?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
e
.
loading
=!
0
;
var
t
=
[];
if
(
e
.
selectedList
.
forEach
(
function
(
e
){
t
.
push
(
e
.
employeeClerkId
)}),
!
t
.
length
)
return
e
.
$message
({
message
:
"请选择员工"
,
type
:
"warning"
}),
e
.
loading
=!
1
,
!
1
;
var
n
=
{
ids
:
t
.
join
(
","
)};
Object
(
d
.
a
)(
"/haoban-manage-web/emp/del"
,
n
).
then
(
function
(
t
){
if
(
1
==
t
.
data
.
errorCode
){
var
n
=
e
.
selectedList
,
a
=
e
.
employeeList
,
o
=
new
s
.
a
(
n
),
i
=
new
s
.
a
(
a
);
e
.
employeeList
=
n
.
concat
(
a
).
filter
(
function
(
e
){
return
!
o
.
has
(
e
)
||!
i
.
has
(
e
)}),
e
.
$message
.
success
({
message
:
t
.
data
.
message
})}
else
e
.
$message
.
error
({
message
:
t
.
data
.
message
});
e
.
loading
=!
1
}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
message
:
t
.
message
})})})},
setChildMemberShow
:
function
(){
this
.
getEmployee
()},
getGroupData
:
function
(
e
){
var
t
=
this
;
Object
(
d
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
e
){
t
.
menuData
=
e
.
data
.
result
.
departmentList
||
[],
t
.
menuData
.
some
(
function
(
e
){
return
0
==
e
.
level
&&
(
t
.
groupInfo
.
departmentId
=
e
.
groupId
,
t
.
groupInfo
.
groupName
=
e
.
name
,
t
.
groupInfo
.
hasPression
=
e
.
hasPression
,
t
.
groupInfo
.
level
=
0
),
0
==
e
.
level
}),
t
.
getEmployee
()}).
catch
(
function
(
e
){
console
.
log
(
e
,
"error"
)})},
getEmployee
:
function
(){
var
e
=
this
,
t
=
{
departmentId
:
e
.
groupInfo
.
departmentId
,
showChild
:
1
*
e
.
showChildMember
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
currentPage
,
status
:
1
};
Object
(
d
.
a
)(
"/haoban-manage-web/emp/findsimplepage"
,
t
).
then
(
function
(
t
){
var
n
=
[],
a
=
0
;
1
==
t
.
data
.
errorCode
&&
(
n
=
t
.
data
.
result
&&
t
.
data
.
result
.
list
?
t
.
data
.
result
.
list
:[],
a
=
t
.
data
.
result
&&
t
.
data
.
result
.
total
?
t
.
data
.
result
.
total
:
0
),
e
.
employeeList
=
n
,
e
.
total
=
a
,
e
.
loading
=!
1
}).
catch
(
function
(
t
){
console
.
log
(
t
,
"error"
),
e
.
loading
=!
1
})}},
computed
:{
disabledDel
:
function
(){
return
!
this
.
selectedList
.
length
&&!
this
.
setDisabledDel
&&
1
!=
this
.
groupInfo
.
hasPression
}}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"common-set-wrap admin-frame"
},[
n
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"right-content"
},[
n
(
"div"
,{
staticClass
:
"right-box"
},[
n
(
"div"
,{
staticClass
:
"administrative-estrutura-container common-frame-container"
,
style
:{
minHeight
:
e
.
$store
.
state
.
bgHeight
}},[
n
(
"search-menu"
,{
attrs
:{
treeData
:
e
.
menuData
,
searchResult
:
e
.
searchResult
},
on
:{
handleSearchKey
:
e
.
handleSearchKey
,
handleTreeSelection
:
e
.
handleTreeSelection
,
handleEmployeeSelection
:
e
.
handleEmployeeSelection
}}),
e
.
_v
(
" "
),
"employee"
==
e
.
showEmployee
?
n
(
"employee-info"
,{
attrs
:{
perId
:
e
.
selectedEmployee
.
employeeClerkId
}}):
n
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticClass
:
"af-right-container common-right-container"
},[
n
(
"div"
,{
staticClass
:
"af-right-header common-right-header"
},[
n
(
"span"
,{
staticClass
:
"title-span"
},[
e
.
_v
(
e
.
_s
(
e
.
groupInfo
.
groupName
)
+
"("
+
e
.
_s
(
e
.
total
)
+
"人)"
)]),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"id-span"
},[
e
.
_v
(
"部门ID: "
+
e
.
_s
(
e
.
groupInfo
.
departmentId
))]),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"handle-area"
},[
n
(
"el-button"
,{
staticClass
:
"no-bdr-btn"
,
attrs
:{
disabled
:
1
!=
e
.
groupInfo
.
hasPression
},
on
:{
click
:
e
.
addSon
}},[
e
.
_v
(
"
\
n 添加子分组 "
)]),
n
(
"span"
,{
staticClass
:
"hurdle"
}),
n
(
"el-button"
,{
staticClass
:
"no-bdr-btn"
,
attrs
:{
href
:
"#/addGroup?groupId="
+
e
.
groupInfo
.
departmentId
,
disabled
:
1
!=
e
.
groupInfo
.
hasPression
},
on
:{
click
:
function
(
t
){
e
.
goToEdit
(
e
.
groupInfo
.
level
)}}},[
e
.
_v
(
"编辑"
)])],
1
)]),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"af-right-button-box common-right-button-box"
},[
n
(
"a"
,{
attrs
:{
href
:
"#/employee?addnew=1&departmentId="
+
e
.
groupInfo
.
departmentId
}},[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
e
.
_v
(
"添加成员"
)])],
1
),
e
.
_v
(
" "
),
n
(
"a"
,{
attrs
:{
href
:
"#/employeeIo?importCode=employee&departmentId="
+
e
.
groupInfo
.
departmentId
+
"&showChildMember="
+
1
*
e
.
showChildMember
}},[
n
(
"el-button"
,[
e
.
_v
(
"批量导入/导出"
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"danger"
,
disabled
:
e
.
disabledDel
},
on
:{
click
:
e
.
delMembers
}},[
e
.
_v
(
"批量删除"
)]),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"J_show-children inline-block el-button"
},[
n
(
"el-checkbox"
,{
staticClass
:
"m-r-10"
,
on
:{
change
:
e
.
setChildMemberShow
},
model
:{
value
:
e
.
showChildMember
,
callback
:
function
(
t
){
e
.
showChildMember
=
t
},
expression
:
"showChildMember"
}},[
e
.
_v
(
"显示子成员"
)])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"employee-list"
,{
attrs
:{
employeeList
:
e
.
employeeList
},
on
:{
selectMember
:
e
.
selectMember
}}),
e
.
_v
(
" "
),
e
.
employeeList
.
length
?
n
(
"div"
,{
staticClass
:
"pagination"
},[
n
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
)])]),
e
.
_v
(
" "
),
n
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
f
=
n
(
"VU/8"
)(
h
,
p
,
!
1
,
function
(
e
){
n
(
"oIqJ"
)},
null
,
null
);
t
.
default
=
f
.
exports
},
lHA8
:
function
(
e
,
t
,
n
){
e
.
exports
=
{
default
:
n
(
"pPW7"
),
__esModule
:
!
0
}},
m9gC
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"RY/4"
),
s
=
n
(
"4WTo"
);
e
.
exports
=
function
(
e
){
return
function
(){
if
(
a
(
this
)
!=
e
)
throw
TypeError
(
e
+
"#toJSON isn't generic"
);
return
s
(
this
)}}},
oIqJ
:
function
(
e
,
t
){},
oNmr
:
function
(
e
,
t
,
n
){
n
(
"9Bbf"
)(
"Set"
)},
oeOm
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"7Doy"
);
e
.
exports
=
function
(
e
,
t
){
return
new
(
a
(
e
))(
t
)}},
pPW7
:
function
(
e
,
t
,
n
){
n
(
"M6a0"
),
n
(
"zQR9"
),
n
(
"+tPU"
),
n
(
"ttyz"
),
n
(
"BDhv"
),
n
(
"oNmr"
),
n
(
"ioQ5"
),
e
.
exports
=
n
(
"FeBl"
).
Set
},
qo66
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"7KvD"
),
s
=
n
(
"kM2E"
),
o
=
n
(
"06OY"
),
i
=
n
(
"S82l"
),
r
=
n
(
"hJx8"
),
l
=
n
(
"xH/j"
),
c
=
n
(
"NWt+"
),
u
=
n
(
"2KxR"
),
d
=
n
(
"EqjI"
),
h
=
n
(
"e6n0"
),
p
=
n
(
"evD5"
).
f
,
f
=
n
(
"ALrJ"
)(
0
),
m
=
n
(
"+E39"
);
e
.
exports
=
function
(
e
,
t
,
n
,
v
,
g
,
_
){
var
y
=
a
[
e
],
b
=
y
,
C
=
g
?
"set"
:
"add"
,
I
=
b
&&
b
.
prototype
,
k
=
{};
return
m
&&
"function"
==
typeof
b
&&
(
_
||
I
.
forEach
&&!
i
(
function
(){(
new
b
).
entries
().
next
()}))?(
b
=
t
(
function
(
t
,
n
){
u
(
t
,
b
,
e
,
"_c"
),
t
.
_c
=
new
y
,
void
0
!=
n
&&
c
(
n
,
g
,
t
[
C
],
t
)}),
f
(
"add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON"
.
split
(
","
),
function
(
e
){
var
t
=
"add"
==
e
||
"set"
==
e
;
e
in
I
&&
(
!
_
||
"clear"
!=
e
)
&&
r
(
b
.
prototype
,
e
,
function
(
n
,
a
){
if
(
u
(
this
,
b
,
e
),
!
t
&&
_
&&!
d
(
n
))
return
"get"
==
e
&&
void
0
;
var
s
=
this
.
_c
[
e
](
0
===
n
?
0
:
n
,
a
);
return
t
?
this
:
s
})}),
_
||
p
(
b
.
prototype
,
"size"
,{
get
:
function
(){
return
this
.
_c
.
size
}})):(
b
=
v
.
getConstructor
(
t
,
e
,
g
,
C
),
l
(
b
.
prototype
,
n
),
o
.
NEED
=!
0
),
h
(
b
,
e
),
k
[
e
]
=
b
,
s
(
s
.
G
+
s
.
W
+
s
.
F
,
k
),
_
||
v
.
setStrong
(
b
,
e
,
g
),
b
}},
ttyz
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"9C8M"
),
s
=
n
(
"LIJb"
);
e
.
exports
=
n
(
"qo66"
)(
"Set"
,
function
(
e
){
return
function
(){
return
e
(
this
,
arguments
.
length
>
0
?
arguments
[
0
]:
void
0
)}},{
add
:
function
(
e
){
return
a
.
def
(
s
(
this
,
"Set"
),
e
=
0
===
e
?
0
:
e
,
e
)}},
a
)}});
webpackJsonp
([
4
],{
"4WTo"
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"NWt+"
);
e
.
exports
=
function
(
e
,
t
){
var
n
=
[];
return
a
(
e
,
!
1
,
n
.
push
,
n
,
t
),
n
}},
"7Doy"
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"EqjI"
),
s
=
n
(
"7UMu"
),
o
=
n
(
"dSzd"
)(
"species"
);
e
.
exports
=
function
(
e
){
var
t
;
return
s
(
e
)
&&
(
"function"
!=
typeof
(
t
=
e
.
constructor
)
||
t
!==
Array
&&!
s
(
t
.
prototype
)
||
(
t
=
void
0
),
a
(
t
)
&&
null
===
(
t
=
t
[
o
])
&&
(
t
=
void
0
)),
void
0
===
t
?
Array
:
t
}},
"9Bbf"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"kM2E"
);
e
.
exports
=
function
(
e
){
a
(
a
.
S
,
e
,{
of
:
function
(){
for
(
var
e
=
arguments
.
length
,
t
=
new
Array
(
e
);
e
--
;)
t
[
e
]
=
arguments
[
e
];
return
new
this
(
t
)}})}},
"9C8M"
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"evD5"
).
f
,
s
=
n
(
"Yobk"
),
o
=
n
(
"xH/j"
),
r
=
n
(
"+ZMJ"
),
i
=
n
(
"2KxR"
),
l
=
n
(
"NWt+"
),
c
=
n
(
"vIB/"
),
u
=
n
(
"EGZi"
),
d
=
n
(
"bRrM"
),
h
=
n
(
"+E39"
),
p
=
n
(
"06OY"
).
fastKey
,
f
=
n
(
"LIJb"
),
m
=
h
?
"_s"
:
"size"
,
v
=
function
(
e
,
t
){
var
n
,
a
=
p
(
t
);
if
(
"F"
!==
a
)
return
e
.
_i
[
a
];
for
(
n
=
e
.
_f
;
n
;
n
=
n
.
n
)
if
(
n
.
k
==
t
)
return
n
};
e
.
exports
=
{
getConstructor
:
function
(
e
,
t
,
n
,
c
){
var
u
=
e
(
function
(
e
,
a
){
i
(
e
,
u
,
t
,
"_i"
),
e
.
_t
=
t
,
e
.
_i
=
s
(
null
),
e
.
_f
=
void
0
,
e
.
_l
=
void
0
,
e
[
m
]
=
0
,
void
0
!=
a
&&
l
(
a
,
n
,
e
[
c
],
e
)});
return
o
(
u
.
prototype
,{
clear
:
function
(){
for
(
var
e
=
f
(
this
,
t
),
n
=
e
.
_i
,
a
=
e
.
_f
;
a
;
a
=
a
.
n
)
a
.
r
=!
0
,
a
.
p
&&
(
a
.
p
=
a
.
p
.
n
=
void
0
),
delete
n
[
a
.
i
];
e
.
_f
=
e
.
_l
=
void
0
,
e
[
m
]
=
0
},
delete
:
function
(
e
){
var
n
=
f
(
this
,
t
),
a
=
v
(
n
,
e
);
if
(
a
){
var
s
=
a
.
n
,
o
=
a
.
p
;
delete
n
.
_i
[
a
.
i
],
a
.
r
=!
0
,
o
&&
(
o
.
n
=
s
),
s
&&
(
s
.
p
=
o
),
n
.
_f
==
a
&&
(
n
.
_f
=
s
),
n
.
_l
==
a
&&
(
n
.
_l
=
o
),
n
[
m
]
--
}
return
!!
a
},
forEach
:
function
(
e
){
f
(
this
,
t
);
for
(
var
n
,
a
=
r
(
e
,
arguments
.
length
>
1
?
arguments
[
1
]:
void
0
,
3
);
n
=
n
?
n
.
n
:
this
.
_f
;)
for
(
a
(
n
.
v
,
n
.
k
,
this
);
n
&&
n
.
r
;)
n
=
n
.
p
},
has
:
function
(
e
){
return
!!
v
(
f
(
this
,
t
),
e
)}}),
h
&&
a
(
u
.
prototype
,
"size"
,{
get
:
function
(){
return
f
(
this
,
t
)[
m
]}}),
u
},
def
:
function
(
e
,
t
,
n
){
var
a
,
s
,
o
=
v
(
e
,
t
);
return
o
?
o
.
v
=
n
:(
e
.
_l
=
o
=
{
i
:
s
=
p
(
t
,
!
0
),
k
:
t
,
v
:
n
,
p
:
a
=
e
.
_l
,
n
:
void
0
,
r
:
!
1
},
e
.
_f
||
(
e
.
_f
=
o
),
a
&&
(
a
.
n
=
o
),
e
[
m
]
++
,
"F"
!==
s
&&
(
e
.
_i
[
s
]
=
o
)),
e
},
getEntry
:
v
,
setStrong
:
function
(
e
,
t
,
n
){
c
(
e
,
t
,
function
(
e
,
n
){
this
.
_t
=
f
(
e
,
t
),
this
.
_k
=
n
,
this
.
_l
=
void
0
},
function
(){
for
(
var
e
=
this
.
_k
,
t
=
this
.
_l
;
t
&&
t
.
r
;)
t
=
t
.
p
;
return
this
.
_t
&&
(
this
.
_l
=
t
=
t
?
t
.
n
:
this
.
_t
.
_f
)?
u
(
0
,
"keys"
==
e
?
t
.
k
:
"values"
==
e
?
t
.
v
:[
t
.
k
,
t
.
v
]):(
this
.
_t
=
void
0
,
u
(
1
))},
n
?
"entries"
:
"values"
,
!
n
,
!
0
),
d
(
t
)}}},
ALrJ
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"+ZMJ"
),
s
=
n
(
"MU5D"
),
o
=
n
(
"sB3e"
),
r
=
n
(
"QRG4"
),
i
=
n
(
"oeOm"
);
e
.
exports
=
function
(
e
,
t
){
var
n
=
1
==
e
,
l
=
2
==
e
,
c
=
3
==
e
,
u
=
4
==
e
,
d
=
6
==
e
,
h
=
5
==
e
||
d
,
p
=
t
||
i
;
return
function
(
t
,
i
,
f
){
for
(
var
m
,
v
,
g
=
o
(
t
),
_
=
s
(
g
),
y
=
a
(
i
,
f
,
3
),
b
=
r
(
_
.
length
),
C
=
0
,
I
=
n
?
p
(
t
,
b
):
l
?
p
(
t
,
0
):
void
0
;
b
>
C
;
C
++
)
if
((
h
||
C
in
_
)
&&
(
v
=
y
(
m
=
_
[
C
],
C
,
g
),
e
))
if
(
n
)
I
[
C
]
=
v
;
else
if
(
v
)
switch
(
e
){
case
3
:
return
!
0
;
case
5
:
return
m
;
case
6
:
return
C
;
case
2
:
I
.
push
(
m
)}
else
if
(
u
)
return
!
1
;
return
d
?
-
1
:
c
||
u
?
u
:
I
}}},
ATfr
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"0xDb"
),
s
=
{
name
:
"searchMenu"
,
components
:{},
props
:{
treeData
:{
type
:
Array
,
required
:
!
0
},
searchResult
:{
type
:
Object
,
required
:
!
0
},
storeFrame
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
searchKey
:
""
,
searchResultShow
:
!
1
,
myProps
:{
children
:
"childrens"
,
label
:
"label"
,
disabled
:
"disabled"
},
menuData
:[],
defaultOpen
:[],
defaultId
:
""
}},
methods
:{
clearFn
:
function
(){
this
.
searchResultShow
=!
1
,
this
.
$nextTick
(
function
(){
document
.
querySelector
(
".el-tree-node"
).
classList
.
add
(
"is-current"
)})},
searchFn
:
function
(){
if
(
""
==
this
.
searchKey
)
return
this
.
searchResultShow
=!
1
,
!
1
;
this
.
searchResultShow
=!
0
,
this
.
$emit
(
"handleSearchKey"
,
this
.
searchKey
)},
handleNodeClick
:
function
(
e
,
t
){
e
.
id
!=
this
.
defaultId
&&
document
.
querySelector
(
".el-tree-node"
)
&&
document
.
querySelector
(
".el-tree-node"
).
classList
.
remove
(
"is-current"
),
this
.
defaultId
=
e
.
groupId
,
this
.
$emit
(
"handleTreeSelection"
,
e
,
t
,
"node"
)},
selectEmployee
:
function
(
e
){
this
.
defaultId
=
e
.
employeeClerkId
,
this
.
$emit
(
"handleEmployeeSelection"
,
e
,
"employee"
)},
handleStoreClick
:
function
(
e
){
this
.
$emit
(
"handleStoreSelection"
,
e
,
"store"
)}},
filter
:{},
computed
:{
employeeList
:
function
(){
return
this
.
searchResult
.
searchList
?
this
.
searchResult
.
searchList
:[]},
departmentList
:
function
(){
return
this
.
searchResult
.
departmentList
?
this
.
searchResult
.
departmentList
:[]},
brandList
:
function
(){
return
this
.
searchResult
.
brandList
?
this
.
searchResult
.
brandList
:[]}},
watch
:{
treeData
:
function
(
e
,
t
){
var
n
=
this
,
s
=
Object
(
a
.
c
)(
e
);
n
.
defaultOpen
=
s
.
defaultOpen
,
n
.
menuData
=
s
.
menuArr
,
n
.
menuData
.
length
&&
n
.
$nextTick
(
function
(){
n
.
defaultId
=
n
.
menuData
.
length
?
n
.
menuData
[
0
].
id
:
""
,
document
.
querySelector
(
".el-tree-node"
).
classList
.
add
(
"is-current"
)})}}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"searh-menu-container"
},[
n
(
"div"
,{
staticClass
:
"p-0-15"
},[
n
(
"el-input"
,{
attrs
:{
"prefix-icon"
:
"el-icon-search"
,
placeholder
:
"姓名/手机号/部门名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearFn
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchFn
(
t
):
null
}},
model
:{
value
:
e
.
searchKey
,
callback
:
function
(
t
){
e
.
searchKey
=
t
},
expression
:
"searchKey"
}}),
e
.
_v
(
" "
),
e
.
_t
(
"buttonBox"
),
e
.
_v
(
" "
),
e
.
searchResultShow
?
e
.
_e
():
n
(
"el-tree"
,{
staticClass
:
"search-menu"
,
attrs
:{
"node-key"
:
"id"
,
"default-expanded-keys"
:
e
.
defaultOpen
,
data
:
e
.
menuData
,
"highlight-current"
:
!
0
,
"expand-on-click-node"
:
!
1
,
props
:
e
.
myProps
},
on
:{
"node-click"
:
e
.
handleNodeClick
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
var
a
=
t
.
node
;
return
t
.
data
,
n
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
n
(
"i"
,{
staticClass
:
"iconfont"
,
class
:
1
==
a
.
level
?
"icon-2zuzhijiagou"
:
"icon-tongshi-zuzhijiagou"
}),
e
.
_v
(
" "
),
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
a
.
label
))])])}}])})],
2
),
e
.
_v
(
" "
),
e
.
searchResultShow
?
n
(
"div"
,{
staticClass
:
"search-result-container m-t-15"
},[
e
.
storeFrame
?[
e
.
_l
(
e
.
brandList
,
function
(
t
,
a
){
return
[
t
.
departmentList
.
length
>
0
||
t
.
storeList
.
length
>
0
||
t
.
searchList
.
length
>
0
?
n
(
"div"
,{
key
:
t
.
topDepartment
.
brandId
+
"_"
+
a
},[
n
(
"div"
,[
n
(
"p"
,{
staticClass
:
"brand-title"
},[
e
.
_v
(
e
.
_s
(
t
.
topDepartment
.
name
))]),
e
.
_v
(
" "
),
t
.
departmentList
.
length
>
0
?
n
(
"ul"
,{
staticClass
:
"search-result-ul"
},[
n
(
"p"
,{
staticClass
:
"title store-frame-title"
},[
e
.
_v
(
"分组列表"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
departmentList
,
function
(
t
,
a
){
return
n
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
staticClass
:
"group-item items"
,
on
:{
click
:
function
(
n
){
e
.
handleNodeClick
(
t
)}}},[
n
(
"i"
,{
staticClass
:
"iconfont icon-tongshi-zuzhijiagou"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
)])})],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
storeList
.
length
>
0
?
n
(
"ul"
,{
staticClass
:
"search-result-ul"
},[
n
(
"p"
,{
staticClass
:
"title store-frame-title"
},[
e
.
_v
(
"门店列表"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
storeList
,
function
(
t
,
a
){
return
n
(
"li"
,{
key
:
a
+
"_"
+
t
.
storeGroupId
,
staticClass
:
"group-item items"
,
on
:{
click
:
function
(
n
){
e
.
handleStoreClick
(
t
)}}},[
n
(
"i"
,{
staticClass
:
"iconfont icon-tongshi-zuzhijiagou"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
storeName
)
+
"
\
n "
)])})],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
searchList
.
length
>
0
?
n
(
"ul"
,{
staticClass
:
"search-result-ul"
},[
n
(
"p"
,{
staticClass
:
"title store-frame-title"
},[
e
.
_v
(
"人员列表"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
searchList
,
function
(
t
,
a
){
return
n
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"person-item items"
,
on
:{
click
:
function
(
n
){
e
.
selectEmployee
(
t
)}}},[
n
(
"i"
,{
staticClass
:
"iconfont icon-chengyuan"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
),
n
(
"span"
,{
staticClass
:
"from-group"
},[
e
.
_v
(
e
.
_s
(
t
.
departmentName
))])])})],
2
):
e
.
_e
()])]):
e
.
_e
()]}),
e
.
_v
(
" "
),
e
.
brandList
.
length
<
1
?
n
(
"p"
,{
staticClass
:
"no-data-tip"
},[
e
.
_v
(
"暂无数据"
)]):
e
.
_e
()]:[
e
.
departmentList
.
length
>
0
?
n
(
"ul"
,{
staticClass
:
"search-result-ul"
},[
n
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"部门列表"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
departmentList
,
function
(
t
,
a
){
return
n
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
class
:[
"group-item items"
,
e
.
defaultId
==
t
.
groupId
?
"active-item"
:
""
],
on
:{
click
:
function
(
n
){
e
.
handleNodeClick
(
t
)}}},[
n
(
"i"
,{
staticClass
:
"iconfont icon-tongshi-zuzhijiagou"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
)])})],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
employeeList
.
length
>
0
?
n
(
"ul"
,{
staticClass
:
"search-result-ul"
},[
n
(
"p"
,{
staticClass
:
"title"
},[
e
.
_v
(
"人员列表"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
employeeList
,
function
(
t
,
a
){
return
n
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
class
:[
"person-item items"
,
e
.
defaultId
==
t
.
employeeClerkId
?
"active-item"
:
""
],
on
:{
click
:
function
(
n
){
e
.
selectEmployee
(
t
)}}},[
n
(
"i"
,{
staticClass
:
"iconfont icon-chengyuan"
}),
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
)
+
"
\
n "
),
n
(
"span"
,{
staticClass
:
"from-group"
},[
e
.
_v
(
e
.
_s
(
t
.
departmentName
))])])})],
2
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
departmentList
.
length
<
1
&&
e
.
employeeList
.
length
<
1
?
n
(
"p"
,{
staticClass
:
"no-data-tip"
},[
e
.
_v
(
"暂无数据"
)]):
e
.
_e
()]],
2
):
e
.
_e
()])},
staticRenderFns
:[]};
var
r
=
n
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
e
){
n
(
"MEND"
)},
null
,
null
);
t
.
a
=
r
.
exports
},
BDhv
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"kM2E"
);
a
(
a
.
P
+
a
.
R
,
"Set"
,{
toJSON
:
n
(
"m9gC"
)(
"Set"
)})},
HpRW
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"kM2E"
),
s
=
n
(
"lOnJ"
),
o
=
n
(
"+ZMJ"
),
r
=
n
(
"NWt+"
);
e
.
exports
=
function
(
e
){
a
(
a
.
S
,
e
,{
from
:
function
(
e
){
var
t
,
n
,
a
,
i
,
l
=
arguments
[
1
];
return
s
(
this
),(
t
=
void
0
!==
l
)
&&
s
(
l
),
void
0
==
e
?
new
this
:(
n
=
[],
t
?(
a
=
0
,
i
=
o
(
l
,
arguments
[
2
],
2
),
r
(
e
,
!
1
,
function
(
e
){
n
.
push
(
i
(
e
,
a
++
))})):
r
(
e
,
!
1
,
n
.
push
,
n
),
new
this
(
n
))}})}},
LIJb
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"EqjI"
);
e
.
exports
=
function
(
e
,
t
){
if
(
!
a
(
e
)
||
e
.
_t
!==
t
)
throw
TypeError
(
"Incompatible receiver, "
+
t
+
" required!"
);
return
e
}},
MEND
:
function
(
e
,
t
){},
fLjR
:
function
(
e
,
t
){},
ioQ5
:
function
(
e
,
t
,
n
){
n
(
"HpRW"
)(
"Set"
)},
kLcy
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"lHA8"
),
s
=
n
.
n
(
a
),
o
=
n
(
"3Xzz"
),
r
=
n
(
"ATfr"
),
i
=
n
(
"WSbm"
),
l
=
{
name
:
"employee-table"
,
props
:{
employeeList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
headList
:{
type
:
Array
,
default
:
function
(){
return
[
"selection"
,
"name"
,
"phoneNumber"
,
"positionName"
,
"activationStatus"
]}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
180
}},
methods
:{
selectMember
:
function
(
e
){
this
.
$emit
(
"selectMember"
,
e
)},
linkToDetail
:
function
(
e
){
window
.
location
.
href
=
"#/employee?employeeClerkId="
+
e
.
employeeClerkId
}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"employee-table"
},[
n
(
"el-table"
,{
attrs
:{
data
:
e
.
employeeList
},
on
:{
"selection-change"
:
e
.
selectMember
,
"row-click"
:
e
.
linkToDetail
}},[
e
.
_l
(
e
.
headList
,
function
(
t
){
return
[
"selection"
==
t
?
n
(
"el-table-column"
,{
key
:
t
,
attrs
:{
type
:
"selection"
,
width
:
"42"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
"name"
==
t
?
n
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
"姓名"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
name
))]),
e
.
_v
(
" "
),
1
==
t
.
row
.
isManager
?
n
(
"span"
,{
staticClass
:
"is-manager"
},[
e
.
_v
(
"部门负责人"
)]):
e
.
_e
()]}}])}):
e
.
_e
(),
e
.
_v
(
" "
),
"phoneNumber"
==
t
?
n
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
"手机号"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
"86"
==
t
.
row
.
nationcode
?
t
.
row
.
phoneNumber
:
"+"
+
t
.
row
.
nationcode
+
t
.
row
.
phoneNumber
||
"--"
)
+
"
\
n "
)]}}])}):
e
.
_e
(),
e
.
_v
(
" "
),
"positionName"
==
t
?
n
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
"职位"
,
prop
:
"positionName"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
positionName
?
t
.
row
.
positionName
:
"--"
)
+
"
\
n "
)]}}])}):
e
.
_e
(),
e
.
_v
(
" "
),
"activationStatus"
==
t
?
n
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
"状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"div"
,{
staticClass
:
"status-icon"
,
class
:
1
==
e
.
row
.
activationStatus
?
"is-active"
:
""
},[
n
(
"i"
,{
staticClass
:
"iconfont icon-shouji"
})])]}}])}):
e
.
_e
()]})],
2
)],
1
)},
staticRenderFns
:[]};
var
u
=
n
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
n
(
"fLjR"
)},
null
,
null
).
exports
,
d
=
n
(
"P9l9"
),
h
=
{
name
:
"administrativeEstrutura"
,
components
:{
navCrumb
:
o
.
a
,
searchMenu
:
r
.
a
,
employeeInfo
:
i
.
a
,
employeeList
:
u
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"行政架构"
,
path
:
""
}],
showChildMember
:
!
1
,
setDisabledDel
:
!
1
,
menuData
:[],
pageSize
:
20
,
currentPage
:
1
,
selectedList
:[],
total
:
0
,
loading
:
!
0
,
groupInfo
:{
groupName
:
""
,
departmentId
:
""
,
hasPression
:
""
},
employeeList
:[],
searchResult
:{},
showEmployee
:
!
1
,
selectedEmployee
:{}}},
created
:
function
(){},
beforeMount
:
function
(){
this
.
getGroupData
(),
this
.
getEmployee
()},
methods
:{
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getEmployee
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getEmployee
()},
addSon
:
function
(){
location
.
href
=
"#/addDepartment?type=group&addnew=1&departmentId="
+
this
.
groupInfo
.
departmentId
},
goToEdit
:
function
(
e
){
var
t
=
0
==
e
?
"company"
:
"group"
;
location
.
href
=
"#/addDepartment?departmentId="
+
this
.
groupInfo
.
departmentId
+
"&type="
+
t
},
handleSearchKey
:
function
(
e
){
var
t
=
this
,
n
=
{
keyWord
:
e
};
Object
(
d
.
a
)(
"/haoban-manage-web/emp/searchpage"
,
n
).
then
(
function
(
e
){
t
.
searchResult
=
e
.
data
.
result
}).
catch
(
function
(
e
){})},
handleTreeSelection
:
function
(
e
,
t
,
n
){
this
.
groupInfo
.
departmentId
=
e
.
groupId
,
this
.
groupInfo
.
groupName
=
e
.
name
,
this
.
showEmployee
=
n
,
this
.
groupInfo
.
hasPression
=
e
.
hasPression
,
this
.
groupInfo
.
level
=
e
.
level
,
this
.
loading
=!
0
,
this
.
getEmployee
()},
handleEmployeeSelection
:
function
(
e
,
t
){
this
.
selectedEmployee
=
e
,
this
.
showEmployee
=
t
},
selectMember
:
function
(
e
){
this
.
selectedList
=
e
},
delMembers
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否要删除选中的员工?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
e
.
loading
=!
0
;
var
t
=
[];
if
(
e
.
selectedList
.
forEach
(
function
(
e
){
t
.
push
(
e
.
employeeClerkId
)}),
!
t
.
length
)
return
e
.
$message
({
message
:
"请选择员工"
,
type
:
"warning"
}),
e
.
loading
=!
1
,
!
1
;
var
n
=
{
ids
:
t
.
join
(
","
)};
Object
(
d
.
a
)(
"/haoban-manage-web/emp/del"
,
n
).
then
(
function
(
t
){
if
(
1
==
t
.
data
.
errorCode
){
var
n
=
e
.
selectedList
,
a
=
e
.
employeeList
,
o
=
new
s
.
a
(
n
),
r
=
new
s
.
a
(
a
);
e
.
employeeList
=
n
.
concat
(
a
).
filter
(
function
(
e
){
return
!
o
.
has
(
e
)
||!
r
.
has
(
e
)}),
e
.
$message
.
success
({
message
:
t
.
data
.
message
})}
else
e
.
$message
.
error
({
message
:
t
.
data
.
message
});
e
.
loading
=!
1
}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
message
:
t
.
message
})})})},
setChildMemberShow
:
function
(){
this
.
getEmployee
()},
getGroupData
:
function
(
e
){
var
t
=
this
;
Object
(
d
.
a
)(
"/haoban-manage-web/dept/deptListForCompany"
,{
isStoreGroup
:
0
}).
then
(
function
(
e
){
t
.
menuData
=
e
.
data
.
result
.
departmentList
||
[],
t
.
menuData
.
some
(
function
(
e
){
return
0
==
e
.
level
&&
(
t
.
groupInfo
.
departmentId
=
e
.
groupId
,
t
.
groupInfo
.
groupName
=
e
.
name
,
t
.
groupInfo
.
hasPression
=
e
.
hasPression
,
t
.
groupInfo
.
level
=
0
),
0
==
e
.
level
}),
t
.
getEmployee
()}).
catch
(
function
(
e
){
console
.
log
(
e
,
"error"
)})},
getEmployee
:
function
(){
var
e
=
this
,
t
=
{
departmentId
:
e
.
groupInfo
.
departmentId
,
showChild
:
1
*
e
.
showChildMember
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
currentPage
,
status
:
1
};
Object
(
d
.
a
)(
"/haoban-manage-web/emp/findsimplepage"
,
t
).
then
(
function
(
t
){
var
n
=
[],
a
=
0
;
1
==
t
.
data
.
errorCode
&&
(
n
=
t
.
data
.
result
&&
t
.
data
.
result
.
list
?
t
.
data
.
result
.
list
:[],
a
=
t
.
data
.
result
&&
t
.
data
.
result
.
total
?
t
.
data
.
result
.
total
:
0
),
e
.
employeeList
=
n
,
e
.
total
=
a
,
e
.
loading
=!
1
}).
catch
(
function
(
t
){
console
.
log
(
t
,
"error"
),
e
.
loading
=!
1
})}},
computed
:{
disabledDel
:
function
(){
return
!
this
.
selectedList
.
length
&&!
this
.
setDisabledDel
&&
1
!=
this
.
groupInfo
.
hasPression
}}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"common-set-wrap admin-frame"
},[
n
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"right-content"
},[
n
(
"div"
,{
staticClass
:
"right-box"
},[
n
(
"div"
,{
staticClass
:
"administrative-estrutura-container common-frame-container"
,
style
:{
minHeight
:
e
.
$store
.
state
.
bgHeight
}},[
n
(
"search-menu"
,{
attrs
:{
treeData
:
e
.
menuData
,
searchResult
:
e
.
searchResult
},
on
:{
handleSearchKey
:
e
.
handleSearchKey
,
handleTreeSelection
:
e
.
handleTreeSelection
,
handleEmployeeSelection
:
e
.
handleEmployeeSelection
}}),
e
.
_v
(
" "
),
"employee"
==
e
.
showEmployee
?
n
(
"employee-info"
,{
attrs
:{
perId
:
e
.
selectedEmployee
.
employeeClerkId
}}):
n
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticClass
:
"af-right-container common-right-container"
},[
n
(
"div"
,{
staticClass
:
"af-right-header common-right-header"
},[
n
(
"span"
,{
staticClass
:
"title-span"
},[
e
.
_v
(
e
.
_s
(
e
.
groupInfo
.
groupName
)
+
"("
+
e
.
_s
(
e
.
total
)
+
"人)"
)]),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"id-span"
},[
e
.
_v
(
"部门ID: "
+
e
.
_s
(
e
.
groupInfo
.
departmentId
))]),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"handle-area"
},[
n
(
"el-button"
,{
staticClass
:
"no-bdr-btn"
,
attrs
:{
disabled
:
1
!=
e
.
groupInfo
.
hasPression
},
on
:{
click
:
e
.
addSon
}},[
e
.
_v
(
"
\
n 添加子分组 "
)]),
n
(
"span"
,{
staticClass
:
"hurdle"
}),
n
(
"el-button"
,{
staticClass
:
"no-bdr-btn"
,
attrs
:{
href
:
"#/addGroup?groupId="
+
e
.
groupInfo
.
departmentId
,
disabled
:
1
!=
e
.
groupInfo
.
hasPression
},
on
:{
click
:
function
(
t
){
e
.
goToEdit
(
e
.
groupInfo
.
level
)}}},[
e
.
_v
(
"编辑"
)])],
1
)]),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"af-right-button-box common-right-button-box"
},[
n
(
"a"
,{
attrs
:{
href
:
"#/employee?addnew=1&departmentId="
+
e
.
groupInfo
.
departmentId
}},[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
e
.
_v
(
"添加成员"
)])],
1
),
e
.
_v
(
" "
),
n
(
"a"
,{
attrs
:{
href
:
"#/employeeIo?importCode=employee&departmentId="
+
e
.
groupInfo
.
departmentId
+
"&showChildMember="
+
1
*
e
.
showChildMember
}},[
n
(
"el-button"
,[
e
.
_v
(
"批量导入/导出"
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"danger"
,
disabled
:
e
.
disabledDel
},
on
:{
click
:
e
.
delMembers
}},[
e
.
_v
(
"批量删除"
)]),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"J_show-children inline-block el-button"
},[
n
(
"el-checkbox"
,{
staticClass
:
"m-r-10"
,
on
:{
change
:
e
.
setChildMemberShow
},
model
:{
value
:
e
.
showChildMember
,
callback
:
function
(
t
){
e
.
showChildMember
=
t
},
expression
:
"showChildMember"
}},[
e
.
_v
(
"显示子成员"
)])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"employee-list"
,{
attrs
:{
employeeList
:
e
.
employeeList
},
on
:{
selectMember
:
e
.
selectMember
}}),
e
.
_v
(
" "
),
e
.
employeeList
.
length
?
n
(
"div"
,{
staticClass
:
"pagination"
},[
n
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
)])]),
e
.
_v
(
" "
),
n
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
f
=
n
(
"VU/8"
)(
h
,
p
,
!
1
,
function
(
e
){
n
(
"oIqJ"
)},
null
,
null
);
t
.
default
=
f
.
exports
},
lHA8
:
function
(
e
,
t
,
n
){
e
.
exports
=
{
default
:
n
(
"pPW7"
),
__esModule
:
!
0
}},
m9gC
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"RY/4"
),
s
=
n
(
"4WTo"
);
e
.
exports
=
function
(
e
){
return
function
(){
if
(
a
(
this
)
!=
e
)
throw
TypeError
(
e
+
"#toJSON isn't generic"
);
return
s
(
this
)}}},
oIqJ
:
function
(
e
,
t
){},
oNmr
:
function
(
e
,
t
,
n
){
n
(
"9Bbf"
)(
"Set"
)},
oeOm
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"7Doy"
);
e
.
exports
=
function
(
e
,
t
){
return
new
(
a
(
e
))(
t
)}},
pPW7
:
function
(
e
,
t
,
n
){
n
(
"M6a0"
),
n
(
"zQR9"
),
n
(
"+tPU"
),
n
(
"ttyz"
),
n
(
"BDhv"
),
n
(
"oNmr"
),
n
(
"ioQ5"
),
e
.
exports
=
n
(
"FeBl"
).
Set
},
qo66
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"7KvD"
),
s
=
n
(
"kM2E"
),
o
=
n
(
"06OY"
),
r
=
n
(
"S82l"
),
i
=
n
(
"hJx8"
),
l
=
n
(
"xH/j"
),
c
=
n
(
"NWt+"
),
u
=
n
(
"2KxR"
),
d
=
n
(
"EqjI"
),
h
=
n
(
"e6n0"
),
p
=
n
(
"evD5"
).
f
,
f
=
n
(
"ALrJ"
)(
0
),
m
=
n
(
"+E39"
);
e
.
exports
=
function
(
e
,
t
,
n
,
v
,
g
,
_
){
var
y
=
a
[
e
],
b
=
y
,
C
=
g
?
"set"
:
"add"
,
I
=
b
&&
b
.
prototype
,
k
=
{};
return
m
&&
"function"
==
typeof
b
&&
(
_
||
I
.
forEach
&&!
r
(
function
(){(
new
b
).
entries
().
next
()}))?(
b
=
t
(
function
(
t
,
n
){
u
(
t
,
b
,
e
,
"_c"
),
t
.
_c
=
new
y
,
void
0
!=
n
&&
c
(
n
,
g
,
t
[
C
],
t
)}),
f
(
"add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON"
.
split
(
","
),
function
(
e
){
var
t
=
"add"
==
e
||
"set"
==
e
;
e
in
I
&&
(
!
_
||
"clear"
!=
e
)
&&
i
(
b
.
prototype
,
e
,
function
(
n
,
a
){
if
(
u
(
this
,
b
,
e
),
!
t
&&
_
&&!
d
(
n
))
return
"get"
==
e
&&
void
0
;
var
s
=
this
.
_c
[
e
](
0
===
n
?
0
:
n
,
a
);
return
t
?
this
:
s
})}),
_
||
p
(
b
.
prototype
,
"size"
,{
get
:
function
(){
return
this
.
_c
.
size
}})):(
b
=
v
.
getConstructor
(
t
,
e
,
g
,
C
),
l
(
b
.
prototype
,
n
),
o
.
NEED
=!
0
),
h
(
b
,
e
),
k
[
e
]
=
b
,
s
(
s
.
G
+
s
.
W
+
s
.
F
,
k
),
_
||
v
.
setStrong
(
b
,
e
,
g
),
b
}},
ttyz
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"9C8M"
),
s
=
n
(
"LIJb"
);
e
.
exports
=
n
(
"qo66"
)(
"Set"
,
function
(
e
){
return
function
(){
return
e
(
this
,
arguments
.
length
>
0
?
arguments
[
0
]:
void
0
)}},{
add
:
function
(
e
){
return
a
.
def
(
s
(
this
,
"Set"
),
e
=
0
===
e
?
0
:
e
,
e
)}},
a
)}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/manifest.
381343323cef7a74e539
.js
→
dist/static/js/manifest.
6d9238a3d06263822fcd
.js
View file @
8ff8d1d4
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
d
=
{
81
:
0
};
function
f
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
d
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
a
=
d
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
f
){
a
=
d
[
e
]
=
[
c
,
f
]});
a
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"9dddbcc1a8daf78be5af"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"698abccda9a780787849"
,
3
:
"3282d88c1532d0ca9c9e"
,
4
:
"d96eab831aeba7d76f18"
,
5
:
"242ea0bd43580479e03e"
,
6
:
"57464413cb47f8420cf0"
,
7
:
"57af0bc90206c6098149"
,
8
:
"666fa92155c706664a77"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"1222ed2ea1e9546b38fc"
,
11
:
"2d0a192288361dd95250"
,
12
:
"3d3797e96dc9e8cc5bd4"
,
13
:
"fd16a0e04bd27012572e"
,
14
:
"a06a37931940b78bd0f2"
,
15
:
"360a92075d219ac84088"
,
16
:
"bdc37aea4c14db4484c6"
,
17
:
"2c77880a77326d5d8d23"
,
18
:
"57343bbbca0068f53cdd"
,
19
:
"3f1483403a0ecf2bfabe"
,
20
:
"d0c555939fd1aba23ab3"
,
21
:
"b0e7348ff74371924c3b"
,
22
:
"ae3ca1d035af160b7832"
,
23
:
"9efbbc6dd315a676ce09"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"86316b0d7ab60ac4bcbe"
,
27
:
"0a6afa3748c5cfbab91e"
,
28
:
"e1b3c97634b8203082e4"
,
29
:
"a00a8b4033e1feddfe67"
,
30
:
"07a39afe8e9361ef44b8"
,
31
:
"8e77909f1af264b00346"
,
32
:
"ec0bbd85e6d55909453d"
,
33
:
"d649a5e4d061985d1c3a"
,
34
:
"629893b7dd561b646232"
,
35
:
"945b1982917ff21ba4fd"
,
36
:
"4fac488f5b7fa092f6ce"
,
37
:
"9e050e6e5ae12e825639"
,
38
:
"7da020455236ec9cc0e6"
,
39
:
"8d8a3b88d85b3220e296"
,
40
:
"f4fd9d68a9e906649040"
,
41
:
"9fcb9feb2cab7a8a2cbe"
,
42
:
"47c4c30ceefa4af03de5"
,
43
:
"1a91709ef6c1a7d304ba"
,
44
:
"12f6d6e11d29fce5030d"
,
45
:
"bfad77aa2ad556a32c7c"
,
46
:
"5e58d02bfb5d53a3e1b5"
,
47
:
"de0e290ed4c878d0c8c3"
,
48
:
"6d564387f233c08c800d"
,
49
:
"396af20a99e901a3b8b5"
,
50
:
"453ce4b5edf449bfe64f"
,
51
:
"6ef2f356a2b18c2bc0c5"
,
52
:
"df5a79b4bcadd0cdc55d"
,
53
:
"0037bfc235d4cff7e839"
,
54
:
"1503b643475934e2b5e1"
,
55
:
"8d3253cd2f581e7ce20b"
,
56
:
"bf6ca3213cca34608387"
,
57
:
"38ec53bb17e31c729773"
,
58
:
"396c075bf2e02574d826"
,
59
:
"8669556909924307dc86"
,
60
:
"0ec53183da96964b8e4c"
,
61
:
"39a85469e87be40566f6"
,
62
:
"2f343bde61cf6cf1f46b"
,
63
:
"038dd5957146c985c766"
,
64
:
"fa6912661e4aa582bced"
,
65
:
"9e73109e0288d419a92a"
,
66
:
"630e2da73073a213de7f"
,
67
:
"d7e3675c4b4931db738d"
,
68
:
"13404d9aa7a460952885"
,
69
:
"ff1445c96fd757245229"
,
70
:
"3720d31e136a7f99a873"
,
71
:
"458af30d30795059cdbe"
,
72
:
"6526d6cf985190f1fdbb"
,
73
:
"b4126102661ed07d9803"
,
74
:
"5fddac3d5f0743727237"
,
75
:
"48cf1bdf7e09180a4ad6"
,
76
:
"20c34513d3349ef2f6ee"
,
77
:
"f0b1327b5843eba87545"
,
80
:
"c4a24f0beb29dbd2892a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
d
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
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
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
d
=
{
81
:
0
};
function
f
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
d
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
a
=
d
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
f
){
a
=
d
[
e
]
=
[
c
,
f
]});
a
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"9dddbcc1a8daf78be5af"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"698abccda9a780787849"
,
3
:
"3282d88c1532d0ca9c9e"
,
4
:
"088f5cabfa85358ed48e"
,
5
:
"242ea0bd43580479e03e"
,
6
:
"57464413cb47f8420cf0"
,
7
:
"57af0bc90206c6098149"
,
8
:
"666fa92155c706664a77"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"1222ed2ea1e9546b38fc"
,
11
:
"2d0a192288361dd95250"
,
12
:
"3d3797e96dc9e8cc5bd4"
,
13
:
"fd16a0e04bd27012572e"
,
14
:
"a06a37931940b78bd0f2"
,
15
:
"360a92075d219ac84088"
,
16
:
"bdc37aea4c14db4484c6"
,
17
:
"2c77880a77326d5d8d23"
,
18
:
"57343bbbca0068f53cdd"
,
19
:
"3f1483403a0ecf2bfabe"
,
20
:
"d0c555939fd1aba23ab3"
,
21
:
"b0e7348ff74371924c3b"
,
22
:
"ae3ca1d035af160b7832"
,
23
:
"9efbbc6dd315a676ce09"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"86316b0d7ab60ac4bcbe"
,
27
:
"0a6afa3748c5cfbab91e"
,
28
:
"e1b3c97634b8203082e4"
,
29
:
"a00a8b4033e1feddfe67"
,
30
:
"07a39afe8e9361ef44b8"
,
31
:
"8e77909f1af264b00346"
,
32
:
"ec0bbd85e6d55909453d"
,
33
:
"d649a5e4d061985d1c3a"
,
34
:
"629893b7dd561b646232"
,
35
:
"945b1982917ff21ba4fd"
,
36
:
"4fac488f5b7fa092f6ce"
,
37
:
"9e050e6e5ae12e825639"
,
38
:
"7da020455236ec9cc0e6"
,
39
:
"8d8a3b88d85b3220e296"
,
40
:
"f4fd9d68a9e906649040"
,
41
:
"9fcb9feb2cab7a8a2cbe"
,
42
:
"47c4c30ceefa4af03de5"
,
43
:
"1a91709ef6c1a7d304ba"
,
44
:
"12f6d6e11d29fce5030d"
,
45
:
"bfad77aa2ad556a32c7c"
,
46
:
"5e58d02bfb5d53a3e1b5"
,
47
:
"de0e290ed4c878d0c8c3"
,
48
:
"6d564387f233c08c800d"
,
49
:
"396af20a99e901a3b8b5"
,
50
:
"453ce4b5edf449bfe64f"
,
51
:
"6ef2f356a2b18c2bc0c5"
,
52
:
"df5a79b4bcadd0cdc55d"
,
53
:
"0037bfc235d4cff7e839"
,
54
:
"1503b643475934e2b5e1"
,
55
:
"8d3253cd2f581e7ce20b"
,
56
:
"bf6ca3213cca34608387"
,
57
:
"38ec53bb17e31c729773"
,
58
:
"396c075bf2e02574d826"
,
59
:
"8669556909924307dc86"
,
60
:
"0ec53183da96964b8e4c"
,
61
:
"39a85469e87be40566f6"
,
62
:
"2f343bde61cf6cf1f46b"
,
63
:
"038dd5957146c985c766"
,
64
:
"fa6912661e4aa582bced"
,
65
:
"9e73109e0288d419a92a"
,
66
:
"630e2da73073a213de7f"
,
67
:
"d7e3675c4b4931db738d"
,
68
:
"13404d9aa7a460952885"
,
69
:
"ff1445c96fd757245229"
,
70
:
"3720d31e136a7f99a873"
,
71
:
"458af30d30795059cdbe"
,
72
:
"6526d6cf985190f1fdbb"
,
73
:
"b4126102661ed07d9803"
,
74
:
"5fddac3d5f0743727237"
,
75
:
"48cf1bdf7e09180a4ad6"
,
76
:
"20c34513d3349ef2f6ee"
,
77
:
"f0b1327b5843eba87545"
,
80
:
"c4a24f0beb29dbd2892a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
d
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
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/contacts/employeeList.vue
View file @
8ff8d1d4
...
@@ -9,7 +9,11 @@
...
@@ -9,7 +9,11 @@
<span
v-if=
"scope.row.isManager == 1"
class=
"is-manager"
>
部门负责人
</span>
<span
v-if=
"scope.row.isManager == 1"
class=
"is-manager"
>
部门负责人
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:key=
"prop"
v-if=
"prop == 'phoneNumber'"
label=
"手机号"
prop=
"phoneNumber"
></el-table-column>
<el-table-column
:key=
"prop"
v-if=
"prop == 'phoneNumber'"
label=
"手机号"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
nationcode
==
'86'
?
scope
.
row
.
phoneNumber
:
'+'
+
scope
.
row
.
nationcode
+
scope
.
row
.
phoneNumber
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
:key=
"prop"
v-if=
"prop == 'positionName'"
label=
"职位"
prop=
"positionName"
>
<el-table-column
:key=
"prop"
v-if=
"prop == 'positionName'"
label=
"职位"
prop=
"positionName"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
!!
scope
.
row
.
positionName
?
scope
.
row
.
positionName
:
'--'
}}
{{
!!
scope
.
row
.
positionName
?
scope
.
row
.
positionName
:
'--'
}}
...
...
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