Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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
haoban-3
Commits
b002a6c1
Commit
b002a6c1
authored
Jul 08, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改接口
parent
936fd1bb
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
22 additions
and
22 deletions
+22
-22
index.html
dist/index.html
+2
-2
app.7f0dc0417d72573943584a2e118a74be.css
dist/static/css/app.7f0dc0417d72573943584a2e118a74be.css
+0
-0
28.886b319c902f8f5ae151.js
dist/static/js/28.886b319c902f8f5ae151.js
+2
-2
28.fca5c649f0c8f2781702.js
dist/static/js/28.fca5c649f0c8f2781702.js
+0
-2
29.a89790eb337f7a7893d2.js
dist/static/js/29.a89790eb337f7a7893d2.js
+2
-2
30.58c967a8d2f6325152fb.js
dist/static/js/30.58c967a8d2f6325152fb.js
+2
-2
31.1516baa1f7fa60bd4295.js
dist/static/js/31.1516baa1f7fa60bd4295.js
+2
-2
32.579d635900e935a932f6.js
dist/static/js/32.579d635900e935a932f6.js
+2
-2
33.538f5ffc9153c1ef4668.js
dist/static/js/33.538f5ffc9153c1ef4668.js
+2
-0
app.a74d25624e155efe33f0.js
dist/static/js/app.a74d25624e155efe33f0.js
+2
-2
manifest.71e68359350a8f99fd2b.js
dist/static/js/manifest.71e68359350a8f99fd2b.js
+2
-2
areaLoginDetail.vue
src/views/enterpriseData/areaLoginDetail.vue
+4
-4
No files found.
dist/index.html
View file @
b002a6c1
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.8db9ee2b963056adec9cc728e6b7f481.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><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
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.8ff176f3b6870fbb4e2d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.a8492ff9b5740480be69.js
></script><script
type=
text/javascript
src=
./static/js/app.e468c5fbd396cde978e2.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.7f0dc0417d72573943584a2e118a74be.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><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
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.71e68359350a8f99fd2b.js
></script><script
type=
text/javascript
src=
./static/js/vendor.a8492ff9b5740480be69.js
></script><script
type=
text/javascript
src=
./static/js/app.a74d25624e155efe33f0.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
8db9ee2b963056adec9cc728e6b7f481
.css
→
dist/static/css/app.
7f0dc0417d72573943584a2e118a74be
.css
View file @
b002a6c1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/2
9.1b665b6c377fa61779aa
.js
→
dist/static/js/2
8.886b319c902f8f5ae151
.js
View file @
b002a6c1
webpackJsonp
([
29
],{
KhPw
:
function
(
e
,
t
){},
dMDR
:
function
(
e
,
t
){},
vIlm
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"l46T"
),
r
=
a
(
"PI0u"
),
n
=
a
(
"P9l9"
),
l
=
a
(
"Ch4/"
),
s
=
{
props
:{
brandId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
o
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
wxEnterpriseRelatedId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
loading
:
!
1
,
dialogVisible
:
!
0
,
tableData
:[],
searchInput
:
""
,
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
methods
:{
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
toInput
:
Object
(
r
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toCancel
:
function
(){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
multipleTable
.
clearSelection
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
multipleTable
.
clearSelection
()},
submitForm
:
Object
(
r
.
a
)(
function
(
e
){
this
.
$emit
(
"submitGroup"
,
this
.
multipleSelection
)},
300
),
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
{
memberGroupName
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
,
enterpriseId
:
t
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/member-tag-group-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
getTableList
()}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"选择分组"
,
visible
:
e
.
dialogVisible
,
width
:
"833px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"div"
,{
staticClass
:
"search-top m-b-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-280"
,
attrs
:{
placeholder
:
"请输入分组名称搜索"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
height
:
"450"
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
groupName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
||
"--"
)
+
"
\
n "
)]}}])}),
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
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
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
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
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
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
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
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-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
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"dMDR"
)},
"data-v-4faccb28"
,
null
).
exports
,
p
=
a
(
"3E4D"
),
c
=
{
name
:
"app-detail"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
tabType
:{
type
:
String
,
default
:
function
(){
return
"1"
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
wxEnterpriseRelatedId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
editPerson
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
formData
:{
templateId
:
""
,
templateName
:
""
,
groupIds
:[]},
rules
:{
templateName
:[{
required
:
!
0
,
message
:
"请输入模板名称"
,
trigger
:
"blur"
}],
groupIds
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店分组"
,
trigger
:
"change"
}]},
tableData
:[],
activeId
:
"1"
,
loading
:
!
1
,
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
groupShow
:
!
1
,
loadingBtn
:
!
1
}},
methods
:{
submitForm
:
Object
(
r
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
loadingBtn
=!
0
,
t
.
tableData
.
length
&&
(
t
.
formData
.
groupIds
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
})),
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
?
t
.
postSave
():
t
.
loadingBtn
=!
1
})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
templateId
:
e
.
formData
.
templateId
,
templateName
:
e
.
formData
.
templateName
,
groupIds
:
e
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}).
join
(
","
),
editPerson
:
e
.
editPerson
,
enterpriseId
:
e
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/save-group-template"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
e
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
&&
(
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$router
.
push
(
"/memberGroupSet?tabName=second"
)),
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loadingBtn
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
delRow
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
tableData
.
splice
(
e
,
1
),
a
.
tableData
.
length
&&
(
a
.
formData
.
groupIds
=
a
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}))}).
catch
(
function
(){})},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
var
e
=
this
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}),
t
=
[];
this
.
tableData
.
forEach
(
function
(
a
){
-
1
==
e
.
indexOf
(
a
.
memberTagGroupId
)
&&
t
.
push
(
a
)}),
this
.
tableData
=
t
,
this
.
tableData
.
length
&&
(
this
.
formData
.
groupIds
=
this
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}))},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
showGroup
:
function
(){
this
.
groupShow
=!
0
},
closeGroup
:
function
(){
this
.
groupShow
=!
1
},
submitGroup
:
function
(
e
){
var
t
=
this
;
t
.
groupShow
=!
1
;
var
a
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
});
e
.
forEach
(
function
(
e
){
-
1
==
a
.
indexOf
(
e
.
memberTagGroupId
)
&&
t
.
tableData
.
push
(
e
)}),
t
.
formData
.
groupIds
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}),
t
.
$refs
.
ruleForm
.
validate
(
function
(
e
){})},
getTemplateSet
:
function
(
e
){
var
t
=
this
,
a
=
{
templateId
:
t
.
$route
.
query
.
templateId
,
enterpriseId
:
t
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/get-template-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
a
.
result
&&
(
a
.
result
.
template
.
groupIds
=
a
.
result
.
groupList
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
})
||
[],
t
.
formData
=
a
.
result
.
template
,
t
.
tableData
=
a
.
result
.
groupList
||
[],
a
.
result
.
template
.
enterpriseId
!=
t
.
brandId
&&
(
t
.
formData
=
{
templateId
:
""
,
templateName
:
""
,
groupIds
:[]},
t
.
tableData
=
[]))}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
this
.
$route
.
query
.
templateId
&&
this
.
getTemplateSet
(
this
.
brandId
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"12"
),
this
.
brandId
&&
this
.
$route
.
query
.
templateId
&&
this
.
getTemplateSet
(
this
.
brandId
)},
components
:{
selectGroup
:
u
,
limitInput
:
o
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"模板名称"
,
prop
:
"templateName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
inputValue
:
e
.
formData
.
templateName
,
getByType
:
"word"
,
holder
:
"请输入模板名称"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"templateName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"选择分组"
,
prop
:
"groupIds"
}},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showGroup
}},[
e
.
_v
(
"选择分组"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量移除"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
"max-height"
:
"400"
,
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
groupName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
||
"--"
)
+
"
\
n "
)]}}])}),
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
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
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
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
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
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
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
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
delRow
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"移除"
)])]}}])})],
1
)],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保存"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
groupShow
?
a
(
"select-group"
,{
attrs
:{
brandId
:
e
.
brandId
},
on
:{
closeGroup
:
e
.
closeGroup
,
submitGroup
:
e
.
submitGroup
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"KhPw"
)},
"data-v-176bbec6"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
webpackJsonp
([
28
],{
KhPw
:
function
(
e
,
t
){},
dMDR
:
function
(
e
,
t
){},
vIlm
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"l46T"
),
r
=
a
(
"PI0u"
),
n
=
a
(
"P9l9"
),
l
=
a
(
"Ch4/"
),
s
=
{
props
:{
brandId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
o
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
wxEnterpriseRelatedId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
loading
:
!
1
,
dialogVisible
:
!
0
,
tableData
:[],
searchInput
:
""
,
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
methods
:{
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
toInput
:
Object
(
r
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toCancel
:
function
(){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
multipleTable
.
clearSelection
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
multipleTable
.
clearSelection
()},
submitForm
:
Object
(
r
.
a
)(
function
(
e
){
this
.
$emit
(
"submitGroup"
,
this
.
multipleSelection
)},
300
),
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
{
memberGroupName
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
,
enterpriseId
:
t
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/member-tag-group-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
getTableList
()}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"选择分组"
,
visible
:
e
.
dialogVisible
,
width
:
"833px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"div"
,{
staticClass
:
"search-top m-b-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-280"
,
attrs
:{
placeholder
:
"请输入分组名称搜索"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
height
:
"450"
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
groupName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
||
"--"
)
+
"
\
n "
)]}}])}),
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
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
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
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
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
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
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
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-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
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"dMDR"
)},
"data-v-4faccb28"
,
null
).
exports
,
p
=
a
(
"3E4D"
),
c
=
{
name
:
"app-detail"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
tabType
:{
type
:
String
,
default
:
function
(){
return
"1"
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
wxEnterpriseRelatedId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
editPerson
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
formData
:{
templateId
:
""
,
templateName
:
""
,
groupIds
:[]},
rules
:{
templateName
:[{
required
:
!
0
,
message
:
"请输入模板名称"
,
trigger
:
"blur"
}],
groupIds
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店分组"
,
trigger
:
"change"
}]},
tableData
:[],
activeId
:
"1"
,
loading
:
!
1
,
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
groupShow
:
!
1
,
loadingBtn
:
!
1
}},
methods
:{
submitForm
:
Object
(
r
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
loadingBtn
=!
0
,
t
.
tableData
.
length
&&
(
t
.
formData
.
groupIds
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
})),
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
?
t
.
postSave
():
t
.
loadingBtn
=!
1
})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
templateId
:
e
.
formData
.
templateId
,
templateName
:
e
.
formData
.
templateName
,
groupIds
:
e
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}).
join
(
","
),
editPerson
:
e
.
editPerson
,
enterpriseId
:
e
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/save-group-template"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
e
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
&&
(
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$router
.
push
(
"/memberGroupSet?tabName=second"
)),
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loadingBtn
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
delRow
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
tableData
.
splice
(
e
,
1
),
a
.
tableData
.
length
&&
(
a
.
formData
.
groupIds
=
a
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}))}).
catch
(
function
(){})},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
var
e
=
this
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}),
t
=
[];
this
.
tableData
.
forEach
(
function
(
a
){
-
1
==
e
.
indexOf
(
a
.
memberTagGroupId
)
&&
t
.
push
(
a
)}),
this
.
tableData
=
t
,
this
.
tableData
.
length
&&
(
this
.
formData
.
groupIds
=
this
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}))},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
showGroup
:
function
(){
this
.
groupShow
=!
0
},
closeGroup
:
function
(){
this
.
groupShow
=!
1
},
submitGroup
:
function
(
e
){
var
t
=
this
;
t
.
groupShow
=!
1
;
var
a
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
});
e
.
forEach
(
function
(
e
){
-
1
==
a
.
indexOf
(
e
.
memberTagGroupId
)
&&
t
.
tableData
.
push
(
e
)}),
t
.
formData
.
groupIds
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}),
t
.
$refs
.
ruleForm
.
validate
(
function
(
e
){})},
getTemplateSet
:
function
(
e
){
var
t
=
this
,
a
=
{
templateId
:
t
.
$route
.
query
.
templateId
,
enterpriseId
:
t
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/get-template-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
a
.
result
&&
(
a
.
result
.
template
.
groupIds
=
a
.
result
.
groupList
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
})
||
[],
t
.
formData
=
a
.
result
.
template
,
t
.
tableData
=
a
.
result
.
groupList
||
[],
a
.
result
.
template
.
enterpriseId
!=
t
.
brandId
&&
(
t
.
formData
=
{
templateId
:
""
,
templateName
:
""
,
groupIds
:[]},
t
.
tableData
=
[]))}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
this
.
$route
.
query
.
templateId
&&
this
.
getTemplateSet
(
this
.
brandId
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"12"
),
this
.
brandId
&&
this
.
$route
.
query
.
templateId
&&
this
.
getTemplateSet
(
this
.
brandId
)},
components
:{
selectGroup
:
u
,
limitInput
:
o
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"模板名称"
,
prop
:
"templateName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
inputValue
:
e
.
formData
.
templateName
,
getByType
:
"word"
,
holder
:
"请输入模板名称"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"templateName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"选择分组"
,
prop
:
"groupIds"
}},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showGroup
}},[
e
.
_v
(
"选择分组"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量移除"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
"max-height"
:
"400"
,
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
groupName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
||
"--"
)
+
"
\
n "
)]}}])}),
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
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
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
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
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
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
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
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
delRow
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"移除"
)])]}}])})],
1
)],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保存"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
groupShow
?
a
(
"select-group"
,{
attrs
:{
brandId
:
e
.
brandId
},
on
:{
closeGroup
:
e
.
closeGroup
,
submitGroup
:
e
.
submitGroup
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"KhPw"
)},
"data-v-176bbec6"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/28.fca5c649f0c8f2781702.js
deleted
100644 → 0
View file @
936fd1bb
webpackJsonp
([
28
],{
Os42
:
function
(
t
,
e
){},
"TLd+"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3Xzz"
),
o
=
a
(
"5i7M"
),
r
=
{
data
:
function
(){
return
{
chart
:
null
}},
props
:{
charData
:{
type
:
Array
,
default
:
function
(){
return
[]}},
id
:
String
,
width
:{
type
:
Number
,
default
:
null
}},
mounted
:
function
(){
var
t
=
this
;
setTimeout
(
function
(){
t
.
drawChart
()},
30
)},
beforeUpdate
:
function
(){
this
.
drawChart
()},
watch
:{
charData
:
function
(){
this
.
drawChart
()}},
methods
:{
drawChart
:
function
(){
this
.
chart
&&
this
.
chart
.
destroy
(),
this
.
chart
=
new
o
.
a
({
container
:
this
.
id
,
width
:
this
.
width
,
autoFit
:
!
0
,
height
:
420
}),
this
.
chart
.
source
(
this
.
charData
),
this
.
chart
.
scale
({
loginRate
:{
min
:
0
,
nice
:
!
0
},
date
:{}}),
this
.
chart
.
tooltip
({
crosshairs
:{
type
:
"line"
}}),
this
.
chart
.
axis
(
"loginRate"
,{
label
:{
formatter
:
function
(
t
){
return
~
String
(
t
).
indexOf
(
"."
)?
""
:
t
}}}),
this
.
chart
.
line
().
position
(
"date*loginRate"
),
this
.
chart
.
render
()}}},
s
=
{
render
:
function
(){
var
t
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
t
)(
"div"
,{
attrs
:{
id
:
this
.
id
}})},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
r
,
s
,
!
1
,
function
(
t
){
a
(
"Os42"
)},
"data-v-2f8c44da"
,
null
).
exports
,
l
=
a
(
"ApSX"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"Q0Ca"
),
h
=
a
(
"3E4D"
),
p
=
{
name
:
"activeDetail"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"好办使用详情"
,
path
:
"/enterpriseUseData?brandId="
+
this
.
$route
.
query
.
brandId
},{
name
:
"区域登录明细"
,
path
:
""
}],
selectStartDay
:
""
,
selectEndDay
:
""
,
selectTableDay
:
""
,
pickerOptions
:{
disabledDate
:
function
(
t
){
var
e
=
Date
.
now
()
-
6912
e5
;
return
t
.
getTime
()
>=
Date
.
now
()
-
864
e5
||
t
.
getTime
()
<
e
}},
groupIds
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[],
multipleSelection
:[],
addShow
:
!
1
,
loadingBtn
:
!
1
,
selectRadio
:
0
,
charData
:[]}},
computed
:{},
methods
:{
changeTableDate
:
function
(){
this
.
getTableList
()},
checkGroupIds
:
function
(
t
){
this
.
groupIds
=
t
,
this
.
getTableList
()},
toRedirect
:
function
(
t
){
this
.
$router
.
push
(
"/loginDetail?storeId="
+
t
.
xValue
)},
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
exportExcel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
h
.
a
.
showmsg
(
"请选择人员"
,
"warning"
),
!
1
;
this
.
loadingBtn
=!
0
,
this
.
postExcelData
()},
postExcelData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
$route
.
query
.
brandId
,
startDate
:
t
.
selectTableDay
,
endDate
:
t
.
selectTableDay
,
groupIdList
:
t
.
groupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
),
selectType
:
t
.
selectRadio
,
taskIds
:
1
==
t
.
selectRadio
?
""
:
t
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
taskId
}).
join
(
","
)};
Object
(
c
.
b
)(
"/haoban-manage3-web/web/export-area-ranking-list"
,
e
).
then
(
function
(
e
){
if
(
t
.
loadingBtn
=!
1
,
!
e
.
data
)
return
d
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
document
.
createElement
(
"a"
);
n
.
download
=
"门店任务导购报表.csv"
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTendData
:
function
(
t
){
var
e
=
this
,
a
=
{
enterpriseId
:
e
.
$route
.
query
.
brandId
,
startDate
:
e
.
selectStartDay
,
endDate
:
e
.
selectEndDay
};
Object
(
c
.
a
)(
"/haoban-manage3-web/web/area-ranking-date"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
&&
a
.
result
.
forEach
(
function
(
t
){
t
.
date
=
t
.
bizDates
+
"("
+
t
.
weeks
+
")"
}),
e
.
charData
=
a
.
result
||
[],
!
1
;
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
enterpriseId
:
e
.
$route
.
query
.
brandId
,
startDate
:
e
.
selectTableDay
,
endDate
:
e
.
selectTableDay
,
groupIdList
:
e
.
groupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
),
pageSize
:
e
.
pageSize
,
currentPage
:
e
.
currentPage
};
Object
(
c
.
d
)(
"/haoban-manage3-web/web/area-ranking-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
||
[],
!
1
;
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
;
t
.
selectStartDay
=
u
.
a
.
timeStampToYmd
((
new
Date
).
getTime
()
-
6048
e5
),
t
.
selectEndDay
=
u
.
a
.
timeStampToYmd
((
new
Date
).
getTime
()
-
864
e5
),
t
.
selectTableDay
=
u
.
a
.
timeStampToYmd
((
new
Date
).
getTime
()
-
864
e5
),
t
.
$nextTick
(
function
(){
t
.
getTableList
()}),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
areaChart
:
i
,
gicSelectGroupMult
:
l
.
a
}},
f
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 104px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 104px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"chart-body m-t-20"
},[
a
(
"area-chart"
,{
attrs
:{
charData
:
t
.
charData
,
id
:
"area-chart"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-search m-t-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-date-picker"
,{
attrs
:{
"value-format"
:
"yyyy-MM-dd"
,
type
:
"date"
,
placeholder
:
"选择日期"
,
clearable
:
!
1
,
"picker-options"
:
t
.
pickerOptions
},
on
:{
change
:
t
.
changeTableDate
},
model
:{
value
:
t
.
selectTableDay
,
callback
:
function
(
e
){
t
.
selectTableDay
=
e
},
expression
:
"selectTableDay"
}}),
a
(
"gic-select-group-mult"
,{
staticClass
:
"m-l-10"
,
attrs
:{
selectData
:
t
.
groupIds
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"筛选条件下,当日所有区域登录人数总计为 "
+
t
.
_s
(
t
.
total
)
+
" 人,名单如下:"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
t
.
loadingBtn
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"45"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
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
:
t
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"iconfont icongengduo"
})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
t
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
t
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
t
){}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
xName
||
"--"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店code"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeCode
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店区域"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeGroupName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"登录率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
loginRate
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"登录人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
loginClerkCnt
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toRedirect
(
e
.
row
)}}},[
t
.
_v
(
"查看人员名单"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])])])])],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
e
(
"div"
,{
staticClass
:
"font-16 color-303133"
},[
this
.
_v
(
"近七天所有区域平均登录率趋势"
)]),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert el-alert-tip el-alert--info flex flex-align-start w-426"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-2f54eb"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"数据更新截至于昨日。今日数据需要隔天上午8点后进行查看。"
)])])])])}]};
var
m
=
a
(
"VU/8"
)(
p
,
f
,
!
1
,
function
(
t
){
a
(
"zHW+"
)},
"data-v-2caa582b"
,
null
);
e
.
default
=
m
.
exports
},
"zHW+"
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/
30.44ad619653abe09fe4a
2.js
→
dist/static/js/
29.a89790eb337f7a7893d
2.js
View file @
b002a6c1
webpackJsonp
([
30
],{
"G8d+"
:
function
(
t
,
e
){},
pR5q
:
function
(
t
,
e
){},
rUvh
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
o
=
n
.
n
(
a
),
r
=
n
(
"P9l9"
),
i
=
n
(
"Ch4/"
),
s
=
n
(
"PI0u"
),
l
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
policyId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
tableData
:[],
conditionObj
:{
searchInput
:
""
,
searchType
:
"1"
,
storeGroup
:[],
dateRange
:[]},
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
filters
:{
percenteNum
:
function
(
t
){
return
t
>
0
?
Number
(
100
*
t
).
toFixed
(
2
)
+
"%"
:
Number
(
t
).
toFixed
(
2
)
+
"%"
}},
methods
:{
handleClose
:
function
(
t
){
this
.
$emit
(
"closeSendRecord"
)},
toInput
:
Object
(
s
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
dateRange
=
[]),
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
n
=
{
policyId
:
e
.
policyId
,
search
:
e
.
conditionObj
.
searchInput
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
r
.
d
)(
"/haoban-app-customer-web/inner/find-card-total-log-page"
,
n
).
then
(
function
(
t
){
var
n
=
t
.
data
;
if
(
1
==
n
.
errorCode
)
return
e
.
tableData
=
n
.
result
.
result
||
[],
e
.
total
=
n
.
result
.
totalCount
,
!
1
;
i
.
a
.
errorMsg
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
policyId
:
function
(
t
,
e
){
t
&&
this
.
getTableList
()}},
mounted
:
function
(){
this
.
policyId
&&
this
.
getTableList
()}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"el-dialog"
,{
attrs
:{
title
:
"记录"
,
visible
:
t
.
dialogVisible
,
width
:
"802px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
dialogVisible
=
e
}}},[
n
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
n
(
"div"
,{
staticClass
:
"table-condition-left"
},[
n
(
"el-input"
,{
staticClass
:
"w-369"
,
attrs
:{
placeholder
:
"请输入卡券名称"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
n
=
e
,
t
.
toInput
(
n
,
t
.
conditionObj
.
searchInput
);
var
n
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}})],
1
)]),
t
.
_v
(
" "
),
n
(
"div"
,[
n
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
"450"
}},[
n
(
"el-table-column"
,{
attrs
:{
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
||
"--"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"投放数量"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
issuingQuantity
||
"0"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
getedQuantity
||
"0"
))]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
getedRate
)))]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"使用数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
usageQuantity
||
"0"
))])]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
verificationRate
)))])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
n
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
n
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
u
=
n
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
t
){
n
(
"G8d+"
)},
"data-v-1135cfd5"
,
null
).
exports
,
d
=
n
(
"/dO2"
),
p
=
n
(
"3E4D"
),
f
=
{
components
:{
recordDetail
:
u
},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
loading
:
!
1
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
recordShow
:
!
1
,
coupCardId
:
""
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toRecord
:
function
(
t
,
e
){
this
.
policyId
=
e
.
policyId
,
this
.
recordShow
=!
0
},
closeSendRecord
:
function
(){
this
.
policyId
=
""
,
this
.
recordShow
=!
1
},
rowDrop
:
function
(){
var
t
=
document
.
querySelector
(
".el-table__body-wrapper tbody"
),
e
=
this
;
d
.
default
.
create
(
t
,{
onEnd
:
function
(
t
){
var
n
=
t
.
newIndex
,
a
=
t
.
oldIndex
;
if
(
n
==
a
)
return
!
1
;
var
o
=
e
.
tableData
.
splice
(
a
,
1
)[
0
];
e
.
tableData
.
splice
(
n
,
0
,
o
),
console
.
log
(
e
.
tableData
,
n
,
a
),
e
.
postSort
()}})},
postSort
:
function
(){
var
t
=
this
,
e
=
{
json
:
o
()(
t
.
tableData
)};
Object
(
r
.
d
)(
"/haoban-app-customer-web/inner/change-sort"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
window
.
location
.
reload
();
i
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toDel
:
function
(
t
,
e
){
var
n
=
this
;
n
.
$confirm
(
"是否要删除选中的卡券策略?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
n
.
delCardList
(
e
.
policyId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
n
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
,
policyId
:
t
};
Object
(
r
.
d
)(
"/haoban-app-customer-web/inner/delete-policy"
,
n
).
then
(
function
(
t
){
var
n
=
t
.
data
;
if
(
1
==
n
.
errorCode
)
return
p
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
i
.
a
.
errorMsg
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardStrategy?policyId="
+
e
.
policyId
)},
toSwitch
:
function
(
t
,
e
){
var
n
=
this
,
a
=
{
onlineFlag
:
1
==
e
.
onlineFlag
?
0
:
1
,
policyId
:
e
.
policyId
};
Object
(
r
.
d
)(
"/haoban-app-customer-web/inner/on-off-line"
,
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
n
.
getTableList
();
i
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
n
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
s
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCardStrategy"
)},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
t
.
loading
=!
0
;
var
e
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
r
.
d
)(
"/haoban-app-customer-web/inner/list-policy"
,
e
).
then
(
function
(
e
){
var
n
=
e
.
data
;
t
.
loading
=!
1
,
1
!=
n
.
errorCode
?
i
.
a
.
errorMsg
(
n
):
t
.
tableData
=
JSON
.
parse
(
o
()(
n
.
result
))
||
[]}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
document
.
body
.
ondrop
=
function
(
t
){
t
.
preventDefault
(),
t
.
stopPropagation
()},
this
.
rowDrop
(),
this
.
getTableList
()}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
n
(
"div"
,{
staticClass
:
"p-20"
},[
n
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
disabled
:
t
.
tableData
.
length
>=
5
,
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增策略"
)])],
1
),
t
.
_v
(
" "
),
n
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 0px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
""
,
width
:
"100"
,
"class-name"
:
"move-row-cell"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,{
staticClass
:
"font-22 iconfont icontuozhuaiopen color-c4c6cf"
,
staticStyle
:{
cursor
:
"move"
}})]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券策略名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
policyName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券模板"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardTemplates
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"上线状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"div"
,[
t
.
_v
(
t
.
_s
(
0
==
e
.
row
.
onlineFlag
?
"已下线"
:
"已上线"
))])]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"策略状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"div"
,[
t
.
_v
(
t
.
_s
(
0
==
e
.
row
.
policyStatus
?
"无效"
:
"有效"
))])]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
width
:
"228"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
t
.
toSwitch
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
0
==
e
.
row
.
onlineFlag
?
"上线"
:
"下线"
))]),
t
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
t
.
toRecord
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"记录"
)]),
t
.
_v
(
" "
),
0
==
e
.
row
.
onlineFlag
?
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)]):
t
.
_e
()]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
t
.
recordShow
?
n
(
"record-detail"
,{
attrs
:{
policyId
:
t
.
policyId
},
on
:{
closeSendRecord
:
t
.
closeSendRecord
}}):
t
.
_e
()],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticStyle
:{
"line-height"
:
"32px"
}},[
e
(
"span"
,{
staticClass
:
"font-13 color-909399 p-l-10 font-w-300"
},[
this
.
_v
(
"内购券针对企业内部员工发下的卡券,最多新建5个策略"
)])])}]};
var
b
=
n
(
"VU/8"
)(
f
,
h
,
!
1
,
function
(
t
){
n
(
"pR5q"
)},
"data-v-74b4692c"
,
null
);
e
.
default
=
b
.
exports
}});
\ No newline at end of file
webpackJsonp
([
29
],{
"G8d+"
:
function
(
t
,
e
){},
pR5q
:
function
(
t
,
e
){},
rUvh
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
o
=
n
.
n
(
a
),
r
=
n
(
"P9l9"
),
i
=
n
(
"Ch4/"
),
s
=
n
(
"PI0u"
),
l
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
policyId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
tableData
:[],
conditionObj
:{
searchInput
:
""
,
searchType
:
"1"
,
storeGroup
:[],
dateRange
:[]},
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
filters
:{
percenteNum
:
function
(
t
){
return
t
>
0
?
Number
(
100
*
t
).
toFixed
(
2
)
+
"%"
:
Number
(
t
).
toFixed
(
2
)
+
"%"
}},
methods
:{
handleClose
:
function
(
t
){
this
.
$emit
(
"closeSendRecord"
)},
toInput
:
Object
(
s
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
dateRange
=
[]),
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
n
=
{
policyId
:
e
.
policyId
,
search
:
e
.
conditionObj
.
searchInput
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
r
.
d
)(
"/haoban-app-customer-web/inner/find-card-total-log-page"
,
n
).
then
(
function
(
t
){
var
n
=
t
.
data
;
if
(
1
==
n
.
errorCode
)
return
e
.
tableData
=
n
.
result
.
result
||
[],
e
.
total
=
n
.
result
.
totalCount
,
!
1
;
i
.
a
.
errorMsg
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
policyId
:
function
(
t
,
e
){
t
&&
this
.
getTableList
()}},
mounted
:
function
(){
this
.
policyId
&&
this
.
getTableList
()}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"el-dialog"
,{
attrs
:{
title
:
"记录"
,
visible
:
t
.
dialogVisible
,
width
:
"802px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
dialogVisible
=
e
}}},[
n
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
n
(
"div"
,{
staticClass
:
"table-condition-left"
},[
n
(
"el-input"
,{
staticClass
:
"w-369"
,
attrs
:{
placeholder
:
"请输入卡券名称"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
n
=
e
,
t
.
toInput
(
n
,
t
.
conditionObj
.
searchInput
);
var
n
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}})],
1
)]),
t
.
_v
(
" "
),
n
(
"div"
,[
n
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
"450"
}},[
n
(
"el-table-column"
,{
attrs
:{
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
||
"--"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"投放数量"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
issuingQuantity
||
"0"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
getedQuantity
||
"0"
))]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
getedRate
)))]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"使用数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
usageQuantity
||
"0"
))])]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
verificationRate
)))])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
n
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
n
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
u
=
n
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
t
){
n
(
"G8d+"
)},
"data-v-1135cfd5"
,
null
).
exports
,
d
=
n
(
"/dO2"
),
p
=
n
(
"3E4D"
),
f
=
{
components
:{
recordDetail
:
u
},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
loading
:
!
1
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
recordShow
:
!
1
,
coupCardId
:
""
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toRecord
:
function
(
t
,
e
){
this
.
policyId
=
e
.
policyId
,
this
.
recordShow
=!
0
},
closeSendRecord
:
function
(){
this
.
policyId
=
""
,
this
.
recordShow
=!
1
},
rowDrop
:
function
(){
var
t
=
document
.
querySelector
(
".el-table__body-wrapper tbody"
),
e
=
this
;
d
.
default
.
create
(
t
,{
onEnd
:
function
(
t
){
var
n
=
t
.
newIndex
,
a
=
t
.
oldIndex
;
if
(
n
==
a
)
return
!
1
;
var
o
=
e
.
tableData
.
splice
(
a
,
1
)[
0
];
e
.
tableData
.
splice
(
n
,
0
,
o
),
console
.
log
(
e
.
tableData
,
n
,
a
),
e
.
postSort
()}})},
postSort
:
function
(){
var
t
=
this
,
e
=
{
json
:
o
()(
t
.
tableData
)};
Object
(
r
.
d
)(
"/haoban-app-customer-web/inner/change-sort"
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
window
.
location
.
reload
();
i
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toDel
:
function
(
t
,
e
){
var
n
=
this
;
n
.
$confirm
(
"是否要删除选中的卡券策略?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
n
.
delCardList
(
e
.
policyId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
n
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
,
policyId
:
t
};
Object
(
r
.
d
)(
"/haoban-app-customer-web/inner/delete-policy"
,
n
).
then
(
function
(
t
){
var
n
=
t
.
data
;
if
(
1
==
n
.
errorCode
)
return
p
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
i
.
a
.
errorMsg
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardStrategy?policyId="
+
e
.
policyId
)},
toSwitch
:
function
(
t
,
e
){
var
n
=
this
,
a
=
{
onlineFlag
:
1
==
e
.
onlineFlag
?
0
:
1
,
policyId
:
e
.
policyId
};
Object
(
r
.
d
)(
"/haoban-app-customer-web/inner/on-off-line"
,
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
p
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
n
.
getTableList
();
i
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
n
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
s
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCardStrategy"
)},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
t
.
loading
=!
0
;
var
e
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
r
.
d
)(
"/haoban-app-customer-web/inner/list-policy"
,
e
).
then
(
function
(
e
){
var
n
=
e
.
data
;
t
.
loading
=!
1
,
1
!=
n
.
errorCode
?
i
.
a
.
errorMsg
(
n
):
t
.
tableData
=
JSON
.
parse
(
o
()(
n
.
result
))
||
[]}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
document
.
body
.
ondrop
=
function
(
t
){
t
.
preventDefault
(),
t
.
stopPropagation
()},
this
.
rowDrop
(),
this
.
getTableList
()}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
n
(
"div"
,{
staticClass
:
"p-20"
},[
n
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
disabled
:
t
.
tableData
.
length
>=
5
,
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增策略"
)])],
1
),
t
.
_v
(
" "
),
n
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 0px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
""
,
width
:
"100"
,
"class-name"
:
"move-row-cell"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,{
staticClass
:
"font-22 iconfont icontuozhuaiopen color-c4c6cf"
,
staticStyle
:{
cursor
:
"move"
}})]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券策略名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
policyName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券模板"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardTemplates
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"上线状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"div"
,[
t
.
_v
(
t
.
_s
(
0
==
e
.
row
.
onlineFlag
?
"已下线"
:
"已上线"
))])]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"策略状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"div"
,[
t
.
_v
(
t
.
_s
(
0
==
e
.
row
.
policyStatus
?
"无效"
:
"有效"
))])]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
width
:
"228"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
t
.
toSwitch
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
0
==
e
.
row
.
onlineFlag
?
"上线"
:
"下线"
))]),
t
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
t
.
toRecord
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"记录"
)]),
t
.
_v
(
" "
),
0
==
e
.
row
.
onlineFlag
?
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)]):
t
.
_e
()]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
t
.
recordShow
?
n
(
"record-detail"
,{
attrs
:{
policyId
:
t
.
policyId
},
on
:{
closeSendRecord
:
t
.
closeSendRecord
}}):
t
.
_e
()],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticStyle
:{
"line-height"
:
"32px"
}},[
e
(
"span"
,{
staticClass
:
"font-13 color-909399 p-l-10 font-w-300"
},[
this
.
_v
(
"内购券针对企业内部员工发下的卡券,最多新建5个策略"
)])])}]};
var
b
=
n
(
"VU/8"
)(
f
,
h
,
!
1
,
function
(
t
){
n
(
"pR5q"
)},
"data-v-74b4692c"
,
null
);
e
.
default
=
b
.
exports
}});
\ No newline at end of file
dist/static/js/3
1.f15018c679d31a23a484
.js
→
dist/static/js/3
0.58c967a8d2f6325152fb
.js
View file @
b002a6c1
webpackJsonp
([
31
],{
AejC
:
function
(
t
,
s
,
i
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
e
=
i
(
"Minx"
),
a
=
i
.
n
(
e
),
n
=
{
name
:
"page404"
,
data
:
function
(){
return
{
img_404
:
a
.
a
}},
computed
:{
message
:
function
(){
return
"抱歉,你访问的页面不存在"
}},
mounted
:
function
(){}},
r
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticStyle
:{
background
:
"#f0f2f5"
,
"margin-top"
:
"-20px"
,
height
:
"100%"
}},[
s
(
"div"
,{
staticClass
:
"wscn-http404"
},[
s
(
"div"
,{
staticClass
:
"pic-404"
},[
s
(
"img"
,{
staticClass
:
"pic-404__parent"
,
attrs
:{
src
:
this
.
img_404
,
alt
:
"404"
}})]),
this
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"bullshit"
},[
s
(
"div"
,{
staticClass
:
"bullshit__headline"
},[
this
.
_v
(
this
.
_s
(
this
.
message
))]),
this
.
_v
(
" "
),
s
(
"a"
,{
staticClass
:
"bullshit__return-home"
,
attrs
:{
href
:
"#/companyGroup"
}},[
this
.
_v
(
"返回首页"
)])])])])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
i
(
"Kp/m"
)},
"data-v-0df4090e"
,
null
);
s
.
default
=
c
.
exports
},
"Kp/m"
:
function
(
t
,
s
){},
Minx
:
function
(
t
,
s
,
i
){
t
.
exports
=
i
.
p
+
"static/img/error_404.bf58747.svg"
}});
\ No newline at end of file
webpackJsonp
([
30
],{
AejC
:
function
(
t
,
s
,
i
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
e
=
i
(
"Minx"
),
a
=
i
.
n
(
e
),
n
=
{
name
:
"page404"
,
data
:
function
(){
return
{
img_404
:
a
.
a
}},
computed
:{
message
:
function
(){
return
"抱歉,你访问的页面不存在"
}},
mounted
:
function
(){}},
r
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticStyle
:{
background
:
"#f0f2f5"
,
"margin-top"
:
"-20px"
,
height
:
"100%"
}},[
s
(
"div"
,{
staticClass
:
"wscn-http404"
},[
s
(
"div"
,{
staticClass
:
"pic-404"
},[
s
(
"img"
,{
staticClass
:
"pic-404__parent"
,
attrs
:{
src
:
this
.
img_404
,
alt
:
"404"
}})]),
this
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"bullshit"
},[
s
(
"div"
,{
staticClass
:
"bullshit__headline"
},[
this
.
_v
(
this
.
_s
(
this
.
message
))]),
this
.
_v
(
" "
),
s
(
"a"
,{
staticClass
:
"bullshit__return-home"
,
attrs
:{
href
:
"#/companyGroup"
}},[
this
.
_v
(
"返回首页"
)])])])])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
i
(
"Kp/m"
)},
"data-v-0df4090e"
,
null
);
s
.
default
=
c
.
exports
},
"Kp/m"
:
function
(
t
,
s
){},
Minx
:
function
(
t
,
s
,
i
){
t
.
exports
=
i
.
p
+
"static/img/error_404.bf58747.svg"
}});
\ No newline at end of file
dist/static/js/3
2.3b191a8ca4748306ba30
.js
→
dist/static/js/3
1.1516baa1f7fa60bd4295
.js
View file @
b002a6c1
webpackJsonp
([
32
],{
"4iAQ"
:
function
(
t
,
s
){},
B9Yg
:
function
(
t
,
s
,
i
){
t
.
exports
=
i
.
p
+
"static/img/gic-error.8aba914.png"
},
"Q3j/"
:
function
(
t
,
s
,
i
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
e
=
i
(
"B9Yg"
),
a
=
i
.
n
(
e
),
n
=
{
name
:
"page404"
,
data
:
function
(){
return
{
img_404
:
a
.
a
}},
computed
:{
message
:
function
(){
return
"登录遇到错误啦!请确认您是否已是好办管理员,如不是,请联系管理员。"
}},
mounted
:
function
(){}},
r
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticStyle
:{
background
:
"#f0f2f5"
,
"margin-top"
:
"-20px"
,
height
:
"100vh"
}},[
s
(
"div"
,{
staticClass
:
"wscn-http404"
},[
s
(
"div"
,{
staticClass
:
"pic-404"
},[
s
(
"img"
,{
staticClass
:
"pic-404__parent"
,
attrs
:{
src
:
this
.
img_404
,
alt
:
"404"
}})]),
this
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"bullshit"
},[
s
(
"div"
,{
staticClass
:
"bullshit__headline"
},[
this
.
_v
(
this
.
_s
(
this
.
message
))]),
this
.
_v
(
" "
),
s
(
"a"
,{
staticClass
:
"bullshit__return-home"
,
attrs
:{
href
:
"#/login"
,
rel
:
"noopener noreferrer"
}},[
this
.
_v
(
"返回好办登录页"
)])])])])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
i
(
"4iAQ"
)},
"data-v-0927f254"
,
null
);
s
.
default
=
c
.
exports
}});
\ No newline at end of file
webpackJsonp
([
31
],{
"4iAQ"
:
function
(
t
,
s
){},
B9Yg
:
function
(
t
,
s
,
i
){
t
.
exports
=
i
.
p
+
"static/img/gic-error.8aba914.png"
},
"Q3j/"
:
function
(
t
,
s
,
i
){
"use strict"
;
Object
.
defineProperty
(
s
,
"__esModule"
,{
value
:
!
0
});
var
e
=
i
(
"B9Yg"
),
a
=
i
.
n
(
e
),
n
=
{
name
:
"page404"
,
data
:
function
(){
return
{
img_404
:
a
.
a
}},
computed
:{
message
:
function
(){
return
"登录遇到错误啦!请确认您是否已是好办管理员,如不是,请联系管理员。"
}},
mounted
:
function
(){}},
r
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
s
=
this
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticStyle
:{
background
:
"#f0f2f5"
,
"margin-top"
:
"-20px"
,
height
:
"100vh"
}},[
s
(
"div"
,{
staticClass
:
"wscn-http404"
},[
s
(
"div"
,{
staticClass
:
"pic-404"
},[
s
(
"img"
,{
staticClass
:
"pic-404__parent"
,
attrs
:{
src
:
this
.
img_404
,
alt
:
"404"
}})]),
this
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"bullshit"
},[
s
(
"div"
,{
staticClass
:
"bullshit__headline"
},[
this
.
_v
(
this
.
_s
(
this
.
message
))]),
this
.
_v
(
" "
),
s
(
"a"
,{
staticClass
:
"bullshit__return-home"
,
attrs
:{
href
:
"#/login"
,
rel
:
"noopener noreferrer"
}},[
this
.
_v
(
"返回好办登录页"
)])])])])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
i
(
"4iAQ"
)},
"data-v-0927f254"
,
null
);
s
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/3
3.d60beb8286a5273c8520
.js
→
dist/static/js/3
2.579d635900e935a932f6
.js
View file @
b002a6c1
webpackJsonp
([
33
],{
"4lo3"
:
function
(
t
,
a
){},
AG22
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"2eFk"
),
i
=
e
(
"Ch4/"
),
r
=
e
(
"P9l9"
),
c
=
{
name
:
"common-app-top"
,
props
:{
appName
:{
type
:
String
,
default
:
function
(){
return
""
}},
appIcon
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
activeBrand
:
""
,
brandListData
:[]}},
methods
:{
returnBack
:
function
(){
this
.
$router
.
push
(
"appcenter"
)},
changeSelect
:
function
(
t
){
var
a
=
""
;
this
.
brandListData
.
forEach
(
function
(
e
){
e
.
brandId
==
t
&&
(
a
=
e
.
groupId
)}),
this
.
$emit
(
"selectBrandId"
,
t
,
a
)},
getBrandData
:
function
(){
var
t
=
this
;
Object
(
r
.
d
)(
"/haoban-manage-web/application-brand-list"
,{}).
then
(
function
(
a
){
var
e
=
a
.
data
;
if
(
1
!=
e
.
errorCode
)
i
.
a
.
errorMsg
(
e
);
else
if
(
e
.
result
&&
e
.
result
.
length
){
if
(
t
.
brandListData
=
e
.
result
,
t
.
$route
.
query
.
brandId
)
return
t
.
activeBrand
=
t
.
$route
.
query
.
brandId
,
t
.
$emit
(
"selectBrandId"
,
t
.
$route
.
query
.
brandId
),
!
1
;
t
.
activeBrand
=
t
.
brandListData
[
0
].
brandId
,
t
.
$emit
(
"selectBrandId"
,
t
.
brandListData
[
0
].
brandId
,
t
.
brandListData
[
0
].
groupId
)}}).
catch
(
function
(
a
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
a
){
this
.
getBrandData
()}},
mounted
:
function
(){
this
.
getBrandData
()}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"app-top-wrap app-detail-wrap"
},[
e
(
"div"
,{
staticClass
:
"my-customer-top"
},[
e
(
"div"
,{
staticClass
:
"my-customer-name"
},[
e
(
"span"
,{
staticClass
:
"app-icon "
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
appIcon
}})]),
e
(
"span"
,{
staticClass
:
"p-l-8"
},[
t
.
_v
(
t
.
_s
(
t
.
appName
))])]),
t
.
_v
(
" "
),
e
(
"el-button"
,{
staticClass
:
"border-radius-18 my-customer-return"
,
on
:{
click
:
t
.
returnBack
}},[
t
.
_v
(
"返回"
)]),
t
.
_v
(
" "
),
"/workSet"
!=
t
.
$route
.
path
&&
"/workGroupSet"
!=
t
.
$route
.
path
&&
"/dayStatistics"
!=
t
.
$route
.
path
&&
"/workGroupSet"
!=
t
.
$route
.
path
&&
"/dayStatistics"
!=
t
.
$route
.
path
&&
"/workTimeManage"
!=
t
.
$route
.
path
?
e
(
"div"
,{
staticClass
:
"my-customer-brand"
},[
e
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"不同品牌的工作台可分别进行管理。点击后切换,可以管理不同品牌下的应用"
,
placement
:
"top-start"
}},[
e
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"品牌名称"
),
e
(
"span"
,{
staticClass
:
"el-icon-info font-12 color-909399 p-l-6"
})])]),
t
.
_v
(
" "
),
e
(
"el-select"
,{
staticClass
:
"p-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeSelect
},
model
:{
value
:
t
.
activeBrand
,
callback
:
function
(
a
){
t
.
activeBrand
=
a
},
expression
:
"activeBrand"
}},
t
.
_l
(
t
.
brandListData
,
function
(
t
){
return
e
(
"el-option"
,{
key
:
t
.
brandId
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
brandId
}})}))],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"4lo3"
)},
"data-v-687bd17e"
,
null
).
exports
,
d
=
e
(
"Qie6"
),
u
=
{
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-badreviewstatistics"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"badEvaluateRecord"
);
break
;
case
"2"
:
this
.
changeRoute
(
"badEvaluateSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})}},
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
:
s
,
commonDetailLeft
:
d
.
a
}},
l
=
{
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"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
height
:
t
.
bgHeight
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
e
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
p
=
e
(
"VU/8"
)(
u
,
l
,
!
1
,
function
(
t
){
e
(
"yDY9"
)},
"data-v-08eaaa7b"
,
null
);
a
.
default
=
p
.
exports
},
yDY9
:
function
(
t
,
a
){}});
\ No newline at end of file
webpackJsonp
([
32
],{
"4lo3"
:
function
(
t
,
a
){},
AG22
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"2eFk"
),
i
=
e
(
"Ch4/"
),
r
=
e
(
"P9l9"
),
c
=
{
name
:
"common-app-top"
,
props
:{
appName
:{
type
:
String
,
default
:
function
(){
return
""
}},
appIcon
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
activeBrand
:
""
,
brandListData
:[]}},
methods
:{
returnBack
:
function
(){
this
.
$router
.
push
(
"appcenter"
)},
changeSelect
:
function
(
t
){
var
a
=
""
;
this
.
brandListData
.
forEach
(
function
(
e
){
e
.
brandId
==
t
&&
(
a
=
e
.
groupId
)}),
this
.
$emit
(
"selectBrandId"
,
t
,
a
)},
getBrandData
:
function
(){
var
t
=
this
;
Object
(
r
.
d
)(
"/haoban-manage-web/application-brand-list"
,{}).
then
(
function
(
a
){
var
e
=
a
.
data
;
if
(
1
!=
e
.
errorCode
)
i
.
a
.
errorMsg
(
e
);
else
if
(
e
.
result
&&
e
.
result
.
length
){
if
(
t
.
brandListData
=
e
.
result
,
t
.
$route
.
query
.
brandId
)
return
t
.
activeBrand
=
t
.
$route
.
query
.
brandId
,
t
.
$emit
(
"selectBrandId"
,
t
.
$route
.
query
.
brandId
),
!
1
;
t
.
activeBrand
=
t
.
brandListData
[
0
].
brandId
,
t
.
$emit
(
"selectBrandId"
,
t
.
brandListData
[
0
].
brandId
,
t
.
brandListData
[
0
].
groupId
)}}).
catch
(
function
(
a
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
a
){
this
.
getBrandData
()}},
mounted
:
function
(){
this
.
getBrandData
()}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"app-top-wrap app-detail-wrap"
},[
e
(
"div"
,{
staticClass
:
"my-customer-top"
},[
e
(
"div"
,{
staticClass
:
"my-customer-name"
},[
e
(
"span"
,{
staticClass
:
"app-icon "
},[
e
(
"img"
,{
attrs
:{
src
:
t
.
appIcon
}})]),
e
(
"span"
,{
staticClass
:
"p-l-8"
},[
t
.
_v
(
t
.
_s
(
t
.
appName
))])]),
t
.
_v
(
" "
),
e
(
"el-button"
,{
staticClass
:
"border-radius-18 my-customer-return"
,
on
:{
click
:
t
.
returnBack
}},[
t
.
_v
(
"返回"
)]),
t
.
_v
(
" "
),
"/workSet"
!=
t
.
$route
.
path
&&
"/workGroupSet"
!=
t
.
$route
.
path
&&
"/dayStatistics"
!=
t
.
$route
.
path
&&
"/workGroupSet"
!=
t
.
$route
.
path
&&
"/dayStatistics"
!=
t
.
$route
.
path
&&
"/workTimeManage"
!=
t
.
$route
.
path
?
e
(
"div"
,{
staticClass
:
"my-customer-brand"
},[
e
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"不同品牌的工作台可分别进行管理。点击后切换,可以管理不同品牌下的应用"
,
placement
:
"top-start"
}},[
e
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"品牌名称"
),
e
(
"span"
,{
staticClass
:
"el-icon-info font-12 color-909399 p-l-6"
})])]),
t
.
_v
(
" "
),
e
(
"el-select"
,{
staticClass
:
"p-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeSelect
},
model
:{
value
:
t
.
activeBrand
,
callback
:
function
(
a
){
t
.
activeBrand
=
a
},
expression
:
"activeBrand"
}},
t
.
_l
(
t
.
brandListData
,
function
(
t
){
return
e
(
"el-option"
,{
key
:
t
.
brandId
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
brandId
}})}))],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"4lo3"
)},
"data-v-687bd17e"
,
null
).
exports
,
d
=
e
(
"Qie6"
),
u
=
{
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-badreviewstatistics"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"badEvaluateRecord"
);
break
;
case
"2"
:
this
.
changeRoute
(
"badEvaluateSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})}},
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
:
s
,
commonDetailLeft
:
d
.
a
}},
l
=
{
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"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
height
:
t
.
bgHeight
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
e
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
p
=
e
(
"VU/8"
)(
u
,
l
,
!
1
,
function
(
t
){
e
(
"yDY9"
)},
"data-v-08eaaa7b"
,
null
);
a
.
default
=
p
.
exports
},
yDY9
:
function
(
t
,
a
){}});
\ No newline at end of file
dist/static/js/33.538f5ffc9153c1ef4668.js
0 → 100644
View file @
b002a6c1
webpackJsonp
([
33
],{
Os42
:
function
(
t
,
e
){},
"TLd+"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3Xzz"
),
r
=
a
(
"5i7M"
),
o
=
{
data
:
function
(){
return
{
chart
:
null
}},
props
:{
charData
:{
type
:
Array
,
default
:
function
(){
return
[]}},
id
:
String
,
width
:{
type
:
Number
,
default
:
null
}},
mounted
:
function
(){
var
t
=
this
;
setTimeout
(
function
(){
t
.
drawChart
()},
30
)},
beforeUpdate
:
function
(){
this
.
drawChart
()},
watch
:{
charData
:
function
(){
this
.
drawChart
()}},
methods
:{
drawChart
:
function
(){
this
.
chart
&&
this
.
chart
.
destroy
(),
this
.
chart
=
new
r
.
a
({
container
:
this
.
id
,
width
:
this
.
width
,
autoFit
:
!
0
,
height
:
420
}),
this
.
chart
.
source
(
this
.
charData
),
this
.
chart
.
scale
({
loginRate
:{
min
:
0
,
nice
:
!
0
},
date
:{}}),
this
.
chart
.
tooltip
({
crosshairs
:{
type
:
"line"
}}),
this
.
chart
.
axis
(
"loginRate"
,{
label
:{
formatter
:
function
(
t
){
return
~
String
(
t
).
indexOf
(
"."
)?
""
:
t
}}}),
this
.
chart
.
line
().
position
(
"date*loginRate"
),
this
.
chart
.
render
()}}},
s
=
{
render
:
function
(){
var
t
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
t
)(
"div"
,{
attrs
:{
id
:
this
.
id
}})},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"Os42"
)},
"data-v-2f8c44da"
,
null
).
exports
,
l
=
a
(
"ApSX"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"Q0Ca"
),
h
=
a
(
"3E4D"
),
p
=
{
name
:
"activeDetail"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"好办使用详情"
,
path
:
"/enterpriseUseData?brandId="
+
this
.
$route
.
query
.
brandId
},{
name
:
"区域登录明细"
,
path
:
""
}],
selectStartDay
:
""
,
selectEndDay
:
""
,
selectTableDay
:
""
,
pickerOptions
:{
disabledDate
:
function
(
t
){
var
e
=
Date
.
now
()
-
6912
e5
;
return
t
.
getTime
()
>=
Date
.
now
()
-
864
e5
||
t
.
getTime
()
<
e
}},
groupIds
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[],
multipleSelection
:[],
addShow
:
!
1
,
loadingBtn
:
!
1
,
selectRadio
:
0
,
charData
:[]}},
computed
:{},
methods
:{
changeTableDate
:
function
(){
this
.
getTableList
()},
checkGroupIds
:
function
(
t
){
this
.
groupIds
=
t
,
this
.
getTableList
()},
toRedirect
:
function
(
t
){
this
.
$router
.
push
(
"/loginDetail?storeId="
+
t
.
xValue
)},
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
exportExcel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
h
.
a
.
showmsg
(
"请选择人员"
,
"warning"
),
!
1
;
this
.
loadingBtn
=!
0
,
this
.
postExcelData
()},
postExcelData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
$route
.
query
.
brandId
,
startDate
:
t
.
selectTableDay
,
endDate
:
t
.
selectTableDay
,
groupIdList
:
t
.
groupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
),
selectType
:
t
.
selectRadio
,
taskIds
:
1
==
t
.
selectRadio
?
""
:
t
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
taskId
}).
join
(
","
)};
Object
(
c
.
b
)(
"/haoban-manage3-web/web/export-area-ranking-list"
,
e
).
then
(
function
(
e
){
if
(
t
.
loadingBtn
=!
1
,
!
e
.
data
)
return
d
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
document
.
createElement
(
"a"
);
n
.
download
=
"门店任务导购报表.csv"
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTendData
:
function
(
t
){
var
e
=
this
,
a
=
{
enterpriseId
:
e
.
$route
.
query
.
brandId
,
startDate
:
e
.
selectStartDay
,
endDate
:
e
.
selectEndDay
};
Object
(
c
.
a
)(
"/haoban-manage3-web/web/area-ranking-date"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
result
&&
a
.
result
.
result
.
forEach
(
function
(
t
){
t
.
date
=
t
.
bizDates
+
"("
+
t
.
weeks
+
")"
}),
e
.
charData
=
a
.
result
.
result
||
[],
!
1
;
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
enterpriseId
:
e
.
$route
.
query
.
brandId
,
startDate
:
e
.
selectTableDay
,
endDate
:
e
.
selectTableDay
,
groupIdList
:
e
.
groupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
),
pageSize
:
e
.
pageSize
,
currentPage
:
e
.
currentPage
};
Object
(
c
.
d
)(
"/haoban-manage3-web/web/area-ranking-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
||
[],
!
1
;
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
;
t
.
selectStartDay
=
u
.
a
.
timeStampToYmd
((
new
Date
).
getTime
()
-
6048
e5
),
t
.
selectEndDay
=
u
.
a
.
timeStampToYmd
((
new
Date
).
getTime
()
-
864
e5
),
t
.
selectTableDay
=
u
.
a
.
timeStampToYmd
((
new
Date
).
getTime
()
-
864
e5
),
t
.
$nextTick
(
function
(){
t
.
getTableList
()}),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
areaChart
:
i
,
gicSelectGroupMult
:
l
.
a
}},
f
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 104px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 104px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"chart-body m-t-20"
},[
a
(
"area-chart"
,{
attrs
:{
charData
:
t
.
charData
,
id
:
"area-chart"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-search m-t-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-date-picker"
,{
attrs
:{
"value-format"
:
"yyyy-MM-dd"
,
type
:
"date"
,
placeholder
:
"选择日期"
,
clearable
:
!
1
,
"picker-options"
:
t
.
pickerOptions
},
on
:{
change
:
t
.
changeTableDate
},
model
:{
value
:
t
.
selectTableDay
,
callback
:
function
(
e
){
t
.
selectTableDay
=
e
},
expression
:
"selectTableDay"
}}),
a
(
"gic-select-group-mult"
,{
staticClass
:
"m-l-10"
,
attrs
:{
selectData
:
t
.
groupIds
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"筛选条件下,当日所有区域登录人数总计为 "
+
t
.
_s
(
t
.
total
)
+
" 人,名单如下:"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
t
.
loadingBtn
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"45"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
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
:
t
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"iconfont icongengduo"
})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
t
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
t
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
t
){}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
xName
||
"--"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店code"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeCode
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店区域"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeGroupName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"登录率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
loginRate
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"登录人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
loginClerkCnt
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toRedirect
(
e
.
row
)}}},[
t
.
_v
(
"查看人员名单"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])])])])],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
e
(
"div"
,{
staticClass
:
"font-16 color-303133"
},[
this
.
_v
(
"近七天所有区域平均登录率趋势"
)]),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert el-alert-tip el-alert--info flex flex-align-start w-426"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-2f54eb"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"数据更新截至于昨日。今日数据需要隔天上午8点后进行查看。"
)])])])])}]};
var
m
=
a
(
"VU/8"
)(
p
,
f
,
!
1
,
function
(
t
){
a
(
"qAdS"
)},
"data-v-0167bf75"
,
null
);
e
.
default
=
m
.
exports
},
qAdS
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/app.
e468c5fbd396cde978e2
.js
→
dist/static/js/app.
a74d25624e155efe33f0
.js
View file @
b002a6c1
webpackJsonp
([
86
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
a
){
a
(
"j1ja"
),
e
.
exports
=
a
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
a
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
n
){
a
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
n
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
r
=
(
a
(
"j1ja"
),
a
(
"hKoQ"
)),
p
=
a
.
n
(
r
),
s
=
{
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
i
=
a
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
s
,
!
1
,
function
(
e
){
a
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
a
(
"lRwf"
),
u
=
a
.
n
(
c
),
m
=
a
(
"pRNm"
),
d
=
a
.
n
(
m
),
l
=
a
(
"5tgt"
),
h
=
a
.
n
(
l
);
u
.
a
.
use
(
d
.
a
);
var
v
=
function
(
e
){
a
.
e
(
1
).
then
(
a
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
g
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
h
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
h
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"contactsList"
,
component
:
h
()(
"business"
,
"index"
),
children
:[{
path
:
"/contactsList"
,
name
:
"通讯录"
,
component
:
h
()(
"business"
,
"contacts"
)},{
path
:
"/syncLog"
,
name
:
"通讯录日志"
,
component
:
h
()(
"business"
,
"syncLog"
)},{
path
:
"/authMerchant"
,
name
:
"授权商户"
,
component
:
h
()(
"business"
,
"authMerchant"
)}]},{
path
:
"/enterprise"
,
name
:
"企业设置"
,
redirect
:
"enterpriseSet"
,
component
:
h
()(
"enterprise"
,
"index"
),
children
:[{
path
:
"/enterpriseSet"
,
name
:
"企业信息"
,
component
:
h
()(
"enterprise"
,
"enterpriseSet"
)},{
path
:
"/adminList"
,
name
:
"企业信息"
,
component
:
h
()(
"enterprise"
,
"adminList"
)},{
path
:
"/material"
,
name
:
"素材库"
,
component
:
h
()(
"enterprise"
,
"material"
)}]},{
path
:
"/enterpriseData"
,
name
:
"企业数据"
,
redirect
:
"enterpriseUseData"
,
component
:
h
()(
"enterpriseData"
,
"index"
),
children
:[{
path
:
"/enterpriseUseData"
,
name
:
"好办使用详情"
,
component
:
h
()(
"enterpriseData"
,
"enterpriseUseData"
)},{
path
:
"/activeDetail"
,
name
:
"激活人员明细"
,
component
:
h
()(
"enterpriseData"
,
"activeDetail"
)},{
path
:
"/loginDetail"
,
name
:
"登录人员明细"
,
component
:
h
()(
"enterpriseData"
,
"loginDetail"
)},{
path
:
"/areaLoginDetail"
,
name
:
"区域登录人员明细"
,
component
:
h
()(
"enterpriseData"
,
"areaLoginDetail"
)}]},{
path
:
"/overStore"
,
name
:
"溢出门店"
,
redirect
:
"unreview"
,
component
:
h
()(
"overstore"
,
"index"
),
children
:[{
path
:
"/overStoreList"
,
name
:
"溢出门店"
,
component
:
h
()(
"overstore"
,
"overStoreList"
)}]},{
path
:
"/apps"
,
name
:
"企业应用"
,
redirect
:
"mycustomer"
,
component
:
h
()(
"apps"
,
"index"
),
children
:[{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memberShowSet"
,
component
:
h
()(
"apps/customerApp"
,
"index"
),
children
:[{
path
:
"/memberShowSet"
,
name
:
"会员展示设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberShowSet"
)},{
path
:
"/memberGroupSet"
,
name
:
"会员分组设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberGroupSet"
)},{
path
:
"/memberSearchSet"
,
name
:
"会员搜索设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberSearchSet"
)},{
path
:
"/myCustomerList"
,
name
:
"我的顾客列表"
,
component
:
h
()(
"apps/customerApp"
,
"myCustomerList"
)},{
path
:
"/addGroupTemplate"
,
name
:
"添加模板"
,
component
:
h
()(
"apps/customerApp"
,
"addGroupTemplate"
)},{
path
:
"/storeRangeSet"
,
name
:
"门店范围设置"
,
component
:
h
()(
"apps/customerApp"
,
"storeRangeSet"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
h
()(
"apps/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyExport"
,
name
:
"云日报导出"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyExport"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
h
()(
"apps/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
h
()(
"apps/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
h
()(
"apps/cloudDaily"
,
"customReport"
)},{
path
:
"/customReportSet"
,
name
:
"自定义报表设置"
,
component
:
h
()(
"apps/cloudDaily"
,
"customReportSet"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
h
()(
"apps/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
h
()(
"apps/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskView"
,
name
:
"话务任务记录"
,
component
:
h
()(
"apps/trafficTask"
,
"taskView"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
h
()(
"apps/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
h
()(
"apps/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
h
()(
"apps/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
h
()(
"apps/badEvaluate"
,
"badEvaluateSet"
)},{
path
:
"/taskList"
,
name
:
"会话任务列表"
,
component
:
h
()(
"apps/trafficTask"
,
"taskList"
)},{
path
:
"/newSession"
,
name
:
"新建会话任务"
,
component
:
h
()(
"apps/trafficTask"
,
"newSession"
)},{
path
:
"/taskSessionSet"
,
name
:
"会话任务设置"
,
component
:
h
()(
"apps/trafficTask"
,
"taskSessionSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
h
()(
"apps/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
h
()(
"apps/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
h
()(
"apps/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
h
()(
"apps/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
h
()(
"apps/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
h
()(
"apps/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
h
()(
"apps/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/cardList"
,
name
:
"卡券赠送"
,
redirect
:
"/cardList"
,
component
:
h
()(
"apps/card"
,
"index"
),
children
:[{
path
:
"/cardList"
,
name
:
"卡券列表"
,
component
:
h
()(
"apps/card"
,
"cardList"
)},{
path
:
"/cardRecord"
,
name
:
"卡券记录"
,
component
:
h
()(
"apps/card"
,
"cardRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
h
()(
"apps/card"
,
"newCard"
)}]},{
path
:
"/protectCard"
,
name
:
"内购券"
,
redirect
:
"/cardTemplate"
,
component
:
h
()(
"apps/protectCard"
,
"index"
),
children
:[{
path
:
"/cardTemplate"
,
name
:
"卡券模板"
,
component
:
h
()(
"apps/protectCard"
,
"cardTemplate"
)},{
path
:
"/newCardTemp"
,
name
:
"新建模板"
,
component
:
h
()(
"apps/protectCard"
,
"newCardTemp"
)},{
path
:
"/cardStrategy"
,
name
:
"卡券策略"
,
component
:
h
()(
"apps/protectCard"
,
"cardStrategy"
)},{
path
:
"/newCardStrategy"
,
name
:
"新建策略"
,
component
:
h
()(
"apps/protectCard"
,
"newCardStrategy"
)},{
path
:
"/cardPut"
,
name
:
"内购券投放"
,
component
:
h
()(
"apps/protectCard"
,
"cardPut"
)},{
path
:
"/newCardPut"
,
name
:
"新建补发"
,
component
:
h
()(
"apps/protectCard"
,
"newCardPut"
)},{
path
:
"/cardPutRecord"
,
name
:
"投放记录"
,
component
:
h
()(
"apps/protectCard"
,
"cardPutRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"领取记录"
,
component
:
h
()(
"apps/protectCard"
,
"cardGetRecord"
)}]},{
path
:
"/shoppingCenter"
,
name
:
"商品中心"
,
redirect
:
"/goodsShowSet"
,
component
:
h
()(
"apps/shoppingCenter"
,
"index"
),
children
:[{
path
:
"/goodsShowSet"
,
name
:
"商品展示设置"
,
component
:
h
()(
"apps/shoppingCenter"
,
"goodsShowSet"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
h
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
h
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
h
()(
"reviewCenter"
,
"unreview"
)},{
path
:
"/reviewSet"
,
name
:
"审核设置"
,
component
:
h
()(
"reviewCenter"
,
"reviewSet"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
h
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
v
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
v
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
v
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
D
=
new
d
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
S
=
a
(
"zL8q"
),
w
=
a
.
n
(
S
),
k
=
a
(
"Rf8U"
),
y
=
a
.
n
(
k
),
x
=
a
(
"mtWM"
),
C
=
a
.
n
(
x
),
T
=
a
(
"bOdI"
),
b
=
a
.
n
(
T
),
R
=
a
(
"SJI6"
),
A
=
a
.
n
(
R
);
u
.
a
.
use
(
A
.
a
);
var
L
=
new
A
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
addDepartment
:[],
editDepartment
:[],
delDepartment
:[]},
mutations
:(
f
=
{},
b
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
b
()(
f
,
"saveAdd"
,
function
(
e
,
t
){
e
.
addDepartment
.
push
(
t
)}),
b
()(
f
,
"saveEdit"
,
function
(
e
,
t
){
e
.
editDepartment
.
push
(
t
)}),
b
()(
f
,
"saveDel"
,
function
(
e
,
t
){
e
.
delDepartment
.
push
(
t
)}),
b
()(
f
,
"clearAdd"
,
function
(
e
){
e
.
addDepartment
=
[]}),
b
()(
f
,
"clearEdit"
,
function
(
e
){
e
.
editDepartment
=
[]}),
b
()(
f
,
"clearData"
,
function
(
e
){
e
.
addDepartment
=
[],
e
.
editDepartment
=
[],
e
.
delDepartment
=
[]}),
f
),
actions
:{
saveAddInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveAdd"
,
t
)},
saveEditInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveEdit"
,
t
)},
saveDelInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveDel"
,
t
)},
clearAddData
:
function
(
e
,
t
){
e
.
commit
(
"clearAdd"
)},
clearEditData
:
function
(
e
,
t
){
e
.
commit
(
"clearEdit"
)},
clearTreeData
:
function
(
e
,
t
){
e
.
commit
(
"clearData"
)}}}),
M
=
(
a
(
"4qCZ"
),
a
(
"tvR6"
),
a
(
"uKUT"
),
a
(
"Xcu2"
),
a
(
"xtVA"
),
a
(
"Q0Ca"
)),
E
=
a
(
"TUaa"
),
P
=
a
.
n
(
E
),
V
=
a
(
"tyqE"
),
q
=
a
.
n
(
V
),
I
=
a
(
"pRVe"
),
H
=
a
.
n
(
I
),
G
=
a
(
"XsK6"
),
j
=
a
.
n
(
G
),
Y
=
a
(
"QRL9"
),
F
=
a
.
n
(
Y
),
N
=
a
(
"2Pnh"
),
O
=
a
.
n
(
N
),
U
=
a
(
"l9mu"
),
J
=
a
.
n
(
U
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
O
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
a
=
t
.
width
,
n
=
t
.
height
,
o
=
a
/
592.28
*
841.89
,
r
=
n
,
p
=
0
,
s
=
592.28
/
a
*
n
,
i
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
J
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
c
.
addImage
(
i
,
"JPEG"
,
0
,
0
,
595.28
,
s
);
else
for
(;
r
>
0
;)
c
.
addImage
(
i
,
"JPEG"
,
0
,
p
,
595.28
,
s
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}},
z
=
a
(
"/IwO"
),
K
=
a
.
n
(
z
);
p
.
a
.
polyfill
(),
Vue
.
use
(
K
.
a
),
K
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
X
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
F
.
a
),
Vue
.
use
(
H
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
use
(
P
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
w
.
a
,{
size
:
"large"
}),
Vue
.
use
(
y
.
a
,
C
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
o
()(
M
.
a
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
M
.
a
[
e
])}),
D
.
beforeEach
(
function
(
e
,
t
,
a
){
window
.
axiosPromiseArr
&&
axiosPromiseArr
.
forEach
(
function
(
e
,
t
){
e
.
cancel
(),
delete
axiosPromiseArr
[
t
]});
var
n
=
window
.
location
.
origin
;
n
.
indexOf
(
"localhost"
),
localStorage
.
getItem
(
"userInfos"
),
"/"
==
e
.
path
?
a
({
path
:
"/login"
}):
a
()}),
new
Vue
({
el
:
"#app"
,
router
:
D
,
store
:
L
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
a
){
var
n
=
{
"./apps/badEvaluate/badEvaluateDetail.vue"
:[
"Yz8m"
,
0
,
75
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
37
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
77
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
33
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
41
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
20
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
45
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
14
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
46
],
"./apps/cloudDaily/customReportSet.vue"
:[
"LTPC"
,
0
,
3
],
"./apps/cloudDaily/dailyDetail.vue"
:[
"JwJ7"
,
0
,
16
],
"./apps/cloudDaily/dailyExport.vue"
:[
"H3Dc"
,
0
,
26
],
"./apps/cloudDaily/dailyRecord.vue"
:[
"IuWw"
,
0
,
78
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
38
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
6
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
44
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
59
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
60
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
71
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
84
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
66
],
"./apps/customerApp/addGroupTemplate.vue"
:[
"vIlm"
,
0
,
29
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
49
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
34
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
74
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
70
],
"./apps/customerApp/myCustomerList.vue"
:[
"9CCr"
,
0
,
8
],
"./apps/customerApp/storeRangeSet.vue"
:[
"z3jf"
,
0
,
13
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
63
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
48
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
52
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
50
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
30
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
51
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
80
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
11
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
9
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
43
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
81
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
69
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
67
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
35
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
39
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
72
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
76
],
"./apps/shoppingCenter/goodsShowSet.vue"
:[
"XrL3"
,
0
,
58
],
"./apps/shoppingCenter/index.vue"
:[
"FIFf"
,
0
,
57
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
40
],
"./apps/trafficTask/newSession.vue"
:[
"upTI"
,
0
,
82
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
17
],
"./apps/trafficTask/taskList.vue"
:[
"FMQe"
,
0
,
61
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
55
],
"./apps/trafficTask/taskSessionSet.vue"
:[
"lPa5"
,
0
,
53
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
27
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
79
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
54
],
"./business/authMerchant.vue"
:[
"mjMK"
,
0
,
19
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
5
],
"./business/index.vue"
:[
"jPcV"
,
0
,
83
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
4
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
73
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
24
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
62
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
15
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
56
],
"./enterprise/material.vue"
:[
"q+Sm"
,
0
,
2
],
"./enterpriseData/activeDetail.vue"
:[
"h9Ca"
,
0
,
21
],
"./enterpriseData/areaLoginDetail.vue"
:[
"TLd+"
,
0
,
28
],
"./enterpriseData/enterpriseUseData.vue"
:[
"i4c9"
,
0
,
7
],
"./enterpriseData/index.vue"
:[
"CTf4"
,
0
,
65
],
"./enterpriseData/loginDetail.vue"
:[
"kX6v"
,
0
,
10
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
31
],
"./errorPage/500.vue"
:[
"FskK"
,
23
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
32
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
64
],
"./login/index.vue"
:[
"T+/8"
,
0
,
22
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
68
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
36
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
42
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
47
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
18
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
12
]};
function
o
(
e
){
var
t
=
n
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
a
.
e
)).
then
(
function
(){
return
a
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
n
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
Q0Ca
:
function
(
e
,
t
,
a
){
"use strict"
;
t
.
a
=
{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
a
=
new
Date
(
e
),
n
=
{
"M+"
:
a
.
getMonth
()
+
1
,
"D+"
:
a
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
a
.
getDay
()),
"h+"
:
a
.
getHours
(),
"m+"
:
a
.
getMinutes
(),
"s+"
:
a
.
getSeconds
(),
"q+"
:
Math
.
floor
((
a
.
getMonth
()
+
3
)
/
3
),
S
:
a
.
getMilliseconds
()};
for
(
var
o
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
a
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
n
)
new
RegExp
(
"("
+
o
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
n
[
o
]:(
"00"
+
n
[
o
]).
substr
((
""
+
n
[
o
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
timeStampToYm
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
}},
timeStampToHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}},
formatTimeYmdHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
o
+
"."
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
formatPhoneNum
:
function
(
e
){
return
e
?(
e
=
e
.
toString
()).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
11
):
""
},
formatName
:
function
(
e
){
return
e
?
"**"
+
(
e
=
e
.
toString
()).
substr
(
e
.
length
-
1
,
e
.
length
):
""
},
timeStampSpace
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
a
<
0
)
return
""
;
var
n
=
a
%
864
e5
,
o
=
n
%
36
e5
;
return
Math
.
floor
(
a
/
864
e5
)
+
"天"
+
Math
.
floor
(
n
/
36
e5
)
+
"小时"
+
Math
.
floor
(
o
/
6
e4
)
+
"分"
}}}},
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
},
tvR6
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){},
xtVA
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
webpackJsonp
([
86
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
a
){
a
(
"j1ja"
),
e
.
exports
=
a
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
a
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
n
){
a
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
n
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
r
=
(
a
(
"j1ja"
),
a
(
"hKoQ"
)),
p
=
a
.
n
(
r
),
s
=
{
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
i
=
a
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
s
,
!
1
,
function
(
e
){
a
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
a
(
"lRwf"
),
u
=
a
.
n
(
c
),
m
=
a
(
"pRNm"
),
d
=
a
.
n
(
m
),
l
=
a
(
"5tgt"
),
h
=
a
.
n
(
l
);
u
.
a
.
use
(
d
.
a
);
var
v
=
function
(
e
){
a
.
e
(
1
).
then
(
a
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
g
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
h
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
h
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"contactsList"
,
component
:
h
()(
"business"
,
"index"
),
children
:[{
path
:
"/contactsList"
,
name
:
"通讯录"
,
component
:
h
()(
"business"
,
"contacts"
)},{
path
:
"/syncLog"
,
name
:
"通讯录日志"
,
component
:
h
()(
"business"
,
"syncLog"
)},{
path
:
"/authMerchant"
,
name
:
"授权商户"
,
component
:
h
()(
"business"
,
"authMerchant"
)}]},{
path
:
"/enterprise"
,
name
:
"企业设置"
,
redirect
:
"enterpriseSet"
,
component
:
h
()(
"enterprise"
,
"index"
),
children
:[{
path
:
"/enterpriseSet"
,
name
:
"企业信息"
,
component
:
h
()(
"enterprise"
,
"enterpriseSet"
)},{
path
:
"/adminList"
,
name
:
"企业信息"
,
component
:
h
()(
"enterprise"
,
"adminList"
)},{
path
:
"/material"
,
name
:
"素材库"
,
component
:
h
()(
"enterprise"
,
"material"
)}]},{
path
:
"/enterpriseData"
,
name
:
"企业数据"
,
redirect
:
"enterpriseUseData"
,
component
:
h
()(
"enterpriseData"
,
"index"
),
children
:[{
path
:
"/enterpriseUseData"
,
name
:
"好办使用详情"
,
component
:
h
()(
"enterpriseData"
,
"enterpriseUseData"
)},{
path
:
"/activeDetail"
,
name
:
"激活人员明细"
,
component
:
h
()(
"enterpriseData"
,
"activeDetail"
)},{
path
:
"/loginDetail"
,
name
:
"登录人员明细"
,
component
:
h
()(
"enterpriseData"
,
"loginDetail"
)},{
path
:
"/areaLoginDetail"
,
name
:
"区域登录人员明细"
,
component
:
h
()(
"enterpriseData"
,
"areaLoginDetail"
)}]},{
path
:
"/overStore"
,
name
:
"溢出门店"
,
redirect
:
"unreview"
,
component
:
h
()(
"overstore"
,
"index"
),
children
:[{
path
:
"/overStoreList"
,
name
:
"溢出门店"
,
component
:
h
()(
"overstore"
,
"overStoreList"
)}]},{
path
:
"/apps"
,
name
:
"企业应用"
,
redirect
:
"mycustomer"
,
component
:
h
()(
"apps"
,
"index"
),
children
:[{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memberShowSet"
,
component
:
h
()(
"apps/customerApp"
,
"index"
),
children
:[{
path
:
"/memberShowSet"
,
name
:
"会员展示设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberShowSet"
)},{
path
:
"/memberGroupSet"
,
name
:
"会员分组设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberGroupSet"
)},{
path
:
"/memberSearchSet"
,
name
:
"会员搜索设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberSearchSet"
)},{
path
:
"/myCustomerList"
,
name
:
"我的顾客列表"
,
component
:
h
()(
"apps/customerApp"
,
"myCustomerList"
)},{
path
:
"/addGroupTemplate"
,
name
:
"添加模板"
,
component
:
h
()(
"apps/customerApp"
,
"addGroupTemplate"
)},{
path
:
"/storeRangeSet"
,
name
:
"门店范围设置"
,
component
:
h
()(
"apps/customerApp"
,
"storeRangeSet"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
h
()(
"apps/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyExport"
,
name
:
"云日报导出"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyExport"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
h
()(
"apps/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
h
()(
"apps/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
h
()(
"apps/cloudDaily"
,
"customReport"
)},{
path
:
"/customReportSet"
,
name
:
"自定义报表设置"
,
component
:
h
()(
"apps/cloudDaily"
,
"customReportSet"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
h
()(
"apps/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
h
()(
"apps/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskView"
,
name
:
"话务任务记录"
,
component
:
h
()(
"apps/trafficTask"
,
"taskView"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
h
()(
"apps/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
h
()(
"apps/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
h
()(
"apps/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
h
()(
"apps/badEvaluate"
,
"badEvaluateSet"
)},{
path
:
"/taskList"
,
name
:
"会话任务列表"
,
component
:
h
()(
"apps/trafficTask"
,
"taskList"
)},{
path
:
"/newSession"
,
name
:
"新建会话任务"
,
component
:
h
()(
"apps/trafficTask"
,
"newSession"
)},{
path
:
"/taskSessionSet"
,
name
:
"会话任务设置"
,
component
:
h
()(
"apps/trafficTask"
,
"taskSessionSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
h
()(
"apps/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
h
()(
"apps/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
h
()(
"apps/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
h
()(
"apps/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
h
()(
"apps/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
h
()(
"apps/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
h
()(
"apps/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/cardList"
,
name
:
"卡券赠送"
,
redirect
:
"/cardList"
,
component
:
h
()(
"apps/card"
,
"index"
),
children
:[{
path
:
"/cardList"
,
name
:
"卡券列表"
,
component
:
h
()(
"apps/card"
,
"cardList"
)},{
path
:
"/cardRecord"
,
name
:
"卡券记录"
,
component
:
h
()(
"apps/card"
,
"cardRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
h
()(
"apps/card"
,
"newCard"
)}]},{
path
:
"/protectCard"
,
name
:
"内购券"
,
redirect
:
"/cardTemplate"
,
component
:
h
()(
"apps/protectCard"
,
"index"
),
children
:[{
path
:
"/cardTemplate"
,
name
:
"卡券模板"
,
component
:
h
()(
"apps/protectCard"
,
"cardTemplate"
)},{
path
:
"/newCardTemp"
,
name
:
"新建模板"
,
component
:
h
()(
"apps/protectCard"
,
"newCardTemp"
)},{
path
:
"/cardStrategy"
,
name
:
"卡券策略"
,
component
:
h
()(
"apps/protectCard"
,
"cardStrategy"
)},{
path
:
"/newCardStrategy"
,
name
:
"新建策略"
,
component
:
h
()(
"apps/protectCard"
,
"newCardStrategy"
)},{
path
:
"/cardPut"
,
name
:
"内购券投放"
,
component
:
h
()(
"apps/protectCard"
,
"cardPut"
)},{
path
:
"/newCardPut"
,
name
:
"新建补发"
,
component
:
h
()(
"apps/protectCard"
,
"newCardPut"
)},{
path
:
"/cardPutRecord"
,
name
:
"投放记录"
,
component
:
h
()(
"apps/protectCard"
,
"cardPutRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"领取记录"
,
component
:
h
()(
"apps/protectCard"
,
"cardGetRecord"
)}]},{
path
:
"/shoppingCenter"
,
name
:
"商品中心"
,
redirect
:
"/goodsShowSet"
,
component
:
h
()(
"apps/shoppingCenter"
,
"index"
),
children
:[{
path
:
"/goodsShowSet"
,
name
:
"商品展示设置"
,
component
:
h
()(
"apps/shoppingCenter"
,
"goodsShowSet"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
h
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
h
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
h
()(
"reviewCenter"
,
"unreview"
)},{
path
:
"/reviewSet"
,
name
:
"审核设置"
,
component
:
h
()(
"reviewCenter"
,
"reviewSet"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
h
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
v
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
v
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
v
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
D
=
new
d
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
S
=
a
(
"zL8q"
),
w
=
a
.
n
(
S
),
k
=
a
(
"Rf8U"
),
y
=
a
.
n
(
k
),
x
=
a
(
"mtWM"
),
C
=
a
.
n
(
x
),
T
=
a
(
"bOdI"
),
b
=
a
.
n
(
T
),
R
=
a
(
"SJI6"
),
A
=
a
.
n
(
R
);
u
.
a
.
use
(
A
.
a
);
var
L
=
new
A
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
addDepartment
:[],
editDepartment
:[],
delDepartment
:[]},
mutations
:(
f
=
{},
b
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
b
()(
f
,
"saveAdd"
,
function
(
e
,
t
){
e
.
addDepartment
.
push
(
t
)}),
b
()(
f
,
"saveEdit"
,
function
(
e
,
t
){
e
.
editDepartment
.
push
(
t
)}),
b
()(
f
,
"saveDel"
,
function
(
e
,
t
){
e
.
delDepartment
.
push
(
t
)}),
b
()(
f
,
"clearAdd"
,
function
(
e
){
e
.
addDepartment
=
[]}),
b
()(
f
,
"clearEdit"
,
function
(
e
){
e
.
editDepartment
=
[]}),
b
()(
f
,
"clearData"
,
function
(
e
){
e
.
addDepartment
=
[],
e
.
editDepartment
=
[],
e
.
delDepartment
=
[]}),
f
),
actions
:{
saveAddInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveAdd"
,
t
)},
saveEditInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveEdit"
,
t
)},
saveDelInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveDel"
,
t
)},
clearAddData
:
function
(
e
,
t
){
e
.
commit
(
"clearAdd"
)},
clearEditData
:
function
(
e
,
t
){
e
.
commit
(
"clearEdit"
)},
clearTreeData
:
function
(
e
,
t
){
e
.
commit
(
"clearData"
)}}}),
M
=
(
a
(
"4qCZ"
),
a
(
"tvR6"
),
a
(
"uKUT"
),
a
(
"Xcu2"
),
a
(
"xtVA"
),
a
(
"Q0Ca"
)),
E
=
a
(
"TUaa"
),
P
=
a
.
n
(
E
),
V
=
a
(
"tyqE"
),
q
=
a
.
n
(
V
),
I
=
a
(
"pRVe"
),
H
=
a
.
n
(
I
),
G
=
a
(
"XsK6"
),
j
=
a
.
n
(
G
),
Y
=
a
(
"QRL9"
),
F
=
a
.
n
(
Y
),
N
=
a
(
"2Pnh"
),
O
=
a
.
n
(
N
),
U
=
a
(
"l9mu"
),
J
=
a
.
n
(
U
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
O
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
a
=
t
.
width
,
n
=
t
.
height
,
o
=
a
/
592.28
*
841.89
,
r
=
n
,
p
=
0
,
s
=
592.28
/
a
*
n
,
i
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
J
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
c
.
addImage
(
i
,
"JPEG"
,
0
,
0
,
595.28
,
s
);
else
for
(;
r
>
0
;)
c
.
addImage
(
i
,
"JPEG"
,
0
,
p
,
595.28
,
s
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}},
z
=
a
(
"/IwO"
),
K
=
a
.
n
(
z
);
p
.
a
.
polyfill
(),
Vue
.
use
(
K
.
a
),
K
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
X
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
F
.
a
),
Vue
.
use
(
H
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
use
(
P
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
w
.
a
,{
size
:
"large"
}),
Vue
.
use
(
y
.
a
,
C
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
o
()(
M
.
a
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
M
.
a
[
e
])}),
D
.
beforeEach
(
function
(
e
,
t
,
a
){
window
.
axiosPromiseArr
&&
axiosPromiseArr
.
forEach
(
function
(
e
,
t
){
e
.
cancel
(),
delete
axiosPromiseArr
[
t
]});
var
n
=
window
.
location
.
origin
;
n
.
indexOf
(
"localhost"
),
localStorage
.
getItem
(
"userInfos"
),
"/"
==
e
.
path
?
a
({
path
:
"/login"
}):
a
()}),
new
Vue
({
el
:
"#app"
,
router
:
D
,
store
:
L
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
a
){
var
n
=
{
"./apps/badEvaluate/badEvaluateDetail.vue"
:[
"Yz8m"
,
0
,
75
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
37
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
77
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
32
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
41
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
20
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
45
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
14
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
46
],
"./apps/cloudDaily/customReportSet.vue"
:[
"LTPC"
,
0
,
3
],
"./apps/cloudDaily/dailyDetail.vue"
:[
"JwJ7"
,
0
,
16
],
"./apps/cloudDaily/dailyExport.vue"
:[
"H3Dc"
,
0
,
26
],
"./apps/cloudDaily/dailyRecord.vue"
:[
"IuWw"
,
0
,
78
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
38
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
6
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
44
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
59
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
60
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
71
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
84
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
66
],
"./apps/customerApp/addGroupTemplate.vue"
:[
"vIlm"
,
0
,
28
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
49
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
34
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
74
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
70
],
"./apps/customerApp/myCustomerList.vue"
:[
"9CCr"
,
0
,
8
],
"./apps/customerApp/storeRangeSet.vue"
:[
"z3jf"
,
0
,
13
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
63
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
48
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
52
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
50
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
29
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
51
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
80
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
11
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
9
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
43
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
81
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
69
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
67
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
35
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
39
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
72
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
76
],
"./apps/shoppingCenter/goodsShowSet.vue"
:[
"XrL3"
,
0
,
58
],
"./apps/shoppingCenter/index.vue"
:[
"FIFf"
,
0
,
57
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
40
],
"./apps/trafficTask/newSession.vue"
:[
"upTI"
,
0
,
82
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
17
],
"./apps/trafficTask/taskList.vue"
:[
"FMQe"
,
0
,
61
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
55
],
"./apps/trafficTask/taskSessionSet.vue"
:[
"lPa5"
,
0
,
53
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
27
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
79
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
54
],
"./business/authMerchant.vue"
:[
"mjMK"
,
0
,
19
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
5
],
"./business/index.vue"
:[
"jPcV"
,
0
,
83
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
4
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
73
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
24
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
62
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
15
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
56
],
"./enterprise/material.vue"
:[
"q+Sm"
,
0
,
2
],
"./enterpriseData/activeDetail.vue"
:[
"h9Ca"
,
0
,
21
],
"./enterpriseData/areaLoginDetail.vue"
:[
"TLd+"
,
0
,
33
],
"./enterpriseData/enterpriseUseData.vue"
:[
"i4c9"
,
0
,
7
],
"./enterpriseData/index.vue"
:[
"CTf4"
,
0
,
65
],
"./enterpriseData/loginDetail.vue"
:[
"kX6v"
,
0
,
10
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
30
],
"./errorPage/500.vue"
:[
"FskK"
,
23
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
31
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
64
],
"./login/index.vue"
:[
"T+/8"
,
0
,
22
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
68
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
36
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
42
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
47
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
18
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
12
]};
function
o
(
e
){
var
t
=
n
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
a
.
e
)).
then
(
function
(){
return
a
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
n
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
Q0Ca
:
function
(
e
,
t
,
a
){
"use strict"
;
t
.
a
=
{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
a
=
new
Date
(
e
),
n
=
{
"M+"
:
a
.
getMonth
()
+
1
,
"D+"
:
a
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
a
.
getDay
()),
"h+"
:
a
.
getHours
(),
"m+"
:
a
.
getMinutes
(),
"s+"
:
a
.
getSeconds
(),
"q+"
:
Math
.
floor
((
a
.
getMonth
()
+
3
)
/
3
),
S
:
a
.
getMilliseconds
()};
for
(
var
o
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
a
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
n
)
new
RegExp
(
"("
+
o
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
n
[
o
]:(
"00"
+
n
[
o
]).
substr
((
""
+
n
[
o
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
timeStampToYm
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
}},
timeStampToHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}},
formatTimeYmdHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
o
+
"."
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
formatPhoneNum
:
function
(
e
){
return
e
?(
e
=
e
.
toString
()).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
11
):
""
},
formatName
:
function
(
e
){
return
e
?
"**"
+
(
e
=
e
.
toString
()).
substr
(
e
.
length
-
1
,
e
.
length
):
""
},
timeStampSpace
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
a
<
0
)
return
""
;
var
n
=
a
%
864
e5
,
o
=
n
%
36
e5
;
return
Math
.
floor
(
a
/
864
e5
)
+
"天"
+
Math
.
floor
(
n
/
36
e5
)
+
"小时"
+
Math
.
floor
(
o
/
6
e4
)
+
"分"
}}}},
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
},
tvR6
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){},
xtVA
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
dist/static/js/manifest.
8ff176f3b6870fbb4e2d
.js
→
dist/static/js/manifest.
71e68359350a8f99fd2b
.js
View file @
b002a6c1
!
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
=
{
87
:
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
:
"a65b89ba49331c2da266"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"2025d32c544f960c7161"
,
3
:
"5e5fd50a283f45682919"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"d493a299eefcfbd9f885"
,
6
:
"987ab930d70320e9de11"
,
7
:
"df8b88638ebd2f797df0"
,
8
:
"6f38a596c23a135b17cc"
,
9
:
"44383cfb15abd9a26d55"
,
10
:
"242757f5b4e216c2e876"
,
11
:
"03c37101384d7f8451c2"
,
12
:
"fc628ad952a874c7bc5f"
,
13
:
"eeb1013728f3e67bb869"
,
14
:
"cc777d4e374d0428a9f9"
,
15
:
"1a4794eae71e5676b82a"
,
16
:
"9ff89e3ae22fb695931f"
,
17
:
"0ee5ffd1827c0ab14257"
,
18
:
"fdb6aeb863dd5e05ebd6"
,
19
:
"ceaa40d8aa6227ccaa7b"
,
20
:
"41027a6d3a2c48820f68"
,
21
:
"711aa9a9ac3eae33b133"
,
22
:
"a1fc1510f2466b09fb99"
,
23
:
"8a47f55d3794b05cdde6"
,
24
:
"693553e50fe47805c36a"
,
25
:
"c6b4b7cc7f7e0f07fb6e"
,
26
:
"b530871b682736752acb"
,
27
:
"2e94b907c2abbc92de8b"
,
28
:
"fca5c649f0c8f2781702"
,
29
:
"1b665b6c377fa61779aa"
,
30
:
"44ad619653abe09fe4a2"
,
31
:
"f15018c679d31a23a484"
,
32
:
"3b191a8ca4748306ba30"
,
33
:
"d60beb8286a5273c8520"
,
34
:
"21e42e4239a3a4bece96"
,
35
:
"8c517c66214b3008ba1d"
,
36
:
"49f42097022ad1c511a9"
,
37
:
"06fc7189271107a22952"
,
38
:
"b38db70a1ac98d47033e"
,
39
:
"4d86ee1e3301f7724be9"
,
40
:
"58b97f413035bfcac73d"
,
41
:
"eee22ad0ab971e133a9f"
,
42
:
"d349ab27ce555f725e4f"
,
43
:
"0c35c92dcabc93995c47"
,
44
:
"a22bd4a80c711131d8cf"
,
45
:
"eba0691dbaf3680ac324"
,
46
:
"f3c31220fd4f30dba00a"
,
47
:
"52768d75b34a3ac8e091"
,
48
:
"35fc1ffcea3edca588fa"
,
49
:
"07ea1d498a5e7f89f13b"
,
50
:
"ba943a0915a5c08260e6"
,
51
:
"377ddd3618ad5bd9c3a8"
,
52
:
"1e2ae65363a4861dd355"
,
53
:
"cad2e8ac87e5684a9bc2"
,
54
:
"aa9df4f3a7eacae9e5db"
,
55
:
"5515666662cecc9025bc"
,
56
:
"2d7039de458c3c9cb678"
,
57
:
"9f9fb6bfcac478732dad"
,
58
:
"7ca51a6189813a34c8e8"
,
59
:
"94cef91aa20f1ed4e307"
,
60
:
"af4a6c684004f80a7ee0"
,
61
:
"61567903701f9732f012"
,
62
:
"ddef6dba0e1841fb538c"
,
63
:
"a3a44a6f506f871deab4"
,
64
:
"40f89a451c2e89015091"
,
65
:
"4e16618829c82ab55c8a"
,
66
:
"af70555c4e8832c02abf"
,
67
:
"8fdd20bb6633a594da91"
,
68
:
"5c88c8205192e47c5440"
,
69
:
"4df5e7e8568b818a23af"
,
70
:
"ca6ac1fe2e2c3ac7a6ca"
,
71
:
"c4b9ffa6fd9ed879342f"
,
72
:
"ecca0939974e3cb8b4ff"
,
73
:
"4c5f9e1a5892624f46e6"
,
74
:
"e4179f75b296bd599098"
,
75
:
"a29bc05b96ce086304e1"
,
76
:
"a4e7039d1702d1398ad6"
,
77
:
"9568405fcd7f68bbbed2"
,
78
:
"6c0dc47c4cd66828eea7"
,
79
:
"0018729eec70a9546602"
,
80
:
"189377999dd7e01b560e"
,
81
:
"32879f43d7e376621672"
,
82
:
"80e1bea9e7c52a0010e2"
,
83
:
"8e92060d7042fa029dc4"
,
84
:
"917d6e79a15c0ce10d4c"
}[
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
}}([]);
\ No newline at end of file
!
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
=
{
87
:
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
:
"a65b89ba49331c2da266"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"2025d32c544f960c7161"
,
3
:
"5e5fd50a283f45682919"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"d493a299eefcfbd9f885"
,
6
:
"987ab930d70320e9de11"
,
7
:
"df8b88638ebd2f797df0"
,
8
:
"6f38a596c23a135b17cc"
,
9
:
"44383cfb15abd9a26d55"
,
10
:
"242757f5b4e216c2e876"
,
11
:
"03c37101384d7f8451c2"
,
12
:
"fc628ad952a874c7bc5f"
,
13
:
"eeb1013728f3e67bb869"
,
14
:
"cc777d4e374d0428a9f9"
,
15
:
"1a4794eae71e5676b82a"
,
16
:
"9ff89e3ae22fb695931f"
,
17
:
"0ee5ffd1827c0ab14257"
,
18
:
"fdb6aeb863dd5e05ebd6"
,
19
:
"ceaa40d8aa6227ccaa7b"
,
20
:
"41027a6d3a2c48820f68"
,
21
:
"711aa9a9ac3eae33b133"
,
22
:
"a1fc1510f2466b09fb99"
,
23
:
"8a47f55d3794b05cdde6"
,
24
:
"693553e50fe47805c36a"
,
25
:
"c6b4b7cc7f7e0f07fb6e"
,
26
:
"b530871b682736752acb"
,
27
:
"2e94b907c2abbc92de8b"
,
28
:
"886b319c902f8f5ae151"
,
29
:
"a89790eb337f7a7893d2"
,
30
:
"58c967a8d2f6325152fb"
,
31
:
"1516baa1f7fa60bd4295"
,
32
:
"579d635900e935a932f6"
,
33
:
"538f5ffc9153c1ef4668"
,
34
:
"21e42e4239a3a4bece96"
,
35
:
"8c517c66214b3008ba1d"
,
36
:
"49f42097022ad1c511a9"
,
37
:
"06fc7189271107a22952"
,
38
:
"b38db70a1ac98d47033e"
,
39
:
"4d86ee1e3301f7724be9"
,
40
:
"58b97f413035bfcac73d"
,
41
:
"eee22ad0ab971e133a9f"
,
42
:
"d349ab27ce555f725e4f"
,
43
:
"0c35c92dcabc93995c47"
,
44
:
"a22bd4a80c711131d8cf"
,
45
:
"eba0691dbaf3680ac324"
,
46
:
"f3c31220fd4f30dba00a"
,
47
:
"52768d75b34a3ac8e091"
,
48
:
"35fc1ffcea3edca588fa"
,
49
:
"07ea1d498a5e7f89f13b"
,
50
:
"ba943a0915a5c08260e6"
,
51
:
"377ddd3618ad5bd9c3a8"
,
52
:
"1e2ae65363a4861dd355"
,
53
:
"cad2e8ac87e5684a9bc2"
,
54
:
"aa9df4f3a7eacae9e5db"
,
55
:
"5515666662cecc9025bc"
,
56
:
"2d7039de458c3c9cb678"
,
57
:
"9f9fb6bfcac478732dad"
,
58
:
"7ca51a6189813a34c8e8"
,
59
:
"94cef91aa20f1ed4e307"
,
60
:
"af4a6c684004f80a7ee0"
,
61
:
"61567903701f9732f012"
,
62
:
"ddef6dba0e1841fb538c"
,
63
:
"a3a44a6f506f871deab4"
,
64
:
"40f89a451c2e89015091"
,
65
:
"4e16618829c82ab55c8a"
,
66
:
"af70555c4e8832c02abf"
,
67
:
"8fdd20bb6633a594da91"
,
68
:
"5c88c8205192e47c5440"
,
69
:
"4df5e7e8568b818a23af"
,
70
:
"ca6ac1fe2e2c3ac7a6ca"
,
71
:
"c4b9ffa6fd9ed879342f"
,
72
:
"ecca0939974e3cb8b4ff"
,
73
:
"4c5f9e1a5892624f46e6"
,
74
:
"e4179f75b296bd599098"
,
75
:
"a29bc05b96ce086304e1"
,
76
:
"a4e7039d1702d1398ad6"
,
77
:
"9568405fcd7f68bbbed2"
,
78
:
"6c0dc47c4cd66828eea7"
,
79
:
"0018729eec70a9546602"
,
80
:
"189377999dd7e01b560e"
,
81
:
"32879f43d7e376621672"
,
82
:
"80e1bea9e7c52a0010e2"
,
83
:
"8e92060d7042fa029dc4"
,
84
:
"917d6e79a15c0ce10d4c"
}[
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
}}([]);
\ No newline at end of file
src/views/enterpriseData/areaLoginDetail.vue
View file @
b002a6c1
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-07-08
09:30:20
* @LastEditTime: 2020-07-08
10:54:45
-->
<
template
>
<div
class=
"my-customer-wrap common-set-wrap"
>
...
...
@@ -256,12 +256,12 @@ export default {
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
if
(
resData
.
result
)
{
resData
.
result
.
forEach
(
ele
=>
{
if
(
resData
.
result
.
result
)
{
resData
.
result
.
result
.
forEach
(
ele
=>
{
ele
.
date
=
`
${
ele
.
bizDates
}
(
${
ele
.
weeks
}
)`
;
});
}
that
.
charData
=
resData
.
result
||
[];
that
.
charData
=
resData
.
result
.
result
||
[];
return
false
;
}
errMsg
.
errorMsg
(
resData
);
...
...
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