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
c553deb8
Commit
c553deb8
authored
May 09, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改门店回收站
parent
4c8362ba
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
57 additions
and
18 deletions
+57
-18
index.html
dist/index.html
+2
-2
0.ace51f421a48f46a5277.js
dist/static/js/0.ace51f421a48f46a5277.js
+0
-0
24.9c7dd0f43ca6b011cd2f.js
dist/static/js/24.9c7dd0f43ca6b011cd2f.js
+2
-2
24.d4a19b7cb1619996b313.js
dist/static/js/24.d4a19b7cb1619996b313.js
+0
-2
25.e3f3549f91880fa065bb.js
dist/static/js/25.e3f3549f91880fa065bb.js
+2
-0
app.a770dbe10ca7b21f1514.js
dist/static/js/app.a770dbe10ca7b21f1514.js
+0
-0
manifest.2928c653ad621db8e63e.js
dist/static/js/manifest.2928c653ad621db8e63e.js
+2
-2
api.js
src/api/api.js
+1
-1
clerkTable.vue
src/components/contacts/storeFrame/clerkTable.vue
+48
-9
No files found.
dist/index.html
View file @
c553deb8
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.ff770e38bafeff8e00e9b9ac3cca4825.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.31740671e4c9c33fbd8e.js
></script><script
type=
text/javascript
src=
./static/js/vendor.28541dbeac66c2b0770e.js
></script><script
type=
text/javascript
src=
./static/js/app.96ff0fd722a160f7a7ef.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.ff770e38bafeff8e00e9b9ac3cca4825.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.2928c653ad621db8e63e.js
></script><script
type=
text/javascript
src=
./static/js/vendor.28541dbeac66c2b0770e.js
></script><script
type=
text/javascript
src=
./static/js/app.a770dbe10ca7b21f1514.js
></script></body></html>
\ No newline at end of file
dist/static/js/0.
fdb05977a7126be3aeee
.js
→
dist/static/js/0.
ace51f421a48f46a5277
.js
View file @
c553deb8
File moved
dist/static/js/2
5.b1a072a021ca5876e8d
f.js
→
dist/static/js/2
4.9c7dd0f43ca6b011cd2
f.js
View file @
c553deb8
webpackJsonp
([
25
],{
AejC
:
function
(
t
,
s
,
i
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
e
=
i
(
"Minx"
),
a
=
i
.
n
(
e
),
n
=
{
name
:
"page404"
,
data
:
function
(){
return
{
img_404
:
a
.
a
}},
computed
:{
message
:
function
(){
return
"抱歉,你访问的页面不存在"
}},
mounted
:
function
(){}},
r
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticStyle
:{
background
:
"#f0f2f5"
,
"margin-top"
:
"-20px"
,
height
:
"100%"
}},[
s
(
"div"
,{
staticClass
:
"wscn-http404"
},[
s
(
"div"
,{
staticClass
:
"pic-404"
},[
s
(
"img"
,{
staticClass
:
"pic-404__parent"
,
attrs
:{
src
:
this
.
img_404
,
alt
:
"404"
}})]),
this
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"bullshit"
},[
s
(
"div"
,{
staticClass
:
"bullshit__headline"
},[
this
.
_v
(
this
.
_s
(
this
.
message
))]),
this
.
_v
(
" "
),
s
(
"a"
,{
staticClass
:
"bullshit__return-home"
,
attrs
:{
href
:
"#/companyGroup"
}},[
this
.
_v
(
"返回首页"
)])])])])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
i
(
"AsY3"
)},
"data-v-18a2f51c"
,
null
);
s
.
default
=
c
.
exports
},
AsY3
:
function
(
t
,
s
){},
Minx
:
function
(
t
,
s
,
i
){
t
.
exports
=
i
.
p
+
"static/img/error_404.bf58747.svg"
}});
\ No newline at end of file
webpackJsonp
([
24
],{
AejC
:
function
(
t
,
s
,
i
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
e
=
i
(
"Minx"
),
a
=
i
.
n
(
e
),
n
=
{
name
:
"page404"
,
data
:
function
(){
return
{
img_404
:
a
.
a
}},
computed
:{
message
:
function
(){
return
"抱歉,你访问的页面不存在"
}},
mounted
:
function
(){}},
r
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticStyle
:{
background
:
"#f0f2f5"
,
"margin-top"
:
"-20px"
,
height
:
"100%"
}},[
s
(
"div"
,{
staticClass
:
"wscn-http404"
},[
s
(
"div"
,{
staticClass
:
"pic-404"
},[
s
(
"img"
,{
staticClass
:
"pic-404__parent"
,
attrs
:{
src
:
this
.
img_404
,
alt
:
"404"
}})]),
this
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"bullshit"
},[
s
(
"div"
,{
staticClass
:
"bullshit__headline"
},[
this
.
_v
(
this
.
_s
(
this
.
message
))]),
this
.
_v
(
" "
),
s
(
"a"
,{
staticClass
:
"bullshit__return-home"
,
attrs
:{
href
:
"#/companyGroup"
}},[
this
.
_v
(
"返回首页"
)])])])])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
i
(
"AsY3"
)},
"data-v-18a2f51c"
,
null
);
s
.
default
=
c
.
exports
},
AsY3
:
function
(
t
,
s
){},
Minx
:
function
(
t
,
s
,
i
){
t
.
exports
=
i
.
p
+
"static/img/error_404.bf58747.svg"
}});
\ No newline at end of file
dist/static/js/24.d4a19b7cb1619996b313.js
deleted
100644 → 0
View file @
4c8362ba
webpackJsonp
([
24
],{
"07Lo"
:
function
(
e
,
t
){},
HkK0
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"Xxa5"
),
s
=
a
.
n
(
r
),
n
=
a
(
"exGp"
),
l
=
a
.
n
(
n
),
c
=
a
(
"P9l9"
),
o
=
{
name
:
"clerkTbale"
,
components
:{
vueSelectStore
:
a
(
"Ie7z"
).
a
},
props
:{
store
:{
type
:
Object
,
required
:
!
0
},
gicFlag
:{
type
:
Boolean
,
default
:
!
0
}},
data
:
function
(){
return
{
treeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
0
,
openNextBool
:
!
0
},
selectType
:
"store"
,
transArr
:[],
selectedList
:[]}},
methods
:{
goBack
:
function
(){
window
.
location
.
reload
()},
transClerk
:
function
(
e
,
t
){
this
.
transArr
=
"single"
==
e
?[
t
]:
"all"
==
e
?
this
.
store
.
clerks
:
this
.
selectedList
,
this
.
treeSet
.
dialogVisible
=!
0
},
delClerk
:
function
(
e
){
this
.
$emit
(
"delClerk"
,
e
)},
selectMember
:
function
(
e
){
this
.
selectedList
=
e
},
handleSelectedList
:
function
(
e
){
var
t
=
this
;
if
(
!
e
.
length
)
return
!
1
;
var
a
=
[];
t
.
transArr
.
forEach
(
function
(
e
){
a
.
push
(
e
.
employeeClerkId
)});
var
r
=
{
ids
:
a
.
join
(
","
),
storeId
:
e
[
0
].
id
};
Object
(
c
.
c
)(
"/haoban-manage-web/emp/batchTransfer"
,
r
).
then
(
function
(
e
){
if
(
1
==
e
.
data
.
errorCode
){
t
.
$message
.
success
({
message
:
"操作成功"
});
for
(
var
r
=
0
;
r
<
t
.
store
.
clerks
.
length
;
r
++
)
a
.
includes
(
t
.
store
.
clerks
[
r
].
employeeClerkId
)
&&
t
.
store
.
clerks
.
splice
(
r
,
1
),
--
r
}
else
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"recycle-bin"
},[
a
(
"p"
,{
staticClass
:
"r-b-top-header"
},[
a
(
"a"
,{
staticClass
:
"a-href title"
,
on
:{
click
:
e
.
goBack
}},[
e
.
_v
(
"返回"
)]),
e
.
_v
(
" "
),
e
.
gicFlag
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
disabled
:
0
==
e
.
selectedList
.
length
},
on
:{
click
:
function
(
t
){
e
.
transClerk
(
"group"
)}}},[
e
.
_v
(
"批量转移"
)]),
e
.
_v
(
" "
),
e
.
gicFlag
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
transClerk
(
"all"
)}}},[
e
.
_v
(
"全部转移"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"clerkTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
store
.
clerks
},
on
:{
"selection-change"
:
e
.
selectMember
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"42"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"手机号码"
,
prop
:
"phoneNumber"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"80"
,
prop
:
"clerkCount"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
gicFlag
?
e
.
_e
():
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
transClerk
(
"single"
,
t
.
row
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-sort"
})]),
e
.
_v
(
" "
),
e
.
gicFlag
?
e
.
_e
():
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
delClerk
(
t
.
row
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-delete"
})])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
treeSet
,
selectType
:
e
.
selectType
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
o
,
i
,
!
1
,
function
(
e
){
a
(
"07Lo"
)},
null
,
null
).
exports
,
d
=
a
(
"3Xzz"
),
h
=
a
(
"PI0u"
),
p
=
a
(
"unF8"
),
g
=
a
(
"Ch4/"
),
m
=
{
name
:
"recycle-bin"
,
components
:{
navCrumb
:
d
.
a
,
clerkTable
:
u
},
data
:
function
(){
return
{
searchKey
:
""
,
typeArr
:[
"全部类型"
,
"自营"
,
"联营"
,
"代理(加盟)"
,
"代销"
,
"托管"
],
pageSize
:
20
,
pageNumber
:
1
,
recycleList
:[],
total
:
0
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame?showRecycle=0"
},{
name
:
"门店回收站"
,
path
:
""
}],
clerks
:[],
showClerks
:
!
1
,
currentStore
:{},
brandId
:
""
,
gicFlag
:
!
0
}},
methods
:{
toInput
:
Object
(
h
.
a
)(
function
(
e
){
this
.
pageNumber
=
1
,
this
.
getRecycleList
()},
500
),
getRecycleList
:
function
(){
var
e
=
this
,
t
=
e
.
$route
.
query
,
a
=
{
storeName
:
e
.
searchKey
||
""
,
storeGroupId
:
t
.
dept
,
showChild
:
1
*
t
.
showChild
,
showType
:
2
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNumber
,
status
:
4
,
storeType
:
t
.
type
};
Object
(
c
.
a
)(
"/haoban-manage-web/store/findSimplePage"
,
a
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
total
=
t
.
data
.
result
.
total
,
e
.
recycleList
=
t
.
data
.
result
.
list
||
[]):(
e
.
recycleList
=
[],
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
data
.
message
}))}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
restore
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"确定要恢复到门店列表吗?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
var
a
=
{
status
:
1
,
storeId
:
e
.
storeId
};
Object
(
c
.
a
)(
"/haoban-manage-web/store/changeStatus"
,
a
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
searchKey
=
""
,
t
.
pageNumber
=
1
,
t
.
getRecycleList
()):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})}).
catch
(
function
(
e
){})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getRecycleList
()},
handleCurrentChange
:
function
(
e
){
this
.
pageNumber
=
e
,
this
.
getRecycleList
()},
showClerksFn
:
function
(
e
){
this
.
currentStore
=
e
,
this
.
clerks
=
null
==
e
.
clerks
?[]:
e
.
clerks
,
this
.
showClerks
=!
0
},
delClerk
:
function
(
e
){
var
t
=
this
.
currentStore
,
a
=
this
;
a
.
$confirm
(
"是否要删除该员工?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
var
r
=
{
ids
:
e
.
employeeClerkId
};
Object
(
c
.
a
)(
"/haoban-manage-web/emp/del"
,
r
).
then
(
function
(
r
){
1
==
r
.
data
.
errorCode
?
t
.
clerks
.
forEach
(
function
(
a
){
a
.
employeeClerkId
==
e
.
employeeClerkId
&&
t
.
clerks
.
splice
(
t
.
clerks
.
indexOf
(
a
),
1
)}):
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
r
.
data
.
message
})}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})})},
getGicData
:
function
(){
var
e
=
this
;
return
l
()(
s
.
a
.
mark
(
function
t
(){
var
a
,
r
,
n
,
l
;
return
s
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
r
=
{
type
:
1
,
businessId
:(
a
=
e
).
brandId
},
t
.
next
=
4
,
Object
(
p
.
a
)(
r
);
case
4
:
n
=
t
.
sent
,
1
==
(
l
=
n
.
data
).
errorCode
?
a
.
gicFlag
=
l
.
result
:
g
.
a
.
errorMsg
(
l
);
case
7
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()}},
beforeMount
:
function
(){
this
.
getRecycleList
(),
this
.
brandId
=
this
.
$route
.
query
.
brandId
,
this
.
getGicData
()}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap recycle-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
e
.
showClerks
?
a
(
"clerk-table"
,{
attrs
:{
gicFlag
:
e
.
gicFlag
,
store
:
e
.
currentStore
},
on
:{
delClerk
:
e
.
delClerk
}}):
a
(
"div"
,{
staticClass
:
"recycle-bin"
},[
a
(
"div"
,{
staticClass
:
"r-b-top-header"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
e
.
_s
(
e
.
recycleList
.
length
)
+
" 家门店"
)]),
e
.
_v
(
" "
),
a
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入门店名"
,
"prefix-icon"
:
"el-icon-search"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
);
var
a
}},
model
:{
value
:
e
.
searchKey
,
callback
:
function
(
t
){
e
.
searchKey
=
t
},
expression
:
"searchKey"
}},[
e
.
_v
(
">"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
recycleList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
prop
:
"storeName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"代码"
,
prop
:
"storeCode"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"类型"
,
prop
:
"storeType"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
typeArr
[
1
*
t
.
row
.
storeType
+
1
])
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"地址"
,
prop
:
"postAddress"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"待处理店员"
,
prop
:
"clerkCount"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
showClerksFn
(
t
.
row
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerks
.
length
)
+
"
\
n "
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
prop
:
"clerkCount"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
gicFlag
?
e
.
_e
():
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
restore
(
t
.
row
)}}},[
e
.
_v
(
"恢复到门店列表"
)])]}}])})],
1
),
e
.
_v
(
" "
),
e
.
total
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
pageNumber
,
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
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
m
,
f
,
!
1
,
function
(
e
){
a
(
"awO3"
)},
null
,
null
);
t
.
default
=
b
.
exports
},
awO3
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/25.e3f3549f91880fa065bb.js
0 → 100644
View file @
c553deb8
webpackJsonp
([
25
],{
HkK0
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"Xxa5"
),
r
=
a
.
n
(
s
),
n
=
a
(
"exGp"
),
o
=
a
.
n
(
n
),
l
=
a
(
"P9l9"
),
c
=
{
name
:
"clerkTbale"
,
components
:{
vueSelectStore
:
a
(
"Ie7z"
).
a
},
props
:{
store
:{
type
:
Object
,
required
:
!
0
},
gicFlag
:{
type
:
Boolean
,
default
:
!
0
}},
data
:
function
(){
return
{
treeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
0
,
openNextBool
:
!
0
},
selectType
:
"store"
,
transArr
:[],
selectedList
:[],
storeListData
:{}}},
methods
:{
goBack
:
function
(){
window
.
location
.
reload
()},
transClerk
:
function
(
e
,
t
){
this
.
transArr
=
"single"
==
e
?[
t
]:
"all"
==
e
?
this
.
storeListData
.
clerks
:
this
.
selectedList
,
this
.
treeSet
.
dialogVisible
=!
0
},
delClerk
:
function
(
e
){
this
.
$emit
(
"delClerk"
,
e
)},
selectMember
:
function
(
e
){
this
.
selectedList
=
e
},
handleSelectedList
:
function
(
e
){
var
t
=
this
;
if
(
!
e
.
length
)
return
!
1
;
var
a
=
[];
t
.
transArr
.
forEach
(
function
(
e
){
a
.
push
(
e
.
employeeClerkId
)});
var
s
=
{
ids
:
a
.
join
(
","
),
storeId
:
e
[
0
].
id
};
Object
(
l
.
c
)(
"/haoban-manage-web/emp/batchTransfer"
,
s
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
$message
.
success
({
message
:
"操作成功"
}),
t
.
getClerkList
()):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})},
getClerkList
:
function
(){
var
e
=
this
,
t
=
{
departmentId
:
e
.
store
.
storeGroupId
,
storeId
:
e
.
store
.
storeId
,
showChild
:
1
,
showType
:
2
,
pageSize
:
200
,
pageNum
:
1
,
status
:
1
,
isCherk
:
1
};
Object
(
l
.
c
)(
"/haoban-manage-web/emp/findsimplepage"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
storeListData
.
clerks
=
t
.
data
.
result
.
list
||
[]:
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
store
:
function
(
e
,
t
){
this
.
storeListData
=
e
||
{}}},
mounted
:
function
(){
this
.
storeListData
=
this
.
store
||
{}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"recycle-bin"
},[
a
(
"p"
,{
staticClass
:
"r-b-top-header"
},[
a
(
"a"
,{
staticClass
:
"a-href title"
,
on
:{
click
:
e
.
goBack
}},[
e
.
_v
(
"返回"
)]),
e
.
_v
(
" "
),
e
.
gicFlag
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
disabled
:
0
==
e
.
selectedList
.
length
},
on
:{
click
:
function
(
t
){
e
.
transClerk
(
"group"
)}}},[
e
.
_v
(
"批量转移"
)]),
e
.
_v
(
" "
),
e
.
gicFlag
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
transClerk
(
"all"
)}}},[
e
.
_v
(
"全部转移"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"clerkTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
storeListData
.
clerks
},
on
:{
"selection-change"
:
e
.
selectMember
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"42"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
prop
:
"name"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"手机号码"
,
prop
:
"phoneNumber"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"80"
,
prop
:
"clerkCount"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
gicFlag
?
e
.
_e
():
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
transClerk
(
"single"
,
t
.
row
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-sort"
})]),
e
.
_v
(
" "
),
e
.
gicFlag
?
e
.
_e
():
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
delClerk
(
t
.
row
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-delete"
})])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
treeSet
,
selectType
:
e
.
selectType
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
i
,
!
1
,
function
(
e
){
a
(
"jRXt"
)},
null
,
null
).
exports
,
d
=
a
(
"3Xzz"
),
h
=
a
(
"PI0u"
),
g
=
a
(
"unF8"
),
p
=
a
(
"Ch4/"
),
m
=
{
name
:
"recycle-bin"
,
components
:{
navCrumb
:
d
.
a
,
clerkTable
:
u
},
data
:
function
(){
return
{
searchKey
:
""
,
typeArr
:[
"全部类型"
,
"自营"
,
"联营"
,
"代理(加盟)"
,
"代销"
,
"托管"
],
pageSize
:
20
,
pageNumber
:
1
,
recycleList
:[],
total
:
0
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame?showRecycle=0"
},{
name
:
"门店回收站"
,
path
:
""
}],
clerks
:[],
showClerks
:
!
1
,
currentStore
:{},
brandId
:
""
,
gicFlag
:
!
0
}},
methods
:{
toInput
:
Object
(
h
.
a
)(
function
(
e
){
this
.
pageNumber
=
1
,
this
.
getRecycleList
()},
500
),
getRecycleList
:
function
(){
var
e
=
this
,
t
=
e
.
$route
.
query
,
a
=
{
storeName
:
e
.
searchKey
||
""
,
storeGroupId
:
t
.
dept
,
showChild
:
1
*
t
.
showChild
,
showType
:
2
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNumber
,
status
:
4
,
storeType
:
t
.
type
};
Object
(
l
.
a
)(
"/haoban-manage-web/store/findSimplePage"
,
a
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
total
=
t
.
data
.
result
.
total
,
e
.
recycleList
=
t
.
data
.
result
.
list
||
[]):(
e
.
recycleList
=
[],
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
data
.
message
}))}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
restore
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"确定要恢复到门店列表吗?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
var
a
=
{
status
:
1
,
storeId
:
e
.
storeId
};
Object
(
l
.
a
)(
"/haoban-manage-web/store/changeStatus"
,
a
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
searchKey
=
""
,
t
.
pageNumber
=
1
,
t
.
getRecycleList
()):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})}).
catch
(
function
(
e
){})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getRecycleList
()},
handleCurrentChange
:
function
(
e
){
this
.
pageNumber
=
e
,
this
.
getRecycleList
()},
showClerksFn
:
function
(
e
){
this
.
currentStore
=
e
,
this
.
clerks
=
null
==
e
.
clerks
?[]:
e
.
clerks
,
this
.
showClerks
=!
0
},
delClerk
:
function
(
e
){
var
t
=
this
.
currentStore
,
a
=
this
;
a
.
$confirm
(
"是否要删除该员工?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
var
s
=
{
ids
:
e
.
employeeClerkId
};
Object
(
l
.
a
)(
"/haoban-manage-web/emp/del"
,
s
).
then
(
function
(
s
){
1
==
s
.
data
.
errorCode
?
t
.
clerks
.
forEach
(
function
(
a
){
a
.
employeeClerkId
==
e
.
employeeClerkId
&&
t
.
clerks
.
splice
(
t
.
clerks
.
indexOf
(
a
),
1
)}):
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
s
.
data
.
message
})}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})})},
getGicData
:
function
(){
var
e
=
this
;
return
o
()(
r
.
a
.
mark
(
function
t
(){
var
a
,
s
,
n
,
o
;
return
r
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
s
=
{
type
:
1
,
businessId
:(
a
=
e
).
brandId
},
t
.
next
=
4
,
Object
(
g
.
a
)(
s
);
case
4
:
n
=
t
.
sent
,
1
==
(
o
=
n
.
data
).
errorCode
?
a
.
gicFlag
=
o
.
result
:
p
.
a
.
errorMsg
(
o
);
case
7
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()}},
beforeMount
:
function
(){
this
.
getRecycleList
(),
this
.
brandId
=
this
.
$route
.
query
.
brandId
,
this
.
getGicData
()}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap recycle-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
e
.
showClerks
?
a
(
"clerk-table"
,{
attrs
:{
gicFlag
:
e
.
gicFlag
,
store
:
e
.
currentStore
},
on
:{
delClerk
:
e
.
delClerk
}}):
a
(
"div"
,{
staticClass
:
"recycle-bin"
},[
a
(
"div"
,{
staticClass
:
"r-b-top-header"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
e
.
_s
(
e
.
recycleList
.
length
)
+
" 家门店"
)]),
e
.
_v
(
" "
),
a
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入门店名"
,
"prefix-icon"
:
"el-icon-search"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
);
var
a
}},
model
:{
value
:
e
.
searchKey
,
callback
:
function
(
t
){
e
.
searchKey
=
t
},
expression
:
"searchKey"
}},[
e
.
_v
(
">"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
recycleList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
prop
:
"storeName"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"代码"
,
prop
:
"storeCode"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"类型"
,
prop
:
"storeType"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
typeArr
[
1
*
t
.
row
.
storeType
+
1
])
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"地址"
,
prop
:
"postAddress"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"待处理店员"
,
prop
:
"clerkCount"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
showClerksFn
(
t
.
row
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerks
.
length
)
+
"
\
n "
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
prop
:
"clerkCount"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
gicFlag
?
e
.
_e
():
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
restore
(
t
.
row
)}}},[
e
.
_v
(
"恢复到门店列表"
)])]}}])})],
1
),
e
.
_v
(
" "
),
e
.
total
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
pageNumber
,
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
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
m
,
f
,
!
1
,
function
(
e
){
a
(
"awO3"
)},
null
,
null
);
t
.
default
=
b
.
exports
},
awO3
:
function
(
e
,
t
){},
jRXt
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/app.
96ff0fd722a160f7a7ef
.js
→
dist/static/js/app.
a770dbe10ca7b21f1514
.js
View file @
c553deb8
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.
31740671e4c9c33fbd8
e.js
→
dist/static/js/manifest.
2928c653ad621db8e63
e.js
View file @
c553deb8
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
80
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
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
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"fdb05977a7126be3aeee"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"979deb10fce5b2fefcdb"
,
3
:
"c2fd89730cdd6d5b8904"
,
4
:
"a7739bd271890b9783da"
,
5
:
"585fa5e680c961f3e6ea"
,
6
:
"657b140c98f462652267"
,
7
:
"425c9f33a90e59d2b270"
,
8
:
"9180c86d724863021ea1"
,
9
:
"7bafe59540d7210cfa70"
,
10
:
"bc4f603351d381704d20"
,
11
:
"2cfce44be1d5002c95f1"
,
12
:
"e48ee65ef0da6c383571"
,
13
:
"34bd3d823e73c2a4d360"
,
14
:
"8719a4be4e72a548434c"
,
15
:
"2ee668c55634c598bb49"
,
16
:
"fc1264890c2669f41a52"
,
17
:
"a1f8e736a1b936b682f2"
,
18
:
"c930c090830262321506"
,
19
:
"fb9febd9f5dfcffd09ca"
,
20
:
"81f6c674a6461ef85896"
,
21
:
"08e506839eb7346cac08"
,
22
:
"5a40199f94d4ea1b6837"
,
23
:
"5ed1b5fd3abff19ce342"
,
24
:
"d4a19b7cb1619996b313"
,
25
:
"b1a072a021ca5876e8df"
,
26
:
"2c0979f3bd7ee7896b97"
,
27
:
"d06c17faef5f94ce3538"
,
28
:
"3d946787d17a55b8aec9"
,
29
:
"70873e3ed623495d6cdf"
,
30
:
"e16084cc0e35a7c402f8"
,
31
:
"6ebf6fd2fb1d413dbbe9"
,
32
:
"084a3fa0e9d86187adab"
,
33
:
"a61bb39442525ba257fb"
,
34
:
"4e9d79b9cd4fc8ef64d5"
,
35
:
"56d42fcc424a3d614be7"
,
36
:
"ccec8570d9108294281e"
,
37
:
"97738eb5460b201748ed"
,
38
:
"4922763f6bf4d8a5fe35"
,
39
:
"873618a0a695aab4ea71"
,
40
:
"07e1860698ac67bb2d63"
,
41
:
"2437a351e138d54530f7"
,
42
:
"85f33f1f34822f8b4494"
,
43
:
"2058a7dd9a35991230bb"
,
44
:
"26529d299fa7b1a1f97a"
,
45
:
"879e8b8e34fd7c58247a"
,
46
:
"56a09c315fec48803136"
,
47
:
"b630596a508cb57973a4"
,
48
:
"d979e11090ad6978fa17"
,
49
:
"52867121cd605885ce35"
,
50
:
"8e23db0b98b81fb9fa92"
,
51
:
"3af7210dfb262608914c"
,
52
:
"dd784a024602f71dd3c4"
,
53
:
"ba55300752dec12ba21c"
,
54
:
"a834471c436fde266802"
,
55
:
"f17ab600dad59c0971a4"
,
56
:
"950642a0966ed28c76a9"
,
57
:
"a572a9ffb3ed29596ba0"
,
58
:
"54d755af2660294c43ce"
,
59
:
"bdd2981f6ae08955333e"
,
60
:
"34909629679cfbb6b9e3"
,
61
:
"9abde0a0878b085fc774"
,
62
:
"3edbfb7b8910942f64cf"
,
63
:
"c3d47d05a87104c506fe"
,
64
:
"68123a6c1e967539946a"
,
65
:
"f4f7e3f4ecb0250e9119"
,
66
:
"901deeff367aae2dcc0e"
,
67
:
"53db8f85e4be34984914"
,
68
:
"7b9bfeea88eab8a0c88b"
,
69
:
"518fa345263ef1bb9abc"
,
70
:
"402183ad00e111b62764"
,
71
:
"458af30d30795059cdbe"
,
72
:
"37f6b09ae31da0373148"
,
73
:
"18ea446164b9b7002fde"
,
74
:
"2b90f6b5ae29a26aa9ce"
,
75
:
"44714b271d06e1e87012"
,
76
:
"2aa54224090068b0b0fe"
,
79
:
"177f5627a2a311e067eb"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
80
:
0
};
function
d
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
d
),
c
.
l
=!
0
,
c
.
exports
}
d
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
a
=
c
[
e
]
=
[
f
,
d
]});
a
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ace51f421a48f46a5277"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"979deb10fce5b2fefcdb"
,
3
:
"c2fd89730cdd6d5b8904"
,
4
:
"a7739bd271890b9783da"
,
5
:
"585fa5e680c961f3e6ea"
,
6
:
"657b140c98f462652267"
,
7
:
"425c9f33a90e59d2b270"
,
8
:
"9180c86d724863021ea1"
,
9
:
"7bafe59540d7210cfa70"
,
10
:
"bc4f603351d381704d20"
,
11
:
"2cfce44be1d5002c95f1"
,
12
:
"e48ee65ef0da6c383571"
,
13
:
"34bd3d823e73c2a4d360"
,
14
:
"8719a4be4e72a548434c"
,
15
:
"2ee668c55634c598bb49"
,
16
:
"fc1264890c2669f41a52"
,
17
:
"a1f8e736a1b936b682f2"
,
18
:
"c930c090830262321506"
,
19
:
"fb9febd9f5dfcffd09ca"
,
20
:
"81f6c674a6461ef85896"
,
21
:
"08e506839eb7346cac08"
,
22
:
"5a40199f94d4ea1b6837"
,
23
:
"5ed1b5fd3abff19ce342"
,
24
:
"9c7dd0f43ca6b011cd2f"
,
25
:
"e3f3549f91880fa065bb"
,
26
:
"2c0979f3bd7ee7896b97"
,
27
:
"d06c17faef5f94ce3538"
,
28
:
"3d946787d17a55b8aec9"
,
29
:
"70873e3ed623495d6cdf"
,
30
:
"e16084cc0e35a7c402f8"
,
31
:
"6ebf6fd2fb1d413dbbe9"
,
32
:
"084a3fa0e9d86187adab"
,
33
:
"a61bb39442525ba257fb"
,
34
:
"4e9d79b9cd4fc8ef64d5"
,
35
:
"56d42fcc424a3d614be7"
,
36
:
"ccec8570d9108294281e"
,
37
:
"97738eb5460b201748ed"
,
38
:
"4922763f6bf4d8a5fe35"
,
39
:
"873618a0a695aab4ea71"
,
40
:
"07e1860698ac67bb2d63"
,
41
:
"2437a351e138d54530f7"
,
42
:
"85f33f1f34822f8b4494"
,
43
:
"2058a7dd9a35991230bb"
,
44
:
"26529d299fa7b1a1f97a"
,
45
:
"879e8b8e34fd7c58247a"
,
46
:
"56a09c315fec48803136"
,
47
:
"b630596a508cb57973a4"
,
48
:
"d979e11090ad6978fa17"
,
49
:
"52867121cd605885ce35"
,
50
:
"8e23db0b98b81fb9fa92"
,
51
:
"3af7210dfb262608914c"
,
52
:
"dd784a024602f71dd3c4"
,
53
:
"ba55300752dec12ba21c"
,
54
:
"a834471c436fde266802"
,
55
:
"f17ab600dad59c0971a4"
,
56
:
"950642a0966ed28c76a9"
,
57
:
"a572a9ffb3ed29596ba0"
,
58
:
"54d755af2660294c43ce"
,
59
:
"bdd2981f6ae08955333e"
,
60
:
"34909629679cfbb6b9e3"
,
61
:
"9abde0a0878b085fc774"
,
62
:
"3edbfb7b8910942f64cf"
,
63
:
"c3d47d05a87104c506fe"
,
64
:
"68123a6c1e967539946a"
,
65
:
"f4f7e3f4ecb0250e9119"
,
66
:
"901deeff367aae2dcc0e"
,
67
:
"53db8f85e4be34984914"
,
68
:
"7b9bfeea88eab8a0c88b"
,
69
:
"518fa345263ef1bb9abc"
,
70
:
"402183ad00e111b62764"
,
71
:
"458af30d30795059cdbe"
,
72
:
"37f6b09ae31da0373148"
,
73
:
"18ea446164b9b7002fde"
,
74
:
"2b90f6b5ae29a26aa9ce"
,
75
:
"44714b271d06e1e87012"
,
76
:
"2aa54224090068b0b0fe"
,
79
:
"177f5627a2a311e067eb"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
a
,
f
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/api/api.js
View file @
c553deb8
...
...
@@ -30,7 +30,7 @@ Vue.axios.interceptors.request.use(
Vue
.
axios
.
interceptors
.
response
.
use
(
data
=>
{
// console.log(data)
// console.log(data)
;
if
(
data
.
status
&&
data
.
status
==
200
&&
data
.
data
.
errorCode
!=
1
)
{
// Message.error({message: data.data.message});
if
(
data
.
data
.
errorCode
==
4
)
{
...
...
src/components/contacts/storeFrame/clerkTable.vue
View file @
c553deb8
...
...
@@ -5,7 +5,7 @@
<el-button
v-if=
"!gicFlag"
@
click=
"transClerk('group')"
:disabled=
"selectedList.length == 0"
>
批量转移
</el-button>
<el-button
v-if=
"!gicFlag"
@
click=
"transClerk('all')"
type=
"primary"
>
全部转移
</el-button>
</p>
<el-table
:data=
"store.clerks"
@
selection-change=
"selectMember"
ref=
"clerkTable"
style=
"width: 100%"
>
<el-table
:data=
"store
ListData
.clerks"
@
selection-change=
"selectMember"
ref=
"clerkTable"
style=
"width: 100%"
>
<el-table-column
type=
"selection"
width=
"42"
></el-table-column>
<el-table-column
label=
"姓名"
prop=
"name"
>
</el-table-column>
<el-table-column
label=
"手机号码"
prop=
"phoneNumber"
>
</el-table-column>
...
...
@@ -47,7 +47,8 @@ export default {
},
selectType
:
'store'
,
transArr
:
[],
selectedList
:
[]
selectedList
:
[],
storeListData
:
{}
};
},
methods
:
{
...
...
@@ -59,7 +60,7 @@ export default {
if
(
type
==
'single'
)
{
this
.
transArr
=
[
clerk
];
}
else
if
(
type
==
'all'
)
{
this
.
transArr
=
this
.
store
.
clerks
;
this
.
transArr
=
this
.
store
ListData
.
clerks
;
}
else
{
this
.
transArr
=
this
.
selectedList
;
}
...
...
@@ -91,12 +92,7 @@ export default {
that
.
$message
.
success
({
message
:
'操作成功'
});
for
(
let
i
=
0
;
i
<
that
.
store
.
clerks
.
length
;
i
++
)
{
if
(
arr
.
includes
(
that
.
store
.
clerks
[
i
].
employeeClerkId
))
{
that
.
store
.
clerks
.
splice
(
i
,
1
);
}
--
i
;
}
that
.
getClerkList
();
}
else
{
that
.
$message
.
error
({
message
:
res
.
data
.
message
...
...
@@ -108,7 +104,50 @@ export default {
message
:
e
.
message
});
});
},
/**
* 获取员工列表
*/
getClerkList
()
{
let
that
=
this
;
let
params
=
{
departmentId
:
that
.
store
.
storeGroupId
,
storeId
:
that
.
store
.
storeId
,
showChild
:
1
,
showType
:
2
,
pageSize
:
200
,
pageNum
:
1
,
status
:
1
,
isCherk
:
1
};
postRequest
(
'/haoban-manage-web/emp/findsimplepage'
,
params
)
.
then
(
res
=>
{
if
(
res
.
data
.
errorCode
==
1
)
{
that
.
storeListData
.
clerks
=
res
.
data
.
result
.
list
||
[];
}
else
{
that
.
$message
.
error
({
duration
:
1000
,
message
:
res
.
data
.
message
});
}
})
.
catch
(
e
=>
{
that
.
$message
.
error
({
duration
:
1000
,
message
:
e
.
message
});
});
}
},
watch
:
{
store
:
function
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
storeListData
=
newData
||
{};
}
},
mounted
()
{
let
that
=
this
;
that
.
storeListData
=
that
.
store
||
{};
}
};
</
script
>
...
...
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