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
913435a8
Commit
913435a8
authored
Mar 27, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改门店回收站全部转移
parent
a01ba459
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
13 deletions
+11
-13
index.html
dist/index.html
+2
-2
24.2a7a69fd6d1ffe6f91bc.js
dist/static/js/24.2a7a69fd6d1ffe6f91bc.js
+0
-2
24.54f2906c51709913d672.js
dist/static/js/24.54f2906c51709913d672.js
+2
-0
manifest.d2f429577f40a689bf2c.js
dist/static/js/manifest.d2f429577f40a689bf2c.js
+2
-2
clerkTable.vue
src/components/contacts/storeFrame/clerkTable.vue
+5
-7
No files found.
dist/index.html
View file @
913435a8
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.45a63ae74e1e535a9277691a10e18fc6.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
https://cdn.ravenjs.com/3.26.2/vue/raven.min.js
crossorigin=
anonymous
></script><script>
Raven
.
config
(
'https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672'
).
install
();
</script><script
type=
text/javascript
src=
./static/js/manifest.b57a17399ac327ee3884.js
></script><script
type=
text/javascript
src=
./static/js/vendor.2a06374a31d674ca49d2.js
></script><script
type=
text/javascript
src=
./static/js/app.462914a3aec2d847bfdd.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.45a63ae74e1e535a9277691a10e18fc6.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
https://cdn.ravenjs.com/3.26.2/vue/raven.min.js
crossorigin=
anonymous
></script><script>
Raven
.
config
(
'https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672'
).
install
();
</script><script
type=
text/javascript
src=
./static/js/manifest.d2f429577f40a689bf2c.js
></script><script
type=
text/javascript
src=
./static/js/vendor.2a06374a31d674ca49d2.js
></script><script
type=
text/javascript
src=
./static/js/app.462914a3aec2d847bfdd.js
></script></body></html>
\ No newline at end of file
dist/static/js/24.2a7a69fd6d1ffe6f91bc.js
deleted
100644 → 0
View file @
a01ba459
webpackJsonp
([
24
],{
HkK0
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"P9l9"
),
r
=
{
name
:
"clerkTbale"
,
components
:{
vueSelectStore
:
a
(
"Ie7z"
).
a
},
props
:{
store
:{
type
:
Object
,
required
:
!
0
}},
data
:
function
(){
return
{
treeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
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
,
a
=
[];
t
.
transArr
.
forEach
(
function
(
e
){
a
.
push
(
e
.
employeeClerkId
)});
var
r
=
{
ids
:
a
.
join
(
","
),
storeId
:
e
[
0
].
id
};
Object
(
s
.
a
)(
"/haoban-manage-web/emp/batchTransfer"
,
r
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
$message
.
success
({
message
:
"操作成功"
}),
t
.
store
.
clerks
.
forEach
(
function
(
e
,
s
){
a
.
indexOf
(
e
.
employeeClerkId
)
>-
1
&&
(
t
.
store
.
clerks
.
splice
(
s
,
1
),
--
s
)})):
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})}}},
n
=
{
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
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
0
==
e
.
selectedList
.
length
},
on
:{
click
:
function
(
t
){
e
.
transClerk
(
"group"
)}}},[
e
.
_v
(
"批量转移"
)]),
e
.
_v
(
" "
),
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
[
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
transClerk
(
"single"
,
t
.
row
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-sort"
})]),
e
.
_v
(
" "
),
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
l
=
a
(
"VU/8"
)(
r
,
n
,
!
1
,
function
(
e
){
a
(
"oaOp"
)},
null
,
null
).
exports
,
o
=
{
name
:
"recycle-bin"
,
components
:{
navCrumb
:
a
(
"3Xzz"
).
a
,
clerkTable
:
l
},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
440
-
180
,
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
:{}}},
methods
:{
getRecycleList
:
function
(){
var
e
=
this
,
t
=
e
.
$route
.
query
,
a
=
{
storeGroupId
:
t
.
dept
,
showChild
:
1
*
t
.
showChild
,
showType
:
2
,
pageSize
:
e
.
pageSize
,
pageNumber
:
e
.
pageNumber
,
status
:
4
,
storeType
:
t
.
type
};
Object
(
s
.
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
(
s
.
a
)(
"/haoban-manage-web/store/changeStatus"
,
a
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
searchKey
=
""
,
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
(
s
.
a
)(
"/haoban-manage-web/emp/del"
,
r
).
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
})})})}},
beforeMount
:
function
(){
this
.
getRecycleList
()}},
c
=
{
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"
,
style
:{
height
:
e
.
$store
.
state
.
bgHeight
}},[
e
.
showClerks
?
a
(
"clerk-table"
,{
attrs
:{
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"
},
model
:{
value
:
e
.
searchKey
,
callback
:
function
(
t
){
e
.
searchKey
=
t
},
expression
:
"searchKey"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
height
:
e
.
recycleList
.
length
?
e
.
tableH
:
"auto"
,
data
:
e
.
recycleList
.
filter
(
function
(
t
){
return
!
e
.
searchKey
||
t
.
storeName
.
toLowerCase
().
includes
(
e
.
searchKey
.
toLowerCase
())})}},[
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
[
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
i
=
a
(
"VU/8"
)(
o
,
c
,
!
1
,
function
(
e
){
a
(
"c3Wn"
)},
null
,
null
);
t
.
default
=
i
.
exports
},
c3Wn
:
function
(
e
,
t
){},
oaOp
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/24.54f2906c51709913d672.js
0 → 100644
View file @
913435a8
webpackJsonp
([
24
],{
HkK0
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"P9l9"
),
r
=
{
name
:
"clerkTbale"
,
components
:{
vueSelectStore
:
a
(
"Ie7z"
).
a
},
props
:{
store
:{
type
:
Object
,
required
:
!
0
}},
data
:
function
(){
return
{
treeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
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
,
a
=
[];
t
.
transArr
.
forEach
(
function
(
e
){
a
.
push
(
e
.
employeeClerkId
)});
var
r
=
{
ids
:
a
.
join
(
","
),
storeId
:
e
[
0
].
id
};
Object
(
s
.
a
)(
"/haoban-manage-web/emp/batchTransfer"
,
r
).
then
(
function
(
e
){
if
(
1
==
e
.
data
.
errorCode
){
t
.
$message
.
success
({
message
:
"操作成功"
});
for
(
var
s
=
0
;
s
<
t
.
store
.
clerks
.
length
;
s
++
)
a
.
includes
(
t
.
store
.
clerks
[
s
].
employeeClerkId
)
&&
t
.
store
.
clerks
.
splice
(
s
,
1
),
--
s
}
else
t
.
$message
.
error
({
message
:
e
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})}}},
n
=
{
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
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
0
==
e
.
selectedList
.
length
},
on
:{
click
:
function
(
t
){
e
.
transClerk
(
"group"
)}}},[
e
.
_v
(
"批量转移"
)]),
e
.
_v
(
" "
),
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
[
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
transClerk
(
"single"
,
t
.
row
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-sort"
})]),
e
.
_v
(
" "
),
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
l
=
a
(
"VU/8"
)(
r
,
n
,
!
1
,
function
(
e
){
a
(
"xw74"
)},
null
,
null
).
exports
,
o
=
{
name
:
"recycle-bin"
,
components
:{
navCrumb
:
a
(
"3Xzz"
).
a
,
clerkTable
:
l
},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
440
-
180
,
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
:{}}},
methods
:{
getRecycleList
:
function
(){
var
e
=
this
,
t
=
e
.
$route
.
query
,
a
=
{
storeGroupId
:
t
.
dept
,
showChild
:
1
*
t
.
showChild
,
showType
:
2
,
pageSize
:
e
.
pageSize
,
pageNumber
:
e
.
pageNumber
,
status
:
4
,
storeType
:
t
.
type
};
Object
(
s
.
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
(
s
.
a
)(
"/haoban-manage-web/store/changeStatus"
,
a
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
?(
t
.
searchKey
=
""
,
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
(
s
.
a
)(
"/haoban-manage-web/emp/del"
,
r
).
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
})})})}},
beforeMount
:
function
(){
this
.
getRecycleList
()}},
c
=
{
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"
,
style
:{
height
:
e
.
$store
.
state
.
bgHeight
}},[
e
.
showClerks
?
a
(
"clerk-table"
,{
attrs
:{
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"
},
model
:{
value
:
e
.
searchKey
,
callback
:
function
(
t
){
e
.
searchKey
=
t
},
expression
:
"searchKey"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
height
:
e
.
recycleList
.
length
?
e
.
tableH
:
"auto"
,
data
:
e
.
recycleList
.
filter
(
function
(
t
){
return
!
e
.
searchKey
||
t
.
storeName
.
toLowerCase
().
includes
(
e
.
searchKey
.
toLowerCase
())})}},[
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
[
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
i
=
a
(
"VU/8"
)(
o
,
c
,
!
1
,
function
(
e
){
a
(
"c3Wn"
)},
null
,
null
);
t
.
default
=
i
.
exports
},
c3Wn
:
function
(
e
,
t
){},
xw74
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/manifest.
b57a17399ac327ee3884
.js
→
dist/static/js/manifest.
d2f429577f40a689bf2c
.js
View file @
913435a8
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
f
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
b
[
t
]
&&
u
.
push
(
b
[
t
][
0
]),
b
[
t
]
=
0
;
for
(
r
in
f
)
Object
.
prototype
.
hasOwnProperty
.
call
(
f
,
r
)
&&
(
e
[
r
]
=
f
[
r
]);
for
(
c
&&
c
(
a
,
f
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
b
=
{
73
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
b
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
b
.
exports
,
b
,
b
.
exports
,
d
),
b
.
l
=!
0
,
b
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
b
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
b
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
f
=
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
:
"8bb7825054d4a9c584b6"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"c8863e7a9d4b284238db"
,
3
:
"b5227de6c62a15206034"
,
4
:
"f99cf85fdba5d8f86148"
,
5
:
"99755e0c187088d67f05"
,
6
:
"00b931389a74250125a3"
,
7
:
"50747c5f602fa39713ee"
,
8
:
"ccfd1bb81626da46f432"
,
9
:
"b916c8d12141617e4db2"
,
10
:
"c13003c7d852bdc7c856"
,
11
:
"48cce40bd1119cfef79d"
,
12
:
"8a1633b353b37d5bfcd2"
,
13
:
"8ef8b641893400bbea66"
,
14
:
"45c8be9d9f4738ad43ac"
,
15
:
"cb3cf92669ce0fb6afde"
,
16
:
"47caf94fd78d59ab457d"
,
17
:
"2c76434ec01b2b5ee02f"
,
18
:
"e92891d39fbd5cb95e11"
,
19
:
"65a75417b60e1918da01"
,
20
:
"5e49628028f6f8323119"
,
21
:
"d62a2d0db3b92654caa8"
,
22
:
"dec9447a8c45f2a2c7bb"
,
23
:
"bd9202e3991ee39668e6"
,
24
:
"2a7a69fd6d1ffe6f91bc"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"1649432938888d71b3c9"
,
27
:
"67137144c98b28cc5a30"
,
28
:
"140ad99228544036c969"
,
29
:
"30037b5674e7675b1da7"
,
30
:
"fa0e0e20a9883b94be73"
,
31
:
"1b98b5a68e3b103fd91f"
,
32
:
"936422289d8372969dce"
,
33
:
"c390504b594e1f84e4d8"
,
34
:
"b811e61fc0cbe8325543"
,
35
:
"5ee86b63062a73dc044b"
,
36
:
"7164e6fcb913d630899f"
,
37
:
"888b85a3993974fb43af"
,
38
:
"906dd52db56ce245bd63"
,
39
:
"9b6dad740714bbea21b8"
,
40
:
"5e1e9bd1ea4f73d73124"
,
41
:
"f650191e4adbbe354c40"
,
42
:
"1f852a650fdbf7a7eaad"
,
43
:
"59710542dcc826fdf15e"
,
44
:
"a880b2c8167eddc0e1c6"
,
45
:
"0676609d7f5817f6c422"
,
46
:
"c91be22c35422abccbea"
,
47
:
"970aa0f2c465fdbf4bc7"
,
48
:
"ba95593e14ada0183499"
,
49
:
"9ca4482b2dcedcc38897"
,
50
:
"83766d9322982df0ba7c"
,
51
:
"1fb22e0e70218f91d029"
,
52
:
"ec3446ccbe126ad8228d"
,
53
:
"84eaec4c0f59c1c56bc0"
,
54
:
"b81dae7a0972e539186e"
,
55
:
"31ec2c93f276ff83fa80"
,
56
:
"a2faa30e5f1c6aeb57be"
,
57
:
"9064c84ce91fad83fe44"
,
58
:
"04dbe15e8a9576b15187"
,
59
:
"b62232922e7ccdd7242e"
,
60
:
"b8e9ee626c3fbd4087e2"
,
61
:
"ccd9812bb3bb7bdf57e7"
,
62
:
"6b6bfcaa666e2c35399e"
,
63
:
"b05b4ec28d2829c54f65"
,
64
:
"601620d6f34271c4b9bb"
,
65
:
"2fa8cdc7a52fbbb85a4d"
,
66
:
"9f1afb5a13b54ea92a02"
,
67
:
"d674abd10a01e3c004c8"
,
68
:
"2189902bf2848c91608c"
,
69
:
"a8a72ece13d321e6709c"
,
72
:
"e19aae5a21dcfad3391e"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
b
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
b
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
f
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
f
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
b
[
t
]
&&
u
.
push
(
b
[
t
][
0
]),
b
[
t
]
=
0
;
for
(
r
in
f
)
Object
.
prototype
.
hasOwnProperty
.
call
(
f
,
r
)
&&
(
e
[
r
]
=
f
[
r
]);
for
(
c
&&
c
(
a
,
f
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
b
=
{
73
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
b
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
b
.
exports
,
b
,
b
.
exports
,
d
),
b
.
l
=!
0
,
b
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
b
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
b
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
f
=
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
:
"8bb7825054d4a9c584b6"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"c8863e7a9d4b284238db"
,
3
:
"b5227de6c62a15206034"
,
4
:
"f99cf85fdba5d8f86148"
,
5
:
"99755e0c187088d67f05"
,
6
:
"00b931389a74250125a3"
,
7
:
"50747c5f602fa39713ee"
,
8
:
"ccfd1bb81626da46f432"
,
9
:
"b916c8d12141617e4db2"
,
10
:
"c13003c7d852bdc7c856"
,
11
:
"48cce40bd1119cfef79d"
,
12
:
"8a1633b353b37d5bfcd2"
,
13
:
"8ef8b641893400bbea66"
,
14
:
"45c8be9d9f4738ad43ac"
,
15
:
"cb3cf92669ce0fb6afde"
,
16
:
"47caf94fd78d59ab457d"
,
17
:
"2c76434ec01b2b5ee02f"
,
18
:
"e92891d39fbd5cb95e11"
,
19
:
"65a75417b60e1918da01"
,
20
:
"5e49628028f6f8323119"
,
21
:
"d62a2d0db3b92654caa8"
,
22
:
"dec9447a8c45f2a2c7bb"
,
23
:
"bd9202e3991ee39668e6"
,
24
:
"54f2906c51709913d672"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"1649432938888d71b3c9"
,
27
:
"67137144c98b28cc5a30"
,
28
:
"140ad99228544036c969"
,
29
:
"30037b5674e7675b1da7"
,
30
:
"fa0e0e20a9883b94be73"
,
31
:
"1b98b5a68e3b103fd91f"
,
32
:
"936422289d8372969dce"
,
33
:
"c390504b594e1f84e4d8"
,
34
:
"b811e61fc0cbe8325543"
,
35
:
"5ee86b63062a73dc044b"
,
36
:
"7164e6fcb913d630899f"
,
37
:
"888b85a3993974fb43af"
,
38
:
"906dd52db56ce245bd63"
,
39
:
"9b6dad740714bbea21b8"
,
40
:
"5e1e9bd1ea4f73d73124"
,
41
:
"f650191e4adbbe354c40"
,
42
:
"1f852a650fdbf7a7eaad"
,
43
:
"59710542dcc826fdf15e"
,
44
:
"a880b2c8167eddc0e1c6"
,
45
:
"0676609d7f5817f6c422"
,
46
:
"c91be22c35422abccbea"
,
47
:
"970aa0f2c465fdbf4bc7"
,
48
:
"ba95593e14ada0183499"
,
49
:
"9ca4482b2dcedcc38897"
,
50
:
"83766d9322982df0ba7c"
,
51
:
"1fb22e0e70218f91d029"
,
52
:
"ec3446ccbe126ad8228d"
,
53
:
"84eaec4c0f59c1c56bc0"
,
54
:
"b81dae7a0972e539186e"
,
55
:
"31ec2c93f276ff83fa80"
,
56
:
"a2faa30e5f1c6aeb57be"
,
57
:
"9064c84ce91fad83fe44"
,
58
:
"04dbe15e8a9576b15187"
,
59
:
"b62232922e7ccdd7242e"
,
60
:
"b8e9ee626c3fbd4087e2"
,
61
:
"ccd9812bb3bb7bdf57e7"
,
62
:
"6b6bfcaa666e2c35399e"
,
63
:
"b05b4ec28d2829c54f65"
,
64
:
"601620d6f34271c4b9bb"
,
65
:
"2fa8cdc7a52fbbb85a4d"
,
66
:
"9f1afb5a13b54ea92a02"
,
67
:
"d674abd10a01e3c004c8"
,
68
:
"2189902bf2848c91608c"
,
69
:
"a8a72ece13d321e6709c"
,
72
:
"e19aae5a21dcfad3391e"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
b
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
b
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
f
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/contacts/storeFrame/clerkTable.vue
View file @
913435a8
...
...
@@ -83,14 +83,12 @@ export default {
that
.
$message
.
success
({
message
:
'操作成功'
});
that
.
store
.
clerks
.
forEach
((
origin
,
index
)
=>
{
let
idx
=
arr
.
indexOf
(
origin
.
employeeClerkId
);
if
(
idx
>
-
1
)
{
// let index = that.store.clerks.indexOf(origin);
that
.
store
.
clerks
.
splice
(
index
,
1
);
--
index
;
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
;
}
}
else
{
that
.
$message
.
error
({
message
:
res
.
data
.
message
...
...
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