Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
office-web
Commits
93d9c6e9
Commit
93d9c6e9
authored
Dec 14, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改卡券
parent
62d1e49b
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
45 additions
and
35 deletions
+45
-35
index.html
dist/index.html
+2
-2
app.691c89e454f434feae380d6fcf2de3ca.css
dist/static/css/app.691c89e454f434feae380d6fcf2de3ca.css
+0
-0
43.f3a9e4d9e607ce925656.js
dist/static/js/43.f3a9e4d9e607ce925656.js
+0
-2
43.fb46c0bad10552e7ef89.js
dist/static/js/43.fb46c0bad10552e7ef89.js
+2
-2
44.3d32c7e1954754671303.js
dist/static/js/44.3d32c7e1954754671303.js
+2
-2
45.a9716608f3af52ee74c5.js
dist/static/js/45.a9716608f3af52ee74c5.js
+2
-2
46.84083eac0c5c5b14a99f.js
dist/static/js/46.84083eac0c5c5b14a99f.js
+2
-2
47.5fba8d62f07fd68c7875.js
dist/static/js/47.5fba8d62f07fd68c7875.js
+2
-2
48.3d2a2f4e5dca20f701e8.js
dist/static/js/48.3d2a2f4e5dca20f701e8.js
+2
-2
49.c0c90eb73e8637aa4caf.js
dist/static/js/49.c0c90eb73e8637aa4caf.js
+2
-2
50.d121c16edea8a23b184c.js
dist/static/js/50.d121c16edea8a23b184c.js
+2
-2
51.aa5454e0664f02f5f5f6.js
dist/static/js/51.aa5454e0664f02f5f5f6.js
+2
-2
52.906057051eeca0acab78.js
dist/static/js/52.906057051eeca0acab78.js
+2
-2
53.ad34897b3043dc2ba8c4.js
dist/static/js/53.ad34897b3043dc2ba8c4.js
+2
-2
54.6d6fb15946a63d0c8b8a.js
dist/static/js/54.6d6fb15946a63d0c8b8a.js
+2
-2
55.59314d9281387d899707.js
dist/static/js/55.59314d9281387d899707.js
+2
-0
app.5ed1cf35ad8ceb89c321.js
dist/static/js/app.5ed1cf35ad8ceb89c321.js
+2
-2
manifest.9be37965e64f606e63e8.js
dist/static/js/manifest.9be37965e64f606e63e8.js
+2
-2
newCard.vue
src/views/enterpriseApp/myCustomer/newCard.vue
+13
-3
No files found.
dist/index.html
View file @
93d9c6e9
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.43b96e6c52c36aa9886dcf7b5d8db2da.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
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.353d402490f0f1e8dc2a.js
></script><script
type=
text/javascript
src=
./static/js/vendor.4cb881ee73a47d4b4440.js
></script><script
type=
text/javascript
src=
./static/js/app.8eb6a77aae8cbaf7a757.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.691c89e454f434feae380d6fcf2de3ca.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
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.9be37965e64f606e63e8.js
></script><script
type=
text/javascript
src=
./static/js/vendor.4cb881ee73a47d4b4440.js
></script><script
type=
text/javascript
src=
./static/js/app.5ed1cf35ad8ceb89c321.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
43b96e6c52c36aa9886dcf7b5d8db2d
a.css
→
dist/static/css/app.
691c89e454f434feae380d6fcf2de3c
a.css
View file @
93d9c6e9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/43.f3a9e4d9e607ce925656.js
deleted
100644 → 0
View file @
62d1e49b
webpackJsonp
([
43
],{
CYrE
:
function
(
e
,
t
){},
"G/J9"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"Ke24"
),
o
=
a
(
"Ie7z"
),
r
=
a
(
"P9l9"
),
n
=
a
(
"3E4D"
),
l
=
a
(
"Ch4/"
),
i
=
a
(
"PI0u"
),
c
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
commonDetailTop
:
s
.
a
,
vueSelectStore
:
o
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"3"
,
topMenuData
:[{
id
:
"1"
,
name
:
"在线沟通设置"
,
path
:
"/onlineChatSet?appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&activeTab="
+
this
.
$route
.
query
.
activeTab
},{
id
:
"2"
,
name
:
"卡券列表"
,
path
:
"/onlineChatSet?appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&activeTab="
+
this
.
$route
.
query
.
activeTab
},{
id
:
"3"
,
name
:
this
.
$route
.
query
.
coupCardId
?
"编辑卡券"
:
"新增卡券"
}],
selectCoupCardId
:
""
,
selectList
:
""
,
tableData
:[],
conditionObj
:{
searchInput
:
""
},
appScene
:
2
,
defaultStoreList
:[],
selectType
:
"store"
,
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
groupTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
currentPage
:
1
,
pageSize
:
6
,
total
:
0
,
formData
:{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
rules
:{
coupCardId
:[{
required
:
!
0
,
message
:
"请选择卡券"
,
trigger
:
"change"
}],
sendRange
:[{
validator
:
function
(
t
,
a
,
s
){
return
""
==
a
?
s
(
new
Error
(
"请选择发送范围"
)):
"1"
!=
a
&&
"2"
!=
a
||
e
.
formData
.
selectList
.
length
?
void
s
():
s
(
new
Error
(
"请选择发送范围"
))},
trigger
:
"change"
}],
sendType
:[{
validator
:
function
(
t
,
a
,
s
){
return
""
==
a
?
s
(
new
Error
(
"请选择券发放总数"
)):
"1"
!=
a
||
e
.
formData
.
totalSendTimes
?
void
s
():
s
(
new
Error
(
"请选择券发放总数"
))},
trigger
:
"change"
}],
eachSendTimes
:[{
required
:
!
0
,
message
:
"请输入券发放张数"
,
trigger
:
"blur"
}]}}},
methods
:{
submitForm
:
function
(
e
,
t
){
var
a
=
this
;
return
a
.
formData
.
coupCardId
=
a
.
selectCoupCardId
,
!!
(
"1"
!=
a
.
formData
.
sendRange
&&
"2"
!=
a
.
formData
.
sendRange
||
a
.
formData
.
selectList
.
length
)
&&
(
!
(
"1"
==
a
.
formData
.
sendType
&&!
a
.
formData
.
totalSendTimes
)
&&
(
!
(
"1"
==
a
.
formData
.
receiveType
&&!
a
.
formData
.
totalReceiveTimes
)
&&
void
a
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
a
.
postSaveCard
(
t
)})))},
postSaveCard
:
function
(
e
){
var
t
=
this
,
a
=
{
id
:
t
.
formData
.
id
,
coupCardId
:
t
.
formData
.
coupCardId
,
sendRange
:
t
.
formData
.
sendRange
,
selectList
:
1
==
t
.
formData
.
sendRange
?
t
.
formData
.
selectList
.
map
(
function
(
e
){
return
e
.
groupId
||
e
.
id
}).
join
(
","
):
2
==
t
.
formData
.
sendRange
?
t
.
formData
.
selectList
.
map
(
function
(
e
){
return
e
.
storeId
||
e
.
id
}).
join
(
","
):
""
,
eachSendTimes
:
t
.
formData
.
eachSendTimes
,
sendType
:
t
.
formData
.
sendType
,
totalSendTimes
:
t
.
formData
.
totalSendTimes
,
brandId
:
t
.
brandId
};
Object
(
r
.
e
)(
t
.
$route
.
query
.
coupCardId
?
"/haoban-app-member-web/cardCoupon/edit-card-coup"
:
"/haoban-app-member-web/cardCoupon/add-card-coup"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
1
==
s
.
errorCode
&&
(
n
.
a
.
showmsg
(
t
.
$route
.
query
.
coupCardId
?
"编辑卡券成功"
:
"新建卡券成功"
,
"success"
),
e
?(
t
.
formData
=
{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
t
.
tableData
.
forEach
(
function
(
e
){
e
.
coupCardId
==
t
.
selectCoupCardId
&&
(
e
.
selected
=
1
)}),
t
.
$nextTick
(
function
(){
t
.
selectCoupCardId
=
""
})):
t
.
$router
.
push
(
"/onlineChatSet?activeTab="
+
t
.
$route
.
query
.
activeTab
+
"&appIcon="
+
t
.
$route
.
query
.
appIcon
)),
l
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toReturn
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
push
(
"/onlineChatSet?activeTab="
+
e
.
$route
.
query
.
activeTab
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
)}).
catch
(
function
(){})},
toInput
:
Object
(
i
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
200
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
defaultStoreList
=
t
,
"store"
==
e
?
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
,
openNextBool
:
!
0
}:
this
.
groupTreeSet
=
{
isSelectPerson
:
!
1
,
dialogVisible
:
!
0
,
isSingle
:
!
1
,
openNextBool
:
!
0
}},
handleSelectedList
:
function
(
e
){
this
.
formData
.
selectList
=
e
,
this
.
defaultStoreList
=
e
},
delDepart
:
function
(
e
,
t
,
a
){
t
.
splice
(
e
,
1
)},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getCardData
:
function
(){
var
e
=
this
,
t
=
{
coupCardId
:
e
.
$route
.
query
.
coupCardId
,
brandId
:
e
.
brandId
};
Object
(
r
.
a
)(
"/haoban-app-member-web/cardCoupon/find-card-coup-detail"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
}),
e
.
formData
=
{
id
:
a
.
result
.
detail
.
id
,
coupCardId
:
a
.
result
.
detail
.
coupCardId
,
sendRange
:
String
(
a
.
result
.
detail
.
sendRange
),
selectList
:
0
!=
a
.
result
.
detail
.
sendRange
?
a
.
result
.
list
:[],
eachSendTimes
:
a
.
result
.
detail
.
eachSendTimes
,
sendType
:
String
(
a
.
result
.
detail
.
sendType
),
totalSendTimes
:
a
.
result
.
detail
.
totalSendTimes
},
e
.
defaultStoreList
=
0
!=
a
.
result
.
detail
.
sendRange
?
a
.
result
.
list
:[],
e
.
selectCoupCardId
=
a
.
result
.
detail
.
coupCardId
,
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
cardName
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-member-web/cardCoupon/find-select-card-page"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
t
.
$route
.
query
.
coupCardId
&&
t
.
getCardData
(),
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"chat-log boder-box"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"new-card-body"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"选择卡券:"
,
prop
:
"coupCardId"
}},[
a
(
"div"
,{
staticClass
:
"search-div"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入卡券名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
a
(
"span"
,{
staticClass
:
"search-tip p-l-20 font-14 color-909399"
},[
e
.
_v
(
"领取限制<100的卡券不支持选择,系统已过滤,符合条件共"
+
e
.
_s
(
e
.
total
)
+
"张"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"chat-log-content boder-box m-t-20"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
""
,
width
:
"50"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-radio"
,{
attrs
:{
disabled
:
1
==
t
.
row
.
selected
,
label
:
t
.
row
.
coupCardId
},
model
:{
value
:
e
.
selectCoupCardId
,
callback
:
function
(
t
){
e
.
selectCoupCardId
=
t
},
expression
:
"selectCoupCardId"
}},[
e
.
_v
(
e
.
_s
(
""
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注名"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
subName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"卡券模板投放期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
subName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"effectDateString"
,
label
:
"用户使用有效期"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cardLimit"
,
label
:
"领取限制"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeMode"
,
label
:
"适用门店"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
storeMode
?
"所有门店"
:
1
==
t
.
row
.
storeMode
?
"部分分组"
:
"部分门店"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"couponStock"
,
label
:
"库存"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"getedQuantity"
,
label
:
"领取次数"
,
"show-overflow-tooltip"
:
""
}})],
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-size"
:
e
.
pageSize
,
layout
:
" prev, pager, next"
,
total
:
e
.
total
},
on
:{
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券的发送范围设置"
,
placement
:
"top-start"
}},[
a
(
"span"
,[
e
.
_v
(
"选择发送范围"
),
a
(
"span"
,{
staticClass
:
"el-icon-info font-12 color-909399"
}),
e
.
_v
(
" :"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"所有门店"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40"
,
attrs
:{
label
:
"1"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分分组"
)]),
e
.
_v
(
" "
),
1
==
e
.
formData
.
sendRange
?
a
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"group"
,
e
.
formData
.
selectList
)}}},[
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
formData
.
selectList
,
function
(
t
,
s
){
return
[
a
(
"span"
,{
key
:
s
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
s
,
e
.
formData
.
selectList
)}}})])]})],
2
)])])])]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40"
,
attrs
:{
label
:
"2"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分门店"
)]),
e
.
_v
(
" "
),
2
==
e
.
formData
.
sendRange
?
a
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
formData
.
selectList
)}}},[
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
formData
.
selectList
,
function
(
t
,
s
){
return
[
a
(
"span"
,{
key
:
s
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
s
,
e
.
formData
.
selectList
)}}})])]})],
2
)])])])]):
e
.
_e
(),
e
.
_v
(
" "
),
"1"
!=
e
.
formData
.
sendRange
&&
"2"
!=
e
.
formData
.
sendRange
||
e
.
formData
.
selectList
.
length
?
e
.
_e
():
a
(
"div"
,{
staticClass
:
"el-form-item__error"
},[
e
.
_v
(
"请选择发送范围"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券限制每个会员最大发放次数"
,
placement
:
"top-start"
}},[
a
(
"span"
,[
e
.
_v
(
"券发放张数"
),
a
(
"span"
,{
staticClass
:
"el-icon-info font-12 color-909399"
}),
e
.
_v
(
" :"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-input-number"
,{
staticClass
:
"w-90"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
0
,
max
:
20
},
model
:{
value
:
e
.
formData
.
eachSendTimes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"eachSendTimes"
,
t
)},
expression
:
"formData.eachSendTimes"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-20"
},[
e
.
_v
(
"最多20张每人"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券发放总数,不得超过券库存数"
,
placement
:
"top-start"
}},[
a
(
"span"
,[
e
.
_v
(
"券发放总数"
),
a
(
"span"
,{
staticClass
:
"el-icon-info font-12 color-909399"
}),
e
.
_v
(
" :"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
e
.
_v
(
"无限制"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
e
.
_v
(
"限制总数"
)]),
1
==
e
.
formData
.
sendType
?
a
(
"el-input-number"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
1
},
model
:{
value
:
e
.
formData
.
totalSendTimes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"totalSendTimes"
,
t
)},
expression
:
"formData.totalSendTimes"
}}):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
coupCardId
?
"编辑"
:
"新建"
))]),
e
.
_v
(
" "
),
e
.
$route
.
query
.
coupCardId
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"保存并继续"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
e
.
toReturn
}},[
e
.
_v
(
"取消"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelectorGroup"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
groupTreeSet
,
selectType
:
"group"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"CYrE"
)},
"data-v-faa4ff54"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
dist/static/js/4
4.3a3e8719f515b04351a5
.js
→
dist/static/js/4
3.fb46c0bad10552e7ef89
.js
View file @
93d9c6e9
webpackJsonp
([
44
],{
IMwM
:
function
(
e
,
t
){},
JsWW
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
n
=
a
(
"P9l9"
),
r
=
a
(
"MJLE"
),
i
=
a
.
n
(
r
),
o
=
{
name
:
"shareCode"
,
components
:{
navCrumb
:
s
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"共享通讯录"
,
path
:
""
}],
regenerate
:
!
1
,
qrCodeContent
:{},
shares
:[],
qrcodeCase
:
""
,
myEnterprise
:
""
,
dialogVisible
:
!
1
}},
methods
:{
getCode
:
function
(){
var
e
=
this
,
t
=
{
regenerate
:
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]
&&
arguments
[
0
]};
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/get-shared-qrcode"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
qrcode
(
t
.
data
.
result
.
qrCodeContent
):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
reFresh
:
function
(){
document
.
getElementById
(
"qrcode"
).
innerHTML
=
""
,
this
.
qrcodeCase
.
clear
(),
this
.
getCode
(
!
0
)},
qrcode
:
function
(
e
){
this
.
qrcodeCase
=
new
i
.
a
(
"qrcode"
,{
width
:
245
,
height
:
245
,
text
:
e
})},
downloadCode
:
function
(){
var
e
=
document
.
getElementById
(
"qrcode"
).
getElementsByTagName
(
"img"
)[
0
].
getAttribute
(
"src"
),
t
=
document
.
createElement
(
"a"
),
a
=
new
MouseEvent
(
"click"
);
t
.
download
=
"scan code"
,
t
.
href
=
e
,
t
.
dispatchEvent
(
a
)},
getShareRelation
:
function
(){
var
e
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/find-shared-contact-relation"
,{
enterpriseIdCondition
:
1
}).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
shares
=
t
.
data
.
result
||
[],
e
.
shares
.
length
>
0
&&
(
e
.
myEnterprise
=
t
.
data
.
result
[
0
].
exportEnterpriseName
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
cancelShare
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"是否要取消与该企业的共享?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/del-shared-enterprise"
,{
importEnterpriseId
:
e
.
importEnterpriseId
}).
then
(
function
(
a
){
if
(
1
==
a
.
data
.
errorCode
){
var
s
=
t
.
shares
.
indexOf
(
e
);
t
.
shares
.
splice
(
s
,
1
)}
else
t
.
$message
.
error
({
message
:
a
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})}).
catch
({})}},
beforeMount
:
function
(){
this
.
getShareRelation
(),
this
.
getCode
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"share-code-div"
},[
a
(
"p"
,{
staticClass
:
"company-name"
},[
e
.
_v
(
e
.
_s
(
e
.
myEnterprise
)
+
"的共享企业"
)]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"word"
},[
e
.
_v
(
"双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系"
)]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"time-tip"
},[
e
.
_v
(
"一个二维码只能和一个企业建立共享关系,24小时有效"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
,
attrs
:{
id
:
"qrcode"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"btn-area"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
downloadCode
}},[
e
.
_v
(
"下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai"
})]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
reFresh
()}}},[
e
.
_v
(
"重新生成"
)])],
1
),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"company-name"
},[
e
.
_v
(
"已建立的共享企业"
)]),
e
.
_v
(
" "
),
e
.
shares
.
length
>
0
?
a
(
"div"
,{
staticClass
:
"share-table"
},[
a
(
"div"
,{
staticClass
:
"company"
},[
e
.
_v
(
e
.
_s
(
e
.
myEnterprise
))]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"list"
},
e
.
_l
(
e
.
shares
,
function
(
t
){
return
a
(
"li"
,{
key
:
t
.
importEnterpriseId
,
staticClass
:
"li"
},[
a
(
"div"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
importEnterpriseName
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"cancel-btn"
},[
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
cancelShare
(
t
)}}},[
e
.
_v
(
"取消共享"
)])])])}))]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"no-share-tip"
},[
e
.
_v
(
"暂无共享企业"
)]),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"验证管理员身份"
,
width
:
"356px"
,
visible
:
e
.
dialogVisible
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"cancel-code"
},[
a
(
"p"
,[
e
.
_v
(
"请使用管理员的好办扫一扫确认"
)])])])],
1
)])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
o
,
c
,
!
1
,
function
(
e
){
a
(
"IMwM"
)},
null
,
null
);
t
.
default
=
d
.
exports
}});
webpackJsonp
([
43
],{
IMwM
:
function
(
e
,
t
){},
JsWW
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
n
=
a
(
"P9l9"
),
r
=
a
(
"MJLE"
),
i
=
a
.
n
(
r
),
o
=
{
name
:
"shareCode"
,
components
:{
navCrumb
:
s
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"共享通讯录"
,
path
:
""
}],
regenerate
:
!
1
,
qrCodeContent
:{},
shares
:[],
qrcodeCase
:
""
,
myEnterprise
:
""
,
dialogVisible
:
!
1
}},
methods
:{
getCode
:
function
(){
var
e
=
this
,
t
=
{
regenerate
:
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]
&&
arguments
[
0
]};
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/get-shared-qrcode"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?
e
.
qrcode
(
t
.
data
.
result
.
qrCodeContent
):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
reFresh
:
function
(){
document
.
getElementById
(
"qrcode"
).
innerHTML
=
""
,
this
.
qrcodeCase
.
clear
(),
this
.
getCode
(
!
0
)},
qrcode
:
function
(
e
){
this
.
qrcodeCase
=
new
i
.
a
(
"qrcode"
,{
width
:
245
,
height
:
245
,
text
:
e
})},
downloadCode
:
function
(){
var
e
=
document
.
getElementById
(
"qrcode"
).
getElementsByTagName
(
"img"
)[
0
].
getAttribute
(
"src"
),
t
=
document
.
createElement
(
"a"
),
a
=
new
MouseEvent
(
"click"
);
t
.
download
=
"scan code"
,
t
.
href
=
e
,
t
.
dispatchEvent
(
a
)},
getShareRelation
:
function
(){
var
e
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/find-shared-contact-relation"
,{
enterpriseIdCondition
:
1
}).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
shares
=
t
.
data
.
result
||
[],
e
.
shares
.
length
>
0
&&
(
e
.
myEnterprise
=
t
.
data
.
result
[
0
].
exportEnterpriseName
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})},
cancelShare
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"是否要取消与该企业的共享?"
,
"提示"
,{
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
a
)(
"/haoban-manage-web/shared-contact/del-shared-enterprise"
,{
importEnterpriseId
:
e
.
importEnterpriseId
}).
then
(
function
(
a
){
if
(
1
==
a
.
data
.
errorCode
){
var
s
=
t
.
shares
.
indexOf
(
e
);
t
.
shares
.
splice
(
s
,
1
)}
else
t
.
$message
.
error
({
message
:
a
.
data
.
message
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
message
:
e
.
message
})})}).
catch
({})}},
beforeMount
:
function
(){
this
.
getShareRelation
(),
this
.
getCode
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"share-code-div"
},[
a
(
"p"
,{
staticClass
:
"company-name"
},[
e
.
_v
(
e
.
_s
(
e
.
myEnterprise
)
+
"的共享企业"
)]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"word"
},[
e
.
_v
(
"双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系"
)]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"time-tip"
},[
e
.
_v
(
"一个二维码只能和一个企业建立共享关系,24小时有效"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
,
attrs
:{
id
:
"qrcode"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"btn-area"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
downloadCode
}},[
e
.
_v
(
"下载"
),
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai"
})]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
reFresh
()}}},[
e
.
_v
(
"重新生成"
)])],
1
),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"company-name"
},[
e
.
_v
(
"已建立的共享企业"
)]),
e
.
_v
(
" "
),
e
.
shares
.
length
>
0
?
a
(
"div"
,{
staticClass
:
"share-table"
},[
a
(
"div"
,{
staticClass
:
"company"
},[
e
.
_v
(
e
.
_s
(
e
.
myEnterprise
))]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"list"
},
e
.
_l
(
e
.
shares
,
function
(
t
){
return
a
(
"li"
,{
key
:
t
.
importEnterpriseId
,
staticClass
:
"li"
},[
a
(
"div"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
importEnterpriseName
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"cancel-btn"
},[
a
(
"a"
,{
staticClass
:
"a-href"
,
on
:{
click
:
function
(
a
){
e
.
cancelShare
(
t
)}}},[
e
.
_v
(
"取消共享"
)])])])}))]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"no-share-tip"
},[
e
.
_v
(
"暂无共享企业"
)]),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"验证管理员身份"
,
width
:
"356px"
,
visible
:
e
.
dialogVisible
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"cancel-code"
},[
a
(
"p"
,[
e
.
_v
(
"请使用管理员的好办扫一扫确认"
)])])])],
1
)])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
o
,
c
,
!
1
,
function
(
e
){
a
(
"IMwM"
)},
null
,
null
);
t
.
default
=
d
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
5.356e8b5743065eef3206
.js
→
dist/static/js/4
4.3d32c7e1954754671303
.js
View file @
93d9c6e9
webpackJsonp
([
45
],{
"8Yx5"
:
function
(
t
,
e
){},
VlR1
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"setting"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){
this
.
$refs
.
asideMenu
.
refreshRoute
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
pathName
=
window
.
location
.
hash
.
split
(
"/"
)[
1
],
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
staticClass
:
"setting-wrap"
},[
n
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"setting-wrap__body"
},[
n
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
n
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
t
.
contentHeight
}},[
n
(
"div"
,{
staticClass
:
"left-menu"
,
style
:{
height
:
t
.
contentHeight
}},[
n
(
"vue-office-aside"
,{
ref
:
"asideMenu"
,
attrs
:{
projectName
:
t
.
projectName
,
collapseFlag
:
t
.
collapseFlag
}})],
1
),
t
.
_v
(
" "
),
n
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
n
(
"router-view"
)],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
a
,
o
,
!
1
,
function
(
t
){
n
(
"8Yx5"
)},
null
,
null
);
e
.
default
=
i
.
exports
}});
webpackJsonp
([
44
],{
"8Yx5"
:
function
(
t
,
e
){},
VlR1
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"setting"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){
this
.
$refs
.
asideMenu
.
refreshRoute
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
pathName
=
window
.
location
.
hash
.
split
(
"/"
)[
1
],
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
staticClass
:
"setting-wrap"
},[
n
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"setting-wrap__body"
},[
n
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
n
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
t
.
contentHeight
}},[
n
(
"div"
,{
staticClass
:
"left-menu"
,
style
:{
height
:
t
.
contentHeight
}},[
n
(
"vue-office-aside"
,{
ref
:
"asideMenu"
,
attrs
:{
projectName
:
t
.
projectName
,
collapseFlag
:
t
.
collapseFlag
}})],
1
),
t
.
_v
(
" "
),
n
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
n
(
"router-view"
)],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
a
,
o
,
!
1
,
function
(
t
){
n
(
"8Yx5"
)},
null
,
null
);
e
.
default
=
i
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
6.7f0370303748cda4fb2a
.js
→
dist/static/js/4
5.a9716608f3af52ee74c5
.js
View file @
93d9c6e9
webpackJsonp
([
46
],{
PBe7
:
function
(
e
,
t
){},
m0O4
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"2eFk"
),
n
=
a
(
"fvdr"
),
r
=
a
(
"Qie6"
),
o
=
a
(
"F3nK"
),
c
=
a
(
"Ch4/"
),
s
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"营销素材"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"图文素材"
,
icon
:
"icon-tuwen"
},{
tabId
:
"2"
,
tabName
:
"纷享素材"
,
icon
:
"icon-fenxiang"
}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
,
gicEnterpriseId
:
""
,
forbidFlag
:
"forbid"
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-over"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"expired"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getUpdated
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-use-three"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"forbid"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
selectBrandId
:
function
(
e
,
t
,
a
){
this
.
activeBrand
=
e
,
this
.
activeGroup
=
t
,
this
.
gicEnterpriseId
=
a
},
setSelectTab
:
function
(
e
){
switch
(
this
.
activeTab
=
e
.
tabId
,
e
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"imageText?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"2"
:
this
.
changeRoute
(
"enjoyMaterial?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
e
){
this
.
activeTab
=
e
,
this
.
activeSelTab
=
e
,
this
.
tabListData
.
forEach
(
function
(
t
){
t
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
1
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
e
,
t
){
this
.
activeBrand
=
e
},
activeGroup
:
function
(
e
,
t
){
this
.
activeGroup
=
e
}},
mounted
:
function
(){
var
e
=
this
.
$route
.
query
.
appIcon
;
e
&&
(
this
.
appIcon
=
window
.
unescape
(
e
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonAppTop
:
n
.
a
,
commonDetailLeft
:
r
.
a
,
expiredDialog
:
o
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
e
.
appName
,
appIcon
:
e
.
appIcon
},
on
:{
selectBrandId
:
e
.
selectBrandId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
e
.
tabListData
,
activeSelTab
:
e
.
activeSelTab
},
on
:{
setSelectTab
:
e
.
setSelectTab
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
e
.
activeBrand
,
activeGroupId
:
e
.
activeGroup
,
tabType
:
e
.
activeTab
},
on
:{
showTab
:
e
.
showTab
}})],
1
)],
1
)])])],
1
),
e
.
_v
(
" "
),
e
.
expiredFlag
?
a
(
"expired-dialog"
,{
attrs
:{
forbidFlag
:
e
.
forbidFlag
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
a
(
"PBe7"
)},
"data-v-dc2b0b5c"
,
null
);
t
.
default
=
u
.
exports
}});
webpackJsonp
([
45
],{
PBe7
:
function
(
e
,
t
){},
m0O4
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"2eFk"
),
n
=
a
(
"fvdr"
),
r
=
a
(
"Qie6"
),
o
=
a
(
"F3nK"
),
c
=
a
(
"Ch4/"
),
s
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"营销素材"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"图文素材"
,
icon
:
"icon-tuwen"
},{
tabId
:
"2"
,
tabName
:
"纷享素材"
,
icon
:
"icon-fenxiang"
}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
,
gicEnterpriseId
:
""
,
forbidFlag
:
"forbid"
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-over"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"expired"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getUpdated
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-use-three"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"forbid"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
selectBrandId
:
function
(
e
,
t
,
a
){
this
.
activeBrand
=
e
,
this
.
activeGroup
=
t
,
this
.
gicEnterpriseId
=
a
},
setSelectTab
:
function
(
e
){
switch
(
this
.
activeTab
=
e
.
tabId
,
e
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"imageText?appIcon="
+
this
.
$route
.
query
.
appIcon
);
break
;
case
"2"
:
this
.
changeRoute
(
"enjoyMaterial?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
showTab
:
function
(
e
){
this
.
activeTab
=
e
,
this
.
activeSelTab
=
e
,
this
.
tabListData
.
forEach
(
function
(
t
){
t
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
1
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
e
&&
(
t
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
e
,
t
){
this
.
activeBrand
=
e
},
activeGroup
:
function
(
e
,
t
){
this
.
activeGroup
=
e
}},
mounted
:
function
(){
var
e
=
this
.
$route
.
query
.
appIcon
;
e
&&
(
this
.
appIcon
=
window
.
unescape
(
e
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
i
.
a
,
commonAppTop
:
n
.
a
,
commonDetailLeft
:
r
.
a
,
expiredDialog
:
o
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
e
.
appName
,
appIcon
:
e
.
appIcon
},
on
:{
selectBrandId
:
e
.
selectBrandId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
e
.
tabListData
,
activeSelTab
:
e
.
activeSelTab
},
on
:{
setSelectTab
:
e
.
setSelectTab
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
e
.
activeBrand
,
activeGroupId
:
e
.
activeGroup
,
tabType
:
e
.
activeTab
},
on
:{
showTab
:
e
.
showTab
}})],
1
)],
1
)])])],
1
),
e
.
_v
(
" "
),
e
.
expiredFlag
?
a
(
"expired-dialog"
,{
attrs
:{
forbidFlag
:
e
.
forbidFlag
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
a
(
"PBe7"
)},
"data-v-dc2b0b5c"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
7.7ad89cc95a475db01e81
.js
→
dist/static/js/4
6.84083eac0c5c5b14a99f
.js
View file @
93d9c6e9
webpackJsonp
([
47
],{
kF1j
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
r
=
a
.
n
(
o
),
s
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
n
=
a
(
"fPyK"
),
l
=
a
(
"nsZK"
),
c
=
a
(
"P9l9"
),
u
=
a
(
"Ch4/"
),
d
=
a
(
"PI0u"
),
p
=
{
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
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"门店月指标"
,
path
:
""
}],
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
:{
searchStore
:
Object
(
d
.
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
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
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
.
groupId
}).
join
(
","
)
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-performance-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
(
d
.
d
)(
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
(
d
.
d
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
storeName
:
a
.
result
.
statistics
.
totalStore
,
totalComplete
:
a
.
result
.
statistics
.
totalComplete
,
totalPerformance
:
Object
(
d
.
d
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
totalStore
:
a
.
result
.
statistics
.
totalStore
})):
e
.
tableData
.
unshift
({
completeStatus
:
e
.
statistics
.
totalComplete
,
performance
:
Object
(
d
.
d
)(
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
);
u
.
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"
,
"11"
),
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
:{
appDetail
:
s
.
a
,
commonDetailTop
:
i
.
a
,
qrcodeDialog
:
n
.
a
,
storeTreeSelect
:
l
.
a
}},
h
=
{
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
(
"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 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
(
"store-tree-select"
,{
attrs
:{
brandId
:
t
.
brandId
,
activeGroupId
:
t
.
activeGroupId
},
on
:{
checkStoreGroupIds
:
t
.
checkStoreGroupIds
}})],
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
:
"门店名称"
},
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
[
e
.
row
.
totalStore
?
t
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
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
b
=
a
(
"VU/8"
)(
p
,
h
,
!
1
,
function
(
t
){
a
(
"m+CN"
)},
"data-v-d9e2732c"
,
null
);
e
.
default
=
b
.
exports
},
"m+CN"
:
function
(
t
,
e
){}});
webpackJsonp
([
46
],{
kF1j
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
r
=
a
.
n
(
o
),
s
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
n
=
a
(
"fPyK"
),
l
=
a
(
"nsZK"
),
c
=
a
(
"P9l9"
),
u
=
a
(
"Ch4/"
),
d
=
a
(
"PI0u"
),
p
=
{
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
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"门店月指标"
,
path
:
""
}],
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
:{
searchStore
:
Object
(
d
.
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
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
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
.
groupId
}).
join
(
","
)
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
brandId
:
e
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-performance-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
(
d
.
d
)(
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
(
d
.
d
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
storeName
:
a
.
result
.
statistics
.
totalStore
,
totalComplete
:
a
.
result
.
statistics
.
totalComplete
,
totalPerformance
:
Object
(
d
.
d
)(
Number
(
a
.
result
.
statistics
.
totalPerformance
)),
totalStore
:
a
.
result
.
statistics
.
totalStore
})):
e
.
tableData
.
unshift
({
completeStatus
:
e
.
statistics
.
totalComplete
,
performance
:
Object
(
d
.
d
)(
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
);
u
.
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"
,
"11"
),
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
:{
appDetail
:
s
.
a
,
commonDetailTop
:
i
.
a
,
qrcodeDialog
:
n
.
a
,
storeTreeSelect
:
l
.
a
}},
h
=
{
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
(
"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 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
(
"store-tree-select"
,{
attrs
:{
brandId
:
t
.
brandId
,
activeGroupId
:
t
.
activeGroupId
},
on
:{
checkStoreGroupIds
:
t
.
checkStoreGroupIds
}})],
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
:
"门店名称"
},
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
[
e
.
row
.
totalStore
?
t
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
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
b
=
a
(
"VU/8"
)(
p
,
h
,
!
1
,
function
(
t
){
a
(
"m+CN"
)},
"data-v-d9e2732c"
,
null
);
e
.
default
=
b
.
exports
},
"m+CN"
:
function
(
t
,
e
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
8.001e89d6e8c75de1cb51
.js
→
dist/static/js/4
7.5fba8d62f07fd68c7875
.js
View file @
93d9c6e9
webpackJsonp
([
48
],{
"/gVc"
:
function
(
t
,
e
){},
xk7v
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"mvHQ"
),
r
=
a
.
n
(
n
),
s
=
a
(
"Gu7T"
),
i
=
a
.
n
(
s
),
c
=
a
(
"Xxa5"
),
o
=
a
.
n
(
c
),
u
=
a
(
"exGp"
),
d
=
a
.
n
(
u
),
p
=
a
(
"2eFk"
),
h
=
a
(
"Ke24"
),
l
=
a
(
"PI0u"
),
m
=
a
(
"Ch4/"
),
f
=
a
(
"3E4D"
),
y
=
a
(
"P9l9"
),
v
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
brandName
:
""
,
activeBrand
:
this
.
brandId
,
yearMonth
:
""
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"商户统一日权重"
,
path
:
""
}],
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
n
(){
var
r
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
a
.
getFirstDayOfWeek
(
t
,
e
);
case
2
:
if
(
r
=
n
.
sent
,
s
=
[],
r
>
0
)
for
(
i
=
0
;
i
<
r
;
i
++
)
s
.
push
(
i
);
return
n
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
a
)}))()},
calDayEmptyGrids
:
function
(
t
,
e
,
a
){
var
n
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
n
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
r
.
sent
,
i
=
[],
s
>
0
)
for
(
c
=
0
;
c
<
s
;
c
++
)
i
.
push
(
c
);
return
r
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
n
)}))()},
calculateLastEmptyGrids
:
function
(
t
,
e
){
var
a
=
this
;
return
d
()(
o
.
a
.
mark
(
function
n
(){
var
r
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
a
.
getLastDayOfWeek
(
t
,
e
);
case
2
:
if
(
r
=
n
.
sent
,
s
=
[],
r
>=
0
)
for
(
i
=
0
;
i
<
6
-
r
;
i
++
)
s
.
push
(
i
);
return
n
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
a
)}))()},
calLastEmptyGrids
:
function
(
t
,
e
,
a
){
var
n
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
n
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
r
.
sent
,
i
=
[],
s
>=
0
)
for
(
c
=
0
;
c
<
6
-
s
;
c
++
)
i
.
push
(
c
);
return
r
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
n
)}))()},
calculateDays
:
function
(
t
,
e
,
a
,
n
){
var
r
=
this
;
return
d
()(
o
.
a
.
mark
(
function
s
(){
var
c
,
u
,
d
,
p
,
h
,
l
,
m
,
f
,
y
,
v
;
return
o
.
a
.
wrap
(
function
(
s
){
for
(;;)
switch
(
s
.
prev
=
s
.
next
){
case
0
:
return
c
=
r
,(
u
=
{}).
beginDate
=
a
,
u
.
endDate
=
n
,
u
.
year
=
t
,
s
.
next
=
7
,
c
.
addZero
(
e
);
case
7
:
return
u
.
month
=
s
.
sent
,
d
=
a
.
split
(
"-"
),
p
=
n
.
split
(
"-"
),
s
.
next
=
12
,
c
.
isOverMonth
(
a
,
n
);
case
12
:
return
h
=
s
.
sent
,
s
.
next
=
15
,
c
.
calDayEmptyGrids
(
d
[
0
],
d
[
1
],
d
[
2
]);
case
15
:
return
(
l
=
s
.
sent
).
length
>
0
?(
u
.
hasEmptyGrid
=!
0
,
u
.
empytGrids
=
l
):(
u
.
hasEmptyGrid
=!
1
,
u
.
empytGrids
=
[]),
s
.
next
=
19
,
c
.
calLastEmptyGrids
(
p
[
0
],
p
[
1
],
p
[
2
]);
case
19
:
if
((
m
=
s
.
sent
).
length
>
0
?(
u
.
hasLastEmptyGrid
=!
0
,
u
.
lastEmpytGrids
=
m
):(
u
.
hasLastEmptyGrid
=!
1
,
u
.
lastEmpytGrids
=
[]),
!
h
){
s
.
next
=
27
;
break
}
return
s
.
next
=
24
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
p
[
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
f
=
s
.
sent
,
s
.
next
=
32
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
f
);
case
32
:
return
y
=
s
.
sent
,
s
.
next
=
35
,
c
.
setCurrentMonth
(
p
[
0
],
p
[
1
],
1
,
p
[
2
]);
case
35
:
v
=
s
.
sent
,
u
.
days
=
[].
concat
(
i
()(
y
),
i
()(
v
));
case
37
:
return
c
.
myObject
=
u
,
s
.
abrupt
(
"return"
,
u
);
case
39
:
case
"end"
:
return
s
.
stop
()}},
s
,
r
)}))()},
setCurrentMonth
:
function
(
t
,
e
,
a
,
n
){
for
(
var
r
=
this
,
s
=
[],
i
=
function
(
a
){
var
n
=
{};
if
(
r
.
performanceWeightSettingList
.
length
)
r
.
performanceWeightSettingList
.
forEach
(
function
(
t
,
e
){
parseInt
(
t
.
date
.
split
(
"-"
)[
2
])
==
a
&&
(
n
.
weightValue
=
Number
(
t
.
weightValue
).
toFixed
(
2
))});
else
{
var
i
=
r
.
getYearMonthDayWeek
(
t
,
e
,
a
);
n
.
weightValue
=
5
==
i
?
Number
(
1.8
).
toFixed
(
2
):
6
==
i
||
0
==
i
?
Number
(
2
).
toFixed
(
2
):
Number
(
1
).
toFixed
(
2
)}
n
.
performanceDay
=
r
.
addZero
(
a
),
n
.
date
=
t
+
"-"
+
r
.
addZero
(
e
)
+
"-"
+
r
.
addZero
(
a
),
n
.
month
=
r
.
addZero
(
e
),
s
.
push
(
n
)},
c
=
a
;
c
<=
n
;
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
(
l
.
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
=
{
brandId
:
e
.
activeBrand
,
yearMonth
:
e
.
yearMonth
,
performanceWeightSettingList
:
r
()(
t
)};
Object
(
y
.
e
)(
"/haoban-app-performance-web/performance/save-performance-weight-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
f
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
getData
();
m
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
yearMonth
:
t
.
yearMonth
};
Object
(
y
.
e
)(
"/haoban-app-performance-web/performance/query-performance-weight-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
,
n
=
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
.
brandName
,
t
.
myObject
.
beginDate
=
a
.
result
.
beginDate
,
t
.
myObject
.
endDate
=
a
.
result
.
endDate
,
void
t
.
calculateDays
(
n
[
0
],
n
[
1
],
a
.
result
.
beginDate
,
a
.
result
.
endDate
);
m
.
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"
,
"11"
),
this
.
brandId
&&
(
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
p
.
a
,
commonDetailTop
:
h
.
a
}},
g
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"day-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"day-set-title m-b-20"
},[
a
(
"span"
,{
staticClass
:
"font-18 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
yearMonth
))]),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-18"
},[
t
.
_v
(
t
.
_s
(
t
.
brandName
)
+
"商户统一日权重"
)]),
t
.
_v
(
" "
),
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
(
"i"
,{
staticClass
:
"el-icon-info font-8 color-c0c4cc p-l-8"
})])],
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
,
n
){
return
a
(
"div"
,{
key
:
n
,
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
(
"重置"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"提交"
)])],
1
):
t
.
_e
()])],
1
)},
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
b
=
a
(
"VU/8"
)(
v
,
g
,
!
1
,
function
(
t
){
a
(
"/gVc"
)},
"data-v-d61e665c"
,
null
);
e
.
default
=
b
.
exports
}});
webpackJsonp
([
47
],{
"/gVc"
:
function
(
t
,
e
){},
xk7v
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"mvHQ"
),
r
=
a
.
n
(
n
),
s
=
a
(
"Gu7T"
),
i
=
a
.
n
(
s
),
c
=
a
(
"Xxa5"
),
o
=
a
.
n
(
c
),
u
=
a
(
"exGp"
),
d
=
a
.
n
(
u
),
p
=
a
(
"2eFk"
),
h
=
a
(
"Ke24"
),
l
=
a
(
"PI0u"
),
m
=
a
(
"Ch4/"
),
f
=
a
(
"3E4D"
),
y
=
a
(
"P9l9"
),
v
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
brandName
:
""
,
activeBrand
:
this
.
brandId
,
yearMonth
:
""
,
topMenuData
:[{
id
:
"1"
,
name
:
"指标管理"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"月指标"
,
path
:
"/monthList?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"3"
,
name
:
"商户统一日权重"
,
path
:
""
}],
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
n
(){
var
r
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
a
.
getFirstDayOfWeek
(
t
,
e
);
case
2
:
if
(
r
=
n
.
sent
,
s
=
[],
r
>
0
)
for
(
i
=
0
;
i
<
r
;
i
++
)
s
.
push
(
i
);
return
n
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
a
)}))()},
calDayEmptyGrids
:
function
(
t
,
e
,
a
){
var
n
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
n
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
r
.
sent
,
i
=
[],
s
>
0
)
for
(
c
=
0
;
c
<
s
;
c
++
)
i
.
push
(
c
);
return
r
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
n
)}))()},
calculateLastEmptyGrids
:
function
(
t
,
e
){
var
a
=
this
;
return
d
()(
o
.
a
.
mark
(
function
n
(){
var
r
,
s
,
i
;
return
o
.
a
.
wrap
(
function
(
n
){
for
(;;)
switch
(
n
.
prev
=
n
.
next
){
case
0
:
return
n
.
next
=
2
,
a
.
getLastDayOfWeek
(
t
,
e
);
case
2
:
if
(
r
=
n
.
sent
,
s
=
[],
r
>=
0
)
for
(
i
=
0
;
i
<
6
-
r
;
i
++
)
s
.
push
(
i
);
return
n
.
abrupt
(
"return"
,
s
);
case
6
:
case
"end"
:
return
n
.
stop
()}},
n
,
a
)}))()},
calLastEmptyGrids
:
function
(
t
,
e
,
a
){
var
n
=
this
;
return
d
()(
o
.
a
.
mark
(
function
r
(){
var
s
,
i
,
c
;
return
o
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
return
r
.
next
=
2
,
n
.
getYearMonthDayWeek
(
t
,
e
,
a
);
case
2
:
if
(
s
=
r
.
sent
,
i
=
[],
s
>=
0
)
for
(
c
=
0
;
c
<
6
-
s
;
c
++
)
i
.
push
(
c
);
return
r
.
abrupt
(
"return"
,
i
);
case
6
:
case
"end"
:
return
r
.
stop
()}},
r
,
n
)}))()},
calculateDays
:
function
(
t
,
e
,
a
,
n
){
var
r
=
this
;
return
d
()(
o
.
a
.
mark
(
function
s
(){
var
c
,
u
,
d
,
p
,
h
,
l
,
m
,
f
,
y
,
v
;
return
o
.
a
.
wrap
(
function
(
s
){
for
(;;)
switch
(
s
.
prev
=
s
.
next
){
case
0
:
return
c
=
r
,(
u
=
{}).
beginDate
=
a
,
u
.
endDate
=
n
,
u
.
year
=
t
,
s
.
next
=
7
,
c
.
addZero
(
e
);
case
7
:
return
u
.
month
=
s
.
sent
,
d
=
a
.
split
(
"-"
),
p
=
n
.
split
(
"-"
),
s
.
next
=
12
,
c
.
isOverMonth
(
a
,
n
);
case
12
:
return
h
=
s
.
sent
,
s
.
next
=
15
,
c
.
calDayEmptyGrids
(
d
[
0
],
d
[
1
],
d
[
2
]);
case
15
:
return
(
l
=
s
.
sent
).
length
>
0
?(
u
.
hasEmptyGrid
=!
0
,
u
.
empytGrids
=
l
):(
u
.
hasEmptyGrid
=!
1
,
u
.
empytGrids
=
[]),
s
.
next
=
19
,
c
.
calLastEmptyGrids
(
p
[
0
],
p
[
1
],
p
[
2
]);
case
19
:
if
((
m
=
s
.
sent
).
length
>
0
?(
u
.
hasLastEmptyGrid
=!
0
,
u
.
lastEmpytGrids
=
m
):(
u
.
hasLastEmptyGrid
=!
1
,
u
.
lastEmpytGrids
=
[]),
!
h
){
s
.
next
=
27
;
break
}
return
s
.
next
=
24
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
p
[
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
f
=
s
.
sent
,
s
.
next
=
32
,
c
.
setCurrentMonth
(
d
[
0
],
d
[
1
],
d
[
2
],
f
);
case
32
:
return
y
=
s
.
sent
,
s
.
next
=
35
,
c
.
setCurrentMonth
(
p
[
0
],
p
[
1
],
1
,
p
[
2
]);
case
35
:
v
=
s
.
sent
,
u
.
days
=
[].
concat
(
i
()(
y
),
i
()(
v
));
case
37
:
return
c
.
myObject
=
u
,
s
.
abrupt
(
"return"
,
u
);
case
39
:
case
"end"
:
return
s
.
stop
()}},
s
,
r
)}))()},
setCurrentMonth
:
function
(
t
,
e
,
a
,
n
){
for
(
var
r
=
this
,
s
=
[],
i
=
function
(
a
){
var
n
=
{};
if
(
r
.
performanceWeightSettingList
.
length
)
r
.
performanceWeightSettingList
.
forEach
(
function
(
t
,
e
){
parseInt
(
t
.
date
.
split
(
"-"
)[
2
])
==
a
&&
(
n
.
weightValue
=
Number
(
t
.
weightValue
).
toFixed
(
2
))});
else
{
var
i
=
r
.
getYearMonthDayWeek
(
t
,
e
,
a
);
n
.
weightValue
=
5
==
i
?
Number
(
1.8
).
toFixed
(
2
):
6
==
i
||
0
==
i
?
Number
(
2
).
toFixed
(
2
):
Number
(
1
).
toFixed
(
2
)}
n
.
performanceDay
=
r
.
addZero
(
a
),
n
.
date
=
t
+
"-"
+
r
.
addZero
(
e
)
+
"-"
+
r
.
addZero
(
a
),
n
.
month
=
r
.
addZero
(
e
),
s
.
push
(
n
)},
c
=
a
;
c
<=
n
;
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
(
l
.
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
=
{
brandId
:
e
.
activeBrand
,
yearMonth
:
e
.
yearMonth
,
performanceWeightSettingList
:
r
()(
t
)};
Object
(
y
.
e
)(
"/haoban-app-performance-web/performance/save-performance-weight-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
f
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
getData
();
m
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
brandId
:
t
.
activeBrand
,
yearMonth
:
t
.
yearMonth
};
Object
(
y
.
e
)(
"/haoban-app-performance-web/performance/query-performance-weight-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
,
n
=
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
.
brandName
,
t
.
myObject
.
beginDate
=
a
.
result
.
beginDate
,
t
.
myObject
.
endDate
=
a
.
result
.
endDate
,
void
t
.
calculateDays
(
n
[
0
],
n
[
1
],
a
.
result
.
beginDate
,
a
.
result
.
endDate
);
m
.
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"
,
"11"
),
this
.
brandId
&&
(
this
.
yearMonth
=
this
.
$route
.
query
.
yearMonth
,
this
.
getData
())},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
p
.
a
,
commonDetailTop
:
h
.
a
}},
g
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap common-right-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"day-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"day-set-title m-b-20"
},[
a
(
"span"
,{
staticClass
:
"font-18 color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
yearMonth
))]),
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-18"
},[
t
.
_v
(
t
.
_s
(
t
.
brandName
)
+
"商户统一日权重"
)]),
t
.
_v
(
" "
),
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
(
"i"
,{
staticClass
:
"el-icon-info font-8 color-c0c4cc p-l-8"
})])],
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
,
n
){
return
a
(
"div"
,{
key
:
n
,
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
(
"重置"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"提交"
)])],
1
):
t
.
_e
()])],
1
)},
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
b
=
a
(
"VU/8"
)(
v
,
g
,
!
1
,
function
(
t
){
a
(
"/gVc"
)},
"data-v-d61e665c"
,
null
);
e
.
default
=
b
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/4
9.d683808c3d2fa530cd06
.js
→
dist/static/js/4
8.3d2a2f4e5dca20f701e8
.js
View file @
93d9c6e9
webpackJsonp
([
49
],{
Gk4o
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
n
=
a
(
"Qie6"
),
o
=
a
(
"F3nK"
),
s
=
a
(
"Ch4/"
),
c
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"签到"
,
appIcon
:
""
,
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
,
forbidFlag
:
"forbid"
,
gicEnterpriseId
:
""
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-over"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"expired"
);
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getUpdated
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-use-three"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
s
.
a
.
errorMsg
(
a
):
a
.
result
?(
e
.
expiredFlag
=
a
.
result
,
e
.
forbidFlag
=
"forbid"
):
e
.
getExpired
()}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
selectBrandId
:
function
(
e
,
t
,
a
){
this
.
activeBrand
=
e
,
this
.
activeGroup
=
t
,
this
.
gicEnterpriseId
=
a
,
this
.
getUpdated
()}},
watch
:{
activeBrand
:
function
(
e
,
t
){
this
.
activeBrand
=
e
},
activeGroup
:
function
(
e
,
t
){
this
.
activeGroup
=
e
}},
mounted
:
function
(){
var
e
=
this
.
$route
.
query
.
appIcon
;
e
&&
(
this
.
appIcon
=
window
.
unescape
(
e
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
r
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
n
.
a
,
expiredDialog
:
o
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
e
.
appName
,
appIcon
:
e
.
appIcon
},
on
:{
selectBrandId
:
e
.
selectBrandId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
e
.
activeBrand
,
activeGroupId
:
e
.
activeGroup
}})],
1
)],
1
)])])],
1
),
e
.
_v
(
" "
),
e
.
expiredFlag
?
a
(
"expired-dialog"
,{
attrs
:{
forbidFlag
:
e
.
forbidFlag
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
a
(
"lpjc"
)},
"data-v-ca0acc7c"
,
null
);
t
.
default
=
u
.
exports
},
lpjc
:
function
(
e
,
t
){}});
webpackJsonp
([
48
],{
Gk4o
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
n
=
a
(
"Qie6"
),
o
=
a
(
"F3nK"
),
s
=
a
(
"Ch4/"
),
c
=
a
(
"P9l9"
),
d
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"签到"
,
appIcon
:
""
,
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
,
forbidFlag
:
"forbid"
,
gicEnterpriseId
:
""
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-over"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
expiredFlag
=
a
.
result
,
void
(
e
.
forbidFlag
=
"expired"
);
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getUpdated
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
gicEnterpriseId
};
Object
(
c
.
a
)(
"/haoban-manage-web/enterprise/enterprise-is-use-three"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
s
.
a
.
errorMsg
(
a
):
a
.
result
?(
e
.
expiredFlag
=
a
.
result
,
e
.
forbidFlag
=
"forbid"
):
e
.
getExpired
()}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
selectBrandId
:
function
(
e
,
t
,
a
){
this
.
activeBrand
=
e
,
this
.
activeGroup
=
t
,
this
.
gicEnterpriseId
=
a
,
this
.
getUpdated
()}},
watch
:{
activeBrand
:
function
(
e
,
t
){
this
.
activeBrand
=
e
},
activeGroup
:
function
(
e
,
t
){
this
.
activeGroup
=
e
}},
mounted
:
function
(){
var
e
=
this
.
$route
.
query
.
appIcon
;
e
&&
(
this
.
appIcon
=
window
.
unescape
(
e
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
r
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
n
.
a
,
expiredDialog
:
o
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
e
.
appName
,
appIcon
:
e
.
appIcon
},
on
:{
selectBrandId
:
e
.
selectBrandId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
e
.
activeBrand
,
activeGroupId
:
e
.
activeGroup
}})],
1
)],
1
)])])],
1
),
e
.
_v
(
" "
),
e
.
expiredFlag
?
a
(
"expired-dialog"
,{
attrs
:{
forbidFlag
:
e
.
forbidFlag
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
a
(
"lpjc"
)},
"data-v-ca0acc7c"
,
null
);
t
.
default
=
u
.
exports
},
lpjc
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/
50.ac5336622d4ab5a26e31
.js
→
dist/static/js/
49.c0c90eb73e8637aa4caf
.js
View file @
93d9c6e9
webpackJsonp
([
50
],{
"9Od8"
:
function
(
t
,
a
){},
cuIN
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"2eFk"
),
i
=
e
(
"fvdr"
),
o
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"我的顾客"
,
appIcon
:
""
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"会员基础设置"
,
icon
:
"icon-sousuoshezhi"
},{
tabId
:
"2"
,
tabName
:
"在线沟通设置"
,
icon
:
"icon-zaixiangoutong"
},{
tabId
:
"3"
,
tabName
:
"聊天记录"
,
icon
:
"icon-liaotianjilu"
}],
activeBrand
:
"1"
,
activeGroup
:
""
}},
computed
:{},
methods
:{
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
}},
watch
:{
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
o
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-box"
},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"app-detail"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
}})],
1
)])])],
1
),
t
.
_v
(
" "
),
e
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
d
=
e
(
"VU/8"
)(
c
,
s
,
!
1
,
function
(
t
){
e
(
"9Od8"
)},
"data-v-bf45edd6"
,
null
);
a
.
default
=
d
.
exports
}});
webpackJsonp
([
49
],{
"9Od8"
:
function
(
t
,
a
){},
cuIN
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"2eFk"
),
i
=
e
(
"fvdr"
),
o
=
e
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"我的顾客"
,
appIcon
:
""
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"会员基础设置"
,
icon
:
"icon-sousuoshezhi"
},{
tabId
:
"2"
,
tabName
:
"在线沟通设置"
,
icon
:
"icon-zaixiangoutong"
},{
tabId
:
"3"
,
tabName
:
"聊天记录"
,
icon
:
"icon-liaotianjilu"
}],
activeBrand
:
"1"
,
activeGroup
:
""
}},
computed
:{},
methods
:{
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
}},
watch
:{
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
o
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-box"
},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"app-detail"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
}})],
1
)])])],
1
),
t
.
_v
(
" "
),
e
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
d
=
e
(
"VU/8"
)(
c
,
s
,
!
1
,
function
(
t
){
e
(
"9Od8"
)},
"data-v-bf45edd6"
,
null
);
a
.
default
=
d
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/5
1.7377a04b898ddcb4c477
.js
→
dist/static/js/5
0.d121c16edea8a23b184c
.js
View file @
93d9c6e9
webpackJsonp
([
51
],{
A33E
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
l
=
a
.
n
(
o
),
n
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
s
=
a
(
"LRn8"
),
r
=
a
(
"fPyK"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"3E4D"
),
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
,
path
:
"/taskRecord?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"记录详情"
,
path
:
""
}],
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
completed
:
""
,
overdue
:
""
,
taskType
:
""
},
completedOptions
:[{
label
:
"所有完成情况"
,
value
:
""
},{
label
:
"已完成(已拨通)"
,
value
:
"1"
},{
label
:
"已完成(放弃)"
,
value
:
"2"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"所有逾期情况"
,
value
:
""
},{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
typeOptions
:[{
label
:
"所有类型"
,
value
:
""
},{
label
:
"ECM话务任务"
,
value
:
"1"
},{
label
:
"不良评价"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
l
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskId
})
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
brandId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
o
=
{
taskId
:
t
.
taskId
,
brandId
:
a
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/del-one"
,
o
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getTableList
();
d
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
,
t
){
this
.
postPreview
(
e
,
t
)},
postPreview
:
function
(
e
,
t
){
var
a
=
""
+
t
.
taskId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"task"
),
this
.
dialogVisible
=!
0
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
ecmId
:
t
.
$route
.
query
.
ecmId
||
""
,
taskType
:
t
.
conditionObj
.
taskType
,
storeId
:
t
.
conditionObj
.
storeId
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
taskUrl
&&!
e
.
taskUrl
.
length
||
(
e
.
taskUrl
=
[])}),
t
.
tableData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonDetailTop
:
i
.
a
,
multipleDel
:
s
.
a
,
qrcodeDialog
:
r
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-135"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
completed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"completed"
,
t
)},
expression
:
"conditionObj.completed"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-135 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
overdue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"overdue"
,
t
)},
expression
:
"conditionObj.overdue"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
$route
.
query
.
ecmId
?
e
.
_e
():
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
taskType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"taskType"
,
t
)},
expression
:
"conditionObj.taskType"
}},
e
.
_l
(
e
.
typeOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"div"
,{
class
:[
"image-wrap flex flex-align-center flex-pack-center"
,
t
.
row
.
headImgUrl
?
"bg-eceaeb"
:
"bg-82c5ff"
]},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
""
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"任务类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
"0"
==
t
.
row
.
taskType
?
"不良评价"
:
"话务任务"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
placement
:
"right"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
e
.
_v
(
"完成情况包含3种"
),
a
(
"br"
),
e
.
_v
(
"1.完成拨打任务;"
),
a
(
"br"
),
e
.
_v
(
"2.完成拨打后放弃任务;"
),
a
(
"br"
),
e
.
_v
(
"3.特殊完成,包含已通知或客人回拨等情况,"
),
a
(
"br"
),
e
.
_v
(
"可通过app端点击<客人未接后回拨>完成任务"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
e
.
_v
(
"完成情况"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
isCompleted
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
reason
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
t
.
row
.
reason
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
,
staticStyle
:{
"font-size"
:
"40px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"图片"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
_l
(
t
.
row
.
taskUrls
,
function
(
t
,
o
){
return
a
(
"el-popover"
,{
key
:
o
,
attrs
:{
"popper-class"
:
"notice-img-popover"
,
placement
:
"right"
,
width
:
"400"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"img-preview flex"
},[
a
(
"img"
,{
staticStyle
:{
"max-width"
:
"400px"
},
attrs
:{
src
:
t
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"img"
,{
staticClass
:
"task-imgs"
,
attrs
:{
slot
:
"reference"
,
src
:
t
,
alt
:
""
},
slot
:
"reference"
})])})}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
f
,
p
,
!
1
,
function
(
e
){
a
(
"uKTj"
)},
"data-v-bb441ece"
,
null
);
t
.
default
=
m
.
exports
},
uKTj
:
function
(
e
,
t
){}});
webpackJsonp
([
50
],{
A33E
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
l
=
a
.
n
(
o
),
n
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
s
=
a
(
"LRn8"
),
r
=
a
(
"fPyK"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"3E4D"
),
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"话务任务记录"
,
path
:
"/taskRecord?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"记录详情"
,
path
:
""
}],
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
completed
:
""
,
overdue
:
""
,
taskType
:
""
},
completedOptions
:[{
label
:
"所有完成情况"
,
value
:
""
},{
label
:
"已完成(已拨通)"
,
value
:
"1"
},{
label
:
"已完成(放弃)"
,
value
:
"2"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"所有逾期情况"
,
value
:
""
},{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
typeOptions
:[{
label
:
"所有类型"
,
value
:
""
},{
label
:
"ECM话务任务"
,
value
:
"1"
},{
label
:
"不良评价"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
l
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskId
})
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
brandId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
o
=
{
taskId
:
t
.
taskId
,
brandId
:
a
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/del-one"
,
o
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getTableList
();
d
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
,
t
){
this
.
postPreview
(
e
,
t
)},
postPreview
:
function
(
e
,
t
){
var
a
=
""
+
t
.
taskId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"task"
),
this
.
dialogVisible
=!
0
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
ecmId
:
t
.
$route
.
query
.
ecmId
||
""
,
taskType
:
t
.
conditionObj
.
taskType
,
storeId
:
t
.
conditionObj
.
storeId
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
taskUrl
&&!
e
.
taskUrl
.
length
||
(
e
.
taskUrl
=
[])}),
t
.
tableData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonDetailTop
:
i
.
a
,
multipleDel
:
s
.
a
,
qrcodeDialog
:
r
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-135"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
completed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"completed"
,
t
)},
expression
:
"conditionObj.completed"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-135 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
overdue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"overdue"
,
t
)},
expression
:
"conditionObj.overdue"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
$route
.
query
.
ecmId
?
e
.
_e
():
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
taskType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"taskType"
,
t
)},
expression
:
"conditionObj.taskType"
}},
e
.
_l
(
e
.
typeOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"div"
,{
class
:[
"image-wrap flex flex-align-center flex-pack-center"
,
t
.
row
.
headImgUrl
?
"bg-eceaeb"
:
"bg-82c5ff"
]},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
""
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"任务类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
"0"
==
t
.
row
.
taskType
?
"不良评价"
:
"话务任务"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
placement
:
"right"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
e
.
_v
(
"完成情况包含3种"
),
a
(
"br"
),
e
.
_v
(
"1.完成拨打任务;"
),
a
(
"br"
),
e
.
_v
(
"2.完成拨打后放弃任务;"
),
a
(
"br"
),
e
.
_v
(
"3.特殊完成,包含已通知或客人回拨等情况,"
),
a
(
"br"
),
e
.
_v
(
"可通过app端点击<客人未接后回拨>完成任务"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
e
.
_v
(
"完成情况"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
isCompleted
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
reason
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
t
.
row
.
reason
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
,
staticStyle
:{
"font-size"
:
"40px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"图片"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
_l
(
t
.
row
.
taskUrls
,
function
(
t
,
o
){
return
a
(
"el-popover"
,{
key
:
o
,
attrs
:{
"popper-class"
:
"notice-img-popover"
,
placement
:
"right"
,
width
:
"400"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"img-preview flex"
},[
a
(
"img"
,{
staticStyle
:{
"max-width"
:
"400px"
},
attrs
:{
src
:
t
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"img"
,{
staticClass
:
"task-imgs"
,
attrs
:{
slot
:
"reference"
,
src
:
t
,
alt
:
""
},
slot
:
"reference"
})])})}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
f
,
p
,
!
1
,
function
(
e
){
a
(
"uKTj"
)},
"data-v-bb441ece"
,
null
);
t
.
default
=
m
.
exports
},
uKTj
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/5
2.7f7f2fda092dd6a7e614
.js
→
dist/static/js/5
1.aa5454e0664f02f5f5f6
.js
View file @
93d9c6e9
webpackJsonp
([
52
],{
CqVe
:
function
(
t
,
e
){},
W0k8
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"不良评价"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"不良评价回访记录"
,
icon
:
"icon-badreviewstatistics"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"badEvaluateRecord"
);
break
;
case
"2"
:
this
.
changeRoute
(
"badEvaluateSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
height
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"CqVe"
)},
"data-v-b841b8f6"
,
null
);
e
.
default
=
r
.
exports
}});
webpackJsonp
([
51
],{
CqVe
:
function
(
t
,
e
){},
W0k8
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"不良评价"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"不良评价回访记录"
,
icon
:
"icon-badreviewstatistics"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"badEvaluateRecord"
);
break
;
case
"2"
:
this
.
changeRoute
(
"badEvaluateSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
height
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"CqVe"
)},
"data-v-b841b8f6"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/5
3.d59b672f5b90ec4d0e4b
.js
→
dist/static/js/5
2.906057051eeca0acab78
.js
View file @
93d9c6e9
webpackJsonp
([
53
],{
ISJj
:
function
(
t
,
e
){},
da9f
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"enterprise"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
collapseFlag
:
!
1
,
contentHeight
:
window
.
screen
.
availHeight
-
5
+
"px"
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
i
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"enterprise-wrap"
},[
e
(
"vue-office-header"
,{
attrs
:{
projectName
:
this
.
projectName
},
on
:{
collapseTag
:
this
.
collapseTag
,
toRouterView
:
this
.
toRouterView
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"enterprise-wrap__body"
},[
e
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
e
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
this
.
contentHeight
}},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
)],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
o
=
n
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
t
){
n
(
"ISJj"
)},
"data-v-b62832ae"
,
null
);
e
.
default
=
o
.
exports
}});
webpackJsonp
([
52
],{
ISJj
:
function
(
t
,
e
){},
da9f
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"enterprise"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
collapseFlag
:
!
1
,
contentHeight
:
window
.
screen
.
availHeight
-
5
+
"px"
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
i
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"enterprise-wrap"
},[
e
(
"vue-office-header"
,{
attrs
:{
projectName
:
this
.
projectName
},
on
:{
collapseTag
:
this
.
collapseTag
,
toRouterView
:
this
.
toRouterView
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"enterprise-wrap__body"
},[
e
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
e
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
this
.
contentHeight
}},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
)],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
o
=
n
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
t
){
n
(
"ISJj"
)},
"data-v-b62832ae"
,
null
);
e
.
default
=
o
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/5
4.7b264e992d02a7e1ceb5
.js
→
dist/static/js/5
3.ad34897b3043dc2ba8c4
.js
View file @
93d9c6e9
webpackJsonp
([
54
],{
itwb
:
function
(
t
,
e
){},
"r//C"
:
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
.
e
)(
"/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
?
"#1890ff"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#1890ff"
:
"#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
f
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
t
){
a
(
"itwb"
)},
"data-v-b495cf98"
,
null
);
e
.
default
=
f
.
exports
}});
webpackJsonp
([
53
],{
itwb
:
function
(
t
,
e
){},
"r//C"
:
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
.
e
)(
"/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
?
"#1890ff"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#1890ff"
:
"#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
f
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
t
){
a
(
"itwb"
)},
"data-v-b495cf98"
,
null
);
e
.
default
=
f
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/5
5.d1da24ebcca36e940397
.js
→
dist/static/js/5
4.6d6fb15946a63d0c8b8a
.js
View file @
93d9c6e9
webpackJsonp
([
55
],{
SKyE
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
s
=
e
(
"3Xzz"
),
n
=
e
(
"PI0u"
),
r
=
{
name
:
"companyAddress"
,
data
:
function
(){
var
t
=
this
;
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"企业设置"
,
path
:
"/companyAddress"
},{
name
:
"企业地址"
,
path
:
""
}],
ruleForm
:{
switch
:
!
1
,
name
:
""
},
rules
:{
name
:[{
validator
:
function
(
a
,
e
,
s
){
t
.
ruleForm
.
switch
&&
""
==
e
.
replace
(
/
\s
/g
)?
s
(
new
Error
(
"请输入地址"
)):
s
()},
trigger
:
"blur"
}]}}},
computed
:{},
methods
:{
submitForm
:
Object
(
n
.
a
)(
function
(
t
){
this
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
})},
500
),
postSave
:
function
(){
this
.
ruleForm
=
[]}},
components
:{
navCrumb
:
s
.
a
}},
i
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
a
=
this
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"companyAddress-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
this
.
$store
.
state
.
bgHeight
}},[
a
(
"h2"
,{
staticClass
:
"font-w-500"
},[
this
.
_v
(
"企业地址设置"
)]),
this
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"m-t-24"
},[
this
.
_v
(
"暂时无法设置"
)])])]),
this
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
o
=
e
(
"VU/8"
)(
r
,
i
,
!
1
,
function
(
t
){
e
(
"Xsa6"
)},
"data-v-a6a97268"
,
null
);
a
.
default
=
o
.
exports
},
Xsa6
:
function
(
t
,
a
){}});
webpackJsonp
([
54
],{
SKyE
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
s
=
e
(
"3Xzz"
),
n
=
e
(
"PI0u"
),
r
=
{
name
:
"companyAddress"
,
data
:
function
(){
var
t
=
this
;
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"企业设置"
,
path
:
"/companyAddress"
},{
name
:
"企业地址"
,
path
:
""
}],
ruleForm
:{
switch
:
!
1
,
name
:
""
},
rules
:{
name
:[{
validator
:
function
(
a
,
e
,
s
){
t
.
ruleForm
.
switch
&&
""
==
e
.
replace
(
/
\s
/g
)?
s
(
new
Error
(
"请输入地址"
)):
s
()},
trigger
:
"blur"
}]}}},
computed
:{},
methods
:{
submitForm
:
Object
(
n
.
a
)(
function
(
t
){
this
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
})},
500
),
postSave
:
function
(){
this
.
ruleForm
=
[]}},
components
:{
navCrumb
:
s
.
a
}},
i
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
a
=
this
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"companyAddress-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
this
.
$store
.
state
.
bgHeight
}},[
a
(
"h2"
,{
staticClass
:
"font-w-500"
},[
this
.
_v
(
"企业地址设置"
)]),
this
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"m-t-24"
},[
this
.
_v
(
"暂时无法设置"
)])])]),
this
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
o
=
e
(
"VU/8"
)(
r
,
i
,
!
1
,
function
(
t
){
e
(
"Xsa6"
)},
"data-v-a6a97268"
,
null
);
a
.
default
=
o
.
exports
},
Xsa6
:
function
(
t
,
a
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/55.59314d9281387d899707.js
0 → 100644
View file @
93d9c6e9
webpackJsonp
([
55
],{
"G/J9"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"Ke24"
),
o
=
a
(
"Ie7z"
),
r
=
a
(
"P9l9"
),
n
=
a
(
"3E4D"
),
l
=
a
(
"Ch4/"
),
i
=
a
(
"PI0u"
),
c
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
commonDetailTop
:
s
.
a
,
vueSelectStore
:
o
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"3"
,
topMenuData
:[{
id
:
"1"
,
name
:
"在线沟通设置"
,
path
:
"/onlineChatSet?appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&activeTab="
+
this
.
$route
.
query
.
activeTab
},{
id
:
"2"
,
name
:
"卡券列表"
,
path
:
"/onlineChatSet?appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&activeTab="
+
this
.
$route
.
query
.
activeTab
},{
id
:
"3"
,
name
:
this
.
$route
.
query
.
coupCardId
?
"编辑卡券"
:
"新增卡券"
}],
selectCoupCardId
:
""
,
selectList
:
""
,
tableData
:[],
conditionObj
:{
searchInput
:
""
},
appScene
:
2
,
defaultStoreList
:[],
selectType
:
"store"
,
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
groupTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
currentPage
:
1
,
pageSize
:
6
,
total
:
0
,
formData
:{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
rules
:{
coupCardId
:[{
required
:
!
0
,
message
:
"请选择卡券"
,
trigger
:
"change"
}],
sendRange
:[{
validator
:
function
(
t
,
a
,
s
){
return
""
==
a
?
s
(
new
Error
(
"请选择发送范围"
)):
"1"
!=
a
&&
"2"
!=
a
||
e
.
formData
.
selectList
.
length
?
void
s
():
s
(
new
Error
(
"请选择发送范围"
))},
trigger
:
"change"
}],
sendType
:[{
validator
:
function
(
t
,
a
,
s
){
return
""
==
a
?
s
(
new
Error
(
"请选择券发放总数"
)):
"1"
!=
a
||
e
.
formData
.
totalSendTimes
?
void
s
():
s
(
new
Error
(
"请选择券发放总数"
))},
trigger
:
"change"
}],
eachSendTimes
:[{
required
:
!
0
,
message
:
"请输入券发放张数"
,
trigger
:
"blur"
}]}}},
methods
:{
submitForm
:
function
(
e
,
t
){
var
a
=
this
;
return
a
.
formData
.
coupCardId
=
a
.
selectCoupCardId
,
!!
(
"1"
!=
a
.
formData
.
sendRange
&&
"2"
!=
a
.
formData
.
sendRange
||
a
.
formData
.
selectList
.
length
)
&&
(
!
(
"1"
==
a
.
formData
.
sendType
&&!
a
.
formData
.
totalSendTimes
)
&&
(
!
(
"1"
==
a
.
formData
.
receiveType
&&!
a
.
formData
.
totalReceiveTimes
)
&&
void
a
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
a
.
postSaveCard
(
t
)})))},
postSaveCard
:
function
(
e
){
var
t
=
this
,
a
=
{
id
:
t
.
formData
.
id
,
coupCardId
:
t
.
formData
.
coupCardId
,
sendRange
:
t
.
formData
.
sendRange
,
selectList
:
1
==
t
.
formData
.
sendRange
?
t
.
formData
.
selectList
.
map
(
function
(
e
){
return
e
.
groupId
||
e
.
id
}).
join
(
","
):
2
==
t
.
formData
.
sendRange
?
t
.
formData
.
selectList
.
map
(
function
(
e
){
return
e
.
storeId
||
e
.
id
}).
join
(
","
):
""
,
eachSendTimes
:
t
.
formData
.
eachSendTimes
,
sendType
:
t
.
formData
.
sendType
,
totalSendTimes
:
t
.
formData
.
totalSendTimes
,
brandId
:
t
.
brandId
};
Object
(
r
.
e
)(
t
.
$route
.
query
.
coupCardId
?
"/haoban-app-member-web/cardCoupon/edit-card-coup"
:
"/haoban-app-member-web/cardCoupon/add-card-coup"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
1
==
s
.
errorCode
&&
(
n
.
a
.
showmsg
(
t
.
$route
.
query
.
coupCardId
?
"编辑卡券成功"
:
"新建卡券成功"
,
"success"
),
e
?(
t
.
formData
=
{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
t
.
tableData
.
forEach
(
function
(
e
){
e
.
coupCardId
==
t
.
selectCoupCardId
&&
(
e
.
selected
=
1
)}),
t
.
$nextTick
(
function
(){
t
.
selectCoupCardId
=
""
})):
t
.
$router
.
push
(
"/onlineChatSet?activeTab="
+
t
.
$route
.
query
.
activeTab
+
"&appIcon="
+
t
.
$route
.
query
.
appIcon
)),
l
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toReturn
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
push
(
"/onlineChatSet?activeTab="
+
e
.
$route
.
query
.
activeTab
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
)}).
catch
(
function
(){})},
toInput
:
Object
(
i
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
200
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
defaultStoreList
=
t
,
"store"
==
e
?
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
,
openNextBool
:
!
0
}:
this
.
groupTreeSet
=
{
isSelectPerson
:
!
1
,
dialogVisible
:
!
0
,
isSingle
:
!
1
,
openNextBool
:
!
0
}},
handleSelectedList
:
function
(
e
){
this
.
formData
.
selectList
=
e
,
this
.
defaultStoreList
=
e
},
delDepart
:
function
(
e
,
t
,
a
){
t
.
splice
(
e
,
1
)},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getCardData
:
function
(){
var
e
=
this
,
t
=
{
coupCardId
:
e
.
$route
.
query
.
coupCardId
,
brandId
:
e
.
brandId
};
Object
(
r
.
a
)(
"/haoban-app-member-web/cardCoupon/find-card-coup-detail"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
}),
e
.
formData
=
{
id
:
a
.
result
.
detail
.
id
,
coupCardId
:
a
.
result
.
detail
.
coupCardId
,
sendRange
:
String
(
a
.
result
.
detail
.
sendRange
),
selectList
:
0
!=
a
.
result
.
detail
.
sendRange
?
a
.
result
.
list
:[],
eachSendTimes
:
a
.
result
.
detail
.
eachSendTimes
,
sendType
:
String
(
a
.
result
.
detail
.
sendType
),
totalSendTimes
:
a
.
result
.
detail
.
totalSendTimes
},
e
.
defaultStoreList
=
0
!=
a
.
result
.
detail
.
sendRange
?
a
.
result
.
list
:[],
e
.
selectCoupCardId
=
a
.
result
.
detail
.
coupCardId
,
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
cardName
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-member-web/cardCoupon/find-select-card-page"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
t
.
$route
.
query
.
coupCardId
&&
t
.
getCardData
(),
!
1
;
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"chat-log boder-box"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"new-card-body"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"选择卡券:"
,
prop
:
"coupCardId"
}},[
a
(
"div"
,{
staticClass
:
"search-div"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入卡券名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
a
(
"span"
,{
staticClass
:
"search-tip p-l-20 font-14 color-909399"
},[
e
.
_v
(
"领取限制<100的卡券不支持选择,系统已过滤,符合条件共"
+
e
.
_s
(
e
.
total
)
+
"张"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"chat-log-content boder-box m-t-20"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
""
,
width
:
"50"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-radio"
,{
attrs
:{
disabled
:
1
==
t
.
row
.
selected
,
label
:
t
.
row
.
coupCardId
},
model
:{
value
:
e
.
selectCoupCardId
,
callback
:
function
(
t
){
e
.
selectCoupCardId
=
t
},
expression
:
"selectCoupCardId"
}},[
e
.
_v
(
e
.
_s
(
""
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注名"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
subName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
""
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
subName
||
"--"
)
+
"
\
n "
)]}}])},[
a
(
"template"
,{
slot
:
"header"
},[
a
(
"span"
,{
staticStyle
:{
width
:
"69px"
,
display
:
"inline-block"
,
"line-height"
:
"18px"
}},[
e
.
_v
(
"卡券模板投放期限"
)])])],
2
),
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
.
effectDateString
||
"--"
)
+
"
\
n "
)]}}])},[
a
(
"template"
,{
slot
:
"header"
},[
a
(
"span"
,{
staticStyle
:{
width
:
"69px"
,
display
:
"inline-block"
,
"line-height"
:
"18px"
}},[
e
.
_v
(
"用户使用有效期"
)])])],
2
),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cardLimit"
,
label
:
"领取限制"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeMode"
,
label
:
"适用门店"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
storeMode
?
"所有门店"
:
1
==
t
.
row
.
storeMode
?
"部分分组"
:
"部分门店"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"couponStock"
,
label
:
"库存"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"getedQuantity"
,
label
:
"领取次数"
,
"show-overflow-tooltip"
:
""
}})],
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-size"
:
e
.
pageSize
,
layout
:
" prev, pager, next"
,
total
:
e
.
total
},
on
:{
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券的发送范围设置"
,
placement
:
"top-start"
}},[
a
(
"span"
,[
e
.
_v
(
"选择发送范围"
),
a
(
"span"
,{
staticClass
:
"el-icon-info font-12 color-909399"
}),
e
.
_v
(
" :"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"所有门店"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40"
,
attrs
:{
label
:
"1"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分分组"
)]),
e
.
_v
(
" "
),
1
==
e
.
formData
.
sendRange
?
a
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"group"
,
e
.
formData
.
selectList
)}}},[
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
formData
.
selectList
,
function
(
t
,
s
){
return
[
a
(
"span"
,{
key
:
s
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
s
,
e
.
formData
.
selectList
)}}})])]})],
2
)])])])]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40"
,
attrs
:{
label
:
"2"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分门店"
)]),
e
.
_v
(
" "
),
2
==
e
.
formData
.
sendRange
?
a
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
formData
.
selectList
)}}},[
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
formData
.
selectList
,
function
(
t
,
s
){
return
[
a
(
"span"
,{
key
:
s
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
s
,
e
.
formData
.
selectList
)}}})])]})],
2
)])])])]):
e
.
_e
(),
e
.
_v
(
" "
),
"1"
!=
e
.
formData
.
sendRange
&&
"2"
!=
e
.
formData
.
sendRange
||
e
.
formData
.
selectList
.
length
?
e
.
_e
():
a
(
"div"
,{
staticClass
:
"el-form-item__error"
},[
e
.
_v
(
"请选择发送范围"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券限制每个会员最大发放次数"
,
placement
:
"top-start"
}},[
a
(
"span"
,[
e
.
_v
(
"券发放张数"
),
a
(
"span"
,{
staticClass
:
"el-icon-info font-12 color-909399"
}),
e
.
_v
(
" :"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-input-number"
,{
staticClass
:
"w-90"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
0
,
max
:
20
},
model
:{
value
:
e
.
formData
.
eachSendTimes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"eachSendTimes"
,
t
)},
expression
:
"formData.eachSendTimes"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-20"
},[
e
.
_v
(
"最多20张每人"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券发放总数,不得超过券库存数"
,
placement
:
"top-start"
}},[
a
(
"span"
,[
e
.
_v
(
"券发放总数"
),
a
(
"span"
,{
staticClass
:
"el-icon-info font-12 color-909399"
}),
e
.
_v
(
" :"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
e
.
_v
(
"无限制"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
e
.
_v
(
"限制总数"
)]),
1
==
e
.
formData
.
sendType
?
a
(
"el-input-number"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
1
},
model
:{
value
:
e
.
formData
.
totalSendTimes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"totalSendTimes"
,
t
)},
expression
:
"formData.totalSendTimes"
}}):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
coupCardId
?
"编辑"
:
"新建"
))]),
e
.
_v
(
" "
),
e
.
$route
.
query
.
coupCardId
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"保存并继续"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
e
.
toReturn
}},[
e
.
_v
(
"取消"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelectorGroup"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
groupTreeSet
,
selectType
:
"group"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"JV1k"
)},
"data-v-a3886112"
,
null
);
t
.
default
=
u
.
exports
},
JV1k
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/app.
8eb6a77aae8cbaf7a757
.js
→
dist/static/js/app.
5ed1cf35ad8ceb89c321
.js
View file @
93d9c6e9
webpackJsonp
([
101
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
r
=
n
.
n
(
a
),
o
=
n
(
"fZjL"
),
p
=
n
.
n
(
o
),
i
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
s
=
n
.
n
(
i
),
c
=
{
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
m
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
c
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
d
=
n
(
"lRwf"
),
u
=
n
.
n
(
d
),
l
=
n
(
"pRNm"
),
h
=
n
.
n
(
l
),
v
=
n
(
"5tgt"
),
g
=
n
.
n
(
v
);
u
.
a
.
use
(
h
.
a
);
var
A
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
y
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
g
()(
"login"
,
"index"
)},{
path
:
"/download"
,
name
:
"下载"
,
component
:
g
()(
"download"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
g
()(
"index"
,
"index"
)},{
path
:
"/sign"
,
name
:
"index"
,
component
:
g
()(
"sign"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
g
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
g
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
g
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
g
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
g
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
g
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
g
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
g
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
g
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
g
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
g
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
g
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
g
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
g
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
g
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
g
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
g
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
g
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
g
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
g
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memeberBaseSet"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"index"
),
children
:[{
path
:
"/memeberBaseSet"
,
name
:
"会员基础设置"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"memeberBaseSet"
)},{
path
:
"/onlineChatSet"
,
name
:
"在线沟通设置"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"onlineChatSet"
)},{
path
:
"/chatRecord"
,
name
:
"聊天记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"chatRecord"
)},{
path
:
"/sendRecord"
,
name
:
"发送记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"sendRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"newCard"
)},{
path
:
"/cardSendRecord"
,
name
:
"卡券发送记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"cardSendRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"卡券领取卡券"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"cardGetRecord"
)}]},{
path
:
"/marketing"
,
name
:
"营销素材"
,
redirect
:
"/imageText"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"index"
),
children
:[{
path
:
"/imageText"
,
name
:
"图文素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"imageText"
)},{
path
:
"/newImageText"
,
name
:
"选择图文"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"newImageText"
)},{
path
:
"/enjoyMaterial"
,
name
:
"纷享素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"enjoyMaterial"
)},{
path
:
"/newEnjoy"
,
name
:
"新建素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"newEnjoy"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
g
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
g
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
g
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
g
()(
"enterpriseApp/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
g
()(
"enterpriseApp/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
g
()(
"enterpriseApp/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
g
()(
"enterpriseApp/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/signList"
,
name
:
"企业公告"
,
redirect
:
"/signList"
,
component
:
g
()(
"enterpriseApp/signApp"
,
"index"
),
children
:[{
path
:
"/signList"
,
name
:
"企业公告列表"
,
component
:
g
()(
"enterpriseApp/signApp"
,
"signList"
)}]},{
path
:
"/clockin"
,
name
:
"考勤打卡"
,
redirect
:
"/dayStatistics"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"index"
),
children
:[{
path
:
"/dayStatistics"
,
name
:
"日统计"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"dayStatistics"
)},{
path
:
"/workSet"
,
name
:
"考勤设置"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workSet"
)},{
path
:
"/workGroupSet"
,
name
:
"考勤设置"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workGroupSet"
)},{
path
:
"/workTimeManage"
,
name
:
"排班管理"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workTimeManage"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
g
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
g
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
g
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
g
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
g
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
g
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
g
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
g
()(
"setting"
,
"storePermission"
)},{
path
:
"/contactPermission"
,
name
:
"通讯录控制"
,
component
:
g
()(
"setting"
,
"contactPermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
g
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
g
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
g
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
g
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
g
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
g
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
A
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
A
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
A
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
k
=
new
h
.
a
({
routes
:
y
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
w
=
n
(
"zL8q"
),
D
=
n
.
n
(
w
),
x
=
n
(
"Rf8U"
),
S
=
n
.
n
(
x
),
R
=
n
(
"mtWM"
),
C
=
n
.
n
(
R
),
T
=
n
(
"bOdI"
),
M
=
n
.
n
(
T
),
b
=
n
(
"SJI6"
),
E
=
n
.
n
(
b
);
u
.
a
.
use
(
E
.
a
);
var
I
=
new
E
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
f
=
{},
M
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
M
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
M
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
M
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
f
)}),
j
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
n
=
new
Date
(
e
),
a
=
{
"M+"
:
n
.
getMonth
()
+
1
,
"D+"
:
n
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
n
.
getDay
()),
"h+"
:
n
.
getHours
(),
"m+"
:
n
.
getMinutes
(),
"s+"
:
n
.
getSeconds
(),
"q+"
:
Math
.
floor
((
n
.
getMonth
()
+
3
)
/
3
),
S
:
n
.
getMilliseconds
()};
for
(
var
r
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
n
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
a
)
new
RegExp
(
"("
+
r
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
a
[
r
]:(
"00"
+
a
[
r
]).
substr
((
""
+
a
[
r
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
o
=
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
()
+
"-"
+
r
+
"-"
+
a
+
" "
+
o
+
":"
+
p
+
":"
+
i
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
;
return
t
.
getFullYear
()
+
"-"
+
r
+
"-"
+
a
}},
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
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
o
=
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
()
+
"."
+
r
+
"."
+
a
+
" "
+
o
+
":"
+
p
+
":"
+
i
}}}),
V
=
n
(
"TUaa"
),
q
=
n
.
n
(
V
),
P
=
n
(
"tyqE"
),
G
=
n
.
n
(
P
),
H
=
n
(
"pRVe"
),
L
=
n
.
n
(
H
),
F
=
n
(
"XsK6"
),
O
=
n
.
n
(
F
),
N
=
n
(
"QRL9"
),
z
=
n
.
n
(
N
),
Y
=
n
(
"2Pnh"
),
J
=
n
.
n
(
Y
),
K
=
n
(
"l9mu"
),
B
=
n
.
n
(
K
),
U
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
J
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
r
=
n
/
592.28
*
841.89
,
o
=
a
,
p
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
B
.
a
(
""
,
"pt"
,
"a4"
);
if
(
o
<
r
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
o
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
p
-=
841.89
,(
o
-=
r
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}},
X
=
n
(
"/IwO"
),
Q
=
n
.
n
(
X
);
s
.
a
.
polyfill
(),
Vue
.
use
(
Q
.
a
),
Q
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
U
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
z
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
G
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
D
.
a
,{
size
:
"large"
}),
Vue
.
use
(
S
.
a
,
C
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
p
()(
j
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
j
[
e
])}),
k
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
o
=
window
.
location
.
origin
;
a
=-
1
!=
o
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
o
,
localStorage
.
getItem
(
"userInfo"
)
||
C
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
r
()(
t
.
result
))}).
catch
(
function
(
e
){
w
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
k
,
store
:
I
,
components
:{
App
:
m
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
28
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
21
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
65
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
74
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
63
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
85
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
9
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
73
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
17
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
25
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
38
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
20
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
44
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
3
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
60
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
61
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
91
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
19
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
8
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
40
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
62
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
54
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
75
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
52
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
89
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
72
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
31
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
84
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
42
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
86
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
56
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
97
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
68
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
77
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
83
],
"./enterpriseApp/dailyAttendance/dayStatistics.vue"
:[
"gncU"
,
0
,
41
],
"./enterpriseApp/dailyAttendance/index.vue"
:[
"vgwM"
,
0
,
90
],
"./enterpriseApp/dailyAttendance/monthStatistics.vue"
:[
"z8Gq"
,
99
],
"./enterpriseApp/dailyAttendance/workGroupSet.vue"
:[
"estW"
,
0
,
14
],
"./enterpriseApp/dailyAttendance/workSet.vue"
:[
"A/XQ"
,
0
,
33
],
"./enterpriseApp/dailyAttendance/workTimeManage.vue"
:[
"/n/x"
,
0
,
35
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
53
],
"./enterpriseApp/marketingMaterial/enjoyMaterial.vue"
:[
"SB6x"
,
0
,
26
],
"./enterpriseApp/marketingMaterial/imageText.vue"
:[
"0qiV"
,
0
,
23
],
"./enterpriseApp/marketingMaterial/index.vue"
:[
"m0O4"
,
0
,
46
],
"./enterpriseApp/marketingMaterial/newEnjoy.vue"
:[
"7fkC"
,
0
,
18
],
"./enterpriseApp/marketingMaterial/newImageText.vue"
:[
"NajC"
,
0
,
15
],
"./enterpriseApp/myCustomer/cardGetRecord.vue"
:[
"YqmZ"
,
0
,
80
],
"./enterpriseApp/myCustomer/cardSendRecord.vue"
:[
"+Q5U"
,
0
,
96
],
"./enterpriseApp/myCustomer/chatRecord.vue"
:[
"gjw3"
,
0
,
59
],
"./enterpriseApp/myCustomer/index.vue"
:[
"/rje"
,
0
,
76
],
"./enterpriseApp/myCustomer/memeberBaseSet.vue"
:[
"N+Or"
,
0
,
94
],
"./enterpriseApp/myCustomer/newCard.vue"
:[
"G/J9"
,
0
,
43
],
"./enterpriseApp/myCustomer/onlineChatSet.vue"
:[
"ahzF"
,
0
,
24
],
"./enterpriseApp/myCustomer/sendRecord.vue"
:[
"8msp"
,
0
,
88
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
50
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
2
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
69
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
12
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
48
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
64
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
58
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
87
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
81
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
70
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
47
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
49
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
71
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
98
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
51
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
30
],
"./enterpriseApp/trafficTask/taskViewDetail.vue"
:[
"Akas"
,
0
,
79
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
67
],
"./errorPage/403.vue"
:[
"6XGN"
,
36
],
"./errorPage/404.vue"
:[
"AejC"
,
39
],
"./errorPage/500.vue"
:[
"FskK"
,
29
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
34
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
37
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
93
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
22
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
13
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
57
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
82
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
55
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
16
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
66
],
"./setting/index.vue"
:[
"VlR1"
,
45
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
92
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
78
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
32
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
27
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
95
]};
function
r
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
r
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
r
.
id
=
"Opzk"
,
e
.
exports
=
r
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
0
]);
webpackJsonp
([
101
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
r
=
n
.
n
(
a
),
o
=
n
(
"fZjL"
),
p
=
n
.
n
(
o
),
i
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
s
=
n
.
n
(
i
),
c
=
{
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
m
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
c
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
d
=
n
(
"lRwf"
),
u
=
n
.
n
(
d
),
l
=
n
(
"pRNm"
),
h
=
n
.
n
(
l
),
v
=
n
(
"5tgt"
),
g
=
n
.
n
(
v
);
u
.
a
.
use
(
h
.
a
);
var
A
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
y
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
g
()(
"login"
,
"index"
)},{
path
:
"/download"
,
name
:
"下载"
,
component
:
g
()(
"download"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
g
()(
"index"
,
"index"
)},{
path
:
"/sign"
,
name
:
"index"
,
component
:
g
()(
"sign"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
g
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
g
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
g
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
g
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
g
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
g
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
g
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
g
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
g
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
g
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
g
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
g
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
g
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
g
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
g
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
g
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
g
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
g
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
g
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
g
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memeberBaseSet"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"index"
),
children
:[{
path
:
"/memeberBaseSet"
,
name
:
"会员基础设置"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"memeberBaseSet"
)},{
path
:
"/onlineChatSet"
,
name
:
"在线沟通设置"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"onlineChatSet"
)},{
path
:
"/chatRecord"
,
name
:
"聊天记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"chatRecord"
)},{
path
:
"/sendRecord"
,
name
:
"发送记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"sendRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"newCard"
)},{
path
:
"/cardSendRecord"
,
name
:
"卡券发送记录"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"cardSendRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"卡券领取卡券"
,
component
:
g
()(
"enterpriseApp/myCustomer"
,
"cardGetRecord"
)}]},{
path
:
"/marketing"
,
name
:
"营销素材"
,
redirect
:
"/imageText"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"index"
),
children
:[{
path
:
"/imageText"
,
name
:
"图文素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"imageText"
)},{
path
:
"/newImageText"
,
name
:
"选择图文"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"newImageText"
)},{
path
:
"/enjoyMaterial"
,
name
:
"纷享素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"enjoyMaterial"
)},{
path
:
"/newEnjoy"
,
name
:
"新建素材"
,
component
:
g
()(
"enterpriseApp/marketingMaterial"
,
"newEnjoy"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
g
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
g
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
g
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
g
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
g
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
g
()(
"enterpriseApp/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
g
()(
"enterpriseApp/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
g
()(
"enterpriseApp/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
g
()(
"enterpriseApp/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
g
()(
"enterpriseApp/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/signList"
,
name
:
"企业公告"
,
redirect
:
"/signList"
,
component
:
g
()(
"enterpriseApp/signApp"
,
"index"
),
children
:[{
path
:
"/signList"
,
name
:
"企业公告列表"
,
component
:
g
()(
"enterpriseApp/signApp"
,
"signList"
)}]},{
path
:
"/clockin"
,
name
:
"考勤打卡"
,
redirect
:
"/dayStatistics"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"index"
),
children
:[{
path
:
"/dayStatistics"
,
name
:
"日统计"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"dayStatistics"
)},{
path
:
"/workSet"
,
name
:
"考勤设置"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workSet"
)},{
path
:
"/workGroupSet"
,
name
:
"考勤设置"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workGroupSet"
)},{
path
:
"/workTimeManage"
,
name
:
"排班管理"
,
component
:
g
()(
"enterpriseApp/dailyAttendance"
,
"workTimeManage"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
g
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
g
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
g
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
g
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
g
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
g
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
g
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
g
()(
"setting"
,
"storePermission"
)},{
path
:
"/contactPermission"
,
name
:
"通讯录控制"
,
component
:
g
()(
"setting"
,
"contactPermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
g
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
g
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
g
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
g
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
g
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
g
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
g
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
A
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
A
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
A
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
k
=
new
h
.
a
({
routes
:
y
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
w
=
n
(
"zL8q"
),
D
=
n
.
n
(
w
),
x
=
n
(
"Rf8U"
),
S
=
n
.
n
(
x
),
R
=
n
(
"mtWM"
),
C
=
n
.
n
(
R
),
T
=
n
(
"bOdI"
),
M
=
n
.
n
(
T
),
b
=
n
(
"SJI6"
),
E
=
n
.
n
(
b
);
u
.
a
.
use
(
E
.
a
);
var
I
=
new
E
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
f
=
{},
M
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
M
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
M
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
M
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
f
)}),
j
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
n
=
new
Date
(
e
),
a
=
{
"M+"
:
n
.
getMonth
()
+
1
,
"D+"
:
n
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
n
.
getDay
()),
"h+"
:
n
.
getHours
(),
"m+"
:
n
.
getMinutes
(),
"s+"
:
n
.
getSeconds
(),
"q+"
:
Math
.
floor
((
n
.
getMonth
()
+
3
)
/
3
),
S
:
n
.
getMilliseconds
()};
for
(
var
r
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
n
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
a
)
new
RegExp
(
"("
+
r
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
a
[
r
]:(
"00"
+
a
[
r
]).
substr
((
""
+
a
[
r
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
o
=
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
()
+
"-"
+
r
+
"-"
+
a
+
" "
+
o
+
":"
+
p
+
":"
+
i
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
;
return
t
.
getFullYear
()
+
"-"
+
r
+
"-"
+
a
}},
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
),
n
=
t
.
getMonth
()
+
1
,
a
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
r
=
n
<
10
?
"0"
+
n
:
n
,
o
=
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
()
+
"."
+
r
+
"."
+
a
+
" "
+
o
+
":"
+
p
+
":"
+
i
}}}),
V
=
n
(
"TUaa"
),
q
=
n
.
n
(
V
),
P
=
n
(
"tyqE"
),
G
=
n
.
n
(
P
),
H
=
n
(
"pRVe"
),
L
=
n
.
n
(
H
),
F
=
n
(
"XsK6"
),
O
=
n
.
n
(
F
),
N
=
n
(
"QRL9"
),
z
=
n
.
n
(
N
),
Y
=
n
(
"2Pnh"
),
J
=
n
.
n
(
Y
),
K
=
n
(
"l9mu"
),
B
=
n
.
n
(
K
),
U
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
J
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
r
=
n
/
592.28
*
841.89
,
o
=
a
,
p
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
B
.
a
(
""
,
"pt"
,
"a4"
);
if
(
o
<
r
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
o
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
p
-=
841.89
,(
o
-=
r
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}},
X
=
n
(
"/IwO"
),
Q
=
n
.
n
(
X
);
s
.
a
.
polyfill
(),
Vue
.
use
(
Q
.
a
),
Q
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
U
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
z
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
G
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
D
.
a
,{
size
:
"large"
}),
Vue
.
use
(
S
.
a
,
C
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
p
()(
j
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
j
[
e
])}),
k
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
o
=
window
.
location
.
origin
;
a
=-
1
!=
o
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
o
,
localStorage
.
getItem
(
"userInfo"
)
||
C
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
r
()(
t
.
result
))}).
catch
(
function
(
e
){
w
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
k
,
store
:
I
,
components
:{
App
:
m
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
28
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
21
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
65
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
74
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
63
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
85
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
9
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
11
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
73
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
17
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
25
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
38
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
20
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
43
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
3
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
60
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
61
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
91
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
19
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
8
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
40
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
62
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
53
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
75
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
51
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
89
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
72
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
31
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
84
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
42
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
86
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
56
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
97
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
68
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
77
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
83
],
"./enterpriseApp/dailyAttendance/dayStatistics.vue"
:[
"gncU"
,
0
,
41
],
"./enterpriseApp/dailyAttendance/index.vue"
:[
"vgwM"
,
0
,
90
],
"./enterpriseApp/dailyAttendance/monthStatistics.vue"
:[
"z8Gq"
,
99
],
"./enterpriseApp/dailyAttendance/workGroupSet.vue"
:[
"estW"
,
0
,
14
],
"./enterpriseApp/dailyAttendance/workSet.vue"
:[
"A/XQ"
,
0
,
33
],
"./enterpriseApp/dailyAttendance/workTimeManage.vue"
:[
"/n/x"
,
0
,
35
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
52
],
"./enterpriseApp/marketingMaterial/enjoyMaterial.vue"
:[
"SB6x"
,
0
,
26
],
"./enterpriseApp/marketingMaterial/imageText.vue"
:[
"0qiV"
,
0
,
23
],
"./enterpriseApp/marketingMaterial/index.vue"
:[
"m0O4"
,
0
,
45
],
"./enterpriseApp/marketingMaterial/newEnjoy.vue"
:[
"7fkC"
,
0
,
18
],
"./enterpriseApp/marketingMaterial/newImageText.vue"
:[
"NajC"
,
0
,
15
],
"./enterpriseApp/myCustomer/cardGetRecord.vue"
:[
"YqmZ"
,
0
,
80
],
"./enterpriseApp/myCustomer/cardSendRecord.vue"
:[
"+Q5U"
,
0
,
96
],
"./enterpriseApp/myCustomer/chatRecord.vue"
:[
"gjw3"
,
0
,
59
],
"./enterpriseApp/myCustomer/index.vue"
:[
"/rje"
,
0
,
76
],
"./enterpriseApp/myCustomer/memeberBaseSet.vue"
:[
"N+Or"
,
0
,
94
],
"./enterpriseApp/myCustomer/newCard.vue"
:[
"G/J9"
,
0
,
55
],
"./enterpriseApp/myCustomer/onlineChatSet.vue"
:[
"ahzF"
,
0
,
24
],
"./enterpriseApp/myCustomer/sendRecord.vue"
:[
"8msp"
,
0
,
88
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
49
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
2
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
69
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
12
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
47
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
64
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
58
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
87
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
81
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
70
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
46
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
48
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
71
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
98
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
50
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
30
],
"./enterpriseApp/trafficTask/taskViewDetail.vue"
:[
"Akas"
,
0
,
79
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
67
],
"./errorPage/403.vue"
:[
"6XGN"
,
36
],
"./errorPage/404.vue"
:[
"AejC"
,
39
],
"./errorPage/500.vue"
:[
"FskK"
,
29
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
34
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
37
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
93
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
22
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
13
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
57
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
82
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
54
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
16
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
66
],
"./setting/index.vue"
:[
"VlR1"
,
44
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
92
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
78
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
32
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
27
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
95
]};
function
r
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
r
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
r
.
id
=
"Opzk"
,
e
.
exports
=
r
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
\ No newline at end of file
dist/static/js/manifest.
353d402490f0f1e8dc2a
.js
→
dist/static/js/manifest.
9be37965e64f606e63e8
.js
View file @
93d9c6e9
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
d
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
d
.
length
;
i
++
)
t
=
d
[
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
(
d
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
d
=
{},
a
=
{
103
:
0
};
function
f
(
c
){
if
(
d
[
c
])
return
d
[
c
].
exports
;
var
a
=
d
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
f
),
a
.
l
=!
0
,
a
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
d
=
new
Promise
(
function
(
d
,
f
){
c
=
a
[
e
]
=
[
d
,
f
]});
c
[
2
]
=
d
;
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
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"129caf163abfe2429ea4"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"b4cd547e4cd1c85c02dd"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"1e1a032927bac703d358"
,
6
:
"383047e2e447a7e22614"
,
7
:
"b545128585c9ed62a709"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"06ac195b892351e84380"
,
13
:
"bc52bf775945fbeea217"
,
14
:
"4fca81a28867daa95602"
,
15
:
"d251e8a6c8d22c33bf8f"
,
16
:
"f483f95dbac654c7de5a"
,
17
:
"ff6edf624b982c354977"
,
18
:
"d2d67b4f5729ae6df7c6"
,
19
:
"d7d09ae4564d64842009"
,
20
:
"455fd80bd8af15457c57"
,
21
:
"c1b5e15e28768af52654"
,
22
:
"2a873e819c6c369d5cd1"
,
23
:
"83fde8c1a7dc128b4ba0"
,
24
:
"dbe5f7dfc5081aa39701"
,
25
:
"d3508ee6e53c11c834a8"
,
26
:
"a4696a3d8f883d26cbba"
,
27
:
"80efeaa8fe902850d85c"
,
28
:
"46b6307b4aa0b1ade043"
,
29
:
"c5bb15e8e1bd17cdc0f7"
,
30
:
"5121cd15c522ec6aff68"
,
31
:
"6deea165c9172e1ef861"
,
32
:
"fc2213c2b57da6c25ea2"
,
33
:
"2384428cead47e1eec9d"
,
34
:
"73fbd87b52c9c1d20823"
,
35
:
"803f0fd338c68f9b9535"
,
36
:
"afbe204dbc41d7c5c89b"
,
37
:
"4871f1bc03003253497b"
,
38
:
"b38b04eff6b00a23650d"
,
39
:
"66cef0827526e8ede05b"
,
40
:
"a79be724c9e18f8dd17d"
,
41
:
"8091d9c715151eadc03e"
,
42
:
"54f2f4850c109391114a"
,
43
:
"f3a9e4d9e607ce925656"
,
44
:
"3a3e8719f515b04351a5"
,
45
:
"356e8b5743065eef3206"
,
46
:
"7f0370303748cda4fb2a"
,
47
:
"7ad89cc95a475db01e81"
,
48
:
"001e89d6e8c75de1cb51"
,
49
:
"d683808c3d2fa530cd06"
,
50
:
"ac5336622d4ab5a26e31"
,
51
:
"7377a04b898ddcb4c477"
,
52
:
"7f7f2fda092dd6a7e614"
,
53
:
"d59b672f5b90ec4d0e4b"
,
54
:
"7b264e992d02a7e1ceb5"
,
55
:
"d1da24ebcca36e940397"
,
56
:
"59d198512f5d8b99c554"
,
57
:
"efbc81c84dd5a3b54eca"
,
58
:
"008b5a45f70e0f65268b"
,
59
:
"54a0390de7ce06c7d34d"
,
60
:
"cee1dd30f94e7487f93b"
,
61
:
"207d517238409fc3719c"
,
62
:
"1dc546c9d37850be7628"
,
63
:
"83a2ddb0054766d16d64"
,
64
:
"afb8d1e991fe23cbbe5a"
,
65
:
"960d0d154d5f1a7bbccc"
,
66
:
"75cdf4b7199d96c41d19"
,
67
:
"b3b89d1e5c5d237a2ee0"
,
68
:
"c0cc9d0626ed1cf05d9c"
,
69
:
"8bf82b79a74e228faa23"
,
70
:
"f63528c433143e66d651"
,
71
:
"3540a054998ff28db570"
,
72
:
"e891308da96834f24f87"
,
73
:
"1629f06f2fdb6de65caa"
,
74
:
"d5604c4e55a6f32af53c"
,
75
:
"85bc900af0c5cc025e36"
,
76
:
"0cca4ddac655a4e2bd7d"
,
77
:
"003441a7c74e16971259"
,
78
:
"a5e63992415630bc6e78"
,
79
:
"08b999b27a29b83f2d9b"
,
80
:
"94c1283e0f5ace134c58"
,
81
:
"daac076fb5db17c43104"
,
82
:
"a8d16d34fbd053d83e94"
,
83
:
"7cf81676bc482f3eaa6d"
,
84
:
"ecc3ccedc8ad800d5deb"
,
85
:
"c9c18043982ac5dfb63d"
,
86
:
"2b27d0767a9b9f0d31ca"
,
87
:
"697e5675e3f647f7af4e"
,
88
:
"36e53a696a03d87e94dc"
,
89
:
"bd1822a4726245687f03"
,
90
:
"a751853c2b15d367347e"
,
91
:
"84793f041fd45f2f4120"
,
92
:
"e9bfe7d79655e973771e"
,
93
:
"6dca776ce9bed1cf9310"
,
94
:
"09be9a6fc81c6d292ce5"
,
95
:
"c3f379ca4f3ce71e3bfb"
,
96
:
"2efbe74c26dcfb77650f"
,
97
:
"ac2cf8e5e0e144c3b742"
,
98
:
"e0fd2c832397fdb94924"
,
99
:
"58cc1884c4f80303999a"
,
102
:
"2c7e1d628bd2f4ac709c"
}[
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
),
d
},
f
.
m
=
e
,
f
.
c
=
d
,
f
.
d
=
function
(
e
,
c
,
d
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
d
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
d
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
d
.
length
;
i
++
)
t
=
d
[
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
(
d
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
d
=
{},
a
=
{
103
:
0
};
function
f
(
c
){
if
(
d
[
c
])
return
d
[
c
].
exports
;
var
a
=
d
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
f
),
a
.
l
=!
0
,
a
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
d
=
new
Promise
(
function
(
d
,
f
){
c
=
a
[
e
]
=
[
d
,
f
]});
c
[
2
]
=
d
;
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
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"129caf163abfe2429ea4"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"b4cd547e4cd1c85c02dd"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"1e1a032927bac703d358"
,
6
:
"383047e2e447a7e22614"
,
7
:
"b545128585c9ed62a709"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"06ac195b892351e84380"
,
13
:
"bc52bf775945fbeea217"
,
14
:
"4fca81a28867daa95602"
,
15
:
"d251e8a6c8d22c33bf8f"
,
16
:
"f483f95dbac654c7de5a"
,
17
:
"ff6edf624b982c354977"
,
18
:
"d2d67b4f5729ae6df7c6"
,
19
:
"d7d09ae4564d64842009"
,
20
:
"455fd80bd8af15457c57"
,
21
:
"c1b5e15e28768af52654"
,
22
:
"2a873e819c6c369d5cd1"
,
23
:
"83fde8c1a7dc128b4ba0"
,
24
:
"dbe5f7dfc5081aa39701"
,
25
:
"d3508ee6e53c11c834a8"
,
26
:
"a4696a3d8f883d26cbba"
,
27
:
"80efeaa8fe902850d85c"
,
28
:
"46b6307b4aa0b1ade043"
,
29
:
"c5bb15e8e1bd17cdc0f7"
,
30
:
"5121cd15c522ec6aff68"
,
31
:
"6deea165c9172e1ef861"
,
32
:
"fc2213c2b57da6c25ea2"
,
33
:
"2384428cead47e1eec9d"
,
34
:
"73fbd87b52c9c1d20823"
,
35
:
"803f0fd338c68f9b9535"
,
36
:
"afbe204dbc41d7c5c89b"
,
37
:
"4871f1bc03003253497b"
,
38
:
"b38b04eff6b00a23650d"
,
39
:
"66cef0827526e8ede05b"
,
40
:
"a79be724c9e18f8dd17d"
,
41
:
"8091d9c715151eadc03e"
,
42
:
"54f2f4850c109391114a"
,
43
:
"fb46c0bad10552e7ef89"
,
44
:
"3d32c7e1954754671303"
,
45
:
"a9716608f3af52ee74c5"
,
46
:
"84083eac0c5c5b14a99f"
,
47
:
"5fba8d62f07fd68c7875"
,
48
:
"3d2a2f4e5dca20f701e8"
,
49
:
"c0c90eb73e8637aa4caf"
,
50
:
"d121c16edea8a23b184c"
,
51
:
"aa5454e0664f02f5f5f6"
,
52
:
"906057051eeca0acab78"
,
53
:
"ad34897b3043dc2ba8c4"
,
54
:
"6d6fb15946a63d0c8b8a"
,
55
:
"59314d9281387d899707"
,
56
:
"59d198512f5d8b99c554"
,
57
:
"efbc81c84dd5a3b54eca"
,
58
:
"008b5a45f70e0f65268b"
,
59
:
"54a0390de7ce06c7d34d"
,
60
:
"cee1dd30f94e7487f93b"
,
61
:
"207d517238409fc3719c"
,
62
:
"1dc546c9d37850be7628"
,
63
:
"83a2ddb0054766d16d64"
,
64
:
"afb8d1e991fe23cbbe5a"
,
65
:
"960d0d154d5f1a7bbccc"
,
66
:
"75cdf4b7199d96c41d19"
,
67
:
"b3b89d1e5c5d237a2ee0"
,
68
:
"c0cc9d0626ed1cf05d9c"
,
69
:
"8bf82b79a74e228faa23"
,
70
:
"f63528c433143e66d651"
,
71
:
"3540a054998ff28db570"
,
72
:
"e891308da96834f24f87"
,
73
:
"1629f06f2fdb6de65caa"
,
74
:
"d5604c4e55a6f32af53c"
,
75
:
"85bc900af0c5cc025e36"
,
76
:
"0cca4ddac655a4e2bd7d"
,
77
:
"003441a7c74e16971259"
,
78
:
"a5e63992415630bc6e78"
,
79
:
"08b999b27a29b83f2d9b"
,
80
:
"94c1283e0f5ace134c58"
,
81
:
"daac076fb5db17c43104"
,
82
:
"a8d16d34fbd053d83e94"
,
83
:
"7cf81676bc482f3eaa6d"
,
84
:
"ecc3ccedc8ad800d5deb"
,
85
:
"c9c18043982ac5dfb63d"
,
86
:
"2b27d0767a9b9f0d31ca"
,
87
:
"697e5675e3f647f7af4e"
,
88
:
"36e53a696a03d87e94dc"
,
89
:
"bd1822a4726245687f03"
,
90
:
"a751853c2b15d367347e"
,
91
:
"84793f041fd45f2f4120"
,
92
:
"e9bfe7d79655e973771e"
,
93
:
"6dca776ce9bed1cf9310"
,
94
:
"09be9a6fc81c6d292ce5"
,
95
:
"c3f379ca4f3ce71e3bfb"
,
96
:
"2efbe74c26dcfb77650f"
,
97
:
"ac2cf8e5e0e144c3b742"
,
98
:
"e0fd2c832397fdb94924"
,
99
:
"58cc1884c4f80303999a"
,
102
:
"2c7e1d628bd2f4ac709c"
}[
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
),
d
},
f
.
m
=
e
,
f
.
c
=
d
,
f
.
d
=
function
(
e
,
c
,
d
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
d
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/enterpriseApp/myCustomer/newCard.vue
View file @
93d9c6e9
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-09-18 15:25:12
* @Date: 2019-09-18 15:25:12
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-12-14 1
0:28:22
* @LastEditTime: 2020-12-14 1
7:56:15
-->
-->
<!--
<!--
...
@@ -42,12 +42,22 @@ components: {
...
@@ -42,12 +42,22 @@ components: {
{{
scope
.
row
.
subName
||
'--'
}}
{{
scope
.
row
.
subName
||
'--'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"卡券模板投放期限"
show-overflow-tooltip
>
<el-table-column
label=
""
show-overflow-tooltip
>
<
template
slot=
"header"
>
<span
style=
"width: 69px; display: inline-block;line-height: 18px;"
>
卡券模板投放期限
</span>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
subName
||
'--'
}}
{{
scope
.
row
.
subName
||
'--'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"effectDateString"
label=
"用户使用有效期"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
""
label=
""
show-overflow-tooltip
>
<
template
slot=
"header"
>
<span
style=
"width: 69px; display: inline-block;line-height: 18px;"
>
用户使用有效期
</span>
</
template
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
effectDateString
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"cardLimit"
label=
"领取限制"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"cardLimit"
label=
"领取限制"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"storeMode"
label=
"适用门店"
show-overflow-tooltip
>
<el-table-column
prop=
"storeMode"
label=
"适用门店"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
...
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