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
86f0972d
Commit
86f0972d
authored
Apr 27, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改内购券
parent
cbb52e54
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
58 additions
and
74 deletions
+58
-74
index.html
dist/index.html
+2
-2
app.ca43f82d8f69f13e54f6676f57ae93cf.css
dist/static/css/app.ca43f82d8f69f13e54f6676f57ae93cf.css
+0
-0
27.08b88908a61f4bc841dd.js
dist/static/js/27.08b88908a61f4bc841dd.js
+0
-2
27.8c00b479947588ae7b2c.js
dist/static/js/27.8c00b479947588ae7b2c.js
+2
-2
28.110ab7e5f64abacf9778.js
dist/static/js/28.110ab7e5f64abacf9778.js
+2
-2
29.cebf604cf1225f47e634.js
dist/static/js/29.cebf604cf1225f47e634.js
+2
-2
30.00da5d6c69db35a7d4aa.js
dist/static/js/30.00da5d6c69db35a7d4aa.js
+2
-2
31.cf36baf02e3e24a5f053.js
dist/static/js/31.cf36baf02e3e24a5f053.js
+2
-2
32.4de4968d6e57140dee2d.js
dist/static/js/32.4de4968d6e57140dee2d.js
+2
-2
33.4d3acec09b21e4bb12c9.js
dist/static/js/33.4d3acec09b21e4bb12c9.js
+2
-2
34.9c430f40b3a0c2122fd9.js
dist/static/js/34.9c430f40b3a0c2122fd9.js
+2
-2
35.9d2f169ffce85f2b33c0.js
dist/static/js/35.9d2f169ffce85f2b33c0.js
+2
-2
36.04ce339c52a3c95e0904.js
dist/static/js/36.04ce339c52a3c95e0904.js
+2
-2
57.bb35aa59b73ea983662f.js
dist/static/js/57.bb35aa59b73ea983662f.js
+2
-2
58.f4362bcb70641f953b1a.js
dist/static/js/58.f4362bcb70641f953b1a.js
+2
-2
59.4f46fe5ef57cc4d4899a.js
dist/static/js/59.4f46fe5ef57cc4d4899a.js
+2
-2
60.1909362f66171978f945.js
dist/static/js/60.1909362f66171978f945.js
+2
-2
61.c8bf83503933dbb0d3a7.js
dist/static/js/61.c8bf83503933dbb0d3a7.js
+2
-2
62.c150bd9c93df08960929.js
dist/static/js/62.c150bd9c93df08960929.js
+2
-2
63.ab752ec3ccf9371f123b.js
dist/static/js/63.ab752ec3ccf9371f123b.js
+2
-2
64.3b820a9237f2357ff5ae.js
dist/static/js/64.3b820a9237f2357ff5ae.js
+2
-2
65.08ecf25e6358b6e7b1c3.js
dist/static/js/65.08ecf25e6358b6e7b1c3.js
+2
-0
app.38fed6a09e4c1f0dfea0.js
dist/static/js/app.38fed6a09e4c1f0dfea0.js
+2
-2
manifest.9d4cdd7405a30c2b9523.js
dist/static/js/manifest.9d4cdd7405a30c2b9523.js
+2
-2
cardGetRecord.vue
src/views/apps/protectCard/cardGetRecord.vue
+7
-15
cardPutRecord.vue
src/views/apps/protectCard/cardPutRecord.vue
+7
-15
No files found.
dist/index.html
View file @
86f0972d
<!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.22e0fad9fd5c49908a0cc617f24c101d.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>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.f0bd12541eb15fdc0cb9.js
></script><script
type=
text/javascript
src=
./static/js/vendor.694f8850ed5112713591.js
></script><script
type=
text/javascript
src=
./static/js/app.e1679a5996d824665dff.js
></script></body></html>
<!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.ca43f82d8f69f13e54f6676f57ae93cf.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>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.9d4cdd7405a30c2b9523.js
></script><script
type=
text/javascript
src=
./static/js/vendor.694f8850ed5112713591.js
></script><script
type=
text/javascript
src=
./static/js/app.38fed6a09e4c1f0dfea0.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
22e0fad9fd5c49908a0cc617f24c101d
.css
→
dist/static/css/app.
ca43f82d8f69f13e54f6676f57ae93cf
.css
View file @
86f0972d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/27.08b88908a61f4bc841dd.js
deleted
100644 → 0
View file @
cbb52e54
webpackJsonp
([
27
],{
dhLd
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Ch4/"
),
o
=
a
(
"3E4D"
),
i
=
a
(
"PI0u"
),
s
=
a
(
"P9l9"
),
r
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
var
e
=
this
;
return
{
recordShow
:
!
1
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
activeId
:
"2"
,
conditionObj
:{
postDateRange
:[],
searchInput
:
""
},
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
n
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
n
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
n
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
n
}}},
templateData
:[],
strategyData
:[],
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getTableList
()}},
filters
:{
percenteNum
:
function
(
e
){
return
e
>
0
?
Number
(
100
*
e
).
toFixed
(
2
)
+
"%"
:
Number
(
e
).
toFixed
(
2
)
+
"%"
}},
methods
:{
changeDate
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
t
.
coupCardId
)}).
catch
(
function
(){})},
delCardList
:
function
(
e
){
var
t
=
this
,
a
=
{
gicEnterpriseId
:
t
.
brandId
,
coupCardId
:
e
};
Object
(
s
.
d
)(
"/haoban-app-customer-web/inner/del-card-coup"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
o
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
(
t
.
brandId
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toInput
:
Object
(
i
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
e
.
conditionObj
.
postDateRange
||
(
e
.
conditionObj
.
postDateRange
=
[]);
var
t
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
,
search
:
e
.
conditionObj
.
searchInput
,
queryType
:
1
,
sendStartDate
:
e
.
conditionObj
.
postDateRange
[
0
],
sendEndDate
:
e
.
conditionObj
.
postDateRange
[
1
],
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
s
.
d
)(
"/haoban-app-customer-web/inner/find-card-log-page"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
result
||
[],
void
(
e
.
total
=
a
.
result
.
totalPage
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"41"
),
this
.
getTableList
()}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,[
a
(
"el-date-picker"
,{
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"~"
,
"start-placeholder"
:
"发送开始时间"
,
"end-placeholder"
:
"发送结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
postDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"postDateRange"
,
t
)},
expression
:
"conditionObj.postDateRange"
}}),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"284px"
},
attrs
:{
placeholder
:
"请输入卡券名称/卡券代码/会员信息"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"成员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
memberUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
memberUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info m-l-10"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
phoneNum
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
memberUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
memberUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info m-l-10"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberName
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
phoneNum
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发券渠道"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n 好办内购券
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
status
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发送时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
putonTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
putonTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
receiveTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
receiveTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
useTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
useTime
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
a
(
"vR4I"
)},
"data-v-c247eefa"
,
null
);
t
.
default
=
c
.
exports
},
vR4I
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/2
8.65284e7ae64fa171aab
c.js
→
dist/static/js/2
7.8c00b479947588ae7b2
c.js
View file @
86f0972d
webpackJsonp
([
28
],{
m9dW
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"bzW+"
),
n
=
a
(
"Qie6"
),
c
=
a
(
"NKg7"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"企业信息"
,
icon
:
"iconqiyexinxi"
},{
tabId
:
"2"
,
tabName
:
"管理员列表"
,
icon
:
"iconguanliyuanliebiao"
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"enterpriseSet"
);
break
;
case
"2"
:
this
.
changeRoute
(
"adminList"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
i
.
a
,
commonDetailLeft
:
n
.
a
,
vueOfficeHeader
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"enterprise-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
},[
a
(
"div"
,{
staticClass
:
"right-content border-box"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])])])])],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"pSpM"
)},
"data-v-a7fad8ec"
,
null
);
e
.
default
=
r
.
exports
},
pSpM
:
function
(
t
,
e
){}});
webpackJsonp
([
27
],{
m9dW
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"bzW+"
),
n
=
a
(
"Qie6"
),
c
=
a
(
"NKg7"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"企业信息"
,
icon
:
"iconqiyexinxi"
},{
tabId
:
"2"
,
tabName
:
"管理员列表"
,
icon
:
"iconguanliyuanliebiao"
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"enterpriseSet"
);
break
;
case
"2"
:
this
.
changeRoute
(
"adminList"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
i
.
a
,
commonDetailLeft
:
n
.
a
,
vueOfficeHeader
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"enterprise-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
},[
a
(
"div"
,{
staticClass
:
"right-content border-box"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])])])])],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"pSpM"
)},
"data-v-a7fad8ec"
,
null
);
e
.
default
=
r
.
exports
},
pSpM
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/2
9.485d7c81ce188c3fa687
.js
→
dist/static/js/2
8.110ab7e5f64abacf9778
.js
View file @
86f0972d
webpackJsonp
([
29
],{
"3BM/"
:
function
(
t
,
a
){},
qSX4
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"指标管理"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"月指标"
,
icon
:
"iconzhibiao"
},{
tabId
:
"2"
,
tabName
:
"月指标任务"
,
icon
:
"iconrenwu"
}],
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
(
"monthList"
);
break
;
case
"2"
:
this
.
changeRoute
(
"monthTask"
)}},
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
)})})})},
changeNavShow
:
function
(
t
){
"/storeMonthTask"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
""
}]:
"/salerMonthDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
},{
name
:
"导购月指标详情"
,
path
:
""
}]:
"/companyDaySet"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
},{
name
:
"商户日权重"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
c
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
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"
}},[
t
.
$route
.
meta
.
keepAlive
?
e
(
"keep-alive"
,[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
h
=
e
(
"VU/8"
)(
o
,
c
,
!
1
,
function
(
t
){
e
(
"3BM/"
)},
"data-v-9571d74a"
,
null
);
a
.
default
=
h
.
exports
}});
webpackJsonp
([
28
],{
"3BM/"
:
function
(
t
,
a
){},
qSX4
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"指标管理"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"月指标"
,
icon
:
"iconzhibiao"
},{
tabId
:
"2"
,
tabName
:
"月指标任务"
,
icon
:
"iconrenwu"
}],
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
(
"monthList"
);
break
;
case
"2"
:
this
.
changeRoute
(
"monthTask"
)}},
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
)})})})},
changeNavShow
:
function
(
t
){
"/storeMonthTask"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
""
}]:
"/salerMonthDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
},{
name
:
"导购月指标详情"
,
path
:
""
}]:
"/companyDaySet"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
"/monthList"
},{
name
:
"门店月指标"
,
path
:
"storeMonthTask?yearMonth="
+
this
.
$route
.
query
.
yearMonth
},{
name
:
"商户日权重"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"指标管理"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
c
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
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"
}},[
t
.
$route
.
meta
.
keepAlive
?
e
(
"keep-alive"
,[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
h
=
e
(
"VU/8"
)(
o
,
c
,
!
1
,
function
(
t
){
e
(
"3BM/"
)},
"data-v-9571d74a"
,
null
);
a
.
default
=
h
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/
30.6e3dad3ed142df770d0e
.js
→
dist/static/js/
29.cebf604cf1225f47e634
.js
View file @
86f0972d
webpackJsonp
([
30
],{
H3Rw
:
function
(
e
,
t
){},
ak3k
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"fPyK"
),
l
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"3E4D"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
1
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"自定义报表"
}],
activeId
:
"1"
,
activeTab
:
"1"
,
activeBrand
:
"1"
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
handlePreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?templateId="
+
t
.
dailyReportTemplateId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-preview"
),
this
.
dialogVisible
=!
0
},
toCustomSet
:
function
(){
this
.
changeRouter
(
"/customReportSet"
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy"
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit"
)},
handleDelete
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
deleteTemplate
(
e
,
t
)}).
catch
(
function
(){})},
deleteTemplate
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
l
.
d
)(
"/haoban-app-daily-three-web/daily/del-define-template"
,{
templateId
:
t
.
dailyReportTemplateId
}).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
r
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
l
.
d
)(
"/haoban-app-daily-three-web/daily/list-define-template"
,{
enterpriseId
:
e
.
brandId
}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
void
(
a
.
result
&&
a
.
result
.
length
&&
(
e
.
tableData
=
a
.
result
));
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"32"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"custom-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
}),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
toCustomSet
(
""
)}}},[
e
.
_v
(
"新建模板"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
title
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"模板描述"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
description
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"门店类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"自营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"联营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代理门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代销门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"托管门店"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleDelete
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"H3Rw"
)},
"data-v-866cc2c0"
,
null
);
t
.
default
=
u
.
exports
}});
webpackJsonp
([
29
],{
H3Rw
:
function
(
e
,
t
){},
ak3k
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"fPyK"
),
l
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"3E4D"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
1
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"自定义报表"
}],
activeId
:
"1"
,
activeTab
:
"1"
,
activeBrand
:
"1"
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
handlePreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?templateId="
+
t
.
dailyReportTemplateId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-preview"
),
this
.
dialogVisible
=!
0
},
toCustomSet
:
function
(){
this
.
changeRouter
(
"/customReportSet"
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy"
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit"
)},
handleDelete
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
deleteTemplate
(
e
,
t
)}).
catch
(
function
(){})},
deleteTemplate
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
l
.
d
)(
"/haoban-app-daily-three-web/daily/del-define-template"
,{
templateId
:
t
.
dailyReportTemplateId
}).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
r
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
l
.
d
)(
"/haoban-app-daily-three-web/daily/list-define-template"
,{
enterpriseId
:
e
.
brandId
}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
void
(
a
.
result
&&
a
.
result
.
length
&&
(
e
.
tableData
=
a
.
result
));
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"32"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"custom-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
}),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
toCustomSet
(
""
)}}},[
e
.
_v
(
"新建模板"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
title
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"模板描述"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
description
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"门店类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"自营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"联营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代理门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代销门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"托管门店"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleDelete
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"H3Rw"
)},
"data-v-866cc2c0"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
1.010ceac14b8c06871425
.js
→
dist/static/js/3
0.00da5d6c69db35a7d4aa
.js
View file @
86f0972d
webpackJsonp
([
31
],{
"8OGO"
:
function
(
t
,
e
){},
JXTs
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"Xxa5"
),
n
=
a
.
n
(
o
),
s
=
a
(
"exGp"
),
r
=
a
.
n
(
s
),
i
=
a
(
"//Fk"
),
c
=
a
.
n
(
i
),
l
=
a
(
"mvHQ"
),
p
=
a
.
n
(
l
),
d
=
a
(
"c9no"
),
u
=
a
(
"NKg7"
),
g
=
a
(
"P9l9"
),
f
=
a
(
"Ch4/"
),
h
=
a
(
"3E4D"
),
v
=
{
name
:
"index"
,
data
:
function
(){
return
{
checkShow
:
!
0
,
tipText
:
"请先完成商户初始化设置后,再进行其他操作"
,
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
,
showCustomDialog
:
!
1
,
customType
:
""
,
customTitle
:
""
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
purchaseApp
:[],
weeks
:[
"星期日"
,
"星期一"
,
"星期二"
,
"星期三"
,
"星期四"
,
"星期五"
,
"星期六"
],
noPurchaseApp
:[],
versionData
:{
id
:
1
,
smallVersion
:
""
,
corpName
:
""
,
date
:(
new
Date
).
getTime
(),
storeNum
:
100
,
storeTotal
:
""
},
helpList
:[]}},
methods
:{
goUdesk
:
function
(){
window
.
open
(
"https://demogic.udesk.cn/hc/categories/96671?api_name="
)},
getLunarDay
:
function
(
t
,
e
,
a
){
var
o
=
[
2635
,
333387
,
1701
,
1748
,
267701
,
694
,
2391
,
133423
,
1175
,
396438
,
3402
,
3749
,
331177
,
1453
,
694
,
201326
,
2350
,
465197
,
3221
,
3402
,
400202
,
2901
,
1386
,
267611
,
605
,
2349
,
137515
,
2709
,
464533
,
1738
,
2901
,
330421
,
1242
,
2651
,
199255
,
1323
,
529706
,
3733
,
1706
,
398762
,
2741
,
1206
,
267438
,
2647
,
1318
,
204070
,
3477
,
461653
,
1386
,
2413
,
330077
,
1197
,
2637
,
268877
,
3365
,
531109
,
2900
,
2922
,
398042
,
2395
,
1179
,
267415
,
2635
,
661067
,
1701
,
1748
,
398772
,
2742
,
2391
,
330031
,
1175
,
1611
,
200010
,
3749
,
527717
,
1452
,
2742
,
332397
,
2350
,
3222
,
268949
,
3402
,
3493
,
133973
,
1386
,
464219
,
605
,
2349
,
334123
,
2709
,
2890
,
267946
,
2773
,
592565
,
1210
,
2651
,
395863
,
1323
,
2707
,
265877
];
if
(
!
(
t
<
1921
||
t
>
2100
)){
var
n
=
[
t
,
e
=
parseInt
(
e
)
>
0
?
e
-
1
:
11
,
a
],
s
=
3
!==
n
.
length
?
new
Date
:
new
Date
(
n
[
0
],
n
[
1
],
n
[
2
]),
r
=
void
0
,
i
=
void
0
,
c
=
void
0
,
l
=
void
0
,
p
=!
1
,
d
=
s
.
getFullYear
();
for
(
r
=
365
*
(
d
-
1921
)
+
Math
.
floor
((
d
-
1921
)
/
4
)
+
[
0
,
31
,
59
,
90
,
120
,
151
,
181
,
212
,
243
,
273
,
304
,
334
][
s
.
getMonth
()]
+
s
.
getDate
()
-
38
,
d
%
4
==
0
&&
s
.
getMonth
()
>
1
&&
r
++
,
i
=
0
;;
i
++
){
for
(
c
=
l
=
o
[
i
]
<
4095
?
11
:
12
;
c
>=
0
;
c
--
){
if
(
r
<=
this
.
getBit
(
o
[
i
],
c
)){
p
=!
0
;
break
}
r
-=
this
.
getBit
(
o
[
i
],
c
)}
if
(
p
)
break
}
var
u
,
g
=
void
0
;
g
=
l
-
c
+
1
,
u
=
r
,
12
===
l
&&
(
g
===
Math
.
floor
(
o
[
i
]
/
65536
)
+
1
&&
(
g
=
1
-
g
),
g
>
Math
.
floor
(
o
[
i
]
/
65536
)
+
1
&&
g
--
);
var
f
=
"一二三四五六七八九十"
.
charAt
(
u
-
1
);
return
u
%
10
==
0
&&
10
!==
u
||
(
f
=
"一二三四五六七八九十"
.
charAt
((
u
-
1
)
%
10
)),
console
.
log
(),
1
===
u
?
"正二三四五六七八九十冬腊"
.
charAt
(
g
-
1
)
+
"月初一"
:
"正二三四五六七八九十冬腊"
.
charAt
(
g
-
1
)
+
"月"
+
(
u
<
11
?
"初"
:
u
<
20
?
"十"
:
u
<
30
?
"廿"
:
"三十"
)
+
f
}},
getBit
:
function
(
t
,
e
){
return
29
+
(
t
>>
e
&
1
)},
toRedirect
:
function
(
t
){
if
(
!
t
.
helpUrl
)
return
!
1
;
window
.
open
(
t
.
helpUrl
)},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toOverStore
:
function
(){
this
.
changeRoute
(
"/overStoreList"
)},
toAppView
:
function
(
t
){
if
(
!
t
.
applicationPath
)
return
h
.
a
.
showmsg
(
"无更多设置项,不可进入!"
,
"warning"
),
!
1
;
this
.
changeRoute
(
""
+
t
.
applicationPath
)},
goShopping
:
function
(
t
){
this
.
changeRoute
(
"/"
)},
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
changeSwitch
:
function
(
t
){
var
e
=
this
,
a
=
1
==
t
.
openFlag
?
"关闭"
:
"开启"
;
e
.
$confirm
(
"确认"
+
a
+
"【"
+
t
.
applicationName
+
"】应用吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
postSwitch
(
t
)}).
catch
(
function
(){
t
.
openFlag
})},
postSwitch
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
||
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
applicationId
:
t
.
applicationId
,
openFlag
:
1
==
t
.
openFlag
?
0
:
1
};
Object
(
g
.
a
)(
"/haoban-manage3-web/open-or-close"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
h
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
e
.
getAppData
(
1
);
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeAppSwitch
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"确定要"
+
(
1
==
t
?
"启用"
:
"停用"
)
+
"【"
+
e
.
applicationName
+
"】?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postAppSwitch
(
e
)}).
catch
(
function
(){
e
.
openFlag
=!
1
})},
postAppSwitch
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
||
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
applicationId
:
t
.
applicationId
,
openFlag
:
t
.
openFlag
?
1
:
0
};
Object
(
g
.
a
)(
"/haoban-manage3-web/open-or-close"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
h
.
a
.
showmsg
(
"启用成功"
,
"success"
),
void
e
.
getAppData
(
1
);
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
},
toAlert
:
function
(){
this
.
$confirm
(
"您所在企业尚未订购好办 ,请前往升级版本后继续使用。"
,
"提示"
,{
confirmButtonText
:
"立即前往订购"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
window
.
open
(
""
)})},
toTip
:
function
(){
this
.
$confirm
(
"您没有该功能的使用权限,请联系管理员授权后继续使用。"
,
"提示"
,{
confirmButtonText
:
"知道了"
,
type
:
"warning"
}).
then
(
function
(){
window
.
open
(
""
)})},
getHelpData
:
function
(){
var
t
=
this
;
Object
(
g
.
a
)(
"/haoban-manage3-web/get-help-list"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
}):
t
.
helpList
=
a
.
result
||
[]}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAppData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
||
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
type
:
t
};
Object
(
g
.
a
)(
"/haoban-manage3-web/application-open-close-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
open
.
forEach
(
function
(
t
){
t
.
openFlag
=
1
}),
e
.
purchaseApp
=
JSON
.
parse
(
p
()(
a
.
result
.
open
))
||
[],
a
.
result
.
close
.
forEach
(
function
(
t
){
t
.
openFlag
=!
1
}),
void
(
e
.
noPurchaseApp
=
JSON
.
parse
(
p
()(
a
.
result
.
close
))
||
[]);
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getBindData
:
function
(){
var
t
=
this
;
Object
(
g
.
a
)(
"/haoban-manage3-web/has-bind-contract"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
a
.
result
||
t
.
getBindUrl
()}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getBindUrl
:
function
(){
var
t
=
this
;
Object
(
g
.
a
)(
"/haoban-manage3-web/get-auth-url"
,{}).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
f
.
a
.
errorMsg
(
e
):
window
.
location
.
href
=
""
+
e
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toLogin
:
function
(){
var
t
=
this
;
return
new
c
.
a
(
function
(
e
,
a
){
Object
(
g
.
a
)(
"/haoban-manage3-web/get-login-info"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
localStorage
.
setItem
(
"userInfos"
,
p
()(
a
.
result
)),
void
e
(
a
.
result
.
wxEnterpriseId
);
f
.
a
.
errorMsg
(
a
),
e
({
wxEnterpriseId
:
""
})}).
catch
(
function
(
a
){
e
({
wxEnterpriseId
:
""
}),
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})})},
getTipData
:
function
(){
var
t
=
this
;
Object
(
g
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
t
.
checkShow
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getCompanyData
:
function
(){
var
t
=
this
,
e
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
g
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
versionData
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
var
t
=
this
;
return
r
()(
n
.
a
.
mark
(
function
e
(){
var
a
;
return
n
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
(
a
=
t
).
getBindData
(),
e
.
next
=
4
,
a
.
toLogin
();
case
4
:
a
.
wxEnterpriseId
=
e
.
sent
,
a
.
getAppData
(
1
),
a
.
getHelpData
(),
a
.
getCompanyData
(),
a
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
92
+
"px"
;
case
9
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()},
components
:{
vueOfficeHeader
:
u
.
a
,
setTip
:
d
.
a
}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
attrs
:{
id
:
"index"
}},[
a
(
"vue-office-header"
,{
ref
:
"headerMenu"
,
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body border-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 46px)"
}},[
a
(
"div"
,{
staticClass
:
"index-body flex flex-row"
},[
a
(
"div"
,{
staticClass
:
"index-body-left"
},[
a
(
"div"
,{
staticClass
:
"index-body-left_top border-box"
},[
a
(
"div"
,{
staticClass
:
"app-title font-16 color-303133 flex flex-space-between"
},[
a
(
"span"
,{
staticClass
:
"font-16 color-303133 font-w-600 line-h-32"
},[
t
.
_v
(
"已使用"
)]),
t
.
_v
(
" "
),
t
.
checkShow
?
t
.
_e
():
a
(
"set-tip"
,{
attrs
:{
tipText
:
t
.
tipText
}})],
1
),
t
.
_v
(
" "
),
a
(
"ul"
,
t
.
_l
(
t
.
purchaseApp
,
function
(
e
,
o
){
return
a
(
"li"
,{
key
:
o
+
"app"
,
staticClass
:
"border-box"
,
on
:{
click
:
function
(
a
){
t
.
toAppView
(
e
)}}},[
a
(
"div"
,{
staticClass
:
"app-li-cell border-box flex"
},[
a
(
"div"
,{
staticClass
:
"app-cell-left"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
applicationUrl
,
alt
:
"img"
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"app-cell-right flex flex-column flex-align-center flex-pack-center"
},[
a
(
"div"
,{
staticClass
:
"app-name font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
e
.
applicationName
))]),
t
.
_v
(
" "
),
e
.
applicationPath
?
t
.
_e
():
a
(
"div"
,{
staticClass
:
"app-info"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
t
.
_v
(
"里面为空~"
)])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"app-cell-arrow"
},[
a
(
"el-dropdown"
,{
staticClass
:
"app-cell-dropdown"
,
attrs
:{
trigger
:
"hover"
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-more el-icon--right"
,
staticStyle
:{
cursor
:
"pointer"
}})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
staticClass
:
"p-0"
},[
a
(
"span"
,{
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
changeSwitch
(
e
)}}},[
t
.
_v
(
t
.
_s
(
1
==
e
.
openFlag
?
"停用"
:
"启用"
))])])],
1
)],
1
)],
1
)])])}))]),
t
.
_v
(
" "
),
t
.
noPurchaseApp
.
length
?
a
(
"div"
,{
staticClass
:
"bg-space"
}):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"index-body-left_bottom border-box"
,
t
.
noPurchaseApp
.
length
?
"bottom-0"
:
"bottom-9999"
]},[
a
(
"div"
,{
staticClass
:
"app-title font-16 color-303133"
},[
t
.
_v
(
"已停用"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,
t
.
_l
(
t
.
noPurchaseApp
,
function
(
e
,
o
){
return
a
(
"li"
,{
key
:
o
+
"appno"
,
staticClass
:
"border-box"
},[
a
(
"div"
,{
staticClass
:
"app-li-cell border-box flex"
},[
a
(
"div"
,{
staticClass
:
"app-cell-left"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
applicationUrl
,
alt
:
"img"
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"app-cell-right"
},[
a
(
"div"
,{
staticClass
:
"app-name stop-app-name font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
e
.
applicationName
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"app-info stop-app-info"
},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
a
){
t
.
changeAppSwitch
(
a
,
e
)}},
model
:{
value
:
e
.
openFlag
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"openFlag"
,
a
)},
expression
:
"item.openFlag"
}})],
1
)])])])}))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-body-right"
},[
a
(
"div"
,{
staticClass
:
"index-body-right_top border-box"
},[
a
(
"div"
,{
staticClass
:
"serve-info"
},[
a
(
"div"
,{
staticClass
:
"serve-date-info"
},[
a
(
"div"
,{
staticClass
:
"font-14 color-909399 p-t-10 m-b-13"
,
staticStyle
:{
"font-weight"
:
"300"
}},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYm"
)((
new
Date
).
getTime
())))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399"
},[
t
.
_v
(
"农历"
+
t
.
_s
(
t
.
getLunarDay
((
new
Date
).
getFullYear
(),(
new
Date
).
getMonth
()
+
1
,(
new
Date
).
getDate
())))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"serve-date-day"
},[
a
(
"div"
,{
staticClass
:
"serve-date-day_inner "
},[
a
(
"div"
,{
staticClass
:
"color-fff font-26 p-t-10"
,
staticStyle
:{
"letter-spacing"
:
"2px"
}},[
t
.
_v
(
t
.
_s
((
new
Date
).
getDate
()))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-fff font-12"
},[
t
.
_v
(
t
.
_s
(
t
.
weeks
[(
new
Date
).
getDay
()]))])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"serve-version flex"
},[
a
(
"span"
,{
staticClass
:
"w-86 font-14 color-909399 text-left"
},[
t
.
_v
(
"企业"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
versionData
.
corpName
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"serve-date flex m-t-20"
},[
a
(
"span"
,{
staticClass
:
"w-86 font-14 color-909399 text-left"
},[
t
.
_v
(
"版本"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
versionData
.
smallVersion
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"serve-store flex m-t-20"
},[
a
(
"span"
,{
staticClass
:
"w-86 font-14 color-909399 text-left"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"GIC已同步上线门店总数,实时获取"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"w-86 font-14 color-909399 text-left"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"门店总数"
)])])],
1
),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-303133 "
},[
t
.
_v
(
t
.
_s
(
t
.
versionData
.
storeTotal
))])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"bg-margin-10"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-body-right_bottom border-box"
},[
a
(
"div"
,{
staticClass
:
"help-title font-16 color-303133 font-w-600"
},[
t
.
_v
(
"帮助中心"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"help-list m-t-15"
},[
t
.
_l
(
t
.
helpList
,
function
(
e
,
o
){
return
a
(
"li"
,{
key
:
o
+
"help"
,
staticClass
:
"cursor-pointer font-14 color-606266"
,
on
:{
click
:
function
(
a
){
t
.
toRedirect
(
e
)}}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
helpTitle
)
+
"
\
n "
)])}),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"text-center li-more cursor-pointer"
,
on
:{
click
:
t
.
goUdesk
}},[
t
.
_v
(
"查看更多"
)])],
2
)])])])])])],
1
)},
staticRenderFns
:[]};
var
w
=
a
(
"VU/8"
)(
v
,
m
,
!
1
,
function
(
t
){
a
(
"8OGO"
)},
"data-v-7e362266"
,
null
);
e
.
default
=
w
.
exports
}});
webpackJsonp
([
30
],{
"8OGO"
:
function
(
t
,
e
){},
JXTs
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"Xxa5"
),
n
=
a
.
n
(
o
),
s
=
a
(
"exGp"
),
r
=
a
.
n
(
s
),
i
=
a
(
"//Fk"
),
c
=
a
.
n
(
i
),
l
=
a
(
"mvHQ"
),
p
=
a
.
n
(
l
),
d
=
a
(
"c9no"
),
u
=
a
(
"NKg7"
),
g
=
a
(
"P9l9"
),
f
=
a
(
"Ch4/"
),
h
=
a
(
"3E4D"
),
v
=
{
name
:
"index"
,
data
:
function
(){
return
{
checkShow
:
!
0
,
tipText
:
"请先完成商户初始化设置后,再进行其他操作"
,
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
,
showCustomDialog
:
!
1
,
customType
:
""
,
customTitle
:
""
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
purchaseApp
:[],
weeks
:[
"星期日"
,
"星期一"
,
"星期二"
,
"星期三"
,
"星期四"
,
"星期五"
,
"星期六"
],
noPurchaseApp
:[],
versionData
:{
id
:
1
,
smallVersion
:
""
,
corpName
:
""
,
date
:(
new
Date
).
getTime
(),
storeNum
:
100
,
storeTotal
:
""
},
helpList
:[]}},
methods
:{
goUdesk
:
function
(){
window
.
open
(
"https://demogic.udesk.cn/hc/categories/96671?api_name="
)},
getLunarDay
:
function
(
t
,
e
,
a
){
var
o
=
[
2635
,
333387
,
1701
,
1748
,
267701
,
694
,
2391
,
133423
,
1175
,
396438
,
3402
,
3749
,
331177
,
1453
,
694
,
201326
,
2350
,
465197
,
3221
,
3402
,
400202
,
2901
,
1386
,
267611
,
605
,
2349
,
137515
,
2709
,
464533
,
1738
,
2901
,
330421
,
1242
,
2651
,
199255
,
1323
,
529706
,
3733
,
1706
,
398762
,
2741
,
1206
,
267438
,
2647
,
1318
,
204070
,
3477
,
461653
,
1386
,
2413
,
330077
,
1197
,
2637
,
268877
,
3365
,
531109
,
2900
,
2922
,
398042
,
2395
,
1179
,
267415
,
2635
,
661067
,
1701
,
1748
,
398772
,
2742
,
2391
,
330031
,
1175
,
1611
,
200010
,
3749
,
527717
,
1452
,
2742
,
332397
,
2350
,
3222
,
268949
,
3402
,
3493
,
133973
,
1386
,
464219
,
605
,
2349
,
334123
,
2709
,
2890
,
267946
,
2773
,
592565
,
1210
,
2651
,
395863
,
1323
,
2707
,
265877
];
if
(
!
(
t
<
1921
||
t
>
2100
)){
var
n
=
[
t
,
e
=
parseInt
(
e
)
>
0
?
e
-
1
:
11
,
a
],
s
=
3
!==
n
.
length
?
new
Date
:
new
Date
(
n
[
0
],
n
[
1
],
n
[
2
]),
r
=
void
0
,
i
=
void
0
,
c
=
void
0
,
l
=
void
0
,
p
=!
1
,
d
=
s
.
getFullYear
();
for
(
r
=
365
*
(
d
-
1921
)
+
Math
.
floor
((
d
-
1921
)
/
4
)
+
[
0
,
31
,
59
,
90
,
120
,
151
,
181
,
212
,
243
,
273
,
304
,
334
][
s
.
getMonth
()]
+
s
.
getDate
()
-
38
,
d
%
4
==
0
&&
s
.
getMonth
()
>
1
&&
r
++
,
i
=
0
;;
i
++
){
for
(
c
=
l
=
o
[
i
]
<
4095
?
11
:
12
;
c
>=
0
;
c
--
){
if
(
r
<=
this
.
getBit
(
o
[
i
],
c
)){
p
=!
0
;
break
}
r
-=
this
.
getBit
(
o
[
i
],
c
)}
if
(
p
)
break
}
var
u
,
g
=
void
0
;
g
=
l
-
c
+
1
,
u
=
r
,
12
===
l
&&
(
g
===
Math
.
floor
(
o
[
i
]
/
65536
)
+
1
&&
(
g
=
1
-
g
),
g
>
Math
.
floor
(
o
[
i
]
/
65536
)
+
1
&&
g
--
);
var
f
=
"一二三四五六七八九十"
.
charAt
(
u
-
1
);
return
u
%
10
==
0
&&
10
!==
u
||
(
f
=
"一二三四五六七八九十"
.
charAt
((
u
-
1
)
%
10
)),
console
.
log
(),
1
===
u
?
"正二三四五六七八九十冬腊"
.
charAt
(
g
-
1
)
+
"月初一"
:
"正二三四五六七八九十冬腊"
.
charAt
(
g
-
1
)
+
"月"
+
(
u
<
11
?
"初"
:
u
<
20
?
"十"
:
u
<
30
?
"廿"
:
"三十"
)
+
f
}},
getBit
:
function
(
t
,
e
){
return
29
+
(
t
>>
e
&
1
)},
toRedirect
:
function
(
t
){
if
(
!
t
.
helpUrl
)
return
!
1
;
window
.
open
(
t
.
helpUrl
)},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toOverStore
:
function
(){
this
.
changeRoute
(
"/overStoreList"
)},
toAppView
:
function
(
t
){
if
(
!
t
.
applicationPath
)
return
h
.
a
.
showmsg
(
"无更多设置项,不可进入!"
,
"warning"
),
!
1
;
this
.
changeRoute
(
""
+
t
.
applicationPath
)},
goShopping
:
function
(
t
){
this
.
changeRoute
(
"/"
)},
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
changeSwitch
:
function
(
t
){
var
e
=
this
,
a
=
1
==
t
.
openFlag
?
"关闭"
:
"开启"
;
e
.
$confirm
(
"确认"
+
a
+
"【"
+
t
.
applicationName
+
"】应用吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
postSwitch
(
t
)}).
catch
(
function
(){
t
.
openFlag
})},
postSwitch
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
||
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
applicationId
:
t
.
applicationId
,
openFlag
:
1
==
t
.
openFlag
?
0
:
1
};
Object
(
g
.
a
)(
"/haoban-manage3-web/open-or-close"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
h
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
e
.
getAppData
(
1
);
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeAppSwitch
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"确定要"
+
(
1
==
t
?
"启用"
:
"停用"
)
+
"【"
+
e
.
applicationName
+
"】?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postAppSwitch
(
e
)}).
catch
(
function
(){
e
.
openFlag
=!
1
})},
postAppSwitch
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
||
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
applicationId
:
t
.
applicationId
,
openFlag
:
t
.
openFlag
?
1
:
0
};
Object
(
g
.
a
)(
"/haoban-manage3-web/open-or-close"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
h
.
a
.
showmsg
(
"启用成功"
,
"success"
),
void
e
.
getAppData
(
1
);
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
},
toAlert
:
function
(){
this
.
$confirm
(
"您所在企业尚未订购好办 ,请前往升级版本后继续使用。"
,
"提示"
,{
confirmButtonText
:
"立即前往订购"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
window
.
open
(
""
)})},
toTip
:
function
(){
this
.
$confirm
(
"您没有该功能的使用权限,请联系管理员授权后继续使用。"
,
"提示"
,{
confirmButtonText
:
"知道了"
,
type
:
"warning"
}).
then
(
function
(){
window
.
open
(
""
)})},
getHelpData
:
function
(){
var
t
=
this
;
Object
(
g
.
a
)(
"/haoban-manage3-web/get-help-list"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
}):
t
.
helpList
=
a
.
result
||
[]}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAppData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
||
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
type
:
t
};
Object
(
g
.
a
)(
"/haoban-manage3-web/application-open-close-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
open
.
forEach
(
function
(
t
){
t
.
openFlag
=
1
}),
e
.
purchaseApp
=
JSON
.
parse
(
p
()(
a
.
result
.
open
))
||
[],
a
.
result
.
close
.
forEach
(
function
(
t
){
t
.
openFlag
=!
1
}),
void
(
e
.
noPurchaseApp
=
JSON
.
parse
(
p
()(
a
.
result
.
close
))
||
[]);
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getBindData
:
function
(){
var
t
=
this
;
Object
(
g
.
a
)(
"/haoban-manage3-web/has-bind-contract"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
a
.
result
||
t
.
getBindUrl
()}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getBindUrl
:
function
(){
var
t
=
this
;
Object
(
g
.
a
)(
"/haoban-manage3-web/get-auth-url"
,{}).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
f
.
a
.
errorMsg
(
e
):
window
.
location
.
href
=
""
+
e
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toLogin
:
function
(){
var
t
=
this
;
return
new
c
.
a
(
function
(
e
,
a
){
Object
(
g
.
a
)(
"/haoban-manage3-web/get-login-info"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
localStorage
.
setItem
(
"userInfos"
,
p
()(
a
.
result
)),
void
e
(
a
.
result
.
wxEnterpriseId
);
f
.
a
.
errorMsg
(
a
),
e
({
wxEnterpriseId
:
""
})}).
catch
(
function
(
a
){
e
({
wxEnterpriseId
:
""
}),
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})})},
getTipData
:
function
(){
var
t
=
this
;
Object
(
g
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
t
.
checkShow
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getCompanyData
:
function
(){
var
t
=
this
,
e
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
g
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
versionData
=
a
.
result
,
!
1
;
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
var
t
=
this
;
return
r
()(
n
.
a
.
mark
(
function
e
(){
var
a
;
return
n
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
(
a
=
t
).
getBindData
(),
e
.
next
=
4
,
a
.
toLogin
();
case
4
:
a
.
wxEnterpriseId
=
e
.
sent
,
a
.
getAppData
(
1
),
a
.
getHelpData
(),
a
.
getCompanyData
(),
a
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
92
+
"px"
;
case
9
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()},
components
:{
vueOfficeHeader
:
u
.
a
,
setTip
:
d
.
a
}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
attrs
:{
id
:
"index"
}},[
a
(
"vue-office-header"
,{
ref
:
"headerMenu"
,
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body border-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 46px)"
}},[
a
(
"div"
,{
staticClass
:
"index-body flex flex-row"
},[
a
(
"div"
,{
staticClass
:
"index-body-left"
},[
a
(
"div"
,{
staticClass
:
"index-body-left_top border-box"
},[
a
(
"div"
,{
staticClass
:
"app-title font-16 color-303133 flex flex-space-between"
},[
a
(
"span"
,{
staticClass
:
"font-16 color-303133 font-w-600 line-h-32"
},[
t
.
_v
(
"已使用"
)]),
t
.
_v
(
" "
),
t
.
checkShow
?
t
.
_e
():
a
(
"set-tip"
,{
attrs
:{
tipText
:
t
.
tipText
}})],
1
),
t
.
_v
(
" "
),
a
(
"ul"
,
t
.
_l
(
t
.
purchaseApp
,
function
(
e
,
o
){
return
a
(
"li"
,{
key
:
o
+
"app"
,
staticClass
:
"border-box"
,
on
:{
click
:
function
(
a
){
t
.
toAppView
(
e
)}}},[
a
(
"div"
,{
staticClass
:
"app-li-cell border-box flex"
},[
a
(
"div"
,{
staticClass
:
"app-cell-left"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
applicationUrl
,
alt
:
"img"
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"app-cell-right flex flex-column flex-align-center flex-pack-center"
},[
a
(
"div"
,{
staticClass
:
"app-name font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
e
.
applicationName
))]),
t
.
_v
(
" "
),
e
.
applicationPath
?
t
.
_e
():
a
(
"div"
,{
staticClass
:
"app-info"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
t
.
_v
(
"里面为空~"
)])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"app-cell-arrow"
},[
a
(
"el-dropdown"
,{
staticClass
:
"app-cell-dropdown"
,
attrs
:{
trigger
:
"hover"
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-more el-icon--right"
,
staticStyle
:{
cursor
:
"pointer"
}})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
staticClass
:
"p-0"
},[
a
(
"span"
,{
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
changeSwitch
(
e
)}}},[
t
.
_v
(
t
.
_s
(
1
==
e
.
openFlag
?
"停用"
:
"启用"
))])])],
1
)],
1
)],
1
)])])}))]),
t
.
_v
(
" "
),
t
.
noPurchaseApp
.
length
?
a
(
"div"
,{
staticClass
:
"bg-space"
}):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"index-body-left_bottom border-box"
,
t
.
noPurchaseApp
.
length
?
"bottom-0"
:
"bottom-9999"
]},[
a
(
"div"
,{
staticClass
:
"app-title font-16 color-303133"
},[
t
.
_v
(
"已停用"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,
t
.
_l
(
t
.
noPurchaseApp
,
function
(
e
,
o
){
return
a
(
"li"
,{
key
:
o
+
"appno"
,
staticClass
:
"border-box"
},[
a
(
"div"
,{
staticClass
:
"app-li-cell border-box flex"
},[
a
(
"div"
,{
staticClass
:
"app-cell-left"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
applicationUrl
,
alt
:
"img"
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"app-cell-right"
},[
a
(
"div"
,{
staticClass
:
"app-name stop-app-name font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
e
.
applicationName
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"app-info stop-app-info"
},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
a
){
t
.
changeAppSwitch
(
a
,
e
)}},
model
:{
value
:
e
.
openFlag
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"openFlag"
,
a
)},
expression
:
"item.openFlag"
}})],
1
)])])])}))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-body-right"
},[
a
(
"div"
,{
staticClass
:
"index-body-right_top border-box"
},[
a
(
"div"
,{
staticClass
:
"serve-info"
},[
a
(
"div"
,{
staticClass
:
"serve-date-info"
},[
a
(
"div"
,{
staticClass
:
"font-14 color-909399 p-t-10 m-b-13"
,
staticStyle
:{
"font-weight"
:
"300"
}},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYm"
)((
new
Date
).
getTime
())))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399"
},[
t
.
_v
(
"农历"
+
t
.
_s
(
t
.
getLunarDay
((
new
Date
).
getFullYear
(),(
new
Date
).
getMonth
()
+
1
,(
new
Date
).
getDate
())))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"serve-date-day"
},[
a
(
"div"
,{
staticClass
:
"serve-date-day_inner "
},[
a
(
"div"
,{
staticClass
:
"color-fff font-26 p-t-10"
,
staticStyle
:{
"letter-spacing"
:
"2px"
}},[
t
.
_v
(
t
.
_s
((
new
Date
).
getDate
()))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-fff font-12"
},[
t
.
_v
(
t
.
_s
(
t
.
weeks
[(
new
Date
).
getDay
()]))])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"serve-version flex"
},[
a
(
"span"
,{
staticClass
:
"w-86 font-14 color-909399 text-left"
},[
t
.
_v
(
"企业"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
versionData
.
corpName
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"serve-date flex m-t-20"
},[
a
(
"span"
,{
staticClass
:
"w-86 font-14 color-909399 text-left"
},[
t
.
_v
(
"版本"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
versionData
.
smallVersion
))])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"serve-store flex m-t-20"
},[
a
(
"span"
,{
staticClass
:
"w-86 font-14 color-909399 text-left"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"GIC已同步上线门店总数,实时获取"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"w-86 font-14 color-909399 text-left"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"门店总数"
)])])],
1
),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-303133 "
},[
t
.
_v
(
t
.
_s
(
t
.
versionData
.
storeTotal
))])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"bg-margin-10"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-body-right_bottom border-box"
},[
a
(
"div"
,{
staticClass
:
"help-title font-16 color-303133 font-w-600"
},[
t
.
_v
(
"帮助中心"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"help-list m-t-15"
},[
t
.
_l
(
t
.
helpList
,
function
(
e
,
o
){
return
a
(
"li"
,{
key
:
o
+
"help"
,
staticClass
:
"cursor-pointer font-14 color-606266"
,
on
:{
click
:
function
(
a
){
t
.
toRedirect
(
e
)}}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
helpTitle
)
+
"
\
n "
)])}),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"text-center li-more cursor-pointer"
,
on
:{
click
:
t
.
goUdesk
}},[
t
.
_v
(
"查看更多"
)])],
2
)])])])])])],
1
)},
staticRenderFns
:[]};
var
w
=
a
(
"VU/8"
)(
v
,
m
,
!
1
,
function
(
t
){
a
(
"8OGO"
)},
"data-v-7e362266"
,
null
);
e
.
default
=
w
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
2.648e00249c751be0ef72
.js
→
dist/static/js/3
1.cf36baf02e3e24a5f053
.js
View file @
86f0972d
webpackJsonp
([
32
],{
NpHY
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Ggl+"
),
o
=
a
(
"P9l9"
),
i
=
a
(
"PI0u"
),
r
=
a
(
"Ch4/"
),
s
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList"
},{
id
:
"2"
,
name
:
"月指标任务"
,
path
:
""
}],
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroupIds
:[],
storeStatus
:
""
,
dateRange
:[]},
storeStatusOptions
:[{
value
:
""
,
label
:
"所有门店状态"
},{
value
:
"0"
,
label
:
"待审核"
},{
value
:
"1"
,
label
:
"正常"
},{
value
:
"2"
,
label
:
"审核失败"
},{
value
:
"3"
,
label
:
"停业整顿"
},{
value
:
"4"
,
label
:
"回收站"
},{
value
:
"5"
,
label
:
"删除"
}],
selectRadio
:
0
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
loading
:
!
1
}},
computed
:{},
methods
:{
checkGroupIds
:
function
(
t
){
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
i
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreStatus
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
exportExcel
:
function
(){
var
t
=
this
,
e
=
{
keyword
:
t
.
conditionObj
.
searchInput
,
storeGroupIds
:
t
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
)
||
""
,
storeStatus
:
t
.
conditionObj
.
storeStatus
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
enterpriseId
:
t
.
activeBrand
};
Object
(
o
.
b
)(
"/haoban-app-performance-three-web/performance/export-store-month-performance-task"
,
e
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
e
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
document
.
createElement
(
"a"
);
a
.
download
=
"store-month-performance-task.xls"
,
a
.
style
.
display
=
"none"
,
a
.
href
=
URL
.
createObjectURL
(
e
),
document
.
body
.
appendChild
(
a
),
a
.
click
(),
URL
.
revokeObjectURL
(
a
.
href
),
document
.
body
.
removeChild
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
var
a
=
""
,
n
=
""
;
this
.
conditionObj
.
dateRange
.
length
>
0
&&
(
a
=
this
.
conditionObj
.
dateRange
[
0
],
n
=
this
.
conditionObj
.
dateRange
[
1
]),
this
.
$router
.
push
(
"monthTaskDetail?storeId="
+
e
.
storeId
+
"&startDate="
+
a
+
"&endDate="
+
n
)},
getTableList
:
function
(
t
){
var
e
=
this
;
e
.
loading
=!
0
,
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
a
=
{
keyword
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
)
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
enterpriseId
:
e
.
activeBrand
};
Object
(
o
.
a
)(
"/haoban-app-performance-three-web/performance/query-store-month-performance-task"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"2"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
this
.
activeGroup
=
""
,
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
gicSelectGroup
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称/code"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
t
.
brandId
,
width
:
213
,
selectData
:
t
.
conditionObj
.
storeGroupIds
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}}),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
staticStyle
:{
width
:
"310px"
},
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM"
,
type
:
"monthrange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始月份"
,
"end-placeholder"
:
"结束月份"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"p"
,{
staticStyle
:{
width
:
"100%"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"taskCount"
,
label
:
"任务总数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedCount"
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedRate"
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"noCompletedCount"
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"overdueCount"
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
c
=
a
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
t
){
a
(
"xcqu"
)},
"data-v-7d5e2579"
,
null
);
e
.
default
=
c
.
exports
},
xcqu
:
function
(
t
,
e
){}});
webpackJsonp
([
31
],{
NpHY
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Ggl+"
),
o
=
a
(
"P9l9"
),
i
=
a
(
"PI0u"
),
r
=
a
(
"Ch4/"
),
s
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList"
},{
id
:
"2"
,
name
:
"月指标任务"
,
path
:
""
}],
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroupIds
:[],
storeStatus
:
""
,
dateRange
:[]},
storeStatusOptions
:[{
value
:
""
,
label
:
"所有门店状态"
},{
value
:
"0"
,
label
:
"待审核"
},{
value
:
"1"
,
label
:
"正常"
},{
value
:
"2"
,
label
:
"审核失败"
},{
value
:
"3"
,
label
:
"停业整顿"
},{
value
:
"4"
,
label
:
"回收站"
},{
value
:
"5"
,
label
:
"删除"
}],
selectRadio
:
0
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
loading
:
!
1
}},
computed
:{},
methods
:{
checkGroupIds
:
function
(
t
){
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
i
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreStatus
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
exportExcel
:
function
(){
var
t
=
this
,
e
=
{
keyword
:
t
.
conditionObj
.
searchInput
,
storeGroupIds
:
t
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
)
||
""
,
storeStatus
:
t
.
conditionObj
.
storeStatus
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
enterpriseId
:
t
.
activeBrand
};
Object
(
o
.
b
)(
"/haoban-app-performance-three-web/performance/export-store-month-performance-task"
,
e
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
e
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
document
.
createElement
(
"a"
);
a
.
download
=
"store-month-performance-task.xls"
,
a
.
style
.
display
=
"none"
,
a
.
href
=
URL
.
createObjectURL
(
e
),
document
.
body
.
appendChild
(
a
),
a
.
click
(),
URL
.
revokeObjectURL
(
a
.
href
),
document
.
body
.
removeChild
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
var
a
=
""
,
n
=
""
;
this
.
conditionObj
.
dateRange
.
length
>
0
&&
(
a
=
this
.
conditionObj
.
dateRange
[
0
],
n
=
this
.
conditionObj
.
dateRange
[
1
]),
this
.
$router
.
push
(
"monthTaskDetail?storeId="
+
e
.
storeId
+
"&startDate="
+
a
+
"&endDate="
+
n
)},
getTableList
:
function
(
t
){
var
e
=
this
;
e
.
loading
=!
0
,
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
a
=
{
keyword
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
)
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
enterpriseId
:
e
.
activeBrand
};
Object
(
o
.
a
)(
"/haoban-app-performance-three-web/performance/query-store-month-performance-task"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"2"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
this
.
activeGroup
=
""
,
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
gicSelectGroup
:
n
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称/code"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
t
.
brandId
,
width
:
213
,
selectData
:
t
.
conditionObj
.
storeGroupIds
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}}),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
staticStyle
:{
width
:
"310px"
},
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM"
,
type
:
"monthrange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始月份"
,
"end-placeholder"
:
"结束月份"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"p"
,{
staticStyle
:{
width
:
"100%"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"taskCount"
,
label
:
"任务总数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedCount"
,
label
:
"已完成(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"completedRate"
,
label
:
"完成率(含放弃)"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"noCompletedCount"
,
label
:
"待完成"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"overdueCount"
,
label
:
"逾期中"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
c
=
a
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
t
){
a
(
"xcqu"
)},
"data-v-7d5e2579"
,
null
);
e
.
default
=
c
.
exports
},
xcqu
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
3.e35089c0ea4dc1809069
.js
→
dist/static/js/3
2.4de4968d6e57140dee2d
.js
View file @
86f0972d
webpackJsonp
([
33
],{
dERw
:
function
(
t
,
a
){},
nV1L
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"卡券赠送"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"卡券赠送"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"卡券列表"
,
icon
:
"iconqiaquan"
},{
tabId
:
"2"
,
tabName
:
"卡券记录"
,
icon
:
"iconwodeqiaquan-"
}],
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
(
"cardList"
);
break
;
case
"2"
:
this
.
changeRoute
(
"cardRecord"
)}},
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
:{
$route
:{
handler
:
function
(
t
,
a
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
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"
}},[
t
.
$route
.
meta
.
keepAlive
?
e
(
"keep-alive"
,[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"dERw"
)},
"data-v-7b423504"
,
null
);
a
.
default
=
s
.
exports
}});
webpackJsonp
([
32
],{
dERw
:
function
(
t
,
a
){},
nV1L
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"卡券赠送"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"卡券赠送"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"卡券列表"
,
icon
:
"iconqiaquan"
},{
tabId
:
"2"
,
tabName
:
"卡券记录"
,
icon
:
"iconwodeqiaquan-"
}],
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
(
"cardList"
);
break
;
case
"2"
:
this
.
changeRoute
(
"cardRecord"
)}},
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
:{
$route
:{
handler
:
function
(
t
,
a
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
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"
}},[
t
.
$route
.
meta
.
keepAlive
?
e
(
"keep-alive"
,[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"dERw"
)},
"data-v-7b423504"
,
null
);
a
.
default
=
s
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
4.93b49282fdccc322c7b8
.js
→
dist/static/js/3
3.4d3acec09b21e4bb12c9
.js
View file @
86f0972d
webpackJsonp
([
34
],{
nxEw
:
function
(
t
,
e
){},
vuAV
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3Xzz"
),
s
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
298
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"溢出门店"
,
path
:
""
}],
searchInput
:
""
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[]}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
keyWord
:
e
.
searchInput
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
s
.
a
)(
"/haoban-manage3-web/store-full-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
result
||
[],
e
.
total
=
a
.
result
.
totalCount
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
}},
i
=
{
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"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"div"
,{
staticClass
:
"overstore-body"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-search m-t-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-293"
,
attrs
:{
placeholder
:
"请输入门店名称/CODE/ID"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
staticClass
:
"iconfont icondianpu-kuai color-2f54eb"
}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
||
"--"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"ERP 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
:
"企业微信部门ID"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
wxDepartmentId
||
"--"
))]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
:
"overstore-tip"
},[
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info flex flex-align-start"
,
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
(
"什么是溢出门店?"
),
e
(
"br"
),
this
.
_v
(
"当新增的门店超出你所订购的门店容量,系统会自动将其放入该列表。这些门店的所有业务功能都被禁用了,请尽快前往应用市场扩容门店容量,溢出门店将在门店容量充足的情况下自动恢复为可用状态。"
)])])])])}]};
var
c
=
a
(
"VU/8"
)(
o
,
i
,
!
1
,
function
(
t
){
a
(
"nxEw"
)},
"data-v-783d01f8"
,
null
);
e
.
default
=
c
.
exports
}});
webpackJsonp
([
33
],{
nxEw
:
function
(
t
,
e
){},
vuAV
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3Xzz"
),
s
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
298
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"溢出门店"
,
path
:
""
}],
searchInput
:
""
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[]}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
keyWord
:
e
.
searchInput
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
s
.
a
)(
"/haoban-manage3-web/store-full-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
result
||
[],
e
.
total
=
a
.
result
.
totalCount
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
}},
i
=
{
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"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"div"
,{
staticClass
:
"overstore-body"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-search m-t-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-293"
,
attrs
:{
placeholder
:
"请输入门店名称/CODE/ID"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
staticClass
:
"iconfont icondianpu-kuai color-2f54eb"
}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
||
"--"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"ERP 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
:
"企业微信部门ID"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
wxDepartmentId
||
"--"
))]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
:
"overstore-tip"
},[
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info flex flex-align-start"
,
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
(
"什么是溢出门店?"
),
e
(
"br"
),
this
.
_v
(
"当新增的门店超出你所订购的门店容量,系统会自动将其放入该列表。这些门店的所有业务功能都被禁用了,请尽快前往应用市场扩容门店容量,溢出门店将在门店容量充足的情况下自动恢复为可用状态。"
)])])])])}]};
var
c
=
a
(
"VU/8"
)(
o
,
i
,
!
1
,
function
(
t
){
a
(
"nxEw"
)},
"data-v-783d01f8"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
5.b7ed1be0435910e43e30
.js
→
dist/static/js/3
4.9c430f40b3a0c2122fd9
.js
View file @
86f0972d
webpackJsonp
([
35
],{
"+BXv"
:
function
(
t
,
e
){},
x5Fx
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"c9no"
),
c
=
a
(
"P9l9"
),
o
=
a
(
"PI0u"
),
r
=
a
(
"3E4D"
),
n
=
a
(
"Ch4/"
),
i
=
{
props
:{},
data
:
function
(){
return
{
checkShow
:
!
0
,
tipText
:
"请在企业密钥维护中输入对应的secret"
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
companyObj
:{
smallVersion
:
""
,
corpName
:
""
,
corpid
:
""
,
contactFlag
:
!
1
,
verifiedEndTime
:
""
,
corpIndustry
:
""
,
corpSubIndustry
:
""
,
corpUserMax
:
""
,
location
:
""
,
wxSecretKey
:
""
,
contactSecret
:
""
,
memberSecret
:
""
,
wxSecretKeyFlag
:
!
0
,
contactSecretFlag
:
!
0
,
memberSecretFlag
:
!
0
,
wxSecretKeyLastTime
:
null
,
contactSecretLastTime
:
null
,
memberSecretLastTime
:
null
},
showWxError
:
!
1
,
showContactError
:
!
1
}},
computed
:{},
methods
:{
saveSecret
:
Object
(
o
.
a
)(
function
(
t
){
var
e
=
{};
if
(
1
==
t
&&
(
e
.
wxSecretKey
=
String
(
this
.
companyObj
.
wxSecretKey
).
trim
(),
this
.
showWxError
=!
this
.
companyObj
.
wxSecretKey
),
2
==
t
&&
(
e
.
contactSecret
=
String
(
this
.
companyObj
.
contactSecret
).
trim
(),
this
.
showContactError
=!
this
.
companyObj
.
contactSecret
),
3
==
t
&&
(
e
.
memberSecret
=
String
(
this
.
companyObj
.
memberSecret
).
trim
()),
this
.
showWxError
||
this
.
showContactError
)
return
!
1
;
this
.
postSaveSecret
(
t
,
e
)},
300
),
postSaveSecret
:
function
(
t
,
e
){
var
a
=
this
,
s
=
1
==
t
?
"/wx-enterprise-wx-secret-set"
:
2
==
t
?
"wx-enterprise-contact-secret-set"
:
"wx-enterprise-member-secret-set"
;
Object
(
c
.
d
)(
"/haoban-manage3-web/"
+
s
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
r
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getData
(),
!
1
;
n
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
refeshData
:
function
(){
this
.
refreshData
()},
refreshData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
e
.
companyObj
=
a
.
result
,
!
1
;
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
companyObj
=
a
.
result
,
!
1
;
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTipData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
n
.
a
.
errorMsg
(
a
):
t
.
checkShow
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
s
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"company-title m-b-20 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"line-h-32"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
t
.
_v
(
"企业微信基本信息"
)]),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
t
.
refeshData
}},[
t
.
_v
(
"同步刷新 "
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
checkShow
?
t
.
_e
():
a
(
"set-tip"
,{
attrs
:{
tipText
:
t
.
tipText
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body"
},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"105px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业名称"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-r-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpName
))]),
t
.
_v
(
" "
),
a
(
"el-tag"
,[
t
.
_v
(
" "
+
t
.
_s
(
1
==
t
.
companyObj
.
contactFlag
?
"已认证"
:
"未认证"
))]),
1
==
t
.
companyObj
.
contactFlag
?
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
t
.
_v
(
"认证到期 "
+
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
t
.
companyObj
.
verifiedEndTime
)))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业ID"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpid
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"行业类型"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpIndustry
)
+
" / "
+
t
.
_s
(
t
.
companyObj
.
corpSubIndustry
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"人员规模"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpScale
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
location
))])])],
1
)],
1
),
t
.
_v
(
" "
),
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body secret-body"
},[
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"客户联系secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
wxSecretKey
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"wxSecretKey"
,
e
)},
expression
:
"companyObj.wxSecretKey"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"1"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
wxSecretKeyLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
wxSecretKeyLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
wxSecretKeyFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
wxSecretKeyFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showWxError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写客户联系 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"top-start"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"企业微信中通讯录同步若更新secret,请复制后更新至此处。"
),
a
(
"br"
),
t
.
_v
(
"因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"
),
a
(
"br"
),
t
.
_v
(
"若发生相关变更,与企业微信无关,特此告知!"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"通讯录secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
contactSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"contactSecret"
,
e
)},
expression
:
"companyObj.contactSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"2"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
contactSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
contactSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
contactSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
contactSecretFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showContactError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写通讯录 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"会员小程序secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"非必填"
},
model
:{
value
:
t
.
companyObj
.
memberSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"memberSecret"
,
e
)},
expression
:
"companyObj.memberSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"3"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
memberSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
memberSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
memberSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
memberSecretFlag
?
"校验成功"
:
"校验失败"
))])])],
1
)])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"company-title m-b-20 m-t-30"
},[
e
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
this
.
_v
(
"客户密钥维护"
)])])}]};
var
m
=
a
(
"VU/8"
)(
i
,
l
,
!
1
,
function
(
t
){
a
(
"+BXv"
)},
"data-v-75a245ad"
,
null
);
e
.
default
=
m
.
exports
}});
webpackJsonp
([
34
],{
"+BXv"
:
function
(
t
,
e
){},
x5Fx
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"c9no"
),
c
=
a
(
"P9l9"
),
o
=
a
(
"PI0u"
),
r
=
a
(
"3E4D"
),
n
=
a
(
"Ch4/"
),
i
=
{
props
:{},
data
:
function
(){
return
{
checkShow
:
!
0
,
tipText
:
"请在企业密钥维护中输入对应的secret"
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
companyObj
:{
smallVersion
:
""
,
corpName
:
""
,
corpid
:
""
,
contactFlag
:
!
1
,
verifiedEndTime
:
""
,
corpIndustry
:
""
,
corpSubIndustry
:
""
,
corpUserMax
:
""
,
location
:
""
,
wxSecretKey
:
""
,
contactSecret
:
""
,
memberSecret
:
""
,
wxSecretKeyFlag
:
!
0
,
contactSecretFlag
:
!
0
,
memberSecretFlag
:
!
0
,
wxSecretKeyLastTime
:
null
,
contactSecretLastTime
:
null
,
memberSecretLastTime
:
null
},
showWxError
:
!
1
,
showContactError
:
!
1
}},
computed
:{},
methods
:{
saveSecret
:
Object
(
o
.
a
)(
function
(
t
){
var
e
=
{};
if
(
1
==
t
&&
(
e
.
wxSecretKey
=
String
(
this
.
companyObj
.
wxSecretKey
).
trim
(),
this
.
showWxError
=!
this
.
companyObj
.
wxSecretKey
),
2
==
t
&&
(
e
.
contactSecret
=
String
(
this
.
companyObj
.
contactSecret
).
trim
(),
this
.
showContactError
=!
this
.
companyObj
.
contactSecret
),
3
==
t
&&
(
e
.
memberSecret
=
String
(
this
.
companyObj
.
memberSecret
).
trim
()),
this
.
showWxError
||
this
.
showContactError
)
return
!
1
;
this
.
postSaveSecret
(
t
,
e
)},
300
),
postSaveSecret
:
function
(
t
,
e
){
var
a
=
this
,
s
=
1
==
t
?
"/wx-enterprise-wx-secret-set"
:
2
==
t
?
"wx-enterprise-contact-secret-set"
:
"wx-enterprise-member-secret-set"
;
Object
(
c
.
d
)(
"/haoban-manage3-web/"
+
s
,
e
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
r
.
a
.
showmsg
(
"操作成功"
,
"success"
),
a
.
getData
(),
!
1
;
n
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
refeshData
:
function
(){
this
.
refreshData
()},
refreshData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage3-web/wxEnterprise-refresh"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"刷新成功"
,
"success"
),
e
.
companyObj
=
a
.
result
,
!
1
;
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage3-web/wxEnterprise-detail"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
companyObj
=
a
.
result
,
!
1
;
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTipData
:
function
(){
var
t
=
this
;
Object
(
c
.
a
)(
"/haoban-manage3-web/is-wx-enterprise-secret-set"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
n
.
a
.
errorMsg
(
a
):
t
.
checkShow
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
1
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getData
(),
this
.
getTipData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
setTip
:
s
.
a
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"company-title m-b-20 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"line-h-32"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
t
.
_v
(
"企业微信基本信息"
)]),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
t
.
refeshData
}},[
t
.
_v
(
"同步刷新 "
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
checkShow
?
t
.
_e
():
a
(
"set-tip"
,{
attrs
:{
tipText
:
t
.
tipText
}})],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body"
},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"105px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业名称"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-r-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpName
))]),
t
.
_v
(
" "
),
a
(
"el-tag"
,[
t
.
_v
(
" "
+
t
.
_s
(
1
==
t
.
companyObj
.
contactFlag
?
"已认证"
:
"未认证"
))]),
1
==
t
.
companyObj
.
contactFlag
?
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
t
.
_v
(
"认证到期 "
+
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
t
.
companyObj
.
verifiedEndTime
)))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"企业ID"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpid
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"行业类型"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpIndustry
)
+
" / "
+
t
.
_s
(
t
.
companyObj
.
corpSubIndustry
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"人员规模"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
corpScale
))])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
location
))])])],
1
)],
1
),
t
.
_v
(
" "
),
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"company-info-body secret-body"
},[
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【客户联系】API中若更新secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"客户联系secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
wxSecretKey
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"wxSecretKey"
,
e
)},
expression
:
"companyObj.wxSecretKey"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"1"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
wxSecretKeyLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
wxSecretKeyLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
wxSecretKeyFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
wxSecretKeyFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showWxError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写客户联系 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-b-20 secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"top-start"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"企业微信中通讯录同步若更新secret,请复制后更新至此处。"
),
a
(
"br"
),
t
.
_v
(
"因获取Secret而获取通讯录的相关信息。首次使用好办请输入。"
),
a
(
"br"
),
t
.
_v
(
"若发生相关变更,与企业微信无关,特此告知!"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"通讯录secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"必填"
},
model
:{
value
:
t
.
companyObj
.
contactSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"contactSecret"
,
e
)},
expression
:
"companyObj.contactSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"2"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
contactSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
contactSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
contactSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
contactSecretFlag
?
"校验成功"
:
"校验失败"
))])]),
t
.
_v
(
" "
),
t
.
showContactError
?
a
(
"div"
,{
staticClass
:
"el-form-item__error m-l-137"
},[
t
.
_v
(
"请填写通讯录 secret"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"secret-cell"
},[
a
(
"span"
,{
staticClass
:
"inline-block w-127"
},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"企业微信中【应用管理】关联的会员小程序secret,请复制后更新至此处。首次使用好办请输入。"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"会员小程序secret:"
)])])],
1
),
a
(
"el-input"
,{
staticClass
:
"m-l-10 w-399"
,
attrs
:{
maxlength
:
"200"
,
placeholder
:
"非必填"
},
model
:{
value
:
t
.
companyObj
.
memberSecret
,
callback
:
function
(
e
){
t
.
$set
(
t
.
companyObj
,
"memberSecret"
,
e
)},
expression
:
"companyObj.memberSecret"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
saveSecret
(
"3"
)}}},[
t
.
_v
(
"保存"
)]),
t
.
companyObj
.
memberSecretLastTime
?
a
(
"span"
,{
staticClass
:
"m-l-20 font-12 color-909399"
},[
t
.
_v
(
"最后一次保存:"
+
t
.
_s
(
t
.
_f
(
"formatTimeStamp"
)(
t
.
companyObj
.
memberSecretLastTime
)))]):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"m-l-37 font-14 color-303133"
},[
a
(
"span"
,{
class
:[
"iconfont"
,
t
.
companyObj
.
memberSecretFlag
?
"color-49c958 iconchenggong"
:
"color-f83431 iconshibai"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
memberSecretFlag
?
"校验成功"
:
"校验失败"
))])])],
1
)])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"company-title m-b-20 m-t-30"
},[
e
(
"span"
,{
staticClass
:
"color-303133 font-14 font-w-600"
},[
this
.
_v
(
"客户密钥维护"
)])])}]};
var
m
=
a
(
"VU/8"
)(
i
,
l
,
!
1
,
function
(
t
){
a
(
"+BXv"
)},
"data-v-75a245ad"
,
null
);
e
.
default
=
m
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/3
6.ac81ef630923456184e4
.js
→
dist/static/js/3
5.9d2f169ffce85f2b33c0
.js
View file @
86f0972d
webpackJsonp
([
36
],{
"4QyY"
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"云日报"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"云日报"
,
icon
:
"iconribao"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"云日报记录"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"云日报导出"
,
icon
:
""
}]},{
tabId
:
"2"
,
tabName
:
"任务下发设置"
,
icon
:
"iconxiafa"
},{
tabId
:
"3"
,
tabName
:
"云日报设置"
,
icon
:
"iconribaoshezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"31"
,
tabName
:
"系统报表"
,
icon
:
""
},{
tabId
:
"32"
,
tabName
:
"自定义报表"
,
icon
:
""
}]}],
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"
:
case
"11"
:
this
.
changeRoute
(
"dailyRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"dailyExport"
);
break
;
case
"2"
:
this
.
changeRoute
(
"taskAssign"
);
break
;
case
"3"
:
case
"31"
:
this
.
changeRoute
(
"systemReport"
);
break
;
case
"32"
:
this
.
changeRoute
(
"customReport"
)}},
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
)})})})},
changeNavShow
:
function
(
t
){
"/dailyDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
"/dailyRecord"
},{
name
:
"云日报记录详情"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
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
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"o7vy"
)},
"data-v-7569dfd6"
,
null
);
a
.
default
=
s
.
exports
},
o7vy
:
function
(
t
,
a
){}});
webpackJsonp
([
35
],{
"4QyY"
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"云日报"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"云日报"
,
icon
:
"iconribao"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"云日报记录"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"云日报导出"
,
icon
:
""
}]},{
tabId
:
"2"
,
tabName
:
"任务下发设置"
,
icon
:
"iconxiafa"
},{
tabId
:
"3"
,
tabName
:
"云日报设置"
,
icon
:
"iconribaoshezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"31"
,
tabName
:
"系统报表"
,
icon
:
""
},{
tabId
:
"32"
,
tabName
:
"自定义报表"
,
icon
:
""
}]}],
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"
:
case
"11"
:
this
.
changeRoute
(
"dailyRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"dailyExport"
);
break
;
case
"2"
:
this
.
changeRoute
(
"taskAssign"
);
break
;
case
"3"
:
case
"31"
:
this
.
changeRoute
(
"systemReport"
);
break
;
case
"32"
:
this
.
changeRoute
(
"customReport"
)}},
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
)})})})},
changeNavShow
:
function
(
t
){
"/dailyDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
"/dailyRecord"
},{
name
:
"云日报记录详情"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
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
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"o7vy"
)},
"data-v-7569dfd6"
,
null
);
a
.
default
=
s
.
exports
},
o7vy
:
function
(
t
,
a
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/
57.21f97bf3f1179fa240ec
.js
→
dist/static/js/
36.04ce339c52a3c95e0904
.js
View file @
86f0972d
webpackJsonp
([
57
],{
"5GE8"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
o
=
a
.
n
(
n
),
i
=
a
(
"exGp"
),
s
=
a
.
n
(
i
),
r
=
a
(
"Ch4/"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
var
e
=
this
;
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
conditionObj
:{
getDateRange
:[],
useDateRange
:[],
searchInput
:
""
},
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
n
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
n
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
n
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
n
}}},
templateList
:[],
strategyList
:[],
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getTableList
()}},
methods
:{
changeDate
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
t
.
coupCardId
)}).
catch
(
function
(){})},
delCardList
:
function
(
e
){
var
t
=
this
,
a
=
{
coupCardId
:
e
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/del-card-coup"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toInput
:
Object
(
c
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
return
s
()(
o
.
a
.
mark
(
function
t
(){
var
a
,
n
;
return
o
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:(
a
=
e
).
conditionObj
.
getDateRange
||
(
a
.
conditionObj
.
getDateRange
=
[]),
a
.
conditionObj
.
useDateRange
||
(
a
.
conditionObj
.
useDateRange
=
[]),
n
=
{
queryType
:
2
,
wxEnterpriseId
:
a
.
wxEnterpriseId
,
receiveStartDate
:
a
.
conditionObj
.
getDateRange
[
0
],
receiveEndDate
:
a
.
conditionObj
.
getDateRange
[
1
],
useStartDate
:
a
.
conditionObj
.
useDateRange
[
0
],
useEndDate
:
a
.
conditionObj
.
useDateRange
[
1
],
search
:
a
.
conditionObj
.
searchInput
||
""
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/find-card-log-page"
,
n
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
a
.
tableData
=
t
.
result
.
result
||
[],
void
(
a
.
total
=
t
.
result
.
totalPage
);
r
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})});
case
5
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"42"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"flex "
},[
a
(
"el-date-picker"
,{
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"~"
,
"start-placeholder"
:
"领取开始时间"
,
"end-placeholder"
:
"领取结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
getDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"getDateRange"
,
t
)},
expression
:
"conditionObj.getDateRange"
}}),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"~"
,
"start-placeholder"
:
"核销开始时间"
,
"end-placeholder"
:
"核销结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
useDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"useDateRange"
,
t
)},
expression
:
"conditionObj.useDateRange"
}}),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"284px"
},
attrs
:{
placeholder
:
"请输入卡券名称/卡券代码/会员信息"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
receiveTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
receiveTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
useTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
useTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
memberUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
memberUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info m-l-10"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberName
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
phoneNum
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"员工信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
memberUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
memberUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info m-l-10"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
phoneNum
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"抵金券"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"折扣券"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
status
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"投放来源"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n 好办内购券
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销来源"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
)
+
"
\
n "
)]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
e
){
a
(
"OZ7W"
)},
"data-v-258504b1"
,
null
);
t
.
default
=
f
.
exports
},
OZ7W
:
function
(
e
,
t
){}});
webpackJsonp
([
36
],{
"5GE8"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
o
=
a
.
n
(
n
),
i
=
a
(
"exGp"
),
r
=
a
.
n
(
i
),
s
=
a
(
"Ch4/"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
var
e
=
this
;
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
conditionObj
:{
getDateRange
:[],
useDateRange
:[],
searchInput
:
""
},
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
n
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
n
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
n
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
n
}}},
templateList
:[],
strategyList
:[],
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getTableList
()}},
methods
:{
changeDate
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
t
.
coupCardId
)}).
catch
(
function
(){})},
delCardList
:
function
(
e
){
var
t
=
this
,
a
=
{
coupCardId
:
e
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/del-card-coup"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toInput
:
Object
(
c
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
return
r
()(
o
.
a
.
mark
(
function
t
(){
var
a
,
n
;
return
o
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:(
a
=
e
).
conditionObj
.
getDateRange
||
(
a
.
conditionObj
.
getDateRange
=
[]),
a
.
conditionObj
.
useDateRange
||
(
a
.
conditionObj
.
useDateRange
=
[]),
n
=
{
queryType
:
2
,
wxEnterpriseId
:
a
.
wxEnterpriseId
,
receiveStartDate
:
a
.
conditionObj
.
getDateRange
[
0
],
receiveEndDate
:
a
.
conditionObj
.
getDateRange
[
1
],
useStartDate
:
a
.
conditionObj
.
useDateRange
[
0
],
useEndDate
:
a
.
conditionObj
.
useDateRange
[
1
],
search
:
a
.
conditionObj
.
searchInput
||
""
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/find-card-log-page"
,
n
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
a
.
tableData
=
t
.
result
.
result
||
[],
void
(
a
.
total
=
t
.
result
.
totalPage
);
s
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})});
case
5
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"42"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"flex "
},[
a
(
"el-date-picker"
,{
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"~"
,
"start-placeholder"
:
"领取开始时间"
,
"end-placeholder"
:
"领取结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
getDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"getDateRange"
,
t
)},
expression
:
"conditionObj.getDateRange"
}}),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"~"
,
"start-placeholder"
:
"核销开始时间"
,
"end-placeholder"
:
"核销结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
useDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"useDateRange"
,
t
)},
expression
:
"conditionObj.useDateRange"
}}),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"284px"
},
attrs
:{
placeholder
:
"请输入卡券名称/卡券代码/会员信息"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
receiveTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
receiveTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
useTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
useTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"font-14 color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberName
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatPhoneNum"
)(
t
.
row
.
phoneNum
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"员工信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info m-l-10"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatPhoneNum"
)(
t
.
row
.
phoneNum
)))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"抵金券"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"折扣券"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
status
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"投放来源"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n 好办内购券
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销来源"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
)
+
"
\
n "
)]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
e
){
a
(
"Cx0j"
)},
"data-v-72928882"
,
null
);
t
.
default
=
f
.
exports
},
Cx0j
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/5
8.9ba4ff48fdfefaa3d203
.js
→
dist/static/js/5
7.bb35aa59b73ea983662f
.js
View file @
86f0972d
webpackJsonp
([
58
],{
DCIc
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
i
=
a
(
"2eFk"
),
s
=
a
(
"Ie7z"
),
l
=
a
(
"Ke24"
),
r
=
a
(
"LRn8"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"Ch4/"
),
h
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"不良评价回访记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
delDepart
:
function
(
t
,
e
){
e
.
splice
(
t
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
t
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
t
).
length
)
return
!
1
;
this
.
postMultDel
(
t
)},
postMultDel
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeIds
:
e
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
storeId
}).
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
,
delTaskStatus
:
t
.
delOptFlag
,
reason
:
t
.
reason
,
isAll
:
e
.
selectRadio
,
taskType
:
0
};
Object
(
c
.
d
)(
"/haoban-app-tel-task-web/task/batch-del-store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportExcel
:
function
(){
var
t
=
[],
e
=
[];
this
.
conditionObj
.
storeGroup
.
forEach
(
function
(
a
){
2
==
a
.
type
&&
t
.
push
(
a
.
groupId
),
3
==
a
.
type
&&
e
.
push
(
a
.
storeId
)});
var
a
=
{
search
:
this
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
e
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
this
.
conditionObj
.
storeType
||
""
,
startDate
:
this
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
this
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
this
.
activeBrand
,
taskType
:
0
},
o
=
"search="
+
a
.
search
+
"&taskType="
+
a
.
taskType
+
"&filterStoreIds="
+
a
.
filterStoreIds
+
"&storeGroupIds="
+
a
.
storeGroupIds
+
"&storeType="
+
a
.
storeType
+
"&startDate="
+
a
.
startDate
+
"&endDate="
+
a
.
endDate
+
"&brandId="
+
a
.
brandId
+
"¤tPage="
+
a
.
currentPage
+
"&pageSize="
+
a
.
pageSize
;
window
.
open
(
window
.
location
.
origin
+
"/haoban-app-tel-task-web/task/export-store-task-list?"
+
o
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showDialogLayer
:
function
(
t
,
e
){
this
.
selectType
=
t
,
this
.
changed
=
t
,
this
.
defaultStoreList
=
e
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
t
){
this
.
conditionObj
.
storeGroup
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
this
.
$router
.
push
(
"taskDetail?storeId="
+
e
.
storeId
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
,
taskType
:
0
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
l
.
a
,
vueSelectStore
:
s
.
a
,
multipleDel
:
r
.
a
}},
b
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"store"
,
t
.
conditionObj
.
storeGroup
)}}},[
t
.
conditionObj
.
storeGroup
.
length
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
t
.
_v
(
"请选择门店分组"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
t
.
_l
(
t
.
conditionObj
.
storeGroup
,
function
(
e
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
t
.
_v
(
t
.
_s
(
e
.
name
||
e
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
t
.
delDepart
(
o
,
t
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeStoreType
},
model
:{
value
:
t
.
conditionObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"storeType"
,
e
)},
expression
:
"conditionObj.storeType"
}},
t
.
_l
(
t
.
storeTypeOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
t
.
multDel
}},[
t
.
_v
(
"批量删除"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
t
.
tableH
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
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
:
"el-icon-arrow-down el-icon--right"
})]),
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
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
taskCount
))]}}])}),
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
.
completedCount
))]}}])}),
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
.
completedRate
))]}}])}),
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
.
noCompletedCount
))]}}])}),
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
.
overdueCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
),
t
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
t
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
t
.
hideDialog
}}),
t
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
t
.
activeGroup
,
appScene
:
t
.
appScene
,
treeSet
:
t
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
t
.
defaultStoreList
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
t
){
a
(
"NKh0"
)},
"data-v-25161bbc"
,
null
);
e
.
default
=
g
.
exports
},
NKh0
:
function
(
t
,
e
){}});
webpackJsonp
([
57
],{
DCIc
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
i
=
a
(
"2eFk"
),
s
=
a
(
"Ie7z"
),
l
=
a
(
"Ke24"
),
r
=
a
(
"LRn8"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"PI0u"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"Ch4/"
),
h
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
topMenuData
:[{
id
:
"1"
,
name
:
"不良评价回访记录"
}],
activeId
:
"1"
,
showDialog
:
!
1
,
conditionObj
:{
searchInput
:
""
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
storeTypeOptions
:[{
value
:
""
,
label
:
"所有"
},{
value
:
"0"
,
label
:
"自营"
},{
value
:
"1"
,
label
:
"联营"
},{
value
:
"2"
,
label
:
"代理"
},{
value
:
"3"
,
label
:
"代销"
},{
value
:
"4"
,
label
:
"托管"
}],
selectRadio
:
0
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
computed
:{},
methods
:{
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
toInput
:
Object
(
d
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
changeStoreType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
t
){
t
||
(
this
.
conditionObj
.
dateRange
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
delDepart
:
function
(
t
,
e
){
e
.
splice
(
t
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
t
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
t
).
length
)
return
!
1
;
this
.
postMultDel
(
t
)},
postMultDel
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeIds
:
e
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
storeId
}).
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
e
.
activeBrand
,
delTaskStatus
:
t
.
delOptFlag
,
reason
:
t
.
reason
,
isAll
:
e
.
selectRadio
,
taskType
:
0
};
Object
(
c
.
d
)(
"/haoban-app-tel-task-web/task/batch-del-store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportExcel
:
function
(){
var
t
=
[],
e
=
[];
this
.
conditionObj
.
storeGroup
.
forEach
(
function
(
a
){
2
==
a
.
type
&&
t
.
push
(
a
.
groupId
),
3
==
a
.
type
&&
e
.
push
(
a
.
storeId
)});
var
a
=
{
search
:
this
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
e
.
join
(
","
)
||
""
,
storeGroupIds
:
t
.
join
(
","
)
||
""
,
storeType
:
this
.
conditionObj
.
storeType
||
""
,
startDate
:
this
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
this
.
conditionObj
.
dateRange
[
1
]
||
""
,
brandId
:
this
.
activeBrand
,
taskType
:
0
},
o
=
"search="
+
a
.
search
+
"&taskType="
+
a
.
taskType
+
"&filterStoreIds="
+
a
.
filterStoreIds
+
"&storeGroupIds="
+
a
.
storeGroupIds
+
"&storeType="
+
a
.
storeType
+
"&startDate="
+
a
.
startDate
+
"&endDate="
+
a
.
endDate
+
"&brandId="
+
a
.
brandId
+
"¤tPage="
+
a
.
currentPage
+
"&pageSize="
+
a
.
pageSize
;
window
.
open
(
window
.
location
.
origin
+
"/haoban-app-tel-task-web/task/export-store-task-list?"
+
o
)},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
showDialogLayer
:
function
(
t
,
e
){
this
.
selectType
=
t
,
this
.
changed
=
t
,
this
.
defaultStoreList
=
e
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
t
){
this
.
conditionObj
.
storeGroup
=
t
,
this
.
getTableList
()},
toDetail
:
function
(
t
,
e
){
this
.
$router
.
push
(
"taskDetail?storeId="
+
e
.
storeId
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
[],
o
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
2
==
t
.
type
&&
a
.
push
(
t
.
groupId
),
3
==
t
.
type
&&
o
.
push
(
t
.
storeId
)});
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
filterStoreIds
:
o
.
join
(
","
)
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
,
taskType
:
0
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonDetailTop
:
l
.
a
,
vueSelectStore
:
s
.
a
,
multipleDel
:
r
.
a
}},
b
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入门店名称"
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
conditionObj
.
searchInput
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"searchInput"
,
e
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"store"
,
t
.
conditionObj
.
storeGroup
)}}},[
t
.
conditionObj
.
storeGroup
.
length
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
t
.
_v
(
"请选择门店分组"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
t
.
_l
(
t
.
conditionObj
.
storeGroup
,
function
(
e
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
t
.
_v
(
t
.
_s
(
e
.
name
||
e
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
e
){
e
.
stopPropagation
(),
t
.
delDepart
(
o
,
t
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeStoreType
},
model
:{
value
:
t
.
conditionObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"storeType"
,
e
)},
expression
:
"conditionObj.storeType"
}},
t
.
_l
(
t
.
storeTypeOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
t
.
changeDate
},
model
:{
value
:
t
.
conditionObj
.
dateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"dateRange"
,
e
)},
expression
:
"conditionObj.dateRange"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
t
.
multDel
}},[
t
.
_v
(
"批量删除"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
t
.
tableH
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
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
:
"el-icon-arrow-down el-icon--right"
})]),
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
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
storeName
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"任务总数"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
taskCount
))]}}])}),
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
.
completedCount
))]}}])}),
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
.
completedRate
))]}}])}),
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
.
noCompletedCount
))]}}])}),
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
.
overdueCount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
),
t
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
t
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
t
.
hideDialog
}}),
t
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
t
.
activeGroup
,
appScene
:
t
.
appScene
,
treeSet
:
t
.
storeTreeSet
,
selectType
:
"group"
,
defaultList
:
t
.
defaultStoreList
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
t
){
a
(
"NKh0"
)},
"data-v-25161bbc"
,
null
);
e
.
default
=
g
.
exports
},
NKh0
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/5
9.847f5018f1c53ac6fd9b
.js
→
dist/static/js/5
8.f4362bcb70641f953b1a
.js
View file @
86f0972d
webpackJsonp
([
59
],{
E6lG
:
function
(
t
,
e
){},
K8Yn
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3Xzz"
),
s
=
a
(
"Qs+A"
),
l
=
a
(
"P9l9"
),
o
=
a
(
"Ch4/"
),
i
=
a
(
"PI0u"
),
r
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/contactsList"
},{
name
:
"组织架构管理"
,
path
:
"/orgStructSet"
},{
name
:
"回收站"
,
path
:
""
}],
options
:[{
label
:
"所有部门类型"
,
value
:
""
},{
label
:
"分组"
,
value
:
"0"
},{
label
:
"门店"
,
value
:
"1"
}],
searchInput
:
""
,
storeFlag
:
""
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[],
setVisible
:
!
1
,
recoverItem
:{}}},
computed
:{},
methods
:{
toRecover
:
function
(
t
,
e
){
this
.
recoverItem
=
e
,
this
.
setVisible
=!
0
},
closeSet
:
function
(){
this
.
setVisible
=!
1
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toInput
:
Object
(
i
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
keyWord
:
e
.
searchInput
||
""
,
storeFlag
:
e
.
storeFlag
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
l
.
a
)(
"/haoban-manage3-web/department-recycle-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
total
,
!
1
;
o
.
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
(){
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
setDepartment
:
s
.
a
}},
c
=
{
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"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-search m-t-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-293"
,
attrs
:{
placeholder
:
"请输入部门名称/CODE/ID"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}}),
a
(
"el-select"
,{
staticClass
:
"w-191 m-l-10"
,
attrs
:{
placeholder
:
"所有部门类型"
},
on
:{
change
:
t
.
changeType
},
model
:{
value
:
t
.
storeFlag
,
callback
:
function
(
e
){
t
.
storeFlag
=
e
},
expression
:
"storeFlag"
}},
t
.
_l
(
t
.
options
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
+
"type"
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"部门名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
"iconfont color-2f54eb"
,
1
==
e
.
row
.
isStore
?
"icondianpu-kuai"
:
"iconqiye-tianchong"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
departmentName
||
"--"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"ERP 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
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toRecover
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"恢复"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
)])])]),
t
.
_v
(
" "
),
t
.
setVisible
?
a
(
"set-department"
,{
attrs
:{
recoverItem
:
t
.
recoverItem
},
on
:{
closeSet
:
t
.
closeSet
}}):
t
.
_e
()],
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"overstore-tip"
},[
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info flex flex-align-start"
,
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
(
"什么是回收站?"
),
e
(
"br"
),
this
.
_v
(
"GIC分组或门店被删除后将被放置到回收站,如果是误删或想再次启用,您可以随时恢复它们。"
)])])])])}]};
var
u
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
t
){
a
(
"E6lG"
)},
"data-v-24edcdc5"
,
null
);
e
.
default
=
u
.
exports
}});
webpackJsonp
([
58
],{
E6lG
:
function
(
t
,
e
){},
K8Yn
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3Xzz"
),
s
=
a
(
"Qs+A"
),
l
=
a
(
"P9l9"
),
o
=
a
(
"Ch4/"
),
i
=
a
(
"PI0u"
),
r
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/contactsList"
},{
name
:
"组织架构管理"
,
path
:
"/orgStructSet"
},{
name
:
"回收站"
,
path
:
""
}],
options
:[{
label
:
"所有部门类型"
,
value
:
""
},{
label
:
"分组"
,
value
:
"0"
},{
label
:
"门店"
,
value
:
"1"
}],
searchInput
:
""
,
storeFlag
:
""
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[],
setVisible
:
!
1
,
recoverItem
:{}}},
computed
:{},
methods
:{
toRecover
:
function
(
t
,
e
){
this
.
recoverItem
=
e
,
this
.
setVisible
=!
0
},
closeSet
:
function
(){
this
.
setVisible
=!
1
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toInput
:
Object
(
i
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeType
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
keyWord
:
e
.
searchInput
||
""
,
storeFlag
:
e
.
storeFlag
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
l
.
a
)(
"/haoban-manage3-web/department-recycle-list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
total
,
!
1
;
o
.
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
(){
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
setDepartment
:
s
.
a
}},
c
=
{
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"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-search m-t-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-293"
,
attrs
:{
placeholder
:
"请输入部门名称/CODE/ID"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}}),
a
(
"el-select"
,{
staticClass
:
"w-191 m-l-10"
,
attrs
:{
placeholder
:
"所有部门类型"
},
on
:{
change
:
t
.
changeType
},
model
:{
value
:
t
.
storeFlag
,
callback
:
function
(
e
){
t
.
storeFlag
=
e
},
expression
:
"storeFlag"
}},
t
.
_l
(
t
.
options
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
+
"type"
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"部门名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:[
"iconfont color-2f54eb"
,
1
==
e
.
row
.
isStore
?
"icondianpu-kuai"
:
"iconqiye-tianchong"
]}),
a
(
"span"
,{
staticClass
:
"p-l-10"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
departmentName
||
"--"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"ERP 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
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toRecover
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"恢复"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
)])])]),
t
.
_v
(
" "
),
t
.
setVisible
?
a
(
"set-department"
,{
attrs
:{
recoverItem
:
t
.
recoverItem
},
on
:{
closeSet
:
t
.
closeSet
}}):
t
.
_e
()],
1
)],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"overstore-tip"
},[
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info flex flex-align-start"
,
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
(
"什么是回收站?"
),
e
(
"br"
),
this
.
_v
(
"GIC分组或门店被删除后将被放置到回收站,如果是误删或想再次启用,您可以随时恢复它们。"
)])])])])}]};
var
u
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
t
){
a
(
"E6lG"
)},
"data-v-24edcdc5"
,
null
);
e
.
default
=
u
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/
60.bd79f71d39b818a2f4
9a.js
→
dist/static/js/
59.4f46fe5ef57cc4d489
9a.js
View file @
86f0972d
webpackJsonp
([
60
],{
"ZR/I"
:
function
(
t
,
e
){},
cD4x
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
o
=
a
(
"exGp"
),
s
=
a
.
n
(
o
),
i
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的补发卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
repairId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
repairId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-repair"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardPut?repairId="
+
e
.
repairId
)},
toInput
:
Object
(
l
.
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
(
"/newCardPut"
)},
handleSizeChange
:
function
(
t
){
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
;
return
s
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
n
=
{
wxEnterpriseId
:(
a
=
t
).
wxEnterpriseId
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/page-repair"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
a
.
tableData
=
e
.
result
.
result
||
[],
void
(
a
.
total
=
e
.
result
.
totalPage
);
i
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
3
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"3"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增补发"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
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
.
cardCombineName
)
+
"
\
n "
)]}}])}),
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
.
cardTemplates
)
+
"
\
n "
)]}}])}),
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
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,[
e
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
this
.
_v
(
"内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发"
)])])}]};
var
h
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
t
){
a
(
"ZR/I"
)},
"data-v-23b63760"
,
null
);
e
.
default
=
h
.
exports
}});
webpackJsonp
([
59
],{
"ZR/I"
:
function
(
t
,
e
){},
cD4x
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
o
=
a
(
"exGp"
),
s
=
a
.
n
(
o
),
i
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的补发卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
repairId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
repairId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-repair"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardPut?repairId="
+
e
.
repairId
)},
toInput
:
Object
(
l
.
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
(
"/newCardPut"
)},
handleSizeChange
:
function
(
t
){
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
;
return
s
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
n
=
{
wxEnterpriseId
:(
a
=
t
).
wxEnterpriseId
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/page-repair"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
a
.
tableData
=
e
.
result
.
result
||
[],
void
(
a
.
total
=
e
.
result
.
totalPage
);
i
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
3
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"3"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增补发"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
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
.
cardCombineName
)
+
"
\
n "
)]}}])}),
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
.
cardTemplates
)
+
"
\
n "
)]}}])}),
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
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,[
e
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
this
.
_v
(
"内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发"
)])])}]};
var
h
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
t
){
a
(
"ZR/I"
)},
"data-v-23b63760"
,
null
);
e
.
default
=
h
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/6
1.4492c6a1410afbde6478
.js
→
dist/static/js/6
0.1909362f66171978f945
.js
View file @
86f0972d
webpackJsonp
([
61
],{
c7iB
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
s
=
a
(
"exGp"
),
o
=
a
.
n
(
s
),
i
=
a
(
"Ch4/"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券模板?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
templateId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
templateId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-template"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardTemp?templateId="
+
e
.
templateId
)},
toInput
:
Object
(
c
.
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
(
"/newCardTemp"
)},
handleSizeChange
:
function
(
t
){
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
;
return
o
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
n
=
{
wxEnterpriseId
:(
a
=
t
).
wxEnterpriseId
,
search
:
a
.
searchInput
||
""
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/list-template"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
i
.
a
.
errorMsg
(
e
):
a
.
tableData
=
e
.
result
||
[]}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
3
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入模板名称"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
t
.
_v
(
"内购券是选取GIC中针对企业内部员工发下的,最多创建20个模板"
)])],
1
),
t
.
_v
(
" "
),
t
.
tableData
.
length
<
20
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增模板"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
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
.
templateName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"抵金券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"折扣券"
)]):
t
.
_e
()]}}])}),
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
.
commitName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
updateTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
updateTime
)))])]}}])}),
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
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
t
){
a
(
"uaH6"
)},
"data-v-1a358de8"
,
null
);
e
.
default
=
f
.
exports
},
uaH6
:
function
(
t
,
e
){}});
webpackJsonp
([
60
],{
c7iB
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
s
=
a
(
"exGp"
),
o
=
a
.
n
(
s
),
i
=
a
(
"Ch4/"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券模板?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
templateId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
templateId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-template"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardTemp?templateId="
+
e
.
templateId
)},
toInput
:
Object
(
c
.
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
(
"/newCardTemp"
)},
handleSizeChange
:
function
(
t
){
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
;
return
o
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
n
=
{
wxEnterpriseId
:(
a
=
t
).
wxEnterpriseId
,
search
:
a
.
searchInput
||
""
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/list-template"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
i
.
a
.
errorMsg
(
e
):
a
.
tableData
=
e
.
result
||
[]}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
3
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入模板名称"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
t
.
_v
(
"内购券是选取GIC中针对企业内部员工发下的,最多创建20个模板"
)])],
1
),
t
.
_v
(
" "
),
t
.
tableData
.
length
<
20
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增模板"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
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
.
templateName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"抵金券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"折扣券"
)]):
t
.
_e
()]}}])}),
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
.
commitName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
updateTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
updateTime
)))])]}}])}),
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
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
t
){
a
(
"uaH6"
)},
"data-v-1a358de8"
,
null
);
e
.
default
=
f
.
exports
},
uaH6
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/6
2.69a2580e2fae2c6147a6
.js
→
dist/static/js/6
1.c8bf83503933dbb0d3a7
.js
View file @
86f0972d
webpackJsonp
([
62
],{
"+lem"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"NKg7"
),
i
=
a
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
components
:{
vueOfficeHeader
:
n
.
a
,
commonDetailLeft
:
i
.
a
},
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
collapseFlag
:
!
1
,
contentHeight
:
"0px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"待审核"
,
icon
:
"icondaishenhe_orange"
},{
tabId
:
"2"
,
tabName
:
"已审核"
,
icon
:
"iconrenwu1"
},{
tabId
:
"3"
,
tabName
:
"审核设置"
,
icon
:
"iconshenhe"
}]}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"unreview"
);
break
;
case
"2"
:
this
.
changeRoute
(
"reviewed"
);
break
;
case
"3"
:
this
.
changeRoute
(
"reviewSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})},
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"review-wrap"
},[
a
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"setting-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
},[
a
(
"div"
,{
staticClass
:
"content-body-inner flex border-box"
},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])])],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
a
(
"IaJK"
)},
null
,
null
);
e
.
default
=
s
.
exports
},
IaJK
:
function
(
t
,
e
){}});
webpackJsonp
([
61
],{
"+lem"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"NKg7"
),
i
=
a
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
components
:{
vueOfficeHeader
:
n
.
a
,
commonDetailLeft
:
i
.
a
},
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
collapseFlag
:
!
1
,
contentHeight
:
"0px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"待审核"
,
icon
:
"icondaishenhe_orange"
},{
tabId
:
"2"
,
tabName
:
"已审核"
,
icon
:
"iconrenwu1"
},{
tabId
:
"3"
,
tabName
:
"审核设置"
,
icon
:
"iconshenhe"
}]}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"unreview"
);
break
;
case
"2"
:
this
.
changeRoute
(
"reviewed"
);
break
;
case
"3"
:
this
.
changeRoute
(
"reviewSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})},
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"review-wrap"
},[
a
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"setting-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
},[
a
(
"div"
,{
staticClass
:
"content-body-inner flex border-box"
},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])])],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
a
(
"IaJK"
)},
null
,
null
);
e
.
default
=
s
.
exports
},
IaJK
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/6
3.c1e6131d0c4cdd6ce5e5
.js
→
dist/static/js/6
2.c150bd9c93df08960929
.js
View file @
86f0972d
webpackJsonp
([
63
],{
FmZU
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
appName
:
"话务任务"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"话务任务记录"
,
icon
:
"iconhuawushuju"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"门店视图"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"话务任务视图"
,
icon
:
""
}]},{
tabId
:
"2"
,
tabName
:
"话务任务设置"
,
icon
:
"iconrenwu"
,
onlyIconActive
:
!
1
},{
tabId
:
"3"
,
tabName
:
"不良评价回访设置"
,
icon
:
"iconbuliangpingjiashezhi"
,
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"
:
case
"11"
:
this
.
changeRoute
(
"taskRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"taskView"
);
break
;
case
"2"
:
this
.
changeRoute
(
"trafficTaskSet"
);
break
;
case
"3"
:
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
)})})})},
changeNavShow
:
function
(
t
){
"/taskViewDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
"/taskView"
},{
name
:
"话务任务视图详情"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
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
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"U+vT"
)},
"data-v-136dd194"
,
null
);
a
.
default
=
s
.
exports
},
"U+vT"
:
function
(
t
,
a
){}});
webpackJsonp
([
62
],{
FmZU
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
appName
:
"话务任务"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"话务任务记录"
,
icon
:
"iconhuawushuju"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"门店视图"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"话务任务视图"
,
icon
:
""
}]},{
tabId
:
"2"
,
tabName
:
"话务任务设置"
,
icon
:
"iconrenwu"
,
onlyIconActive
:
!
1
},{
tabId
:
"3"
,
tabName
:
"不良评价回访设置"
,
icon
:
"iconbuliangpingjiashezhi"
,
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"
:
case
"11"
:
this
.
changeRoute
(
"taskRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"taskView"
);
break
;
case
"2"
:
this
.
changeRoute
(
"trafficTaskSet"
);
break
;
case
"3"
:
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
)})})})},
changeNavShow
:
function
(
t
){
"/taskViewDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
"/taskView"
},{
name
:
"话务任务视图详情"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
}},
o
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
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
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
e
(
"U+vT"
)},
"data-v-136dd194"
,
null
);
a
.
default
=
s
.
exports
},
"U+vT"
:
function
(
t
,
a
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/6
4.58ef7243a7d48386f859
.js
→
dist/static/js/6
3.ab752ec3ccf9371f123b
.js
View file @
86f0972d
webpackJsonp
([
64
],{
"G9/i"
:
function
(
t
,
e
){},
"qWC+"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
r
=
a
.
n
(
o
),
s
=
a
(
"fPyK"
),
i
=
a
(
"Ggl+"
),
l
=
a
(
"P9l9"
),
n
=
a
(
"Ch4/"
),
c
=
a
(
"PI0u"
),
u
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"3"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
keyword
:
""
,
storeStatus
:
""
,
isCompleted
:
""
,
storeGroupIds
:[]},
completeStatusOptions
:[{
label
:
"门店完善状态"
,
value
:
""
},{
label
:
"已完善"
,
value
:
"1"
},{
label
:
"未完善"
,
value
:
"0"
}],
storeStatusOptions
:[{
value
:
""
,
label
:
"所有门店状态"
},{
value
:
"0"
,
label
:
"待审核"
},{
value
:
"1"
,
label
:
"正常"
},{
value
:
"2"
,
label
:
"审核失败"
},{
value
:
"3"
,
label
:
"停业整顿"
},{
value
:
"4"
,
label
:
"回收站"
},{
value
:
"5"
,
label
:
"删除"
}],
statistics
:{},
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
checkGroupIds
:
function
(
t
){
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchStore
:
Object
(
c
.
a
)(
function
(
t
){
this
.
currentPage
,
this
.
getTableList
()},
500
),
clearInput
:
function
(
t
){
1
==
this
.
currentPage
?
this
.
getTableList
():
this
.
currentPage
=
1
},
checkStoreGroupIds
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
getTableList
()},
selectBrandId
:
function
(
t
){
this
.
activeBrand
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
toSalerMonth
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/salerMonthDetail?storeId="
+
e
.
storeId
+
"&yearMonth="
+
this
.
yearMonth
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
yearMonth
:
e
.
yearMonth
||
e
.
$route
.
query
.
yearMonth
,
keyword
:
e
.
conditionObj
.
keyword
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
isCompleted
:
e
.
conditionObj
.
isCompleted
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
)
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
enterpriseId
:
e
.
activeBrand
};
Object
(
l
.
a
)(
"/haoban-app-performance-three-web/performance/query-store-month-performance"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
length
&&
(
a
.
result
.
list
.
forEach
(
function
(
t
){
t
.
performance
=
Object
(
c
.
c
)(
Number
(
t
.
performance
))}),
a
.
result
.
statistics
&&
r
()(
a
.
result
.
statistics
).
length
?(
e
.
statistics
=
a
.
result
.
statistics
,
e
.
tableData
.
unshift
({
completeStatus
:
a
.
result
.
statistics
.
totalComplete
,
performance
:
Object
(
c
.
c
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
storeName
:
a
.
result
.
statistics
.
totalStore
,
totalComplete
:
a
.
result
.
statistics
.
totalComplete
,
totalPerformance
:
Object
(
c
.
c
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
totalStore
:
a
.
result
.
statistics
.
totalStore
})):
e
.
tableData
.
unshift
({
completeStatus
:
e
.
statistics
.
totalComplete
,
performance
:
Object
(
c
.
c
)(
Number
(
e
.
statistics
.
totalPerformance
)),
storeName
:
e
.
statistics
.
totalStore
,
totalComplete
:
e
.
statistics
.
totalComplete
,
totalPerformance
:
e
.
statistics
.
totalPerformance
,
totalStore
:
e
.
statistics
.
totalStore
})),
e
.
tableData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"1"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
(
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getTableList
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
qrcodeDialog
:
s
.
a
,
gicSelectGroup
:
i
.
a
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 margin-l-10"
,
attrs
:{
placeholder
:
"请输入门店名称/code"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
change
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
searchStore
(
a
);
var
a
},
clear
:
function
(
e
){
return
t
.
clearInput
(
e
)}},
model
:{
value
:
t
.
conditionObj
.
keyword
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"keyword"
,
e
)},
expression
:
"conditionObj.keyword"
}}),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-131 m-l-10"
,
attrs
:{
placeholder
:
"门店完善状态"
},
on
:{
change
:
t
.
changeSelect
},
model
:{
value
:
t
.
conditionObj
.
isCompleted
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"isCompleted"
,
e
)},
expression
:
"conditionObj.isCompleted"
}},
t
.
_l
(
t
.
completeStatusOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
t
.
brandId
,
width
:
213
,
selectData
:
t
.
conditionObj
.
storeGroupIds
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
})]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
class
:[
"flex flex-pack-center flex-start"
,
e
.
row
.
totalStore
?
"color-303133"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
row
.
totalStore
?
"总计:"
+
e
.
row
.
totalStore
+
"家"
:
e
.
row
.
storeName
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"月指标"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
class
:[
e
.
row
.
totalStore
?
"color-303133"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
row
.
performance
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店完善状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
totalStore
?
a
(
"div"
,{
staticClass
:
"color-303133"
},[
t
.
_v
(
t
.
_s
(
"已完善:"
+
e
.
row
.
totalComplete
+
"家"
))]):
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
0
==
e
.
row
.
completeStatus
?
"未完善"
:
"已完善"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
operationStaffName
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
totalStore
?
t
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toSalerMonth
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"导购月指标详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
),
t
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
t
.
dialogVisible
,
callback
:
function
(
e
){
t
.
dialogVisible
=
e
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
u
,
d
,
!
1
,
function
(
t
){
a
(
"G9/i"
)},
"data-v-10e162fc"
,
null
);
e
.
default
=
p
.
exports
}});
webpackJsonp
([
63
],{
"G9/i"
:
function
(
t
,
e
){},
"qWC+"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
r
=
a
.
n
(
o
),
s
=
a
(
"fPyK"
),
i
=
a
(
"Ggl+"
),
l
=
a
(
"P9l9"
),
n
=
a
(
"Ch4/"
),
c
=
a
(
"PI0u"
),
u
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"3"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
keyword
:
""
,
storeStatus
:
""
,
isCompleted
:
""
,
storeGroupIds
:[]},
completeStatusOptions
:[{
label
:
"门店完善状态"
,
value
:
""
},{
label
:
"已完善"
,
value
:
"1"
},{
label
:
"未完善"
,
value
:
"0"
}],
storeStatusOptions
:[{
value
:
""
,
label
:
"所有门店状态"
},{
value
:
"0"
,
label
:
"待审核"
},{
value
:
"1"
,
label
:
"正常"
},{
value
:
"2"
,
label
:
"审核失败"
},{
value
:
"3"
,
label
:
"停业整顿"
},{
value
:
"4"
,
label
:
"回收站"
},{
value
:
"5"
,
label
:
"删除"
}],
statistics
:{},
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
checkGroupIds
:
function
(
t
){
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchStore
:
Object
(
c
.
a
)(
function
(
t
){
this
.
currentPage
,
this
.
getTableList
()},
500
),
clearInput
:
function
(
t
){
1
==
this
.
currentPage
?
this
.
getTableList
():
this
.
currentPage
=
1
},
checkStoreGroupIds
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
conditionObj
.
storeGroupIds
=
t
,
this
.
getTableList
()},
selectBrandId
:
function
(
t
){
this
.
activeBrand
=
t
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
toSalerMonth
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/salerMonthDetail?storeId="
+
e
.
storeId
+
"&yearMonth="
+
this
.
yearMonth
)},
getTableList
:
function
(
t
){
var
e
=
this
,
a
=
{
yearMonth
:
e
.
yearMonth
||
e
.
$route
.
query
.
yearMonth
,
keyword
:
e
.
conditionObj
.
keyword
||
""
,
storeStatus
:
e
.
conditionObj
.
storeStatus
||
""
,
isCompleted
:
e
.
conditionObj
.
isCompleted
||
""
,
storeGroupIds
:
e
.
conditionObj
.
storeGroupIds
.
map
(
function
(
t
){
return
t
.
storeGroupId
}).
join
(
","
)
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
enterpriseId
:
e
.
activeBrand
};
Object
(
l
.
a
)(
"/haoban-app-performance-three-web/performance/query-store-month-performance"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
length
&&
(
a
.
result
.
list
.
forEach
(
function
(
t
){
t
.
performance
=
Object
(
c
.
c
)(
Number
(
t
.
performance
))}),
a
.
result
.
statistics
&&
r
()(
a
.
result
.
statistics
).
length
?(
e
.
statistics
=
a
.
result
.
statistics
,
e
.
tableData
.
unshift
({
completeStatus
:
a
.
result
.
statistics
.
totalComplete
,
performance
:
Object
(
c
.
c
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
storeName
:
a
.
result
.
statistics
.
totalStore
,
totalComplete
:
a
.
result
.
statistics
.
totalComplete
,
totalPerformance
:
Object
(
c
.
c
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
totalStore
:
a
.
result
.
statistics
.
totalStore
})):
e
.
tableData
.
unshift
({
completeStatus
:
e
.
statistics
.
totalComplete
,
performance
:
Object
(
c
.
c
)(
Number
(
e
.
statistics
.
totalPerformance
)),
storeName
:
e
.
statistics
.
totalStore
,
totalComplete
:
e
.
statistics
.
totalComplete
,
totalPerformance
:
e
.
statistics
.
totalPerformance
,
totalStore
:
e
.
statistics
.
totalStore
})),
e
.
tableData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"1"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
activeGroup
=
this
.
activeGroupId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
(
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getTableList
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
qrcodeDialog
:
s
.
a
,
gicSelectGroup
:
i
.
a
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264 margin-l-10"
,
attrs
:{
placeholder
:
"请输入门店名称/code"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
change
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
searchStore
(
a
);
var
a
},
clear
:
function
(
e
){
return
t
.
clearInput
(
e
)}},
model
:{
value
:
t
.
conditionObj
.
keyword
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"keyword"
,
e
)},
expression
:
"conditionObj.keyword"
}}),
t
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-131 m-l-10"
,
attrs
:{
placeholder
:
"门店完善状态"
},
on
:{
change
:
t
.
changeSelect
},
model
:{
value
:
t
.
conditionObj
.
isCompleted
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"isCompleted"
,
e
)},
expression
:
"conditionObj.isCompleted"
}},
t
.
_l
(
t
.
completeStatusOptions
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
t
.
_v
(
" "
),
a
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
t
.
brandId
,
width
:
213
,
selectData
:
t
.
conditionObj
.
storeGroupIds
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
})]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
class
:[
"flex flex-pack-center flex-start"
,
e
.
row
.
totalStore
?
"color-303133"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
row
.
totalStore
?
"总计:"
+
e
.
row
.
totalStore
+
"家"
:
e
.
row
.
storeName
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"月指标"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
class
:[
e
.
row
.
totalStore
?
"color-303133"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
row
.
performance
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店完善状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
totalStore
?
a
(
"div"
,{
staticClass
:
"color-303133"
},[
t
.
_v
(
t
.
_s
(
"已完善:"
+
e
.
row
.
totalComplete
+
"家"
))]):
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
0
==
e
.
row
.
completeStatus
?
"未完善"
:
"已完善"
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
operationStaffName
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
totalStore
?
t
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toSalerMonth
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"导购月指标详情"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-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
),
t
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
t
.
dialogVisible
,
callback
:
function
(
e
){
t
.
dialogVisible
=
e
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
u
,
d
,
!
1
,
function
(
t
){
a
(
"G9/i"
)},
"data-v-10e162fc"
,
null
);
e
.
default
=
p
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/6
5.aef98a78c5a2a2872784
.js
→
dist/static/js/6
4.3b820a9237f2357ff5ae
.js
View file @
86f0972d
webpackJsonp
([
65
],{
NiGE
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"mvHQ"
),
n
=
a
.
n
(
r
),
s
=
a
(
"Gu7T"
),
i
=
a
.
n
(
s
),
c
=
a
(
"Xxa5"
),
o
=
a
.
n
(
c
),
u
=
a
(
"exGp"
),
d
=
a
.
n
(
u
),
h
=
a
(
"PI0u"
),
l
=
a
(
"Ch4/"
),
p
=
a
(
"3E4D"
),
f
=
a
(
"P9l9"
),
y
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
brandName
:
""
,
activeBrand
:
this
.
brandId
,
yearMonth
:
""
,
activeId
:
"3"
,
myObject
:{
hasEmptyGrid
:
!
1
,
empytGrids
:[],
days
:[],
hasLastEmptyGrid
:
!
1
,
lastEmpytGrids
:[],
beginDate
:
""
,
endDate
:
""
},
performanceWeightSettingList
:[],
settingStatus
:
1
,
settingAble
:
1
}},
computed
:{},
methods
:{
is_leap
:
function
(
t
){
return
t
%
400
==
0
||
t
%
4
==
0
&&
t
%
100
!=
0
},
m_days
:
function
(
t
){
return
[
31
,
28
+
this
.
is_leap
(
t
),
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
]},
addZero
:
function
(
t
){
return
t
<
10
?
"0"
+
parseInt
(
t
):
t
},
getThisMonthDays
:
function
(
t
,
e
){
return
new
Date
(
t
,
e
,
0
).
getDate
()},
getFirstDayOfWeek
:
function
(
t
,
e
){
return
new
Date
(
Date
.
UTC
(
t
,
e
-
1
,
1
)).
getDay
()},
getLastDayOfWeek
:
function
(
t
,
e
){
return
new
Date
(
Date
.
UTC
(
t
,
e
-
1
,
this
.
getThisMonthDays
(
t
,
e
))).
getDay
()},
getYearMonthDayWeek
:
function
(
t
,
e
,
a
){
return
new
Date
(
t
,
e
-
1
,
a
).
getDay
()},
isOverMonth
:
function
(
t
,
e
){
return
t
.
split
(
"-"
)[
1
]
==
e
.
split
(
"-"
)[
1
]},
calculateEmptyGrids
:
function
(
t
,
e
){
var
a
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
n
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
a
.
getFirstDayOfWeek
(
t
,
e
);
case
2
:
if
(
n
=
r
.
sent
,
s
=
[],
n
>
0
)
for
(
i
=
0
;
i
<
n
;
i
++
)
s
.
push
(
i
);
return
r
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
a
)}))()},
calDayEmptyGrids
:
function
(
t
,
e
,
a
){
var
r
=
this
;
return
d
()(
o
.
a
.
mark
(
function
n
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
r
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
n
.
sent
,
i
=
[],
s
>
0
)
for
(
c
=
0
;
c
<
s
;
c
++
)
i
.
push
(
c
);
return
n
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
r
)}))()},
calculateLastEmptyGrids
:
function
(
t
,
e
){
var
a
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
n
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
a
.
getLastDayOfWeek
(
t
,
e
);
case
2
:
if
(
n
=
r
.
sent
,
s
=
[],
n
>=
0
)
for
(
i
=
0
;
i
<
6
-
n
;
i
++
)
s
.
push
(
i
);
return
r
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
a
)}))()},
calLastEmptyGrids
:
function
(
t
,
e
,
a
){
var
r
=
this
;
return
d
()(
o
.
a
.
mark
(
function
n
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
r
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
n
.
sent
,
i
=
[],
s
>=
0
)
for
(
c
=
0
;
c
<
6
-
s
;
c
++
)
i
.
push
(
c
);
return
n
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
r
)}))()},
calculateDays
:
function
(
t
,
e
,
a
,
r
){
var
n
=
this
;
return
d
()(
o
.
a
.
mark
(
function
s
(){
var
c
,
u
,
d
,
h
,
l
,
p
,
f
,
y
,
m
,
v
;
return
o
.
a
.
wrap
(
function
(
s
){
for
(;;)
switch
(
s
.
prev
=
s
.
next
){
case
0
:
return
c
=
n
,(
u
=
{}).
beginDate
=
a
,
u
.
endDate
=
r
,
u
.
year
=
t
,
s
.
next
=
7
,
c
.
addZero
(
e
);
case
7
:
return
u
.
month
=
s
.
sent
,
d
=
a
.
split
(
"-"
),
h
=
r
.
split
(
"-"
),
s
.
next
=
12
,
c
.
isOverMonth
(
a
,
r
);
case
12
:
return
l
=
s
.
sent
,
s
.
next
=
15
,
c
.
calDayEmptyGrids
(
d
[
0
],
d
[
1
],
d
[
2
]);
case
15
:
return
(
p
=
s
.
sent
).
length
>
0
?(
u
.
hasEmptyGrid
=!
0
,
u
.
empytGrids
=
p
):(
u
.
hasEmptyGrid
=!
1
,
u
.
empytGrids
=
[]),
s
.
next
=
19
,
c
.
calLastEmptyGrids
(
h
[
0
],
h
[
1
],
h
[
2
]);
case
19
:
if
((
f
=
s
.
sent
).
length
>
0
?(
u
.
hasLastEmptyGrid
=!
0
,
u
.
lastEmpytGrids
=
f
):(
u
.
hasLastEmptyGrid
=!
1
,
u
.
lastEmpytGrids
=
[]),
!
l
){
s
.
next
=
27
;
break
}
return
s
.
next
=
24
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
h
[
2
]);
case
24
:
u
.
days
=
s
.
sent
,
s
.
next
=
37
;
break
;
case
27
:
return
s
.
next
=
29
,
c
.
getThisMonthDays
(
d
[
0
],
d
[
1
]);
case
29
:
return
y
=
s
.
sent
,
s
.
next
=
32
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
y
);
case
32
:
return
m
=
s
.
sent
,
s
.
next
=
35
,
c
.
setCurrentMonth
(
h
[
0
],
h
[
1
],
1
,
h
[
2
]);
case
35
:
v
=
s
.
sent
,
u
.
days
=
[].
concat
(
i
()(
m
),
i
()(
v
));
case
37
:
return
c
.
myObject
=
u
,
s
.
abrupt
(
"return"
,
u
);
case
39
:
case
"end"
:
return
s
.
stop
()}},
s
,
n
)}))()},
setCurrentMonth
:
function
(
t
,
e
,
a
,
r
){
for
(
var
n
=
this
,
s
=
[],
i
=
function
(
a
){
var
r
=
{};
if
(
n
.
performanceWeightSettingList
.
length
)
n
.
performanceWeightSettingList
.
forEach
(
function
(
t
,
e
){
parseInt
(
t
.
date
.
split
(
"-"
)[
2
])
==
a
&&
(
r
.
weightValue
=
Number
(
t
.
weightValue
).
toFixed
(
2
))});
else
{
var
i
=
n
.
getYearMonthDayWeek
(
t
,
e
,
a
);
r
.
weightValue
=
5
==
i
?
Number
(
1.8
).
toFixed
(
2
):
6
==
i
||
0
==
i
?
Number
(
2
).
toFixed
(
2
):
Number
(
1
).
toFixed
(
2
)}
r
.
performanceDay
=
n
.
addZero
(
a
),
r
.
date
=
t
+
"-"
+
n
.
addZero
(
e
)
+
"-"
+
n
.
addZero
(
a
),
r
.
month
=
n
.
addZero
(
e
),
s
.
push
(
r
)},
c
=
a
;
c
<=
r
;
c
++
)
i
(
c
);
return
s
},
resetData
:
function
(){
this
.
performanceWeightSettingList
=
[];
var
t
=
this
.
yearMonth
.
split
(
"-"
);
this
.
calculateDays
(
t
[
0
],
t
[
1
],
this
.
myObject
.
beginDate
,
this
.
myObject
.
endDate
)},
saveSet
:
Object
(
h
.
a
)(
function
(){
var
t
=
this
,
e
=!
0
;
if
(
t
.
myObject
.
days
.
forEach
(
function
(
t
){(
!
t
.
weightValue
||
t
.
weightValue
<=
0
||!
Number
(
t
.
weightValue
))
&&
(
e
=!
1
)}),
!
e
)
return
this
.
$confirm
(
"每日的权重不能为空,必须为数字,且不小于 0 ?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
showCancelButton
:
!
1
,
type
:
"warning"
}).
then
(
function
(){}),
!
1
;
t
.
$confirm
(
0
==
t
.
settingStatus
?
"点击即下发门店月指标任务,请确认是否提交?"
:
"此次提交只影响日指标值,不会触发月指标任务,请确认是否提交?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postSave
(
t
.
myObject
.
days
)}).
catch
(
function
(){})},
500
),
postSave
:
function
(
t
){
var
e
=
this
,
a
=
{
enterpriseId
:
e
.
activeBrand
,
yearMonth
:
e
.
yearMonth
,
performanceWeightSettingList
:
n
()(
t
)};
Object
(
f
.
d
)(
"/haoban-app-performance-three-web/performance/save-performance-weight-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
p
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
getData
();
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
,
yearMonth
:
t
.
yearMonth
};
Object
(
f
.
d
)(
"/haoban-app-performance-three-web/performance/query-performance-weight-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
,
r
=
t
.
yearMonth
.
split
(
"-"
);
if
(
1
==
a
.
errorCode
)
return
t
.
performanceWeightSettingList
=
a
.
result
.
performanceWeightSettingList
||
[],
t
.
settingStatus
=
a
.
result
.
settingStatus
,
t
.
settingAble
=
a
.
result
.
settingAble
,
t
.
brandName
=
a
.
result
.
enterpriseName
,
t
.
myObject
.
beginDate
=
a
.
result
.
beginDate
,
t
.
myObject
.
endDate
=
a
.
result
.
endDate
,
void
t
.
calculateDays
(
r
[
0
],
r
[
1
],
a
.
result
.
beginDate
,
a
.
result
.
endDate
);
l
.
a
.
errorMsg
(
a
),
t
.
settingAble
=
0
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"1"
),
this
.
brandId
&&
(
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"day-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"day-set-title m-b-20"
},[
a
(
"span"
,{
staticClass
:
"font-18 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
yearMonth
))]),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"right"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"首次设置提交即下发门店月指标任务;"
),
a
(
"br"
),
t
.
_v
(
"门店月指标将依照日权重自动分配,日指标=当月月指标*(日权重/∑当月日权重);"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 m-l-10"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
t
.
_s
(
t
.
brandName
)
+
"日权重"
)])])],
1
),
t
.
_v
(
" "
),
a
(
"section"
,[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week week-body"
},[
t
.
myObject
.
hasEmptyGrid
?
t
.
_l
(
t
.
myObject
.
empytGrids
,
function
(
t
,
e
){
return
a
(
"div"
,{
key
:
e
+
"empytGrids"
,
staticClass
:
"day grid white-color"
})}):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_l
(
t
.
myObject
.
days
,
function
(
e
,
r
){
return
a
(
"div"
,{
key
:
r
,
staticClass
:
"day w-p-14 selectable"
,
class
:
0
==
e
?
"hide"
:
""
},[
a
(
"div"
,{
staticClass
:
"w-120 font-14 color-909399 day-performance"
},[
t
.
_v
(
t
.
_s
(
e
.
month
+
"-"
+
e
.
performanceDay
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"target-value "
},[
a
(
"el-input"
,{
staticClass
:
"w-120"
,
attrs
:{
placeholder
:
"请输入权重值"
,
disabled
:
0
==
t
.
settingAble
},
model
:{
value
:
e
.
weightValue
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"weightValue"
,
a
)},
expression
:
"day.weightValue"
}})],
1
)])}),
t
.
_v
(
" "
),
t
.
myObject
.
hasLastEmptyGrid
?
t
.
_l
(
t
.
myObject
.
lastEmpytGrids
,
function
(
t
,
e
){
return
a
(
"div"
,{
key
:
e
+
"lastEmpytGrids"
,
staticClass
:
"day grid white-color"
})}):
t
.
_e
()],
2
)]),
t
.
_v
(
" "
),
1
==
t
.
settingAble
?
a
(
"div"
,{
staticClass
:
"day-set-btn m-t-24 text-center"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
resetData
}},[
t
.
_v
(
"重置"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"提交"
)])],
1
):
t
.
_e
()])])},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"week"
},[
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周日"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周一"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周二"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周三"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周四"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周五"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周六"
)])])}]};
var
v
=
a
(
"VU/8"
)(
y
,
m
,
!
1
,
function
(
t
){
a
(
"nJ3A"
)},
"data-v-10592094"
,
null
);
e
.
default
=
v
.
exports
},
nJ3A
:
function
(
t
,
e
){}});
webpackJsonp
([
64
],{
NiGE
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"mvHQ"
),
n
=
a
.
n
(
r
),
s
=
a
(
"Gu7T"
),
i
=
a
.
n
(
s
),
c
=
a
(
"Xxa5"
),
o
=
a
.
n
(
c
),
u
=
a
(
"exGp"
),
d
=
a
.
n
(
u
),
h
=
a
(
"PI0u"
),
l
=
a
(
"Ch4/"
),
p
=
a
(
"3E4D"
),
f
=
a
(
"P9l9"
),
y
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
brandName
:
""
,
activeBrand
:
this
.
brandId
,
yearMonth
:
""
,
activeId
:
"3"
,
myObject
:{
hasEmptyGrid
:
!
1
,
empytGrids
:[],
days
:[],
hasLastEmptyGrid
:
!
1
,
lastEmpytGrids
:[],
beginDate
:
""
,
endDate
:
""
},
performanceWeightSettingList
:[],
settingStatus
:
1
,
settingAble
:
1
}},
computed
:{},
methods
:{
is_leap
:
function
(
t
){
return
t
%
400
==
0
||
t
%
4
==
0
&&
t
%
100
!=
0
},
m_days
:
function
(
t
){
return
[
31
,
28
+
this
.
is_leap
(
t
),
31
,
30
,
31
,
30
,
31
,
31
,
30
,
31
,
30
,
31
]},
addZero
:
function
(
t
){
return
t
<
10
?
"0"
+
parseInt
(
t
):
t
},
getThisMonthDays
:
function
(
t
,
e
){
return
new
Date
(
t
,
e
,
0
).
getDate
()},
getFirstDayOfWeek
:
function
(
t
,
e
){
return
new
Date
(
Date
.
UTC
(
t
,
e
-
1
,
1
)).
getDay
()},
getLastDayOfWeek
:
function
(
t
,
e
){
return
new
Date
(
Date
.
UTC
(
t
,
e
-
1
,
this
.
getThisMonthDays
(
t
,
e
))).
getDay
()},
getYearMonthDayWeek
:
function
(
t
,
e
,
a
){
return
new
Date
(
t
,
e
-
1
,
a
).
getDay
()},
isOverMonth
:
function
(
t
,
e
){
return
t
.
split
(
"-"
)[
1
]
==
e
.
split
(
"-"
)[
1
]},
calculateEmptyGrids
:
function
(
t
,
e
){
var
a
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
n
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
a
.
getFirstDayOfWeek
(
t
,
e
);
case
2
:
if
(
n
=
r
.
sent
,
s
=
[],
n
>
0
)
for
(
i
=
0
;
i
<
n
;
i
++
)
s
.
push
(
i
);
return
r
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
a
)}))()},
calDayEmptyGrids
:
function
(
t
,
e
,
a
){
var
r
=
this
;
return
d
()(
o
.
a
.
mark
(
function
n
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
r
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
n
.
sent
,
i
=
[],
s
>
0
)
for
(
c
=
0
;
c
<
s
;
c
++
)
i
.
push
(
c
);
return
n
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
r
)}))()},
calculateLastEmptyGrids
:
function
(
t
,
e
){
var
a
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
n
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
a
.
getLastDayOfWeek
(
t
,
e
);
case
2
:
if
(
n
=
r
.
sent
,
s
=
[],
n
>=
0
)
for
(
i
=
0
;
i
<
6
-
n
;
i
++
)
s
.
push
(
i
);
return
r
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
a
)}))()},
calLastEmptyGrids
:
function
(
t
,
e
,
a
){
var
r
=
this
;
return
d
()(
o
.
a
.
mark
(
function
n
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
r
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
n
.
sent
,
i
=
[],
s
>=
0
)
for
(
c
=
0
;
c
<
6
-
s
;
c
++
)
i
.
push
(
c
);
return
n
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
r
)}))()},
calculateDays
:
function
(
t
,
e
,
a
,
r
){
var
n
=
this
;
return
d
()(
o
.
a
.
mark
(
function
s
(){
var
c
,
u
,
d
,
h
,
l
,
p
,
f
,
y
,
m
,
v
;
return
o
.
a
.
wrap
(
function
(
s
){
for
(;;)
switch
(
s
.
prev
=
s
.
next
){
case
0
:
return
c
=
n
,(
u
=
{}).
beginDate
=
a
,
u
.
endDate
=
r
,
u
.
year
=
t
,
s
.
next
=
7
,
c
.
addZero
(
e
);
case
7
:
return
u
.
month
=
s
.
sent
,
d
=
a
.
split
(
"-"
),
h
=
r
.
split
(
"-"
),
s
.
next
=
12
,
c
.
isOverMonth
(
a
,
r
);
case
12
:
return
l
=
s
.
sent
,
s
.
next
=
15
,
c
.
calDayEmptyGrids
(
d
[
0
],
d
[
1
],
d
[
2
]);
case
15
:
return
(
p
=
s
.
sent
).
length
>
0
?(
u
.
hasEmptyGrid
=!
0
,
u
.
empytGrids
=
p
):(
u
.
hasEmptyGrid
=!
1
,
u
.
empytGrids
=
[]),
s
.
next
=
19
,
c
.
calLastEmptyGrids
(
h
[
0
],
h
[
1
],
h
[
2
]);
case
19
:
if
((
f
=
s
.
sent
).
length
>
0
?(
u
.
hasLastEmptyGrid
=!
0
,
u
.
lastEmpytGrids
=
f
):(
u
.
hasLastEmptyGrid
=!
1
,
u
.
lastEmpytGrids
=
[]),
!
l
){
s
.
next
=
27
;
break
}
return
s
.
next
=
24
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
h
[
2
]);
case
24
:
u
.
days
=
s
.
sent
,
s
.
next
=
37
;
break
;
case
27
:
return
s
.
next
=
29
,
c
.
getThisMonthDays
(
d
[
0
],
d
[
1
]);
case
29
:
return
y
=
s
.
sent
,
s
.
next
=
32
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
y
);
case
32
:
return
m
=
s
.
sent
,
s
.
next
=
35
,
c
.
setCurrentMonth
(
h
[
0
],
h
[
1
],
1
,
h
[
2
]);
case
35
:
v
=
s
.
sent
,
u
.
days
=
[].
concat
(
i
()(
m
),
i
()(
v
));
case
37
:
return
c
.
myObject
=
u
,
s
.
abrupt
(
"return"
,
u
);
case
39
:
case
"end"
:
return
s
.
stop
()}},
s
,
n
)}))()},
setCurrentMonth
:
function
(
t
,
e
,
a
,
r
){
for
(
var
n
=
this
,
s
=
[],
i
=
function
(
a
){
var
r
=
{};
if
(
n
.
performanceWeightSettingList
.
length
)
n
.
performanceWeightSettingList
.
forEach
(
function
(
t
,
e
){
parseInt
(
t
.
date
.
split
(
"-"
)[
2
])
==
a
&&
(
r
.
weightValue
=
Number
(
t
.
weightValue
).
toFixed
(
2
))});
else
{
var
i
=
n
.
getYearMonthDayWeek
(
t
,
e
,
a
);
r
.
weightValue
=
5
==
i
?
Number
(
1.8
).
toFixed
(
2
):
6
==
i
||
0
==
i
?
Number
(
2
).
toFixed
(
2
):
Number
(
1
).
toFixed
(
2
)}
r
.
performanceDay
=
n
.
addZero
(
a
),
r
.
date
=
t
+
"-"
+
n
.
addZero
(
e
)
+
"-"
+
n
.
addZero
(
a
),
r
.
month
=
n
.
addZero
(
e
),
s
.
push
(
r
)},
c
=
a
;
c
<=
r
;
c
++
)
i
(
c
);
return
s
},
resetData
:
function
(){
this
.
performanceWeightSettingList
=
[];
var
t
=
this
.
yearMonth
.
split
(
"-"
);
this
.
calculateDays
(
t
[
0
],
t
[
1
],
this
.
myObject
.
beginDate
,
this
.
myObject
.
endDate
)},
saveSet
:
Object
(
h
.
a
)(
function
(){
var
t
=
this
,
e
=!
0
;
if
(
t
.
myObject
.
days
.
forEach
(
function
(
t
){(
!
t
.
weightValue
||
t
.
weightValue
<=
0
||!
Number
(
t
.
weightValue
))
&&
(
e
=!
1
)}),
!
e
)
return
this
.
$confirm
(
"每日的权重不能为空,必须为数字,且不小于 0 ?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
showCancelButton
:
!
1
,
type
:
"warning"
}).
then
(
function
(){}),
!
1
;
t
.
$confirm
(
0
==
t
.
settingStatus
?
"点击即下发门店月指标任务,请确认是否提交?"
:
"此次提交只影响日指标值,不会触发月指标任务,请确认是否提交?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postSave
(
t
.
myObject
.
days
)}).
catch
(
function
(){})},
500
),
postSave
:
function
(
t
){
var
e
=
this
,
a
=
{
enterpriseId
:
e
.
activeBrand
,
yearMonth
:
e
.
yearMonth
,
performanceWeightSettingList
:
n
()(
t
)};
Object
(
f
.
d
)(
"/haoban-app-performance-three-web/performance/save-performance-weight-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
p
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
getData
();
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
,
yearMonth
:
t
.
yearMonth
};
Object
(
f
.
d
)(
"/haoban-app-performance-three-web/performance/query-performance-weight-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
,
r
=
t
.
yearMonth
.
split
(
"-"
);
if
(
1
==
a
.
errorCode
)
return
t
.
performanceWeightSettingList
=
a
.
result
.
performanceWeightSettingList
||
[],
t
.
settingStatus
=
a
.
result
.
settingStatus
,
t
.
settingAble
=
a
.
result
.
settingAble
,
t
.
brandName
=
a
.
result
.
enterpriseName
,
t
.
myObject
.
beginDate
=
a
.
result
.
beginDate
,
t
.
myObject
.
endDate
=
a
.
result
.
endDate
,
void
t
.
calculateDays
(
r
[
0
],
r
[
1
],
a
.
result
.
beginDate
,
a
.
result
.
endDate
);
l
.
a
.
errorMsg
(
a
),
t
.
settingAble
=
0
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"1"
),
this
.
brandId
&&
(
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"day-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"day-set-title m-b-20"
},[
a
(
"span"
,{
staticClass
:
"font-18 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
yearMonth
))]),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
placement
:
"right"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
t
.
_v
(
"首次设置提交即下发门店月指标任务;"
),
a
(
"br"
),
t
.
_v
(
"门店月指标将依照日权重自动分配,日指标=当月月指标*(日权重/∑当月日权重);"
)]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 m-l-10"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
t
.
_s
(
t
.
brandName
)
+
"日权重"
)])])],
1
),
t
.
_v
(
" "
),
a
(
"section"
,[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week week-body"
},[
t
.
myObject
.
hasEmptyGrid
?
t
.
_l
(
t
.
myObject
.
empytGrids
,
function
(
t
,
e
){
return
a
(
"div"
,{
key
:
e
+
"empytGrids"
,
staticClass
:
"day grid white-color"
})}):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_l
(
t
.
myObject
.
days
,
function
(
e
,
r
){
return
a
(
"div"
,{
key
:
r
,
staticClass
:
"day w-p-14 selectable"
,
class
:
0
==
e
?
"hide"
:
""
},[
a
(
"div"
,{
staticClass
:
"w-120 font-14 color-909399 day-performance"
},[
t
.
_v
(
t
.
_s
(
e
.
month
+
"-"
+
e
.
performanceDay
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"target-value "
},[
a
(
"el-input"
,{
staticClass
:
"w-120"
,
attrs
:{
placeholder
:
"请输入权重值"
,
disabled
:
0
==
t
.
settingAble
},
model
:{
value
:
e
.
weightValue
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"weightValue"
,
a
)},
expression
:
"day.weightValue"
}})],
1
)])}),
t
.
_v
(
" "
),
t
.
myObject
.
hasLastEmptyGrid
?
t
.
_l
(
t
.
myObject
.
lastEmpytGrids
,
function
(
t
,
e
){
return
a
(
"div"
,{
key
:
e
+
"lastEmpytGrids"
,
staticClass
:
"day grid white-color"
})}):
t
.
_e
()],
2
)]),
t
.
_v
(
" "
),
1
==
t
.
settingAble
?
a
(
"div"
,{
staticClass
:
"day-set-btn m-t-24 text-center"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
resetData
}},[
t
.
_v
(
"重置"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"提交"
)])],
1
):
t
.
_e
()])])},
staticRenderFns
:[
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"week"
},[
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周日"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周一"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周二"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周三"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周四"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周五"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"week-head day w-p-14"
},[
t
.
_v
(
"周六"
)])])}]};
var
v
=
a
(
"VU/8"
)(
y
,
m
,
!
1
,
function
(
t
){
a
(
"nJ3A"
)},
"data-v-10592094"
,
null
);
e
.
default
=
v
.
exports
},
nJ3A
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/65.08ecf25e6358b6e7b1c3.js
0 → 100644
View file @
86f0972d
webpackJsonp
([
65
],{
"WJC+"
:
function
(
e
,
t
){},
dhLd
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Ch4/"
),
o
=
a
(
"3E4D"
),
i
=
a
(
"PI0u"
),
s
=
a
(
"P9l9"
),
r
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
var
e
=
this
;
return
{
recordShow
:
!
1
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
activeId
:
"2"
,
conditionObj
:{
postDateRange
:[],
searchInput
:
""
},
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
n
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
n
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
n
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
n
}}},
templateData
:[],
strategyData
:[],
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getTableList
()}},
filters
:{
percenteNum
:
function
(
e
){
return
e
>
0
?
Number
(
100
*
e
).
toFixed
(
2
)
+
"%"
:
Number
(
e
).
toFixed
(
2
)
+
"%"
}},
methods
:{
changeDate
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
t
.
coupCardId
)}).
catch
(
function
(){})},
delCardList
:
function
(
e
){
var
t
=
this
,
a
=
{
gicEnterpriseId
:
t
.
brandId
,
coupCardId
:
e
};
Object
(
s
.
d
)(
"/haoban-app-customer-web/inner/del-card-coup"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
o
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
(
t
.
brandId
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toInput
:
Object
(
i
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
e
.
conditionObj
.
postDateRange
||
(
e
.
conditionObj
.
postDateRange
=
[]);
var
t
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
,
search
:
e
.
conditionObj
.
searchInput
,
queryType
:
1
,
sendStartDate
:
e
.
conditionObj
.
postDateRange
[
0
],
sendEndDate
:
e
.
conditionObj
.
postDateRange
[
1
],
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
s
.
d
)(
"/haoban-app-customer-web/inner/find-card-log-page"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
result
||
[],
void
(
e
.
total
=
a
.
result
.
totalPage
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"41"
),
this
.
getTableList
()}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,[
a
(
"el-date-picker"
,{
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"~"
,
"start-placeholder"
:
"发送开始时间"
,
"end-placeholder"
:
"发送结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
postDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"postDateRange"
,
t
)},
expression
:
"conditionObj.postDateRange"
}}),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"284px"
},
attrs
:{
placeholder
:
"请输入卡券名称/卡券代码/会员信息"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"成员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info m-l-10"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatPhoneNum"
)(
t
.
row
.
phoneNum
)))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"font-14 color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberName
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatPhoneNum"
)(
t
.
row
.
phoneNum
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发券渠道"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n 好办内购券
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
status
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发送时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
putonTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
putonTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
receiveTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
receiveTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
useTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
useTime
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
a
(
"WJC+"
)},
"data-v-0a9624a3"
,
null
);
t
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/app.
e1679a5996d824665dff
.js
→
dist/static/js/app.
38fed6a09e4c1f0dfea0
.js
View file @
86f0972d
webpackJsonp
([
71
],{
"/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
),
i
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
i
,
!
1
,
function
(
e
){
a
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
a
(
"lRwf"
),
u
=
a
.
n
(
c
),
d
=
a
(
"pRNm"
),
m
=
a
.
n
(
d
),
l
=
a
(
"5tgt"
),
v
=
a
.
n
(
l
);
u
.
a
.
use
(
m
.
a
);
var
h
=
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
:
v
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"contactsList"
,
component
:
v
()(
"business"
,
"index"
),
children
:[{
path
:
"/contactsList"
,
name
:
"通讯录"
,
component
:
v
()(
"business"
,
"contacts"
)},{
path
:
"/orgStructSet"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"orgStructSet"
)},{
path
:
"/recycle"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"recycle"
)},{
path
:
"/syncLog"
,
name
:
"通讯录日志"
,
component
:
v
()(
"business"
,
"syncLog"
)}]},{
path
:
"/enterprise"
,
name
:
"企业设置"
,
redirect
:
"enterpriseSet"
,
component
:
v
()(
"enterprise"
,
"index"
),
children
:[{
path
:
"/enterpriseSet"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"enterpriseSet"
)},{
path
:
"/adminList"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"adminList"
)}]},{
path
:
"/overStore"
,
name
:
"溢出门店"
,
redirect
:
"unreview"
,
component
:
v
()(
"overstore"
,
"index"
),
children
:[{
path
:
"/overStoreList"
,
name
:
"溢出门店"
,
component
:
v
()(
"overstore"
,
"overStoreList"
)}]},{
path
:
"/apps"
,
name
:
"企业应用"
,
redirect
:
"mycustomer"
,
component
:
v
()(
"apps"
,
"index"
),
children
:[{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memberShowSet"
,
component
:
v
()(
"apps/customerApp"
,
"index"
),
children
:[{
path
:
"/memberShowSet"
,
name
:
"会员展示设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberShowSet"
)},{
path
:
"/memberGroupSet"
,
name
:
"会员分组设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberGroupSet"
)},{
path
:
"/memberSearchSet"
,
name
:
"会员搜索设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberSearchSet"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"apps/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyExport"
,
name
:
"云日报导出"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyExport"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReport"
)},{
path
:
"/customReportSet"
,
name
:
"自定义报表设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReportSet"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"apps/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskView"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskView"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"apps/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"apps/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"apps/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"apps/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"apps/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"apps/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"apps/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"apps/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"apps/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/cardList"
,
name
:
"卡券赠送"
,
redirect
:
"/cardList"
,
component
:
v
()(
"apps/card"
,
"index"
),
children
:[{
path
:
"/cardList"
,
name
:
"卡券列表"
,
component
:
v
()(
"apps/card"
,
"cardList"
)},{
path
:
"/cardRecord"
,
name
:
"卡券记录"
,
component
:
v
()(
"apps/card"
,
"cardRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
v
()(
"apps/card"
,
"newCard"
)}]},{
path
:
"/protectCard"
,
name
:
"内购券"
,
redirect
:
"/cardTemplate"
,
component
:
v
()(
"apps/protectCard"
,
"index"
),
children
:[{
path
:
"/cardTemplate"
,
name
:
"卡券模板"
,
component
:
v
()(
"apps/protectCard"
,
"cardTemplate"
)},{
path
:
"/newCardTemp"
,
name
:
"新建模板"
,
component
:
v
()(
"apps/protectCard"
,
"newCardTemp"
)},{
path
:
"/cardStrategy"
,
name
:
"卡券策略"
,
component
:
v
()(
"apps/protectCard"
,
"cardStrategy"
)},{
path
:
"/newCardStrategy"
,
name
:
"新建策略"
,
component
:
v
()(
"apps/protectCard"
,
"newCardStrategy"
)},{
path
:
"/cardPut"
,
name
:
"内购券投放"
,
component
:
v
()(
"apps/protectCard"
,
"cardPut"
)},{
path
:
"/newCardPut"
,
name
:
"新建补发"
,
component
:
v
()(
"apps/protectCard"
,
"newCardPut"
)},{
path
:
"/cardPutRecord"
,
name
:
"投放记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardPutRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"领取记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardGetRecord"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
v
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
v
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
v
()(
"reviewCenter"
,
"unreview"
)},{
path
:
"/reviewSet"
,
name
:
"审核设置"
,
component
:
v
()(
"reviewCenter"
,
"reviewSet"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
v
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
D
=
new
m
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
S
=
a
(
"zL8q"
),
w
=
a
.
n
(
S
),
y
=
a
(
"Rf8U"
),
x
=
a
.
n
(
y
),
k
=
a
(
"mtWM"
),
T
=
a
.
n
(
k
),
C
=
a
(
"bOdI"
),
b
=
a
.
n
(
C
),
R
=
a
(
"SJI6"
),
A
=
a
.
n
(
R
);
u
.
a
.
use
(
A
.
a
);
var
E
=
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"
),{
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
(),
i
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
i
}},
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
(),
i
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
o
+
"."
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
i
}},
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
(
console
.
log
(
a
),
a
<
0
)
return
""
;
var
n
=
Math
.
floor
(
a
/
864
e5
);
console
.
log
(
a
,
n
);
var
o
=
a
%
864
e5
,
r
=
o
%
36
e5
;
return
n
+
"天"
+
Math
.
floor
(
o
/
36
e5
)
+
"小时"
+
Math
.
floor
(
r
/
6
e4
)
+
"分"
}}}),
P
=
a
(
"TUaa"
),
L
=
a
.
n
(
P
),
V
=
a
(
"tyqE"
),
q
=
a
.
n
(
V
),
H
=
a
(
"pRVe"
),
I
=
a
.
n
(
H
),
Y
=
a
(
"XsK6"
),
j
=
a
.
n
(
Y
),
G
=
a
(
"QRL9"
),
N
=
a
.
n
(
G
),
O
=
a
(
"2Pnh"
),
F
=
a
.
n
(
O
),
J
=
a
(
"l9mu"
),
U
=
a
.
n
(
J
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
F
()(
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
,
i
=
592.28
/
a
*
n
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
r
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
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
(
N
.
a
),
Vue
.
use
(
I
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
w
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
T
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
o
()(
M
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
M
[
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
:
E
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
a
){
var
n
=
{
"./apps/badEvaluate/badEvaluateDetail.vue"
:[
"Yz8m"
,
0
,
38
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
58
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
45
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
22
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
43
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
13
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
33
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
10
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
30
],
"./apps/cloudDaily/customReportSet.vue"
:[
"LTPC"
,
0
,
4
],
"./apps/cloudDaily/dailyDetail.vue"
:[
"JwJ7"
,
0
,
11
],
"./apps/cloudDaily/dailyExport.vue"
:[
"H3Dc"
,
0
,
16
],
"./apps/cloudDaily/dailyRecord.vue"
:[
"IuWw"
,
0
,
50
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
36
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
5
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
25
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
42
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
44
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
56
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
67
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
51
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
40
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
24
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
41
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
54
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
46
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
57
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
60
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
27
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
20
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
61
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
49
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
7
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
8
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
48
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
65
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
29
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
53
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
32
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
37
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
68
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
64
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
63
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
12
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
55
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
19
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
39
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
69
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
2
],
"./business/index.vue"
:[
"jPcV"
,
0
,
66
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
3
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
59
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
23
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
26
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
35
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
28
],
"./errorPage/403.vue"
:[
"6XGN"
,
18
],
"./errorPage/404.vue"
:[
"AejC"
,
21
],
"./errorPage/500.vue"
:[
"FskK"
,
15
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
17
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
31
],
"./login/index.vue"
:[
"T+/8"
,
0
,
14
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
52
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
34
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
62
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
47
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
9
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
6
]};
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
},
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
]);
webpackJsonp
([
71
],{
"/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
),
i
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
i
,
!
1
,
function
(
e
){
a
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
a
(
"lRwf"
),
u
=
a
.
n
(
c
),
d
=
a
(
"pRNm"
),
m
=
a
.
n
(
d
),
l
=
a
(
"5tgt"
),
v
=
a
.
n
(
l
);
u
.
a
.
use
(
m
.
a
);
var
h
=
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
:
v
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"contactsList"
,
component
:
v
()(
"business"
,
"index"
),
children
:[{
path
:
"/contactsList"
,
name
:
"通讯录"
,
component
:
v
()(
"business"
,
"contacts"
)},{
path
:
"/orgStructSet"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"orgStructSet"
)},{
path
:
"/recycle"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"recycle"
)},{
path
:
"/syncLog"
,
name
:
"通讯录日志"
,
component
:
v
()(
"business"
,
"syncLog"
)}]},{
path
:
"/enterprise"
,
name
:
"企业设置"
,
redirect
:
"enterpriseSet"
,
component
:
v
()(
"enterprise"
,
"index"
),
children
:[{
path
:
"/enterpriseSet"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"enterpriseSet"
)},{
path
:
"/adminList"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"adminList"
)}]},{
path
:
"/overStore"
,
name
:
"溢出门店"
,
redirect
:
"unreview"
,
component
:
v
()(
"overstore"
,
"index"
),
children
:[{
path
:
"/overStoreList"
,
name
:
"溢出门店"
,
component
:
v
()(
"overstore"
,
"overStoreList"
)}]},{
path
:
"/apps"
,
name
:
"企业应用"
,
redirect
:
"mycustomer"
,
component
:
v
()(
"apps"
,
"index"
),
children
:[{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memberShowSet"
,
component
:
v
()(
"apps/customerApp"
,
"index"
),
children
:[{
path
:
"/memberShowSet"
,
name
:
"会员展示设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberShowSet"
)},{
path
:
"/memberGroupSet"
,
name
:
"会员分组设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberGroupSet"
)},{
path
:
"/memberSearchSet"
,
name
:
"会员搜索设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberSearchSet"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"apps/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyExport"
,
name
:
"云日报导出"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyExport"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReport"
)},{
path
:
"/customReportSet"
,
name
:
"自定义报表设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReportSet"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"apps/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskView"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskView"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"apps/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"apps/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"apps/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"apps/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"apps/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"apps/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"apps/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"apps/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"apps/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/cardList"
,
name
:
"卡券赠送"
,
redirect
:
"/cardList"
,
component
:
v
()(
"apps/card"
,
"index"
),
children
:[{
path
:
"/cardList"
,
name
:
"卡券列表"
,
component
:
v
()(
"apps/card"
,
"cardList"
)},{
path
:
"/cardRecord"
,
name
:
"卡券记录"
,
component
:
v
()(
"apps/card"
,
"cardRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
v
()(
"apps/card"
,
"newCard"
)}]},{
path
:
"/protectCard"
,
name
:
"内购券"
,
redirect
:
"/cardTemplate"
,
component
:
v
()(
"apps/protectCard"
,
"index"
),
children
:[{
path
:
"/cardTemplate"
,
name
:
"卡券模板"
,
component
:
v
()(
"apps/protectCard"
,
"cardTemplate"
)},{
path
:
"/newCardTemp"
,
name
:
"新建模板"
,
component
:
v
()(
"apps/protectCard"
,
"newCardTemp"
)},{
path
:
"/cardStrategy"
,
name
:
"卡券策略"
,
component
:
v
()(
"apps/protectCard"
,
"cardStrategy"
)},{
path
:
"/newCardStrategy"
,
name
:
"新建策略"
,
component
:
v
()(
"apps/protectCard"
,
"newCardStrategy"
)},{
path
:
"/cardPut"
,
name
:
"内购券投放"
,
component
:
v
()(
"apps/protectCard"
,
"cardPut"
)},{
path
:
"/newCardPut"
,
name
:
"新建补发"
,
component
:
v
()(
"apps/protectCard"
,
"newCardPut"
)},{
path
:
"/cardPutRecord"
,
name
:
"投放记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardPutRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"领取记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardGetRecord"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
v
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
v
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
v
()(
"reviewCenter"
,
"unreview"
)},{
path
:
"/reviewSet"
,
name
:
"审核设置"
,
component
:
v
()(
"reviewCenter"
,
"reviewSet"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
v
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
D
=
new
m
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
S
=
a
(
"zL8q"
),
w
=
a
.
n
(
S
),
y
=
a
(
"Rf8U"
),
x
=
a
.
n
(
y
),
k
=
a
(
"mtWM"
),
T
=
a
.
n
(
k
),
C
=
a
(
"bOdI"
),
b
=
a
.
n
(
C
),
R
=
a
(
"SJI6"
),
A
=
a
.
n
(
R
);
u
.
a
.
use
(
A
.
a
);
var
E
=
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"
),{
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
(),
i
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
i
}},
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
(),
i
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
o
+
"."
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
i
}},
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
(
console
.
log
(
a
),
a
<
0
)
return
""
;
var
n
=
Math
.
floor
(
a
/
864
e5
);
console
.
log
(
a
,
n
);
var
o
=
a
%
864
e5
,
r
=
o
%
36
e5
;
return
n
+
"天"
+
Math
.
floor
(
o
/
36
e5
)
+
"小时"
+
Math
.
floor
(
r
/
6
e4
)
+
"分"
}}}),
P
=
a
(
"TUaa"
),
L
=
a
.
n
(
P
),
V
=
a
(
"tyqE"
),
q
=
a
.
n
(
V
),
H
=
a
(
"pRVe"
),
I
=
a
.
n
(
H
),
Y
=
a
(
"XsK6"
),
j
=
a
.
n
(
Y
),
G
=
a
(
"QRL9"
),
N
=
a
.
n
(
G
),
O
=
a
(
"2Pnh"
),
F
=
a
.
n
(
O
),
J
=
a
(
"l9mu"
),
U
=
a
.
n
(
J
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
F
()(
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
,
i
=
592.28
/
a
*
n
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
r
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
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
(
N
.
a
),
Vue
.
use
(
I
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
w
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
T
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
o
()(
M
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
M
[
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
:
E
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
a
){
var
n
=
{
"./apps/badEvaluate/badEvaluateDetail.vue"
:[
"Yz8m"
,
0
,
38
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
57
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
45
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
22
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
43
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
13
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
32
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
10
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
29
],
"./apps/cloudDaily/customReportSet.vue"
:[
"LTPC"
,
0
,
4
],
"./apps/cloudDaily/dailyDetail.vue"
:[
"JwJ7"
,
0
,
11
],
"./apps/cloudDaily/dailyExport.vue"
:[
"H3Dc"
,
0
,
16
],
"./apps/cloudDaily/dailyRecord.vue"
:[
"IuWw"
,
0
,
50
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
35
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
5
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
25
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
42
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
44
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
56
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
67
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
51
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
40
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
24
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
41
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
54
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
46
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
36
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
59
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
65
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
20
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
60
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
49
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
7
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
8
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
48
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
64
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
28
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
53
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
31
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
37
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
68
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
63
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
62
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
12
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
55
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
19
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
39
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
69
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
2
],
"./business/index.vue"
:[
"jPcV"
,
0
,
66
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
3
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
58
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
23
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
26
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
34
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
27
],
"./errorPage/403.vue"
:[
"6XGN"
,
18
],
"./errorPage/404.vue"
:[
"AejC"
,
21
],
"./errorPage/500.vue"
:[
"FskK"
,
15
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
17
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
30
],
"./login/index.vue"
:[
"T+/8"
,
0
,
14
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
52
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
33
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
61
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
47
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
9
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
6
]};
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
},
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
\ No newline at end of file
dist/static/js/manifest.
f0bd12541eb15fdc0cb9
.js
→
dist/static/js/manifest.
9d4cdd7405a30c2b9523
.js
View file @
86f0972d
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
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
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
72
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
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
:
"db7fcfd49071bf8a7e4e"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"3527d92b4250c040f53c"
,
3
:
"fec7a03a688935ae1aac"
,
4
:
"4d6eb4dc78c3746875f7"
,
5
:
"bf21cfa1832c94ed8d4c"
,
6
:
"8eb26935705e144eb957"
,
7
:
"f63e6fc87e536f625a3f"
,
8
:
"eebd79dfe0a6f5878fb0"
,
9
:
"f7c875c7689ffc18fc21"
,
10
:
"281523c91e7ee89296cb"
,
11
:
"59c87174f09911b8256b"
,
12
:
"e8cd784bf481f550c766"
,
13
:
"2b65cdb3d875eca1b6fd"
,
14
:
"2c29119d13dc5fff8f2b"
,
15
:
"b646de33eca64e94b02c"
,
16
:
"5e81daf3550937d71920"
,
17
:
"a315ec3bb42a1a5f0ab3"
,
18
:
"aac9552544b8aaf4d59f"
,
19
:
"5c01b5259828e3c1889f"
,
20
:
"103e14ddf36dca32f4a1"
,
21
:
"3b62dd9c716d4bbba918"
,
22
:
"f8e0114834358a5de162"
,
23
:
"587c2e5a1989c5e482ea"
,
24
:
"58c7c6c2d8897eb7c474"
,
25
:
"9e5733792c18c643ff3a"
,
26
:
"dba4d3332f3dbc9d7649"
,
27
:
"08b88908a61f4bc841dd"
,
28
:
"65284e7ae64fa171aabc"
,
29
:
"485d7c81ce188c3fa687"
,
30
:
"6e3dad3ed142df770d0e"
,
31
:
"010ceac14b8c06871425"
,
32
:
"648e00249c751be0ef72"
,
33
:
"e35089c0ea4dc1809069"
,
34
:
"93b49282fdccc322c7b8"
,
35
:
"b7ed1be0435910e43e30"
,
36
:
"ac81ef630923456184e4"
,
37
:
"eb2f2f6d2d73849ad275"
,
38
:
"43ed221e3b3e5199683d"
,
39
:
"e22c3154191c34f74c59"
,
40
:
"2a2b163b01a19222cb16"
,
41
:
"0a200f6a27af7dcb8907"
,
42
:
"9baf4946c3c38a84ce67"
,
43
:
"9c52586cacdafc0ecb35"
,
44
:
"8e39581128d0ad7da761"
,
45
:
"e8f51a76ae55e4471a7b"
,
46
:
"6b1c3a3f67f361adcdfc"
,
47
:
"ee289bf28d0b62cdbd74"
,
48
:
"ff3d0de68d55c4efd37d"
,
49
:
"ec59afbf88755db3f425"
,
50
:
"adf06e778b3bb59a4314"
,
51
:
"10da031ace08e3b2f0ec"
,
52
:
"3d733ded8368c35c7db7"
,
53
:
"464efb5dbd1f1a75c07d"
,
54
:
"4c49723130a02a35341c"
,
55
:
"a59eb69795468eaccdab"
,
56
:
"44a19541b1d9d5510256"
,
57
:
"21f97bf3f1179fa240ec"
,
58
:
"9ba4ff48fdfefaa3d203"
,
59
:
"847f5018f1c53ac6fd9b"
,
60
:
"bd79f71d39b818a2f49a"
,
61
:
"4492c6a1410afbde6478"
,
62
:
"69a2580e2fae2c6147a6"
,
63
:
"c1e6131d0c4cdd6ce5e5"
,
64
:
"58ef7243a7d48386f859"
,
65
:
"aef98a78c5a2a2872784"
,
66
:
"d83b81ba889c535b2569"
,
67
:
"5fb5009212972df8959b"
,
68
:
"83851f59efe48e8d85fd"
,
69
:
"a85af8948bfc87b0850f"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
72
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"db7fcfd49071bf8a7e4e"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"3527d92b4250c040f53c"
,
3
:
"fec7a03a688935ae1aac"
,
4
:
"4d6eb4dc78c3746875f7"
,
5
:
"bf21cfa1832c94ed8d4c"
,
6
:
"8eb26935705e144eb957"
,
7
:
"f63e6fc87e536f625a3f"
,
8
:
"eebd79dfe0a6f5878fb0"
,
9
:
"f7c875c7689ffc18fc21"
,
10
:
"281523c91e7ee89296cb"
,
11
:
"59c87174f09911b8256b"
,
12
:
"e8cd784bf481f550c766"
,
13
:
"2b65cdb3d875eca1b6fd"
,
14
:
"2c29119d13dc5fff8f2b"
,
15
:
"b646de33eca64e94b02c"
,
16
:
"5e81daf3550937d71920"
,
17
:
"a315ec3bb42a1a5f0ab3"
,
18
:
"aac9552544b8aaf4d59f"
,
19
:
"5c01b5259828e3c1889f"
,
20
:
"103e14ddf36dca32f4a1"
,
21
:
"3b62dd9c716d4bbba918"
,
22
:
"f8e0114834358a5de162"
,
23
:
"587c2e5a1989c5e482ea"
,
24
:
"58c7c6c2d8897eb7c474"
,
25
:
"9e5733792c18c643ff3a"
,
26
:
"dba4d3332f3dbc9d7649"
,
27
:
"8c00b479947588ae7b2c"
,
28
:
"110ab7e5f64abacf9778"
,
29
:
"cebf604cf1225f47e634"
,
30
:
"00da5d6c69db35a7d4aa"
,
31
:
"cf36baf02e3e24a5f053"
,
32
:
"4de4968d6e57140dee2d"
,
33
:
"4d3acec09b21e4bb12c9"
,
34
:
"9c430f40b3a0c2122fd9"
,
35
:
"9d2f169ffce85f2b33c0"
,
36
:
"04ce339c52a3c95e0904"
,
37
:
"eb2f2f6d2d73849ad275"
,
38
:
"43ed221e3b3e5199683d"
,
39
:
"e22c3154191c34f74c59"
,
40
:
"2a2b163b01a19222cb16"
,
41
:
"0a200f6a27af7dcb8907"
,
42
:
"9baf4946c3c38a84ce67"
,
43
:
"9c52586cacdafc0ecb35"
,
44
:
"8e39581128d0ad7da761"
,
45
:
"e8f51a76ae55e4471a7b"
,
46
:
"6b1c3a3f67f361adcdfc"
,
47
:
"ee289bf28d0b62cdbd74"
,
48
:
"ff3d0de68d55c4efd37d"
,
49
:
"ec59afbf88755db3f425"
,
50
:
"adf06e778b3bb59a4314"
,
51
:
"10da031ace08e3b2f0ec"
,
52
:
"3d733ded8368c35c7db7"
,
53
:
"464efb5dbd1f1a75c07d"
,
54
:
"4c49723130a02a35341c"
,
55
:
"a59eb69795468eaccdab"
,
56
:
"44a19541b1d9d5510256"
,
57
:
"bb35aa59b73ea983662f"
,
58
:
"f4362bcb70641f953b1a"
,
59
:
"4f46fe5ef57cc4d4899a"
,
60
:
"1909362f66171978f945"
,
61
:
"c8bf83503933dbb0d3a7"
,
62
:
"c150bd9c93df08960929"
,
63
:
"ab752ec3ccf9371f123b"
,
64
:
"3b820a9237f2357ff5ae"
,
65
:
"08ecf25e6358b6e7b1c3"
,
66
:
"d83b81ba889c535b2569"
,
67
:
"5fb5009212972df8959b"
,
68
:
"83851f59efe48e8d85fd"
,
69
:
"a85af8948bfc87b0850f"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/apps/protectCard/cardGetRecord.vue
View file @
86f0972d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-04-12 17:56:45
* @Date: 2019-04-12 17:56:45
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-04-27 1
2:53:0
9
* @LastEditTime: 2020-04-27 1
3:46:3
9
-->
-->
<
template
>
<
template
>
<section
class=
"common-right-wrap"
>
<section
class=
"common-right-wrap"
>
...
@@ -31,28 +31,20 @@
...
@@ -31,28 +31,20 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"会员信息"
show-overflow-tooltip
>
<el-table-column
prop=
""
label=
"会员信息"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"flex nowrap"
>
<div
class=
"font-14 color-606266 line-18"
>
{{
scope
.
row
.
memberName
}}
</div>
<div
class=
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
>
<div
class=
"font-12 color-909399 line-18"
>
{{
scope
.
row
.
phoneNum
|
formatPhoneNum
}}
</div>
<i
v-if=
"!scope.row.memberUrl"
class=
"iconfont icon-yewuduanmorentouxian"
></i>
<img
v-else
:src=
"scope.row.memberUrl"
alt=
"img"
/>
</div>
<div
class=
"flex flex-column apply-info m-l-10"
>
<span
class=
"font-14 color-606266 text-ellipsis line-18"
>
{{
scope
.
row
.
memberName
}}
</span>
<span
class=
"font-12 color-909399 text-ellipsis line-18"
>
{{
scope
.
row
.
phoneNum
}}
</span>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"员工信息"
show-overflow-tooltip
>
<el-table-column
prop=
""
label=
"员工信息"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"flex nowrap"
>
<div
class=
"flex nowrap"
>
<div
class=
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
>
<div
class=
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
>
<i
v-if=
"!scope.row.
memberUrl
"
class=
"iconfont icon-yewuduanmorentouxian"
></i>
<i
v-if=
"!scope.row.
headImg
"
class=
"iconfont icon-yewuduanmorentouxian"
></i>
<img
v-else
:src=
"scope.row.
memberUrl
"
alt=
"img"
/>
<img
v-else
:src=
"scope.row.
headImg
"
alt=
"img"
/>
</div>
</div>
<div
class=
"flex flex-column apply-info m-l-10"
>
<div
class=
"flex flex-column apply-info m-l-10"
style=
"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;"
>
<span
class=
"font-14 color-606266 text-ellipsis line-18"
>
{{
scope
.
row
.
staffName
}}
</span>
<span
class=
"font-14 color-606266 text-ellipsis line-18"
>
{{
scope
.
row
.
staffName
}}
</span>
<span
class=
"font-12 color-909399 text-ellipsis line-18"
>
{{
scope
.
row
.
phoneNum
}}
</span>
<span
class=
"font-12 color-909399 text-ellipsis line-18"
>
{{
scope
.
row
.
phoneNum
|
formatPhoneNum
}}
</span>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/apps/protectCard/cardPutRecord.vue
View file @
86f0972d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-04-12 17:56:45
* @Date: 2019-04-12 17:56:45
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-04-27 13:
37:27
* @LastEditTime: 2020-04-27 13:
46:13
-->
-->
<
template
>
<
template
>
<section
class=
"common-right-wrap"
>
<section
class=
"common-right-wrap"
>
...
@@ -20,28 +20,20 @@
...
@@ -20,28 +20,20 @@
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
class=
"flex nowrap"
>
<div
class=
"flex nowrap"
>
<div
class=
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
>
<div
class=
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
>
<i
v-if=
"!scope.row.
memberUrl
"
class=
"iconfont icon-yewuduanmorentouxian"
></i>
<i
v-if=
"!scope.row.
headImg
"
class=
"iconfont icon-yewuduanmorentouxian"
></i>
<img
v-else
:src=
"scope.row.
memberUrl
"
alt=
"img"
/>
<img
v-else
:src=
"scope.row.
headImg
"
alt=
"img"
/>
</div>
</div>
<div
class=
"flex flex-column apply-info m-l-10"
>
<div
class=
"flex flex-column apply-info m-l-10"
style=
"overflow: hidden; text-overflow: ellipsis; white-space: nowrap;"
>
<span
class=
"font-14 color-606266 text-ellipsis line-18"
>
{{
scope
.
row
.
staffName
}}
</span>
<span
class=
"font-14 color-606266 text-ellipsis line-18"
>
{{
scope
.
row
.
staffName
}}
</span>
<span
class=
"font-12 color-909399 text-ellipsis line-18"
>
{{
scope
.
row
.
phoneNum
}}
</span>
<span
class=
"font-12 color-909399 text-ellipsis line-18"
>
{{
scope
.
row
.
phoneNum
|
formatPhoneNum
}}
</span>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"会员信息"
show-overflow-tooltip
>
<el-table-column
prop=
""
label=
"会员信息"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"flex nowrap"
>
<div
class=
"font-14 color-606266 line-18"
>
{{
scope
.
row
.
memberName
}}
</div>
<div
class=
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
>
<div
class=
"font-12 color-909399 line-18"
>
{{
scope
.
row
.
phoneNum
|
formatPhoneNum
}}
</div>
<i
v-if=
"!scope.row.memberUrl"
class=
"iconfont icon-yewuduanmorentouxian"
></i>
<img
v-else
:src=
"scope.row.memberUrl"
alt=
"img"
/>
</div>
<div
class=
"flex flex-column apply-info m-l-10"
>
<span
class=
"font-14 color-606266 text-ellipsis line-18"
>
{{
scope
.
row
.
memberName
}}
</span>
<span
class=
"font-12 color-909399 text-ellipsis line-18"
>
{{
scope
.
row
.
phoneNum
}}
</span>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"卡券名称"
show-overflow-tooltip
>
<el-table-column
prop=
""
label=
"卡券名称"
show-overflow-tooltip
>
...
...
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