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
b6bbf6f9
Commit
b6bbf6f9
authored
Aug 12, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 打印
parent
19a993e7
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
28 additions
and
26 deletions
+28
-26
index.html
dist/index.html
+2
-2
38.1ba59b8abe599b1d9c64.js
dist/static/js/38.1ba59b8abe599b1d9c64.js
+2
-0
39.8d8a3b88d85b3220e296.js
dist/static/js/39.8d8a3b88d85b3220e296.js
+2
-2
40.f4fd9d68a9e906649040.js
dist/static/js/40.f4fd9d68a9e906649040.js
+2
-2
41.9fcb9feb2cab7a8a2cbe.js
dist/static/js/41.9fcb9feb2cab7a8a2cbe.js
+2
-2
42.47c4c30ceefa4af03de5.js
dist/static/js/42.47c4c30ceefa4af03de5.js
+2
-2
43.2689bc2d619a26183b90.js
dist/static/js/43.2689bc2d619a26183b90.js
+2
-2
44.deb9f07fde1e218414cf.js
dist/static/js/44.deb9f07fde1e218414cf.js
+2
-2
45.feeb9dd78b7b12f700d2.js
dist/static/js/45.feeb9dd78b7b12f700d2.js
+2
-2
46.319059c73e318e00633c.js
dist/static/js/46.319059c73e318e00633c.js
+2
-2
47.3f75126daf162a21657d.js
dist/static/js/47.3f75126daf162a21657d.js
+0
-2
47.ad1d3e7f3e13e438bcbf.js
dist/static/js/47.ad1d3e7f3e13e438bcbf.js
+2
-2
app.be19d11eb450cbcd6aba.js
dist/static/js/app.be19d11eb450cbcd6aba.js
+2
-2
manifest.44c57f2105465985306a.js
dist/static/js/manifest.44c57f2105465985306a.js
+2
-2
storeInfo.vue
src/views/contacts/storeInfo.vue
+2
-0
No files found.
dist/index.html
View file @
b6bbf6f9
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.f44632544cb4e4fbe040d412e8cb80d5.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.662cf3332b26abb96971.js
></script><script
type=
text/javascript
src=
./static/js/vendor.fe563ee1a7b37e2ffba9.js
></script><script
type=
text/javascript
src=
./static/js/app.0b557caaa4f436f15843.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.f44632544cb4e4fbe040d412e8cb80d5.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.44c57f2105465985306a.js
></script><script
type=
text/javascript
src=
./static/js/vendor.fe563ee1a7b37e2ffba9.js
></script><script
type=
text/javascript
src=
./static/js/app.be19d11eb450cbcd6aba.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/js/38.1ba59b8abe599b1d9c64.js
0 → 100644
View file @
b6bbf6f9
webpackJsonp
([
38
],{
"6JF0"
:
function
(
e
,
t
){},
"h/6A"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
o
=
r
.
n
(
a
),
n
=
r
(
"Xxa5"
),
s
=
r
.
n
(
n
),
i
=
r
(
"//Fk"
),
l
=
r
.
n
(
i
),
u
=
r
(
"exGp"
),
m
=
r
.
n
(
u
),
d
=
r
(
"3Xzz"
),
c
=
r
(
"l46T"
),
f
=
r
(
"Kkt8"
),
p
=
r
(
"XDyb"
),
g
=
r
(
"T+u5"
),
h
=
r
.
n
(
g
),
I
=
r
(
"P9l9"
),
v
=
r
(
"Ie7z"
),
b
=
{
name
:
"store-info"
,
components
:{
navCrumb
:
d
.
a
,
vueSelectStore
:
v
.
a
,
limitInput
:
c
.
a
,
limitTextarea
:
f
.
a
,
countryMobile
:
p
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
gicFlag
:
!
(
!
this
.
$route
.
query
.
gicFlag
||
"false"
==
this
.
$route
.
query
.
gicFlag
),
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"添加门店"
,
path
:
""
}],
editpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"编辑门店"
,
path
:
""
}],
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
,
groupId
:
""
,
openNextBool
:
!
0
},
currentBrand
:
this
.
$route
.
query
.
firstLevelId
,
disableFlag
:
!
1
,
defaultList
:[],
storeInfo
:{
storeName
:
""
,
storeGroupId
:
""
,
departmentName
:
""
,
groupChainName
:
""
,
imageUrls
:[],
phoneNumber
:
""
,
openTime
:
""
,
closeTime
:
""
,
shopHours
:
""
,
storeType
:
0
,
countryId
:
""
,
provinceId
:
""
,
cityId
:
""
,
areaId
:
""
,
postAddress
:
""
,
longitude
:
""
,
latitude
:
""
,
location
:
""
,
storeArea
:
""
,
mangerName
:
""
,
storeManagerId
:
""
,
managerNationcode
:
"86"
,
managerPhone
:
""
,
managerCode
:
""
,
maangerSex
:
""
,
storeCode
:
""
,
storeId
:
""
},
areaChainName
:
""
,
areaOptions
:{},
imgs
:[],
uploadUrl
:
"/haoban-manage-web/upload-img"
,
rules
:{
storeName
:[{
required
:
!
0
,
message
:
"请输入门店名称"
,
trigger
:
"blur"
}],
departmentName
:[{
required
:
!
0
,
message
:
"请选择所属分组"
,
trigger
:
"blur"
}],
groupChainName
:[{
required
:
!
0
,
message
:
"请选择部门"
,
trigger
:
"change"
}],
imageUrls
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店图片"
,
trigger
:
"change"
}],
areaId
:[{
required
:
!
0
,
message
:
"请选择门店地址"
,
trigger
:
"blur"
}],
storeType
:[{
required
:
!
0
,
message
:
"请选择门店类型"
,
trigger
:
"blur"
}],
openTime
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
return
r
&&
e
.
storeInfo
.
closeTime
?
a
():
a
(
new
Error
(
"请选择营业时间"
))},
trigger
:
"blur"
}],
location
:[{
required
:
!
0
,
message
:
"请选择经纬度"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
return
t
?
r
():
r
(
new
Error
(
"请输入联系电话"
))},
trigger
:
"blur"
}],
storeCode
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
return
r
?
/^
[
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+$/
.
test
(
r
)?
a
():
void
(
e
.
storeInfo
.
storeCode
=
r
.
replace
(
/
[^
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+/g
,
""
)):
a
(
new
Error
(
"请输入门店代码"
))},
trigger
:
"blur"
}],
managerName
:[{
required
:
!
0
,
message
:
"请输入店长姓名"
,
trigger
:
"blur"
}],
managerPhone
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
if
(
!
r
)
return
a
(
new
Error
(
"请输入手机号码"
));
var
o
=
new
h
.
a
(
"+"
+
e
.
storeInfo
.
managerNationcode
+
r
);
o
.
isValid
()
&&
o
.
isMobile
()?
a
():
a
(
new
Error
(
"手机号格式不正确"
))},
trigger
:
"blur"
}],
managerCode
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
return
r
?
/^
[
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+$/
.
test
(
r
)?
a
():
void
(
e
.
storeInfo
.
managerCode
=
r
.
replace
(
/
[^
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+/g
,
""
)):
a
(
new
Error
(
"请输入店长代码"
))},
trigger
:
"blur"
}],
specialService
:[{
max
:
20
,
message
:
"长度在 20 个字符以内"
,
trigger
:
"blur"
}],
personCost
:[{
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^
\d
+
(\.\d
+
)?
$/
.
test
(
1
*
t
)?
r
():
r
(
new
Error
(
"人均消费只能为非负整数或者小数"
));
return
r
()},
trigger
:
"blur"
}]}}},
methods
:{
inputBlur
:
function
(
e
){
this
.
storeInfo
.
storeArea
||
(
this
.
storeInfo
.
storeArea
=
""
),
this
.
storeInfo
.
storeArea
=
Number
(
this
.
storeInfo
.
storeArea
.
replace
(
/
[^\d
.
]
/g
,
""
))?
this
.
storeInfo
.
storeArea
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
this
.
storeInfo
.
storeArea
=
Number
(
this
.
storeInfo
.
storeArea
).
toFixed
(
2
),
this
.
storeInfo
.
storeArea
>=
999999
&&
(
this
.
storeInfo
.
storeArea
=
Number
(
999999
).
toFixed
(
2
))},
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
console
.
log
(
e
),
this
.
storeInfo
.
groupChainName
=
e
.
length
?
e
[
0
].
chainName
:
""
,
this
.
storeInfo
.
departmentName
=
e
.
length
?
e
[
0
].
label
:
""
,
this
.
storeInfo
.
storeGroupId
=
e
.
length
?
e
[
0
].
id
:
""
,
this
.
storeInfo
.
departmentName
&&
this
.
$refs
.
storeInfo
.
clearValidate
(
"departmentName"
),
console
.
log
(
this
.
storeInfo
,
this
.
storeInfo
.
groupChainName
,
e
[
0
].
chainName
),
this
.
$forceUpdate
()},
selected
:
function
(
e
){
this
.
storeInfo
.
provinceId
=
e
.
province
,
this
.
storeInfo
.
cityId
=
e
.
city
||
""
,
this
.
storeInfo
.
areaId
=
e
.
areaId
||
""
},
getStoreInfo
:
function
(){
var
e
=
this
,
t
=
{
storeId
:
e
.
$route
.
query
.
storeId
};
Object
(
I
.
a
)(
"/haoban-manage-web/store/findStoreById"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
showEmployee
=
"store"
,
e
.
defaultList
=
[{
id
:
t
.
data
.
result
.
storeGroupId
,
label
:
t
.
data
.
result
.
departmentName
}],
e
.
formatStoreInfo
(
t
.
data
.
result
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})})},
clickToSave
:
function
(){
var
e
=
this
;
return
m
()(
s
.
a
.
mark
(
function
t
(){
var
r
,
a
,
o
,
n
;
return
s
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
r
=
e
,
a
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeInfo
.
validate
(
function
(
t
){
t
&&
e
()})}),
o
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeManager
.
validate
(
function
(
t
){
t
&&
e
()})}),
n
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeOperate
.
validate
(
function
(
t
){
t
&&
e
()})}),
l
.
a
.
all
([
a
,
o
,
n
]).
then
(
function
(){
r
.
save
()});
case
5
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()},
formatStoreInfo
:
function
(
e
){
var
t
=
this
;
return
m
()(
s
.
a
.
mark
(
function
r
(){
var
a
,
o
,
n
;
return
s
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
a
=
t
,
o
=
(
e
.
areaChainName
||
""
).
split
(
"/"
),
a
.
areaOptions
=
{
provinceName
:
o
[
0
],
provinceId
:
e
.
provinceId
,
cityName
:
o
[
1
],
cityId
:
e
.
cityId
,
countryName
:
o
[
2
],
countyId
:
e
.
countryId
},
a
.
imgs
=
e
.
imageUrl
?
e
.
imageUrl
.
split
(
","
):[],
n
=
[],
a
.
imgs
.
forEach
(
function
(
e
){
n
.
push
({
url
:
e
})}),
e
.
managerNationcode
=
e
.
managerNationcode
||
"86"
,
e
.
imageUrls
=
n
,
e
.
location
=
e
.
longitude
?
e
.
latitude
+
","
+
e
.
longitude
:
""
,
a
.
storeInfo
=
e
,
a
.
disableFlag
=!
a
.
isNew
&&!!
a
.
storeInfo
.
managerPhone
;
case
11
:
case
"end"
:
return
r
.
stop
()}},
r
,
t
)}))()},
uploadOnSuccess
:
function
(
e
,
t
){
e
.
file
.
url
=
e
.
res
.
result
[
0
].
qcloudImageUrl
,
t
.
push
(
e
.
file
)},
sortImg
:
function
(
e
){
this
.
storeInfo
.
imageUrls
=
e
},
deleteImage
:
function
(
e
){
this
.
storeInfo
.
imageUrls
.
splice
(
e
,
1
)},
save
:
function
(){
var
e
=
this
,
t
=
e
.
storeInfo
.
location
.
split
(
","
);
e
.
storeInfo
.
longitude
=
t
[
1
],
e
.
storeInfo
.
latitude
=
2
!==
t
.
length
?
""
:
t
[
0
];
var
r
=
JSON
.
parse
(
o
()(
e
.
storeInfo
)),
a
=
[];
e
.
storeInfo
.
imageUrls
.
forEach
(
function
(
e
){
a
.
push
(
e
.
url
)}),
r
.
imageUrls
=
a
.
join
(
","
);
var
n
=
e
.
isNew
?
"/haoban-manage-web/store/insert"
:
"/haoban-manage-web/store/update"
;
Object
(
I
.
e
)(
n
,
r
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
$message
.
success
({
message
:
t
.
data
.
message
}),
window
.
history
.
go
(
-
1
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})}},
computed
:{
isNew
:
function
(){
return
!
this
.
$route
.
query
.
storeId
}},
beforeMount
:
function
(){
this
.
treeSet
.
groupId
=
this
.
$route
.
query
.
firstLevelId
,
this
.
isNew
||
this
.
getStoreInfo
()},
mounted
:
function
(){
this
.
$route
.
query
.
storeId
&&
(
this
.
navpath
=
this
.
editpath
)}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
},[
r
(
"div"
,[
r
(
"div"
,{
staticClass
:
"store-info"
},[
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"门店信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeInfo"
,
staticClass
:
"store-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店名称"
,
prop
:
"storeName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
storeName
,
holder
:
""
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"所属分组"
,
prop
:
"departmentName"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
attrs
:{
disabled
:
e
.
gicFlag
},
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
storeInfo
.
groupChainName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"groupChainName"
,
t
)},
expression
:
"storeInfo.groupChainName"
}},[
r
(
"i"
,{
staticClass
:
"el-input__icon el-icon-arrow-down"
,
attrs
:{
slot
:
"suffix"
},
slot
:
"suffix"
})])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店图片"
,
prop
:
"imageUrls"
}},[
r
(
"div"
,{
staticClass
:
"member-upload-image"
},[
r
(
"vue-office-upload-image"
,{
attrs
:{
projectName
:
"haoban-manage-web"
,
wxFlag
:
"0"
,
actionUrl
:
e
.
uploadUrl
,
imageList
:
e
.
storeInfo
.
imageUrls
,
limitW
:
640
,
limitH
:
340
,
maxImageLength
:
10
},
on
:{
uploadOnSuccess
:
e
.
uploadOnSuccess
,
sortImg
:
e
.
sortImg
,
deleteImage
:
e
.
deleteImage
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"tip font-12 color-909399 m-t-8 line-h-1"
},[
e
.
_v
(
"门店图片(640*340),支持.jpg,.jepg,.png类型文件,最多添加10张图片"
)])]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"联系电话"
,
prop
:
"phoneNumber"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
model
:{
value
:
e
.
storeInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"phoneNumber"
,
t
)},
expression
:
"storeInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"营业时间"
,
prop
:
"openTime"
}},[
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"起始时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
}},
model
:{
value
:
e
.
storeInfo
.
openTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"openTime"
,
t
)},
expression
:
"storeInfo.openTime"
}}),
e
.
_v
(
"
\
n ~
\
n "
),
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"结束时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
,
minTime
:
e
.
storeInfo
.
openTime
}},
model
:{
value
:
e
.
storeInfo
.
closeTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"closeTime"
,
t
)},
expression
:
"storeInfo.closeTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店类型"
,
prop
:
"storeType"
}},[
r
(
"el-radio-group"
,{
model
:{
value
:
e
.
storeInfo
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeType"
,
t
)},
expression
:
"storeInfo.storeType"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
0
}},[
e
.
_v
(
"自营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"联营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"代理"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"代销"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
4
}},[
e
.
_v
(
"托管"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店地址"
,
prop
:
"areaId"
}},[
r
(
"vue-office-area"
,{
attrs
:{
areaOptions
:
e
.
areaOptions
,
projectName
:
"haoban-web"
,
postUrl
:
"/haoban-manage-web/dict-district-list"
},
on
:{
selected
:
e
.
selected
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"m-t-15"
},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
postAddress
,
holder
:
""
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"postAddress"
,
t
)}}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"GPS坐标"
,
prop
:
"location"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500 m-r-10"
,
model
:{
value
:
e
.
storeInfo
.
location
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"location"
,
t
)},
expression
:
"storeInfo.location"
}}),
e
.
_v
(
" "
),
r
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"http://m.gpsspg.com/maps.htm"
,
target
:
"_blank"
,
rel
:
"nofollow noopener noreferrer"
}},[
e
.
_v
(
"经纬度测试工具"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
prop
:
"storeCode"
}},[
r
(
"template"
,{
slot
:
"label"
},[
e
.
_v
(
"
\
n 门店代码
\
n "
)]),
e
.
_v
(
" "
),
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
storeCode
,
holder
:
""
,
maxLength
:
20
,
getByType
:
"char"
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeCode"
,
t
)}}})],
2
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店面积"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
on
:{
blur
:
function
(
t
){
return
e
.
inputBlur
(
t
)}},
model
:{
value
:
e
.
storeInfo
.
storeArea
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeArea"
,
t
)},
expression
:
"storeInfo.storeArea"
}}),
r
(
"span"
,{
staticClass
:
"font-14 p-l-10"
},[
e
.
_v
(
"平方米"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"店长信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeManager"
,
staticClass
:
"store-manager-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长姓名"
,
prop
:
"managerName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
managerName
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号码"
,
prop
:
"managerPhone"
}},[
r
(
"countryMobile"
,{
attrs
:{
inputWidth
:
500
,
nationCode
:
e
.
storeInfo
.
managerNationcode
,
holder
:
"请输入手机号"
,
disflag
:
e
.
disableFlag
||
e
.
gicFlag
},
on
:{
"update:nationCode"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerNationcode"
,
t
)}},
model
:{
value
:
e
.
storeInfo
.
managerPhone
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerPhone"
,
t
)},
expression
:
"storeInfo.managerPhone"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长性别"
}},[
r
(
"el-radio-group"
,{
attrs
:{
disabled
:
e
.
gicFlag
},
model
:{
value
:
e
.
storeInfo
.
managerSex
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerSex"
,
t
)},
expression
:
"storeInfo.managerSex"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"男"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"女"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长代码"
,
prop
:
"managerCode"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
managerCode
,
holder
:
""
,
maxLength
:
20
,
getByType
:
"char"
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerCode"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"经营信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeOperate"
,
staticClass
:
"operate-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"90px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"特色服务"
,
prop
:
"specialService"
}},[
r
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
specialService
,
holder
:
"请输入推荐商品"
,
getByType
:
"word"
,
maxLength
:
100
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"specialService"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"人均消费"
,
prop
:
"personCost"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
personCost
,
holder
:
"请输入人均消费"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"personCost"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"推荐商品"
}},[
r
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
recommendGoods
,
holder
:
"请输入推荐商品"
,
getByType
:
"word"
,
maxLength
:
100
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"recommendGoods"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"品牌介绍"
}},[
r
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
brandDes
,
holder
:
"请输入品牌介绍"
,
getByType
:
"word"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"brandDes"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"handle-area"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
clickToSave
}},[
e
.
_v
(
"保 存"
)])],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
currentBrand
,
defaultList
:
e
.
defaultList
,
treeSet
:
e
.
treeSet
,
selectType
:
"group"
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)])])],
1
)},
staticRenderFns
:[]};
var
C
=
r
(
"VU/8"
)(
b
,
_
,
!
1
,
function
(
e
){
r
(
"6JF0"
)},
null
,
null
);
t
.
default
=
C
.
exports
}});
\ No newline at end of file
dist/static/js/3
8.401ecfbced781ca109ff
.js
→
dist/static/js/3
9.8d8a3b88d85b3220e296
.js
View file @
b6bbf6f9
webpackJsonp
([
38
],{
DxdI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"fPyK"
),
l
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"3E4D"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
1
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"自定义报表"
}],
activeId
:
"1"
,
activeTab
:
"1"
,
activeBrand
:
"1"
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
handlePreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?templateId="
+
t
.
dailyReportTemplateId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-preview"
),
this
.
dialogVisible
=!
0
},
toCustomSet
:
function
(){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleDelete
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
deleteTemplate
(
e
,
t
)}).
catch
(
function
(){})},
deleteTemplate
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/del-define-template"
,{
templateId
:
t
.
dailyReportTemplateId
}).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
r
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/list-define-template"
,{
brandId
:
e
.
brandId
}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
void
(
a
.
result
&&
a
.
result
.
length
&&
(
e
.
tableData
=
a
.
result
));
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"212"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23 m-t-30"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
},[
e
.
_v
(
"模板列表("
+
e
.
_s
(
e
.
tableData
.
length
)
+
")"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"button"
},
on
:{
click
:
function
(
t
){
e
.
toCustomSet
(
""
)}}},[
e
.
_v
(
"新建模板"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
title
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"模板描述"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
description
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"门店类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"自营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"联营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代理门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代销门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"托管门店"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDelete
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"egY4"
)},
"data-v-a622ac3c"
,
null
);
t
.
default
=
u
.
exports
},
egY4
:
function
(
e
,
t
){}});
webpackJsonp
([
39
],{
DxdI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"fPyK"
),
l
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"3E4D"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
1
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"自定义报表"
}],
activeId
:
"1"
,
activeTab
:
"1"
,
activeBrand
:
"1"
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
handlePreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?templateId="
+
t
.
dailyReportTemplateId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-preview"
),
this
.
dialogVisible
=!
0
},
toCustomSet
:
function
(){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/template?brandId="
+
this
.
brandId
+
"&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
handleDelete
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
deleteTemplate
(
e
,
t
)}).
catch
(
function
(){})},
deleteTemplate
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/del-define-template"
,{
templateId
:
t
.
dailyReportTemplateId
}).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
r
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
l
.
e
)(
"/haoban-app-daily-web/daily/list-define-template"
,{
brandId
:
e
.
brandId
}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
void
(
a
.
result
&&
a
.
result
.
length
&&
(
e
.
tableData
=
a
.
result
));
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"212"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23 m-t-30"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
},[
e
.
_v
(
"模板列表("
+
e
.
_s
(
e
.
tableData
.
length
)
+
")"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"button"
},
on
:{
click
:
function
(
t
){
e
.
toCustomSet
(
""
)}}},[
e
.
_v
(
"新建模板"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
title
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"模板描述"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
description
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"门店类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"自营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"联营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代理门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代销门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"托管门店"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDelete
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"egY4"
)},
"data-v-a622ac3c"
,
null
);
t
.
default
=
u
.
exports
},
egY4
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/
39.45d0c177c91108351c01
.js
→
dist/static/js/
40.f4fd9d68a9e906649040
.js
View file @
b6bbf6f9
webpackJsonp
([
39
],{
ZxDn
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"Xxa5"
),
n
=
a
.
n
(
r
),
o
=
a
(
"exGp"
),
s
=
a
.
n
(
o
),
i
=
a
(
"Ke24"
),
c
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{
commonDetailTop
:
i
.
a
},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/quota?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
""
}],
yearList
:[],
year
:
""
,
tableList
:[],
tabelHeader
:[{
prop
:
"yearMonth"
,
label
:
"月份"
},{
prop
:
"totalPerformance"
,
label
:
"月指标累计"
},{
prop
:
"totalStore"
,
label
:
"门店总数"
},{
prop
:
"totalComplete"
,
label
:
"门店指标完善数"
}],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getYearList
()}},
methods
:{
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
apiMonthPerformanceList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
apiMonthPerformanceList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
apiMonthPerformanceList
()},
getYearList
:
function
(){
var
e
=
this
;
return
s
()(
n
.
a
.
mark
(
function
t
(){
var
a
,
r
,
o
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
e
,
t
.
next
=
3
,
n
=
{
brandId
:
a
.
brandId
},
Object
(
u
.
a
)(
"/haoban-app-performance-web/performance/get-years"
,
n
);
case
3
:
r
=
t
.
sent
,
1
==
(
o
=
r
.
data
).
errorCode
?(
a
.
yearList
=
[],
o
.
result
&&
o
.
result
.
length
&&
(
o
.
result
.
forEach
(
function
(
e
){
a
.
yearList
.
push
({
id
:
e
,
label
:
e
+
"年"
})}),
a
.
year
=
o
.
result
[
0
],
a
.
apiMonthPerformanceList
())):
c
.
a
.
errorMsg
(
o
);
case
6
:
case
"end"
:
return
t
.
stop
()}
var
n
},
t
,
e
)}))()},
apiMonthPerformanceList
:
function
(){
var
e
=
this
;
return
s
()(
n
.
a
.
mark
(
function
t
(){
var
a
,
r
,
o
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
e
,
t
.
next
=
3
,
n
=
{
brandId
:
e
.
brandId
,
year
:
e
.
year
},
Object
(
u
.
a
)(
"/haoban-app-performance-web/performance/query-month-performance"
,
n
);
case
3
:
r
=
t
.
sent
,
1
==
(
o
=
r
.
data
).
errorCode
&&
(
o
.
result
.
length
&&
o
.
result
.
forEach
(
function
(
e
){
e
.
totalPerformance
=
Object
(
l
.
d
)(
Number
(
e
.
totalPerformance
).
toFixed
(
2
))}),
a
.
tableList
=
o
.
result
||
[]);
case
6
:
case
"end"
:
return
t
.
stop
()}
var
n
},
t
,
e
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"11"
),
this
.
brandId
&&
this
.
getYearList
()}},
h
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-20"
},[
a
(
"el-select"
,{
staticClass
:
"m-b-23 w-123"
,
on
:{
change
:
e
.
changeYear
},
model
:{
value
:
e
.
year
,
callback
:
function
(
t
){
e
.
year
=
t
},
expression
:
"year"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-date"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
yearList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
value
:
e
.
id
,
label
:
e
.
label
}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableList
}},[
e
.
_l
(
e
.
tabelHeader
,
function
(
e
,
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
prop
:
e
.
prop
}})}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
1
==
t
.
row
.
settingStatus
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
$router
.
push
(
"/storeMonthTask?yearMonth="
+
t
.
row
.
yearMonth
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
+
" "
)}}},[
e
.
_v
(
"门店月指标"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
$router
.
push
(
"/companyDaySet?yearMonth="
+
t
.
row
.
yearMonth
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
)}}},[
e
.
_v
(
"商户日权重"
)])]}}])})],
2
),
e
.
_v
(
" "
),
0
!=
e
.
tableList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
p
,
h
,
!
1
,
function
(
e
){
a
(
"kT9X"
)},
"data-v-9dd05db2"
,
null
);
t
.
default
=
d
.
exports
},
kT9X
:
function
(
e
,
t
){}});
webpackJsonp
([
40
],{
ZxDn
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"Xxa5"
),
n
=
a
.
n
(
r
),
o
=
a
(
"exGp"
),
s
=
a
.
n
(
o
),
i
=
a
(
"Ke24"
),
c
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{
commonDetailTop
:
i
.
a
},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/quota?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
""
}],
yearList
:[],
year
:
""
,
tableList
:[],
tabelHeader
:[{
prop
:
"yearMonth"
,
label
:
"月份"
},{
prop
:
"totalPerformance"
,
label
:
"月指标累计"
},{
prop
:
"totalStore"
,
label
:
"门店总数"
},{
prop
:
"totalComplete"
,
label
:
"门店指标完善数"
}],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getYearList
()}},
methods
:{
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
apiMonthPerformanceList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
apiMonthPerformanceList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
apiMonthPerformanceList
()},
getYearList
:
function
(){
var
e
=
this
;
return
s
()(
n
.
a
.
mark
(
function
t
(){
var
a
,
r
,
o
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
e
,
t
.
next
=
3
,
n
=
{
brandId
:
a
.
brandId
},
Object
(
u
.
a
)(
"/haoban-app-performance-web/performance/get-years"
,
n
);
case
3
:
r
=
t
.
sent
,
1
==
(
o
=
r
.
data
).
errorCode
?(
a
.
yearList
=
[],
o
.
result
&&
o
.
result
.
length
&&
(
o
.
result
.
forEach
(
function
(
e
){
a
.
yearList
.
push
({
id
:
e
,
label
:
e
+
"年"
})}),
a
.
year
=
o
.
result
[
0
],
a
.
apiMonthPerformanceList
())):
c
.
a
.
errorMsg
(
o
);
case
6
:
case
"end"
:
return
t
.
stop
()}
var
n
},
t
,
e
)}))()},
apiMonthPerformanceList
:
function
(){
var
e
=
this
;
return
s
()(
n
.
a
.
mark
(
function
t
(){
var
a
,
r
,
o
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
a
=
e
,
t
.
next
=
3
,
n
=
{
brandId
:
e
.
brandId
,
year
:
e
.
year
},
Object
(
u
.
a
)(
"/haoban-app-performance-web/performance/query-month-performance"
,
n
);
case
3
:
r
=
t
.
sent
,
1
==
(
o
=
r
.
data
).
errorCode
&&
(
o
.
result
.
length
&&
o
.
result
.
forEach
(
function
(
e
){
e
.
totalPerformance
=
Object
(
l
.
d
)(
Number
(
e
.
totalPerformance
).
toFixed
(
2
))}),
a
.
tableList
=
o
.
result
||
[]);
case
6
:
case
"end"
:
return
t
.
stop
()}
var
n
},
t
,
e
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"11"
),
this
.
brandId
&&
this
.
getYearList
()}},
h
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-20"
},[
a
(
"el-select"
,{
staticClass
:
"m-b-23 w-123"
,
on
:{
change
:
e
.
changeYear
},
model
:{
value
:
e
.
year
,
callback
:
function
(
t
){
e
.
year
=
t
},
expression
:
"year"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-date"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
yearList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
value
:
e
.
id
,
label
:
e
.
label
}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableList
}},[
e
.
_l
(
e
.
tabelHeader
,
function
(
e
,
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
prop
:
e
.
prop
}})}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
1
==
t
.
row
.
settingStatus
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
$router
.
push
(
"/storeMonthTask?yearMonth="
+
t
.
row
.
yearMonth
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
+
" "
)}}},[
e
.
_v
(
"门店月指标"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
$router
.
push
(
"/companyDaySet?yearMonth="
+
t
.
row
.
yearMonth
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
)}}},[
e
.
_v
(
"商户日权重"
)])]}}])})],
2
),
e
.
_v
(
" "
),
0
!=
e
.
tableList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
p
,
h
,
!
1
,
function
(
e
){
a
(
"kT9X"
)},
"data-v-9dd05db2"
,
null
);
t
.
default
=
d
.
exports
},
kT9X
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
0.18605687ea6ee1539453
.js
→
dist/static/js/4
1.9fcb9feb2cab7a8a2cbe
.js
View file @
b6bbf6f9
webpackJsonp
([
40
],{
IKv2
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
o
=
r
.
n
(
a
),
n
=
r
(
"2eFk"
),
s
=
r
(
"Ke24"
),
c
=
r
(
"PI0u"
),
l
=
r
(
"Ch4/"
),
i
=
r
(
"3E4D"
),
u
=
r
(
"P9l9"
),
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"4"
,
name
:
"导购月指标详情"
,
path
:
""
}],
activeId
:
"4"
,
tableData
:[],
performanceSum
:
""
,
clerkObj
:{
storeId
:
""
,
storeName
:
""
,
yearMonth
:
""
,
settingAble
:
1
,
storePerformance
:
""
},
equalFlag
:
!
0
}},
computed
:{},
methods
:{
inputPerformance
:
function
(
e
,
t
,
r
){
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
r
.
clerkPerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
).
toFixed
(
2
);
var
a
=
0
;
this
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
this
.
performanceSum
=
Number
(
a
).
toFixed
(
2
),
this
.
diffData
()},
inputMonthPerformance
:
function
(
e
){
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
).
toFixed
(
2
),
this
.
diffData
()},
diffData
:
function
(){
var
e
=
Number
(
this
.
performanceSum
)
==
Number
(
this
.
clerkObj
.
storePerformance
);
return
this
.
equalFlag
=!!
e
,
e
},
saveSet
:
Object
(
c
.
a
)(
function
(){
if
(
!
this
.
diffData
())
return
!
1
;
if
(
""
==
this
.
clerkObj
.
storePerformance
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入门店月指标"
}),
!
1
;
var
e
=
{
clerkPerformanceList
:
this
.
tableData
,
storePerformance
:
this
.
clerkObj
.
storePerformance
};
this
.
postSave
(
e
)},
500
),
postSave
:
function
(
e
){
var
t
=
this
,
r
=
{
brandId
:
t
.
activeBrand
,
storeId
:
t
.
clerkObj
.
storeId
,
yearMonth
:
t
.
clerkObj
.
yearMonth
,
performance
:
o
()(
e
)};
Object
(
u
.
e
)(
"/haoban-app-performance-web/performance/save-clerk-month-performance"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
l
.
a
.
errorMsg
(
t
):
i
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
activeBrand
,
storeId
:
e
.
clerkObj
.
storeId
,
yearMonth
:
e
.
clerkObj
.
yearMonth
};
Object
(
u
.
e
)(
"/haoban-app-performance-web/performance/query-clerk-month-performance"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
==
r
.
errorCode
){
r
.
result
.
clerkPerformanceList
&&
r
.
result
.
clerkPerformanceList
.
length
&&
(
r
.
result
.
clerkPerformanceList
.
forEach
(
function
(
e
){
e
.
clerkPerformance
=
Number
(
e
.
clerkPerformance
).
toFixed
(
2
)}),
e
.
tableData
=
r
.
result
.
clerkPerformanceList
||
[]),
r
.
result
.
storePerformance
=
Number
(
r
.
result
.
storePerformance
).
toFixed
(
2
),
e
.
clerkObj
=
r
.
result
;
var
a
=
0
;
return
e
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
void
(
e
.
performanceSum
=
Number
(
a
).
toFixed
(
2
))}
l
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"11"
),
this
.
brandId
&&
(
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonDetailTop
:
s
.
a
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
r
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title flex flex-space-between m-b-15"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title_left"
},[
r
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
yearMonth
))]),
r
(
"span"
,{
staticClass
:
"p-l-18"
},[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
storeName
)
+
"门店导购月指标详情"
)])]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"saler-set-title_right"
},[
r
(
"span"
,[
e
.
_v
(
"门店月指标:"
)]),
r
(
"el-input"
,{
staticClass
:
"w-105 p-l-8"
,
attrs
:{
placeholder
:
"请输入指标值"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
},
on
:{
blur
:
function
(
t
){
return
e
.
inputMonthPerformance
(
t
)}},
model
:{
value
:
e
.
clerkObj
.
storePerformance
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkObj
,
"storePerformance"
,
t
)},
expression
:
"clerkObj.storePerformance"
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"saler-set-table"
},[
r
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
r
(
"el-table-column"
,{
attrs
:{
label
:
"导购"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"月指标"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
r
(
"el-input"
,{
staticClass
:
"w-105 p-l-8"
,
attrs
:{
placeholder
:
"请输入指标值"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
},
on
:{
blur
:
function
(
r
){
return
e
.
inputPerformance
(
r
,
t
.
$index
,
t
.
row
)}},
model
:{
value
:
t
.
row
.
clerkPerformance
,
callback
:
function
(
r
){
e
.
$set
(
t
.
row
,
"clerkPerformance"
,
r
)},
expression
:
"scope.row.clerkPerformance"
}})],
1
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"task-set-save text-center m-t-30"
},[
r
(
"span"
,{
staticClass
:
"saler-set-sum"
},[
e
.
_v
(
"导购总计:"
),
r
(
"span"
,{
class
:[
"font-20"
,
e
.
equalFlag
?
"color-1890ff"
:
"color-f5222d"
]},[
e
.
_v
(
e
.
_s
(
e
.
performanceSum
))])]),
e
.
_v
(
" "
),
1
==
e
.
clerkObj
.
settingAble
?
r
(
"el-button"
,{
attrs
:{
disabled
:
!
e
.
equalFlag
,
type
:
"primary"
},
on
:{
click
:
e
.
saveSet
}},[
e
.
_v
(
"确 认"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
equalFlag
?
e
.
_e
():
r
(
"span"
,{
staticClass
:
"font-14 color-f5222d p-l-24"
},[
e
.
_v
(
"请确保导购月指标总计 = 门店月指标"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
d
=
r
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
e
){
r
(
"kVwA"
)},
"data-v-8bdd44ec"
,
null
);
t
.
default
=
d
.
exports
},
kVwA
:
function
(
e
,
t
){}});
webpackJsonp
([
41
],{
IKv2
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
o
=
r
.
n
(
a
),
n
=
r
(
"2eFk"
),
s
=
r
(
"Ke24"
),
c
=
r
(
"PI0u"
),
l
=
r
(
"Ch4/"
),
i
=
r
(
"3E4D"
),
u
=
r
(
"P9l9"
),
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"4"
,
name
:
"导购月指标详情"
,
path
:
""
}],
activeId
:
"4"
,
tableData
:[],
performanceSum
:
""
,
clerkObj
:{
storeId
:
""
,
storeName
:
""
,
yearMonth
:
""
,
settingAble
:
1
,
storePerformance
:
""
},
equalFlag
:
!
0
}},
computed
:{},
methods
:{
inputPerformance
:
function
(
e
,
t
,
r
){
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
r
.
clerkPerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
r
.
clerkPerformance
=
Number
(
r
.
clerkPerformance
).
toFixed
(
2
);
var
a
=
0
;
this
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
this
.
performanceSum
=
Number
(
a
).
toFixed
(
2
),
this
.
diffData
()},
inputMonthPerformance
:
function
(
e
){
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
.
]
/g
,
""
))?
this
.
clerkObj
.
storePerformance
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
this
.
clerkObj
.
storePerformance
=
Number
(
this
.
clerkObj
.
storePerformance
).
toFixed
(
2
),
this
.
diffData
()},
diffData
:
function
(){
var
e
=
Number
(
this
.
performanceSum
)
==
Number
(
this
.
clerkObj
.
storePerformance
);
return
this
.
equalFlag
=!!
e
,
e
},
saveSet
:
Object
(
c
.
a
)(
function
(){
if
(
!
this
.
diffData
())
return
!
1
;
if
(
""
==
this
.
clerkObj
.
storePerformance
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入门店月指标"
}),
!
1
;
var
e
=
{
clerkPerformanceList
:
this
.
tableData
,
storePerformance
:
this
.
clerkObj
.
storePerformance
};
this
.
postSave
(
e
)},
500
),
postSave
:
function
(
e
){
var
t
=
this
,
r
=
{
brandId
:
t
.
activeBrand
,
storeId
:
t
.
clerkObj
.
storeId
,
yearMonth
:
t
.
clerkObj
.
yearMonth
,
performance
:
o
()(
e
)};
Object
(
u
.
e
)(
"/haoban-app-performance-web/performance/save-clerk-month-performance"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
l
.
a
.
errorMsg
(
t
):
i
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
activeBrand
,
storeId
:
e
.
clerkObj
.
storeId
,
yearMonth
:
e
.
clerkObj
.
yearMonth
};
Object
(
u
.
e
)(
"/haoban-app-performance-web/performance/query-clerk-month-performance"
,
t
).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
==
r
.
errorCode
){
r
.
result
.
clerkPerformanceList
&&
r
.
result
.
clerkPerformanceList
.
length
&&
(
r
.
result
.
clerkPerformanceList
.
forEach
(
function
(
e
){
e
.
clerkPerformance
=
Number
(
e
.
clerkPerformance
).
toFixed
(
2
)}),
e
.
tableData
=
r
.
result
.
clerkPerformanceList
||
[]),
r
.
result
.
storePerformance
=
Number
(
r
.
result
.
storePerformance
).
toFixed
(
2
),
e
.
clerkObj
=
r
.
result
;
var
a
=
0
;
return
e
.
tableData
.
forEach
(
function
(
e
){
a
+=
Number
(
e
.
clerkPerformance
)}),
void
(
e
.
performanceSum
=
Number
(
a
).
toFixed
(
2
))}
l
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"11"
),
this
.
brandId
&&
(
this
.
clerkObj
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
clerkObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonDetailTop
:
s
.
a
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
r
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title flex flex-space-between m-b-15"
},[
r
(
"div"
,{
staticClass
:
"saler-set-title_left"
},[
r
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
yearMonth
))]),
r
(
"span"
,{
staticClass
:
"p-l-18"
},[
e
.
_v
(
e
.
_s
(
e
.
clerkObj
.
storeName
)
+
"门店导购月指标详情"
)])]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"saler-set-title_right"
},[
r
(
"span"
,[
e
.
_v
(
"门店月指标:"
)]),
r
(
"el-input"
,{
staticClass
:
"w-105 p-l-8"
,
attrs
:{
placeholder
:
"请输入指标值"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
},
on
:{
blur
:
function
(
t
){
return
e
.
inputMonthPerformance
(
t
)}},
model
:{
value
:
e
.
clerkObj
.
storePerformance
,
callback
:
function
(
t
){
e
.
$set
(
e
.
clerkObj
,
"storePerformance"
,
t
)},
expression
:
"clerkObj.storePerformance"
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"saler-set-table"
},[
r
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
r
(
"el-table-column"
,{
attrs
:{
label
:
"导购"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"月指标"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,[
r
(
"el-input"
,{
staticClass
:
"w-105 p-l-8"
,
attrs
:{
placeholder
:
"请输入指标值"
,
disabled
:
0
==
e
.
clerkObj
.
settingAble
},
on
:{
blur
:
function
(
r
){
return
e
.
inputPerformance
(
r
,
t
.
$index
,
t
.
row
)}},
model
:{
value
:
t
.
row
.
clerkPerformance
,
callback
:
function
(
r
){
e
.
$set
(
t
.
row
,
"clerkPerformance"
,
r
)},
expression
:
"scope.row.clerkPerformance"
}})],
1
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"task-set-save text-center m-t-30"
},[
r
(
"span"
,{
staticClass
:
"saler-set-sum"
},[
e
.
_v
(
"导购总计:"
),
r
(
"span"
,{
class
:[
"font-20"
,
e
.
equalFlag
?
"color-1890ff"
:
"color-f5222d"
]},[
e
.
_v
(
e
.
_s
(
e
.
performanceSum
))])]),
e
.
_v
(
" "
),
1
==
e
.
clerkObj
.
settingAble
?
r
(
"el-button"
,{
attrs
:{
disabled
:
!
e
.
equalFlag
,
type
:
"primary"
},
on
:{
click
:
e
.
saveSet
}},[
e
.
_v
(
"确 认"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
equalFlag
?
e
.
_e
():
r
(
"span"
,{
staticClass
:
"font-14 color-f5222d p-l-24"
},[
e
.
_v
(
"请确保导购月指标总计 = 门店月指标"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
d
=
r
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
e
){
r
(
"kVwA"
)},
"data-v-8bdd44ec"
,
null
);
t
.
default
=
d
.
exports
},
kVwA
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
1.78d64ae1581e8ea232cc
.js
→
dist/static/js/4
2.47c4c30ceefa4af03de5
.js
View file @
b6bbf6f9
webpackJsonp
([
41
],{
Gk4o
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
o
=
a
(
"fvdr"
),
i
=
a
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"签到"
,
appIcon
:
""
,
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
o
.
a
,
commonDetailLeft
:
i
.
a
}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
c
,
r
,
!
1
,
function
(
t
){
a
(
"ONCu"
)},
"data-v-8aca666c"
,
null
);
e
.
default
=
s
.
exports
},
ONCu
:
function
(
t
,
e
){}});
webpackJsonp
([
42
],{
Gk4o
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
o
=
a
(
"fvdr"
),
i
=
a
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"签到"
,
appIcon
:
""
,
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
o
.
a
,
commonDetailLeft
:
i
.
a
}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
c
,
r
,
!
1
,
function
(
t
){
a
(
"ONCu"
)},
"data-v-8aca666c"
,
null
);
e
.
default
=
s
.
exports
},
ONCu
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
2.61ae052e4f4fc328400
0.js
→
dist/static/js/4
3.2689bc2d619a26183b9
0.js
View file @
b6bbf6f9
webpackJsonp
([
42
],{
HBOR
:
function
(
e
,
t
){},
iG3v
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
i
=
a
(
"2eFk"
),
s
=
a
(
"Ie7z"
),
l
=
a
(
"Ke24"
),
r
=
a
(
"LRn8"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"Ch4/"
),
h
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
o
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
[],
n
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
n
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
storeId
}).
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
t
.
activeBrand
,
delTaskStatus
:
e
.
delOptFlag
,
reason
:
e
.
reason
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-store-task-list"
,
o
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
exportExcel
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
a
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
b
)(
"/haoban-app-tel-task-web/task/export-store-task-list"
,
n
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
p
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
(
e
.
tableData
[
0
]?
e
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
o
=
document
.
createElement
(
"a"
);
o
.
download
=
n
,
o
.
style
.
display
=
"none"
,
o
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
o
),
o
.
click
(),
URL
.
revokeObjectURL
(
o
.
href
),
document
.
body
.
removeChild
(
o
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
toDetail
:
function
(
e
,
t
){
this
.
$router
.
push
(
"taskDetail?storeId="
+
t
.
storeId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
[],
n
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
n
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/store-task-list"
,
o
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
initDataRange
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getTime
()
-
7776
e6
,
a
=
e
.
getFullYear
(),
n
=
e
.
getMonth
()
+
1
,
o
=
e
.
getDate
()
<
10
?
"0"
+
e
.
getDate
():
e
.
getDate
(),
i
=
n
<
10
?
"0"
+
n
:
n
,
s
=
new
Date
(
t
),
l
=
s
.
getFullYear
(),
r
=
s
.
getMonth
()
+
1
,
c
=
s
.
getDate
()
<
10
?
"0"
+
s
.
getDate
():
s
.
getDate
();
return
[
l
+
"-"
+
(
r
<
10
?
"0"
+
r
:
r
)
+
"-"
+
c
,
a
+
"-"
+
i
+
"-"
+
o
]}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
conditionObj
.
dateRange
=
e
.
initDataRange
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
e
.
activeBrand
=
e
.
brandId
,
this
.
brandId
&&
e
.
$nextTick
(
function
(){
e
.
getTableList
()})},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
l
.
a
,
vueSelectStore
:
s
.
a
,
multipleDel
:
r
.
a
}},
g
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
n
){
return
[
a
(
"span"
,{
key
:
n
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
n
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeStoreType
},
model
:{
value
:
e
.
conditionObj
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"storeType"
,
t
)},
expression
:
"conditionObj.storeType"
}},
e
.
_l
(
e
.
storeTypeOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
taskCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedRate
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
noCompletedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
overdueCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toDetail
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
h
,
g
,
!
1
,
function
(
e
){
a
(
"HBOR"
)},
"data-v-81cbd40e"
,
null
);
t
.
default
=
b
.
exports
}});
webpackJsonp
([
43
],{
HBOR
:
function
(
e
,
t
){},
iG3v
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
i
=
a
(
"2eFk"
),
s
=
a
(
"Ie7z"
),
l
=
a
(
"Ke24"
),
r
=
a
(
"LRn8"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"Ch4/"
),
h
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
o
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
[],
n
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
n
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
storeId
}).
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
t
.
activeBrand
,
delTaskStatus
:
e
.
delOptFlag
,
reason
:
e
.
reason
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-store-task-list"
,
o
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
exportExcel
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
a
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
dateRange
?
e
.
conditionObj
.
dateRange
[
1
]:
""
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
b
)(
"/haoban-app-tel-task-web/task/export-store-task-list"
,
n
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
p
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
(
e
.
tableData
[
0
]?
e
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
o
=
document
.
createElement
(
"a"
);
o
.
download
=
n
,
o
.
style
.
display
=
"none"
,
o
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
o
),
o
.
click
(),
URL
.
revokeObjectURL
(
o
.
href
),
document
.
body
.
removeChild
(
o
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
toDetail
:
function
(
e
,
t
){
this
.
$router
.
push
(
"taskDetail?storeId="
+
t
.
storeId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
[],
n
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
n
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/store-task-list"
,
o
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
initDataRange
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getTime
()
-
7776
e6
,
a
=
e
.
getFullYear
(),
n
=
e
.
getMonth
()
+
1
,
o
=
e
.
getDate
()
<
10
?
"0"
+
e
.
getDate
():
e
.
getDate
(),
i
=
n
<
10
?
"0"
+
n
:
n
,
s
=
new
Date
(
t
),
l
=
s
.
getFullYear
(),
r
=
s
.
getMonth
()
+
1
,
c
=
s
.
getDate
()
<
10
?
"0"
+
s
.
getDate
():
s
.
getDate
();
return
[
l
+
"-"
+
(
r
<
10
?
"0"
+
r
:
r
)
+
"-"
+
c
,
a
+
"-"
+
i
+
"-"
+
o
]}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
conditionObj
.
dateRange
=
e
.
initDataRange
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
e
.
activeBrand
=
e
.
brandId
,
this
.
brandId
&&
e
.
$nextTick
(
function
(){
e
.
getTableList
()})},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
l
.
a
,
vueSelectStore
:
s
.
a
,
multipleDel
:
r
.
a
}},
g
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
n
){
return
[
a
(
"span"
,{
key
:
n
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
n
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeStoreType
},
model
:{
value
:
e
.
conditionObj
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"storeType"
,
t
)},
expression
:
"conditionObj.storeType"
}},
e
.
_l
(
e
.
storeTypeOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
taskCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
completedRate
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
noCompletedCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
overdueCount
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toDetail
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
h
,
g
,
!
1
,
function
(
e
){
a
(
"HBOR"
)},
"data-v-81cbd40e"
,
null
);
t
.
default
=
b
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
3.9d05f4d2f06b9c6bba0e
.js
→
dist/static/js/4
4.deb9f07fde1e218414cf
.js
View file @
b6bbf6f9
webpackJsonp
([
43
],{
Mh6D
:
function
(
t
,
e
){},
e88N
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"话务任务"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"话务任务记录"
,
icon
:
"icon-tonghuahuawuliang"
,
onlyIconActive
:
!
1
},{
tabId
:
"2"
,
tabName
:
"话务任务设置"
,
icon
:
"icon-huawujinengzupeizhi"
,
onlyIconActive
:
!
1
},{
tabId
:
"3"
,
tabName
:
"不良评价回访设置"
,
icon
:
"icon-ribaoshezhi"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"taskRecord?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"2"
:
this
.
changeRoute
(
"trafficTaskSet?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"3"
:
this
.
changeRoute
(
"badEvaluateSet?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"Mh6D"
)},
"data-v-7f9fb16b"
,
null
);
e
.
default
=
r
.
exports
}});
webpackJsonp
([
44
],{
Mh6D
:
function
(
t
,
e
){},
e88N
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"话务任务"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"话务任务记录"
,
icon
:
"icon-tonghuahuawuliang"
,
onlyIconActive
:
!
1
},{
tabId
:
"2"
,
tabName
:
"话务任务设置"
,
icon
:
"icon-huawujinengzupeizhi"
,
onlyIconActive
:
!
1
},{
tabId
:
"3"
,
tabName
:
"不良评价回访设置"
,
icon
:
"icon-ribaoshezhi"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"taskRecord?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"2"
:
this
.
changeRoute
(
"trafficTaskSet?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"3"
:
this
.
changeRoute
(
"badEvaluateSet?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"Mh6D"
)},
"data-v-7f9fb16b"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
4.96d0b6e88fc87f60bac7
.js
→
dist/static/js/4
5.feeb9dd78b7b12f700d2
.js
View file @
b6bbf6f9
webpackJsonp
([
44
],{
"5x7s"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
r
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"任务下发设置"
}],
activeId
:
"1"
,
setData
:{
status
:
!
1
,
time
:
"12:00"
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
i
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
status
:
t
.
setData
.
status
?
"1"
:
"0"
,
time
:
t
.
setData
.
time
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/create-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
c
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/get-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
setData
.
status
=
1
==
a
.
result
.
status
,
void
(
t
.
setData
.
time
=
a
.
result
.
time
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"22"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报开关设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"开启后,日报将定时发送"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
" "
,
"inactive-text"
:
" "
},
model
:{
value
:
t
.
setData
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"status"
,
e
)},
expression
:
"setData.status"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报每日下发时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-time-select"
,{
staticClass
:
"w-118"
,
attrs
:{
editable
:
!
1
,
clearable
:
!
1
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:45"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
setData
.
time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"time"
,
e
)},
expression
:
"setData.time"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
l
,
!
1
,
function
(
t
){
a
(
"W7qN"
)},
"data-v-7f9ef9d2"
,
null
);
e
.
default
=
u
.
exports
},
W7qN
:
function
(
t
,
e
){}});
webpackJsonp
([
45
],{
"5x7s"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"PI0u"
),
o
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
r
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"任务下发设置"
}],
activeId
:
"1"
,
setData
:{
status
:
!
1
,
time
:
"12:00"
}}},
computed
:{},
methods
:{
saveSet
:
Object
(
i
.
a
)(
function
(){
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
status
:
t
.
setData
.
status
?
"1"
:
"0"
,
time
:
t
.
setData
.
time
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/create-setting"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
c
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
};
Object
(
r
.
e
)(
"/haoban-app-daily-web/daily/get-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
setData
.
status
=
1
==
a
.
result
.
status
,
void
(
t
.
setData
.
time
=
a
.
result
.
time
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"22"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
s
.
a
,
commonDetailTop
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报开关设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"开启后,日报将定时发送"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
" "
,
"inactive-text"
:
" "
},
model
:{
value
:
t
.
setData
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"status"
,
e
)},
expression
:
"setData.status"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell"
},[
a
(
"div"
,{
staticClass
:
"font-16 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报每日下发时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-16"
},[
t
.
_v
(
"该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-time-select"
,{
staticClass
:
"w-118"
,
attrs
:{
editable
:
!
1
,
clearable
:
!
1
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:45"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
setData
.
time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"time"
,
e
)},
expression
:
"setData.time"
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
l
,
!
1
,
function
(
t
){
a
(
"W7qN"
)},
"data-v-7f9ef9d2"
,
null
);
e
.
default
=
u
.
exports
},
W7qN
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
5.0fe24e1d16072c526787
.js
→
dist/static/js/4
6.319059c73e318e00633c
.js
View file @
b6bbf6f9
webpackJsonp
([
45
],{
"7Wlc"
:
function
(
t
,
a
){},
cuIN
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"2eFk"
),
c
=
e
(
"fvdr"
),
i
=
e
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"我的顾客"
,
appIcon
:
""
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"会员基础设置"
,
icon
:
"icon-sousuoshezhi"
},{
tabId
:
"2"
,
tabName
:
"在线沟通设置"
,
icon
:
"icon-zaixiangoutong"
}],
activeBrand
:
"1"
,
activeGroup
:
""
}},
computed
:{},
methods
:{
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
}},
watch
:{
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
c
.
a
,
commonDetailLeft
:
i
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-box"
},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"app-detail"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
}})],
1
)])])],
1
),
t
.
_v
(
" "
),
e
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
e
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
e
(
"7Wlc"
)},
"data-v-7ddf1a12"
,
null
);
a
.
default
=
r
.
exports
}});
webpackJsonp
([
46
],{
"7Wlc"
:
function
(
t
,
a
){},
cuIN
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"2eFk"
),
c
=
e
(
"fvdr"
),
i
=
e
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"我的顾客"
,
appIcon
:
""
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"会员基础设置"
,
icon
:
"icon-sousuoshezhi"
},{
tabId
:
"2"
,
tabName
:
"在线沟通设置"
,
icon
:
"icon-zaixiangoutong"
}],
activeBrand
:
"1"
,
activeGroup
:
""
}},
computed
:{},
methods
:{
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
}},
watch
:{
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
c
.
a
,
commonDetailLeft
:
i
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-box"
},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"app-detail"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
}})],
1
)])])],
1
),
t
.
_v
(
" "
),
e
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
e
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
e
(
"7Wlc"
)},
"data-v-7ddf1a12"
,
null
);
a
.
default
=
r
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/47.3f75126daf162a21657d.js
deleted
100644 → 0
View file @
19a993e7
webpackJsonp
([
47
],{
VSiY
:
function
(
e
,
t
){},
"h/6A"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"mvHQ"
),
o
=
r
.
n
(
a
),
n
=
r
(
"Xxa5"
),
s
=
r
.
n
(
n
),
i
=
r
(
"//Fk"
),
l
=
r
.
n
(
i
),
u
=
r
(
"exGp"
),
m
=
r
.
n
(
u
),
d
=
r
(
"3Xzz"
),
c
=
r
(
"l46T"
),
f
=
r
(
"Kkt8"
),
p
=
r
(
"XDyb"
),
g
=
r
(
"T+u5"
),
h
=
r
.
n
(
g
),
I
=
r
(
"P9l9"
),
v
=
r
(
"Ie7z"
),
b
=
{
name
:
"store-info"
,
components
:{
navCrumb
:
d
.
a
,
vueSelectStore
:
v
.
a
,
limitInput
:
c
.
a
,
limitTextarea
:
f
.
a
,
countryMobile
:
p
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
gicFlag
:
!
(
!
this
.
$route
.
query
.
gicFlag
||
"false"
==
this
.
$route
.
query
.
gicFlag
),
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"添加门店"
,
path
:
""
}],
editpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"编辑门店"
,
path
:
""
}],
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
,
groupId
:
""
,
openNextBool
:
!
0
},
currentBrand
:
this
.
$route
.
query
.
firstLevelId
,
disableFlag
:
!
1
,
defaultList
:[],
storeInfo
:{
storeName
:
""
,
storeGroupId
:
""
,
departmentName
:
""
,
imageUrls
:[],
phoneNumber
:
""
,
openTime
:
""
,
closeTime
:
""
,
shopHours
:
""
,
storeType
:
0
,
countryId
:
""
,
provinceId
:
""
,
cityId
:
""
,
areaId
:
""
,
postAddress
:
""
,
longitude
:
""
,
latitude
:
""
,
location
:
""
,
storeArea
:
""
,
mangerName
:
""
,
storeManagerId
:
""
,
managerNationcode
:
"86"
,
managerPhone
:
""
,
managerCode
:
""
,
maangerSex
:
""
,
storeCode
:
""
,
storeId
:
""
},
areaChainName
:
""
,
areaOptions
:{},
imgs
:[],
uploadUrl
:
"/haoban-manage-web/upload-img"
,
rules
:{
storeName
:[{
required
:
!
0
,
message
:
"请输入门店名称"
,
trigger
:
"blur"
}],
departmentName
:[{
required
:
!
0
,
message
:
"请选择所属分组"
,
trigger
:
"blur"
}],
groupChainName
:[{
required
:
!
0
,
message
:
"请选择部门"
,
trigger
:
"change"
}],
imageUrls
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店图片"
,
trigger
:
"change"
}],
areaId
:[{
required
:
!
0
,
message
:
"请选择门店地址"
,
trigger
:
"blur"
}],
storeType
:[{
required
:
!
0
,
message
:
"请选择门店类型"
,
trigger
:
"blur"
}],
openTime
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
return
r
&&
e
.
storeInfo
.
closeTime
?
a
():
a
(
new
Error
(
"请选择营业时间"
))},
trigger
:
"blur"
}],
location
:[{
required
:
!
0
,
message
:
"请选择经纬度"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
return
t
?
r
():
r
(
new
Error
(
"请输入联系电话"
))},
trigger
:
"blur"
}],
storeCode
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
return
r
?
/^
[
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+$/
.
test
(
r
)?
a
():
void
(
e
.
storeInfo
.
storeCode
=
r
.
replace
(
/
[^
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+/g
,
""
)):
a
(
new
Error
(
"请输入门店代码"
))},
trigger
:
"blur"
}],
managerName
:[{
required
:
!
0
,
message
:
"请输入店长姓名"
,
trigger
:
"blur"
}],
managerPhone
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
if
(
!
r
)
return
a
(
new
Error
(
"请输入手机号码"
));
var
o
=
new
h
.
a
(
"+"
+
e
.
storeInfo
.
managerNationcode
+
r
);
o
.
isValid
()
&&
o
.
isMobile
()?
a
():
a
(
new
Error
(
"手机号格式不正确"
))},
trigger
:
"blur"
}],
managerCode
:[{
required
:
!
0
,
validator
:
function
(
t
,
r
,
a
){
return
r
?
/^
[
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+$/
.
test
(
r
)?
a
():
void
(
e
.
storeInfo
.
managerCode
=
r
.
replace
(
/
[^
A-Za-z0-9_
\u
4e00-
\u
9fa5
]
+/g
,
""
)):
a
(
new
Error
(
"请输入店长代码"
))},
trigger
:
"blur"
}],
specialService
:[{
max
:
20
,
message
:
"长度在 20 个字符以内"
,
trigger
:
"blur"
}],
personCost
:[{
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^
\d
+
(\.\d
+
)?
$/
.
test
(
1
*
t
)?
r
():
r
(
new
Error
(
"人均消费只能为非负整数或者小数"
));
return
r
()},
trigger
:
"blur"
}]}}},
methods
:{
inputBlur
:
function
(
e
){
this
.
storeInfo
.
storeArea
||
(
this
.
storeInfo
.
storeArea
=
""
),
this
.
storeInfo
.
storeArea
=
Number
(
this
.
storeInfo
.
storeArea
.
replace
(
/
[^\d
.
]
/g
,
""
))?
this
.
storeInfo
.
storeArea
.
replace
(
/
[^\d
+(.
\d
+)
]
/g
,
""
):
""
,
this
.
storeInfo
.
storeArea
=
Number
(
this
.
storeInfo
.
storeArea
).
toFixed
(
2
),
this
.
storeInfo
.
storeArea
>=
999999
&&
(
this
.
storeInfo
.
storeArea
=
Number
(
999999
).
toFixed
(
2
))},
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
console
.
log
(
e
),
this
.
storeInfo
.
groupChainName
=
e
.
length
?
e
[
0
].
chainName
:
""
,
this
.
storeInfo
.
departmentName
=
e
.
length
?
e
[
0
].
label
:
""
,
this
.
storeInfo
.
storeGroupId
=
e
.
length
?
e
[
0
].
id
:
""
,
this
.
storeInfo
.
departmentName
&&
this
.
$refs
.
storeInfo
.
clearValidate
(
"departmentName"
),
console
.
log
(
this
.
storeInfo
,
this
.
storeInfo
.
groupChainName
,
e
[
0
].
chainName
)},
selected
:
function
(
e
){
this
.
storeInfo
.
provinceId
=
e
.
province
,
this
.
storeInfo
.
cityId
=
e
.
city
||
""
,
this
.
storeInfo
.
areaId
=
e
.
areaId
||
""
},
getStoreInfo
:
function
(){
var
e
=
this
,
t
=
{
storeId
:
e
.
$route
.
query
.
storeId
};
Object
(
I
.
a
)(
"/haoban-manage-web/store/findStoreById"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
showEmployee
=
"store"
,
e
.
defaultList
=
[{
id
:
t
.
data
.
result
.
storeGroupId
,
label
:
t
.
data
.
result
.
departmentName
}],
e
.
formatStoreInfo
(
t
.
data
.
result
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})})},
clickToSave
:
function
(){
var
e
=
this
;
return
m
()(
s
.
a
.
mark
(
function
t
(){
var
r
,
a
,
o
,
n
;
return
s
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
r
=
e
,
a
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeInfo
.
validate
(
function
(
t
){
t
&&
e
()})}),
o
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeManager
.
validate
(
function
(
t
){
t
&&
e
()})}),
n
=
new
l
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeOperate
.
validate
(
function
(
t
){
t
&&
e
()})}),
l
.
a
.
all
([
a
,
o
,
n
]).
then
(
function
(){
r
.
save
()});
case
5
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()},
formatStoreInfo
:
function
(
e
){
var
t
=
this
;
return
m
()(
s
.
a
.
mark
(
function
r
(){
var
a
,
o
,
n
;
return
s
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
a
=
t
,
o
=
(
e
.
areaChainName
||
""
).
split
(
"/"
),
a
.
areaOptions
=
{
provinceName
:
o
[
0
],
provinceId
:
e
.
provinceId
,
cityName
:
o
[
1
],
cityId
:
e
.
cityId
,
countryName
:
o
[
2
],
countyId
:
e
.
countryId
},
a
.
imgs
=
e
.
imageUrl
?
e
.
imageUrl
.
split
(
","
):[],
n
=
[],
a
.
imgs
.
forEach
(
function
(
e
){
n
.
push
({
url
:
e
})}),
e
.
managerNationcode
=
e
.
managerNationcode
||
"86"
,
e
.
imageUrls
=
n
,
e
.
location
=
e
.
longitude
?
e
.
latitude
+
","
+
e
.
longitude
:
""
,
a
.
storeInfo
=
e
,
a
.
disableFlag
=!
a
.
isNew
&&!!
a
.
storeInfo
.
managerPhone
;
case
11
:
case
"end"
:
return
r
.
stop
()}},
r
,
t
)}))()},
uploadOnSuccess
:
function
(
e
,
t
){
e
.
file
.
url
=
e
.
res
.
result
[
0
].
qcloudImageUrl
,
t
.
push
(
e
.
file
)},
sortImg
:
function
(
e
){
this
.
storeInfo
.
imageUrls
=
e
},
deleteImage
:
function
(
e
){
this
.
storeInfo
.
imageUrls
.
splice
(
e
,
1
)},
save
:
function
(){
var
e
=
this
,
t
=
e
.
storeInfo
.
location
.
split
(
","
);
e
.
storeInfo
.
longitude
=
t
[
1
],
e
.
storeInfo
.
latitude
=
2
!==
t
.
length
?
""
:
t
[
0
];
var
r
=
JSON
.
parse
(
o
()(
e
.
storeInfo
)),
a
=
[];
e
.
storeInfo
.
imageUrls
.
forEach
(
function
(
e
){
a
.
push
(
e
.
url
)}),
r
.
imageUrls
=
a
.
join
(
","
);
var
n
=
e
.
isNew
?
"/haoban-manage-web/store/insert"
:
"/haoban-manage-web/store/update"
;
Object
(
I
.
e
)(
n
,
r
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
$message
.
success
({
message
:
t
.
data
.
message
}),
window
.
history
.
go
(
-
1
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})}},
computed
:{
isNew
:
function
(){
return
!
this
.
$route
.
query
.
storeId
}},
beforeMount
:
function
(){
this
.
treeSet
.
groupId
=
this
.
$route
.
query
.
firstLevelId
,
this
.
isNew
||
this
.
getStoreInfo
()},
mounted
:
function
(){
this
.
$route
.
query
.
storeId
&&
(
this
.
navpath
=
this
.
editpath
)}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
},[
r
(
"div"
,[
r
(
"div"
,{
staticClass
:
"store-info"
},[
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"门店信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeInfo"
,
staticClass
:
"store-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店名称"
,
prop
:
"storeName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
storeName
,
holder
:
""
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"所属分组"
,
prop
:
"departmentName"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
attrs
:{
disabled
:
e
.
gicFlag
},
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
storeInfo
.
groupChainName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"groupChainName"
,
t
)},
expression
:
"storeInfo.groupChainName"
}},[
r
(
"i"
,{
staticClass
:
"el-input__icon el-icon-arrow-down"
,
attrs
:{
slot
:
"suffix"
},
slot
:
"suffix"
})])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店图片"
,
prop
:
"imageUrls"
}},[
r
(
"div"
,{
staticClass
:
"member-upload-image"
},[
r
(
"vue-office-upload-image"
,{
attrs
:{
projectName
:
"haoban-manage-web"
,
wxFlag
:
"0"
,
actionUrl
:
e
.
uploadUrl
,
imageList
:
e
.
storeInfo
.
imageUrls
,
limitW
:
640
,
limitH
:
340
,
maxImageLength
:
10
},
on
:{
uploadOnSuccess
:
e
.
uploadOnSuccess
,
sortImg
:
e
.
sortImg
,
deleteImage
:
e
.
deleteImage
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"tip font-12 color-909399 m-t-8 line-h-1"
},[
e
.
_v
(
"门店图片(640*340),支持.jpg,.jepg,.png类型文件,最多添加10张图片"
)])]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"联系电话"
,
prop
:
"phoneNumber"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
model
:{
value
:
e
.
storeInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"phoneNumber"
,
t
)},
expression
:
"storeInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"营业时间"
,
prop
:
"openTime"
}},[
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"起始时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
}},
model
:{
value
:
e
.
storeInfo
.
openTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"openTime"
,
t
)},
expression
:
"storeInfo.openTime"
}}),
e
.
_v
(
"
\
n ~
\
n "
),
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"结束时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
,
minTime
:
e
.
storeInfo
.
openTime
}},
model
:{
value
:
e
.
storeInfo
.
closeTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"closeTime"
,
t
)},
expression
:
"storeInfo.closeTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店类型"
,
prop
:
"storeType"
}},[
r
(
"el-radio-group"
,{
model
:{
value
:
e
.
storeInfo
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeType"
,
t
)},
expression
:
"storeInfo.storeType"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
0
}},[
e
.
_v
(
"自营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"联营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"代理"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"代销"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
4
}},[
e
.
_v
(
"托管"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店地址"
,
prop
:
"areaId"
}},[
r
(
"vue-office-area"
,{
attrs
:{
areaOptions
:
e
.
areaOptions
,
projectName
:
"haoban-web"
,
postUrl
:
"/haoban-manage-web/dict-district-list"
},
on
:{
selected
:
e
.
selected
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"m-t-15"
},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
postAddress
,
holder
:
""
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"postAddress"
,
t
)}}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"GPS坐标"
,
prop
:
"location"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500 m-r-10"
,
model
:{
value
:
e
.
storeInfo
.
location
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"location"
,
t
)},
expression
:
"storeInfo.location"
}}),
e
.
_v
(
" "
),
r
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"http://m.gpsspg.com/maps.htm"
,
target
:
"_blank"
,
rel
:
"nofollow noopener noreferrer"
}},[
e
.
_v
(
"经纬度测试工具"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
prop
:
"storeCode"
}},[
r
(
"template"
,{
slot
:
"label"
},[
e
.
_v
(
"
\
n 门店代码
\
n "
)]),
e
.
_v
(
" "
),
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
storeCode
,
holder
:
""
,
maxLength
:
20
,
getByType
:
"char"
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeCode"
,
t
)}}})],
2
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店面积"
}},[
r
(
"el-input"
,{
staticClass
:
"w-500"
,
on
:{
blur
:
function
(
t
){
return
e
.
inputBlur
(
t
)}},
model
:{
value
:
e
.
storeInfo
.
storeArea
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeArea"
,
t
)},
expression
:
"storeInfo.storeArea"
}}),
r
(
"span"
,{
staticClass
:
"font-14 p-l-10"
},[
e
.
_v
(
"平方米"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"店长信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeManager"
,
staticClass
:
"store-manager-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长姓名"
,
prop
:
"managerName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
managerName
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号码"
,
prop
:
"managerPhone"
}},[
r
(
"countryMobile"
,{
attrs
:{
inputWidth
:
500
,
nationCode
:
e
.
storeInfo
.
managerNationcode
,
holder
:
"请输入手机号"
,
disflag
:
e
.
disableFlag
||
e
.
gicFlag
},
on
:{
"update:nationCode"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerNationcode"
,
t
)}},
model
:{
value
:
e
.
storeInfo
.
managerPhone
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerPhone"
,
t
)},
expression
:
"storeInfo.managerPhone"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长性别"
}},[
r
(
"el-radio-group"
,{
attrs
:{
disabled
:
e
.
gicFlag
},
model
:{
value
:
e
.
storeInfo
.
managerSex
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerSex"
,
t
)},
expression
:
"storeInfo.managerSex"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"男"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"女"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长代码"
,
prop
:
"managerCode"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
disflag
:
e
.
gicFlag
,
inputValue
:
e
.
storeInfo
.
managerCode
,
holder
:
""
,
maxLength
:
20
,
getByType
:
"char"
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerCode"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"经营信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeOperate"
,
staticClass
:
"operate-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"90px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"特色服务"
,
prop
:
"specialService"
}},[
r
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
specialService
,
holder
:
"请输入推荐商品"
,
getByType
:
"word"
,
maxLength
:
100
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"specialService"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"人均消费"
,
prop
:
"personCost"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
personCost
,
holder
:
"请输入人均消费"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"personCost"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"推荐商品"
}},[
r
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
recommendGoods
,
holder
:
"请输入推荐商品"
,
getByType
:
"word"
,
maxLength
:
100
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"recommendGoods"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"品牌介绍"
}},[
r
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
brandDes
,
holder
:
"请输入品牌介绍"
,
getByType
:
"word"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"brandDes"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"handle-area"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
clickToSave
}},[
e
.
_v
(
"保 存"
)])],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
currentBrand
,
defaultList
:
e
.
defaultList
,
treeSet
:
e
.
treeSet
,
selectType
:
"group"
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)])])],
1
)},
staticRenderFns
:[]};
var
C
=
r
(
"VU/8"
)(
b
,
_
,
!
1
,
function
(
e
){
r
(
"VSiY"
)},
null
,
null
);
t
.
default
=
C
.
exports
}});
\ No newline at end of file
dist/static/js/4
6.d3a9c6eba924ac8207b3
.js
→
dist/static/js/4
7.ad1d3e7f3e13e438bcbf
.js
View file @
b6bbf6f9
webpackJsonp
([
46
],{
"8U/6"
:
function
(
e
,
t
){},
kCy7
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"Ke24"
),
n
=
a
(
"Ie7z"
),
i
=
a
(
"P9l9"
),
s
=
a
(
"PI0u"
),
r
=
a
(
"Ch4/"
),
c
=
{
name
:
"noticeList"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
topMenuData
:[{
id
:
"1"
,
name
:
"签到记录"
}],
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
conditionObj
:{
keyword
:
""
,
storeGroup
:[],
signStatus
:
""
,
choiceDate
:[]},
signStatusOptions
:[{
value
:
""
,
label
:
"所有状态"
},{
value
:
"0"
,
label
:
"签到"
},{
value
:
"1"
,
label
:
"签退"
}],
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
2592
e6
,
o
=
e
.
choiceDateCopy
[
0
]
+
2592
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
+
"-"
+
o
},
formatTimeHMS
:
function
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
activeBrand
=
this
.
brandId
;
var
t
=
new
Date
,
a
=
t
.
getTime
()
-
2592
e6
,
o
=
t
.
getFullYear
(),
n
=
t
.
getMonth
()
+
1
,
i
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
s
=
n
<
10
?
"0"
+
n
:
n
,
r
=
new
Date
(
a
),
c
=
r
.
getFullYear
(),
l
=
r
.
getMonth
()
+
1
,
u
=
r
.
getDate
()
<
10
?
"0"
+
r
.
getDate
():
r
.
getDate
(),
d
=
l
<
10
?
"0"
+
l
:
l
;
e
.
conditionObj
.
choiceDate
=
[
c
+
"-"
+
d
+
"-"
+
u
,
o
+
"-"
+
s
+
"-"
+
i
],
e
.
brandId
&&
e
.
$nextTick
(
function
(
t
){
e
.
getTableList
()})},
methods
:{
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
e
.
loading
=!
0
;
var
t
=
[],
a
=
[],
o
=
[
"星期天"
,
"星期一"
,
"星期二"
,
"星期三"
,
"星期四"
,
"星期五"
,
"星期六"
];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)}),
e
.
conditionObj
.
choiceDate
||
(
e
.
conditionObj
.
choiceDate
=
[]);
var
n
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
haobanBrandId
:
e
.
activeBrand
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
i
.
a
)(
"/haoban-app-sign-web/sign/sign-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
week
=
o
[
new
Date
(
e
.
signDay
).
getDay
()]}),
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
totalCount
=
a
.
result
.
pageInfo
.
total
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
choiceDate
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchPeople
:
Object
(
s
.
a
)(
function
(
e
){
this
.
currentPage
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
exportData
:
function
(){
if
(
!
this
.
conditionObj
.
choiceDate
||!
this
.
conditionObj
.
choiceDate
[
0
]
||!
this
.
conditionObj
.
choiceDate
[
1
])
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择日期区间"
}),
!
1
;
this
.
postExportData
()},
postExportData
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
o
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
haobanBrandId
:
e
.
activeBrand
};
Object
(
i
.
b
)(
"/haoban-app-sign-web/sign/export-sign-list"
,
o
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
t
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
o
.
startDate
.
replace
(
/-/g
,
""
)
+
"-"
+
o
.
endDate
.
replace
(
/-/g
,
""
)
+
"签到报表.xlsx"
,
n
=
document
.
createElement
(
"a"
);
n
.
download
=
a
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
t
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
components
:{
vueSelectStore
:
n
.
a
,
commonDetailTop
:
o
.
a
}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"notice-list-wrap"
},[
a
(
"div"
,{
staticClass
:
"notice-list"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-list-table"
},[
a
(
"div"
,{
staticClass
:
"search-wrap"
},[
a
(
"el-input"
,{
staticClass
:
"search-input"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入姓名/员工代码"
,
"prefix-icon"
:
"el-icon-search"
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
searchPeople
(
a
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
keyword
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"keyword"
,
t
)},
expression
:
"conditionObj.keyword"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
o
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-112 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
signStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"signStatus"
,
t
)},
expression
:
"conditionObj.signStatus"
}},
e
.
_l
(
e
.
signStatusOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"search-date"
,
attrs
:{
format
:
"yyyy-MM-dd"
,
"value-format"
:
"yyyy-MM-dd"
,
editable
:
!
1
,
"picker-options"
:
e
.
pickerOptions
,
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
choiceDate
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"choiceDate"
,
t
)},
expression
:
"conditionObj.choiceDate"
}}),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportData
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"员工代码"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkCode
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
signType
?
"签退"
:
"签到"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
signDay
?
a
(
"div"
,{
staticClass
:
"time-wrap"
},[
a
(
"p"
,{
class
:[
"星期六"
==
t
.
row
.
week
||
"星期天"
==
t
.
row
.
week
?
"color-f56c6c"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
signDay
))
+
" "
+
e
.
_s
(
t
.
row
.
week
))]),
e
.
_v
(
" "
),
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
signTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"--"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
signLongitude
||
"-"
)
+
" "
),
t
.
row
.
signLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
signLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
storeLongitude
||
"-"
)
+
" "
),
t
.
row
.
storeLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
storeLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"距离"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
distance
||
"--"
)
+
"
\
n "
)]}}])})],
1
),
e
.
_v
(
" "
),
e
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"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
.
totalCount
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
l
,
!
1
,
function
(
e
){
a
(
"8U/6"
)},
"data-v-7aa59d90"
,
null
);
t
.
default
=
u
.
exports
}});
webpackJsonp
([
47
],{
"8U/6"
:
function
(
e
,
t
){},
kCy7
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"Ke24"
),
n
=
a
(
"Ie7z"
),
i
=
a
(
"P9l9"
),
s
=
a
(
"PI0u"
),
r
=
a
(
"Ch4/"
),
c
=
{
name
:
"noticeList"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
topMenuData
:[{
id
:
"1"
,
name
:
"签到记录"
}],
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
conditionObj
:{
keyword
:
""
,
storeGroup
:[],
signStatus
:
""
,
choiceDate
:[]},
signStatusOptions
:[{
value
:
""
,
label
:
"所有状态"
},{
value
:
"0"
,
label
:
"签到"
},{
value
:
"1"
,
label
:
"签退"
}],
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
2592
e6
,
o
=
e
.
choiceDateCopy
[
0
]
+
2592
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
+
"-"
+
o
},
formatTimeHMS
:
function
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
activeBrand
=
this
.
brandId
;
var
t
=
new
Date
,
a
=
t
.
getTime
()
-
2592
e6
,
o
=
t
.
getFullYear
(),
n
=
t
.
getMonth
()
+
1
,
i
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
s
=
n
<
10
?
"0"
+
n
:
n
,
r
=
new
Date
(
a
),
c
=
r
.
getFullYear
(),
l
=
r
.
getMonth
()
+
1
,
u
=
r
.
getDate
()
<
10
?
"0"
+
r
.
getDate
():
r
.
getDate
(),
d
=
l
<
10
?
"0"
+
l
:
l
;
e
.
conditionObj
.
choiceDate
=
[
c
+
"-"
+
d
+
"-"
+
u
,
o
+
"-"
+
s
+
"-"
+
i
],
e
.
brandId
&&
e
.
$nextTick
(
function
(
t
){
e
.
getTableList
()})},
methods
:{
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
e
.
loading
=!
0
;
var
t
=
[],
a
=
[],
o
=
[
"星期天"
,
"星期一"
,
"星期二"
,
"星期三"
,
"星期四"
,
"星期五"
,
"星期六"
];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)}),
e
.
conditionObj
.
choiceDate
||
(
e
.
conditionObj
.
choiceDate
=
[]);
var
n
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
haobanBrandId
:
e
.
activeBrand
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
i
.
a
)(
"/haoban-app-sign-web/sign/sign-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
week
=
o
[
new
Date
(
e
.
signDay
).
getDay
()]}),
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
totalCount
=
a
.
result
.
pageInfo
.
total
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
choiceDate
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchPeople
:
Object
(
s
.
a
)(
function
(
e
){
this
.
currentPage
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
exportData
:
function
(){
if
(
!
this
.
conditionObj
.
choiceDate
||!
this
.
conditionObj
.
choiceDate
[
0
]
||!
this
.
conditionObj
.
choiceDate
[
1
])
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择日期区间"
}),
!
1
;
this
.
postExportData
()},
postExportData
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
o
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
haobanBrandId
:
e
.
activeBrand
};
Object
(
i
.
b
)(
"/haoban-app-sign-web/sign/export-sign-list"
,
o
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
t
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
o
.
startDate
.
replace
(
/-/g
,
""
)
+
"-"
+
o
.
endDate
.
replace
(
/-/g
,
""
)
+
"签到报表.xlsx"
,
n
=
document
.
createElement
(
"a"
);
n
.
download
=
a
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
t
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
components
:{
vueSelectStore
:
n
.
a
,
commonDetailTop
:
o
.
a
}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"notice-list-wrap"
},[
a
(
"div"
,{
staticClass
:
"notice-list"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-list-table"
},[
a
(
"div"
,{
staticClass
:
"search-wrap"
},[
a
(
"el-input"
,{
staticClass
:
"search-input"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入姓名/员工代码"
,
"prefix-icon"
:
"el-icon-search"
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
searchPeople
(
a
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
keyword
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"keyword"
,
t
)},
expression
:
"conditionObj.keyword"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
o
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-112 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
signStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"signStatus"
,
t
)},
expression
:
"conditionObj.signStatus"
}},
e
.
_l
(
e
.
signStatusOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"search-date"
,
attrs
:{
format
:
"yyyy-MM-dd"
,
"value-format"
:
"yyyy-MM-dd"
,
editable
:
!
1
,
"picker-options"
:
e
.
pickerOptions
,
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
choiceDate
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"choiceDate"
,
t
)},
expression
:
"conditionObj.choiceDate"
}}),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportData
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"员工代码"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkCode
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
signType
?
"签退"
:
"签到"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
signDay
?
a
(
"div"
,{
staticClass
:
"time-wrap"
},[
a
(
"p"
,{
class
:[
"星期六"
==
t
.
row
.
week
||
"星期天"
==
t
.
row
.
week
?
"color-f56c6c"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
signDay
))
+
" "
+
e
.
_s
(
t
.
row
.
week
))]),
e
.
_v
(
" "
),
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
signTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"--"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
signLongitude
||
"-"
)
+
" "
),
t
.
row
.
signLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
signLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
storeLongitude
||
"-"
)
+
" "
),
t
.
row
.
storeLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
storeLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"距离"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
distance
||
"--"
)
+
"
\
n "
)]}}])})],
1
),
e
.
_v
(
" "
),
e
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"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
.
totalCount
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
l
,
!
1
,
function
(
e
){
a
(
"8U/6"
)},
"data-v-7aa59d90"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/app.
0b557caaa4f436f15843
.js
→
dist/static/js/app.
be19d11eb450cbcd6aba
.js
View file @
b6bbf6f9
webpackJsonp
([
80
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
o
=
n
.
n
(
a
),
p
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
r
=
n
.
n
(
p
),
i
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
i
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
n
(
"lRwf"
),
m
=
n
.
n
(
c
),
d
=
n
(
"pRNm"
),
u
=
n
.
n
(
d
),
l
=
n
(
"5tgt"
),
v
=
n
.
n
(
l
);
m
.
a
.
use
(
u
.
a
);
var
h
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
A
,
f
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
v
()(
"login"
,
"index"
)},{
path
:
"/download"
,
name
:
"下载"
,
component
:
v
()(
"download"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/sign"
,
name
:
"index"
,
component
:
v
()(
"sign"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
v
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
v
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
v
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
v
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
v
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
v
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
v
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
v
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
v
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
v
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
v
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
v
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
v
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
v
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
v
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
v
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
v
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
v
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
v
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
v
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客"
,
component
:
v
()(
"enterpriseApp"
,
"mycustomer"
)},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
v
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
v
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"enterpriseApp/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"enterpriseApp/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"enterpriseApp/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/signList"
,
name
:
"企业公告"
,
redirect
:
"/signList"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"index"
),
children
:[{
path
:
"/signList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"signList"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
v
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
v
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
v
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
v
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
v
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
v
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
v
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
v
()(
"setting"
,
"storePermission"
)},{
path
:
"/contactPermission"
,
name
:
"通讯录控制"
,
component
:
v
()(
"setting"
,
"contactPermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
v
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
v
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
v
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
v
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
v
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
y
=
new
u
.
a
({
routes
:
f
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
g
=
n
(
"zL8q"
),
k
=
n
.
n
(
g
),
D
=
n
(
"Rf8U"
),
x
=
n
.
n
(
D
),
R
=
n
(
"mtWM"
),
w
=
n
.
n
(
R
),
C
=
n
(
"bOdI"
),
b
=
n
.
n
(
C
),
I
=
n
(
"SJI6"
),
T
=
n
.
n
(
I
);
m
.
a
.
use
(
T
.
a
);
var
E
=
new
T
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
A
=
{},
b
()(
A
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
A
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
A
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
A
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
A
)}),
S
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
q
=
n
.
n
(
S
),
V
=
n
(
"tyqE"
),
L
=
n
.
n
(
V
),
P
=
n
(
"pRVe"
),
j
=
n
.
n
(
P
),
F
=
n
(
"SE7k"
),
G
=
n
.
n
(
F
),
N
=
n
(
"XsK6"
),
O
=
n
.
n
(
N
),
z
=
n
(
"QRL9"
),
K
=
n
.
n
(
z
),
H
=
n
(
"2Pnh"
),
J
=
n
.
n
(
H
),
M
=
n
(
"l9mu"
),
U
=
n
.
n
(
M
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
J
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
p
=
a
,
r
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
p
<
o
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
p
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
r
,
595.28
,
i
),
r
-=
841.89
,(
p
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}};
r
.
a
.
polyfill
(),
Vue
.
use
(
X
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
K
.
a
),
Vue
.
use
(
G
.
a
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
k
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
w
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
y
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
p
=
window
.
location
.
origin
;
a
=-
1
!=
p
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
p
,
localStorage
.
getItem
(
"userInfo"
)
||
w
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
o
()(
t
.
result
))}).
catch
(
function
(
e
){
g
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
y
,
store
:
E
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
22
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
17
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
51
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
59
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
48
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
74
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
8
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
12
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
78
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
14
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
20
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
26
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
16
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
67
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
49
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
47
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
56
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
15
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
9
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
30
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
32
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
63
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
70
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
37
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
38
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
31
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
29
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
77
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
58
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
44
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
73
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
75
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
35
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
62
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
65
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
52
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
45
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
3
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
50
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
11
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
72
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
69
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
39
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
60
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
61
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
40
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
64
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
41
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
46
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
43
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
76
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
42
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
36
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
27
],
"./errorPage/500.vue"
:[
"FskK"
,
23
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
28
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
57
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
19
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
18
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
55
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
71
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
66
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
13
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
54
],
"./setting/index.vue"
:[
"VlR1"
,
34
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
33
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
53
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
24
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
21
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
68
]};
function
o
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
0
]);
webpackJsonp
([
80
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
o
=
n
.
n
(
a
),
p
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
r
=
n
.
n
(
p
),
i
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
i
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
n
(
"lRwf"
),
m
=
n
.
n
(
c
),
d
=
n
(
"pRNm"
),
u
=
n
.
n
(
d
),
l
=
n
(
"5tgt"
),
v
=
n
.
n
(
l
);
m
.
a
.
use
(
u
.
a
);
var
h
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
A
,
f
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
v
()(
"login"
,
"index"
)},{
path
:
"/download"
,
name
:
"下载"
,
component
:
v
()(
"download"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/sign"
,
name
:
"index"
,
component
:
v
()(
"sign"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
v
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
v
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
v
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
v
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
v
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
v
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
v
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
v
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
v
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
v
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
v
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
v
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
v
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
v
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
v
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
v
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
v
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
v
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
v
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
v
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客"
,
component
:
v
()(
"enterpriseApp"
,
"mycustomer"
)},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
v
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
v
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"enterpriseApp/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"enterpriseApp/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"enterpriseApp/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/signList"
,
name
:
"企业公告"
,
redirect
:
"/signList"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"index"
),
children
:[{
path
:
"/signList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"signList"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
v
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
v
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
v
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
v
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
v
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
v
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
v
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
v
()(
"setting"
,
"storePermission"
)},{
path
:
"/contactPermission"
,
name
:
"通讯录控制"
,
component
:
v
()(
"setting"
,
"contactPermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
v
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
v
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
v
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
v
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
v
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
y
=
new
u
.
a
({
routes
:
f
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
g
=
n
(
"zL8q"
),
k
=
n
.
n
(
g
),
D
=
n
(
"Rf8U"
),
x
=
n
.
n
(
D
),
R
=
n
(
"mtWM"
),
w
=
n
.
n
(
R
),
C
=
n
(
"bOdI"
),
b
=
n
.
n
(
C
),
I
=
n
(
"SJI6"
),
T
=
n
.
n
(
I
);
m
.
a
.
use
(
T
.
a
);
var
E
=
new
T
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
A
=
{},
b
()(
A
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
A
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
A
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
A
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
A
)}),
S
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
q
=
n
.
n
(
S
),
V
=
n
(
"tyqE"
),
L
=
n
.
n
(
V
),
P
=
n
(
"pRVe"
),
j
=
n
.
n
(
P
),
F
=
n
(
"SE7k"
),
G
=
n
.
n
(
F
),
N
=
n
(
"XsK6"
),
O
=
n
.
n
(
N
),
z
=
n
(
"QRL9"
),
K
=
n
.
n
(
z
),
H
=
n
(
"2Pnh"
),
J
=
n
.
n
(
H
),
M
=
n
(
"l9mu"
),
U
=
n
.
n
(
M
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
J
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
p
=
a
,
r
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
p
<
o
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
p
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
r
,
595.28
,
i
),
r
-=
841.89
,(
p
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}};
r
.
a
.
polyfill
(),
Vue
.
use
(
X
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
K
.
a
),
Vue
.
use
(
G
.
a
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
k
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
w
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
y
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
p
=
window
.
location
.
origin
;
a
=-
1
!=
p
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
p
,
localStorage
.
getItem
(
"userInfo"
)
||
w
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
o
()(
t
.
result
))}).
catch
(
function
(
e
){
g
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
y
,
store
:
E
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
22
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
17
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
51
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
59
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
48
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
74
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
8
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
12
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
78
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
14
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
20
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
26
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
16
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
67
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
49
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
38
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
56
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
15
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
9
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
30
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
32
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
63
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
70
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
37
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
39
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
31
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
29
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
77
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
58
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
45
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
73
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
75
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
35
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
62
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
65
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
52
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
46
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
3
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
50
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
11
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
72
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
69
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
40
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
60
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
61
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
41
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
64
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
42
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
47
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
44
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
76
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
43
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
36
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
27
],
"./errorPage/500.vue"
:[
"FskK"
,
23
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
28
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
57
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
19
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
18
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
55
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
71
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
66
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
13
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
54
],
"./setting/index.vue"
:[
"VlR1"
,
34
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
33
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
53
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
24
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
21
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
68
]};
function
o
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
\ No newline at end of file
dist/static/js/manifest.
662cf3332b26abb96971
.js
→
dist/static/js/manifest.
44c57f2105465985306a
.js
View file @
b6bbf6f9
!
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
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
82
:
0
};
function
d
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
d
){
a
=
f
[
e
]
=
[
c
,
d
]});
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
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"33a84276c6ecdd7d3278"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"8a2f7c1e8ea85d4eee2e"
,
3
:
"a43577b9e52a5719a124"
,
4
:
"82103d2b04b685deeb5c"
,
5
:
"d9203f5f3cde9a86b69d"
,
6
:
"cac66cefec658c30f74a"
,
7
:
"8f462a353a2ce9c0c116"
,
8
:
"e5372980f04518fa84ec"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"a2aa031ae677b8acbf17"
,
11
:
"e34a64dea1b7a059dcfd"
,
12
:
"bdcf26a1bcccf7e0239b"
,
13
:
"6c87f5cefdf77374932d"
,
14
:
"2db4e13b049c8acc9488"
,
15
:
"b9ac3428fbf05e58374e"
,
16
:
"c4ebe5ae46670e5c0754"
,
17
:
"d72d88bab51f8f18f5db"
,
18
:
"ca2eb072a4ce38f9e487"
,
19
:
"7971a9a5d92fefa82083"
,
20
:
"75e0997b94e5d6294ec8"
,
21
:
"1f2f9b53312cba8a436c"
,
22
:
"33d9c4e585c1fe7257cb"
,
23
:
"9efbbc6dd315a676ce09"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"b549610764e2236c48ce"
,
27
:
"acda88d3c2aa77c9f51c"
,
28
:
"0635cfc88ef2b2920961"
,
29
:
"44a582fb4b10fa9ec2e4"
,
30
:
"c6439b279653a45ce256"
,
31
:
"8baa6bca929d1c9a38f6"
,
32
:
"ec0bbd85e6d55909453d"
,
33
:
"1a9ac0c12df7a396447f"
,
34
:
"f9d53c31059aaff9b360"
,
35
:
"c75699cc6fe47597f200"
,
36
:
"739a8647e970d20d77b7"
,
37
:
"8016d3ac07df8acaf73d"
,
38
:
"401ecfbced781ca109ff"
,
39
:
"45d0c177c91108351c01"
,
40
:
"18605687ea6ee1539453"
,
41
:
"78d64ae1581e8ea232cc"
,
42
:
"61ae052e4f4fc3284000"
,
43
:
"9d05f4d2f06b9c6bba0e"
,
44
:
"96d0b6e88fc87f60bac7"
,
45
:
"0fe24e1d16072c526787"
,
46
:
"d3a9c6eba924ac8207b3"
,
47
:
"3f75126daf162a21657d"
,
48
:
"ef7f29a451f2754469b0"
,
49
:
"f6871122a1fa7e18f158"
,
50
:
"07c4baa205f7e23b698d"
,
51
:
"7fc0ff7b08a3b083ca59"
,
52
:
"df5a79b4bcadd0cdc55d"
,
53
:
"da30134b8aa4c56f0f7e"
,
54
:
"e33162e0cb4a06558216"
,
55
:
"2586e98e5ad576900fd5"
,
56
:
"5eea40c26d0d1b243d13"
,
57
:
"594fe3f9a553b253aa93"
,
58
:
"4eca8a1ed0c691766a4e"
,
59
:
"8c76e4fdc3e8670fb2a4"
,
60
:
"c07ded9edbf754244fff"
,
61
:
"74fdf5c07fea15af8610"
,
62
:
"3edbfb7b8910942f64cf"
,
63
:
"bb4a3303a21ec46167a0"
,
64
:
"aabae4961cf30cf05770"
,
65
:
"f8d77d8c96f3e79fe702"
,
66
:
"3ba7e89277d851279c4d"
,
67
:
"54211f408298416c6536"
,
68
:
"510e6b0aa6ffadff566b"
,
69
:
"518fa345263ef1bb9abc"
,
70
:
"5d2e33dad1088489e653"
,
71
:
"e51a1b885d499897baff"
,
72
:
"bfd2694c02bae17c273e"
,
73
:
"7751e4d66fee99c15a39"
,
74
:
"646f1b9348d1bb8cfbf7"
,
75
:
"6b82dfb7f160db815f54"
,
76
:
"6c9ea7acb0f245a3225b"
,
77
:
"33a3a159e61bf292071f"
,
78
:
"fc56a26c0dc7625bba4a"
,
81
:
"b70a353b3c794793e525"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
a
,
c
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
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
}}([]);
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
82
:
0
};
function
b
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
b
){
a
=
f
[
e
]
=
[
c
,
b
]});
a
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"33a84276c6ecdd7d3278"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"8a2f7c1e8ea85d4eee2e"
,
3
:
"a43577b9e52a5719a124"
,
4
:
"82103d2b04b685deeb5c"
,
5
:
"d9203f5f3cde9a86b69d"
,
6
:
"cac66cefec658c30f74a"
,
7
:
"8f462a353a2ce9c0c116"
,
8
:
"e5372980f04518fa84ec"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"a2aa031ae677b8acbf17"
,
11
:
"e34a64dea1b7a059dcfd"
,
12
:
"bdcf26a1bcccf7e0239b"
,
13
:
"6c87f5cefdf77374932d"
,
14
:
"2db4e13b049c8acc9488"
,
15
:
"b9ac3428fbf05e58374e"
,
16
:
"c4ebe5ae46670e5c0754"
,
17
:
"d72d88bab51f8f18f5db"
,
18
:
"ca2eb072a4ce38f9e487"
,
19
:
"7971a9a5d92fefa82083"
,
20
:
"75e0997b94e5d6294ec8"
,
21
:
"1f2f9b53312cba8a436c"
,
22
:
"33d9c4e585c1fe7257cb"
,
23
:
"9efbbc6dd315a676ce09"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"b549610764e2236c48ce"
,
27
:
"acda88d3c2aa77c9f51c"
,
28
:
"0635cfc88ef2b2920961"
,
29
:
"44a582fb4b10fa9ec2e4"
,
30
:
"c6439b279653a45ce256"
,
31
:
"8baa6bca929d1c9a38f6"
,
32
:
"ec0bbd85e6d55909453d"
,
33
:
"1a9ac0c12df7a396447f"
,
34
:
"f9d53c31059aaff9b360"
,
35
:
"c75699cc6fe47597f200"
,
36
:
"739a8647e970d20d77b7"
,
37
:
"8016d3ac07df8acaf73d"
,
38
:
"1ba59b8abe599b1d9c64"
,
39
:
"8d8a3b88d85b3220e296"
,
40
:
"f4fd9d68a9e906649040"
,
41
:
"9fcb9feb2cab7a8a2cbe"
,
42
:
"47c4c30ceefa4af03de5"
,
43
:
"2689bc2d619a26183b90"
,
44
:
"deb9f07fde1e218414cf"
,
45
:
"feeb9dd78b7b12f700d2"
,
46
:
"319059c73e318e00633c"
,
47
:
"ad1d3e7f3e13e438bcbf"
,
48
:
"ef7f29a451f2754469b0"
,
49
:
"f6871122a1fa7e18f158"
,
50
:
"07c4baa205f7e23b698d"
,
51
:
"7fc0ff7b08a3b083ca59"
,
52
:
"df5a79b4bcadd0cdc55d"
,
53
:
"da30134b8aa4c56f0f7e"
,
54
:
"e33162e0cb4a06558216"
,
55
:
"2586e98e5ad576900fd5"
,
56
:
"5eea40c26d0d1b243d13"
,
57
:
"594fe3f9a553b253aa93"
,
58
:
"4eca8a1ed0c691766a4e"
,
59
:
"8c76e4fdc3e8670fb2a4"
,
60
:
"c07ded9edbf754244fff"
,
61
:
"74fdf5c07fea15af8610"
,
62
:
"3edbfb7b8910942f64cf"
,
63
:
"bb4a3303a21ec46167a0"
,
64
:
"aabae4961cf30cf05770"
,
65
:
"f8d77d8c96f3e79fe702"
,
66
:
"3ba7e89277d851279c4d"
,
67
:
"54211f408298416c6536"
,
68
:
"510e6b0aa6ffadff566b"
,
69
:
"518fa345263ef1bb9abc"
,
70
:
"5d2e33dad1088489e653"
,
71
:
"e51a1b885d499897baff"
,
72
:
"bfd2694c02bae17c273e"
,
73
:
"7751e4d66fee99c15a39"
,
74
:
"646f1b9348d1bb8cfbf7"
,
75
:
"6b82dfb7f160db815f54"
,
76
:
"6c9ea7acb0f245a3225b"
,
77
:
"33a3a159e61bf292071f"
,
78
:
"fc56a26c0dc7625bba4a"
,
81
:
"b70a353b3c794793e525"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
b
.
m
=
e
,
b
.
c
=
c
,
b
.
d
=
function
(
e
,
a
,
c
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
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
\ No newline at end of file
src/views/contacts/storeInfo.vue
View file @
b6bbf6f9
...
@@ -273,6 +273,7 @@ export default {
...
@@ -273,6 +273,7 @@ export default {
storeName
:
''
,
// 店铺名称
storeName
:
''
,
// 店铺名称
storeGroupId
:
''
,
// 所属分组
storeGroupId
:
''
,
// 所属分组
departmentName
:
''
,
departmentName
:
''
,
groupChainName
:
''
,
/* enterpriseId: '', // 企业id, 后端 session 中取,保存不传
/* enterpriseId: '', // 企业id, 后端 session 中取,保存不传
brandId: '', // 品牌id, 暂时不用穿 */
brandId: '', // 品牌id, 暂时不用穿 */
imageUrls
:
[],
// 门店图片
imageUrls
:
[],
// 门店图片
...
@@ -347,6 +348,7 @@ export default {
...
@@ -347,6 +348,7 @@ export default {
this
.
$refs
.
storeInfo
.
clearValidate
(
'departmentName'
);
this
.
$refs
.
storeInfo
.
clearValidate
(
'departmentName'
);
}
}
console
.
log
(
this
.
storeInfo
,
this
.
storeInfo
.
groupChainName
,
list
[
0
].
chainName
)
console
.
log
(
this
.
storeInfo
,
this
.
storeInfo
.
groupChainName
,
list
[
0
].
chainName
)
this
.
$forceUpdate
();
},
},
/**
/**
* 省市区选择
* 省市区选择
...
...
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