Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
c6934b38
Commit
c6934b38
authored
Jun 28, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改分组
parent
34608d26
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
46 additions
and
43 deletions
+46
-43
index.html
dist/index.html
+2
-2
app.723751cec0ec0000d08777856e05d174.css
dist/static/css/app.723751cec0ec0000d08777856e05d174.css
+0
-0
33.41335fb0be9dd78fd512.js
dist/static/js/33.41335fb0be9dd78fd512.js
+2
-0
34.410398af20671e879461.js
dist/static/js/34.410398af20671e879461.js
+2
-2
35.d1a36a3d6b3a90c2bb5f.js
dist/static/js/35.d1a36a3d6b3a90c2bb5f.js
+2
-2
36.10d5f0ab0428267ba420.js
dist/static/js/36.10d5f0ab0428267ba420.js
+2
-2
37.8f05d65ffc9ef20cfb3b.js
dist/static/js/37.8f05d65ffc9ef20cfb3b.js
+2
-2
38.6a9bb31c1f90c96210c1.js
dist/static/js/38.6a9bb31c1f90c96210c1.js
+2
-2
39.2599e9613caef55f751c.js
dist/static/js/39.2599e9613caef55f751c.js
+2
-2
40.13ee52dc4832097dde95.js
dist/static/js/40.13ee52dc4832097dde95.js
+2
-2
41.1c7ad7462b20d739bfd0.js
dist/static/js/41.1c7ad7462b20d739bfd0.js
+2
-2
42.b412deb1296e4926ae31.js
dist/static/js/42.b412deb1296e4926ae31.js
+2
-2
43.c4327dbbe9d97630f122.js
dist/static/js/43.c4327dbbe9d97630f122.js
+2
-2
44.99e7d13e393e3a25b2e7.js
dist/static/js/44.99e7d13e393e3a25b2e7.js
+2
-2
45.2541a955b1a647400bc5.js
dist/static/js/45.2541a955b1a647400bc5.js
+2
-2
46.7b65373ef8a204dfac59.js
dist/static/js/46.7b65373ef8a204dfac59.js
+2
-2
47.e64057254b53ae3fa692.js
dist/static/js/47.e64057254b53ae3fa692.js
+2
-2
48.33b1806eb6afb10ad02c.js
dist/static/js/48.33b1806eb6afb10ad02c.js
+2
-2
49.b8cd158b6cd30ccb2906.js
dist/static/js/49.b8cd158b6cd30ccb2906.js
+2
-2
50.2a041222061152028e68.js
dist/static/js/50.2a041222061152028e68.js
+0
-2
50.a613c9b52259eb192c68.js
dist/static/js/50.a613c9b52259eb192c68.js
+2
-2
app.cf3d422967a0513b0625.js
dist/static/js/app.cf3d422967a0513b0625.js
+2
-2
manifest.b2f6aec797f421e4fafe.js
dist/static/js/manifest.b2f6aec797f421e4fafe.js
+2
-2
memberGroupSet.vue
src/views/apps/customerApp/memberGroupSet.vue
+4
-1
No files found.
dist/index.html
View file @
c6934b38
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.490ae4f5cbb258e7714693d57e856b36.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.8f5a4b602797b9f5c511.js
></script><script
type=
text/javascript
src=
./static/js/vendor.04714449d6ef1a8af053.js
></script><script
type=
text/javascript
src=
./static/js/app.fbb3136fab9d41167809.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.723751cec0ec0000d08777856e05d174.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.b2f6aec797f421e4fafe.js
></script><script
type=
text/javascript
src=
./static/js/vendor.04714449d6ef1a8af053.js
></script><script
type=
text/javascript
src=
./static/js/app.cf3d422967a0513b0625.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
490ae4f5cbb258e7714693d57e856b36
.css
→
dist/static/css/app.
723751cec0ec0000d08777856e05d174
.css
View file @
c6934b38
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/33.41335fb0be9dd78fd512.js
0 → 100644
View file @
c6934b38
webpackJsonp
([
33
],{
"44S+"
:
function
(
e
,
t
){},
JuNN
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"3E4D"
),
s
=
a
(
"Ch4/"
),
o
=
a
(
"PI0u"
),
n
=
a
(
"P9l9"
),
i
=
{
name
:
"app-detail"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
tabType
:{
type
:
String
,
default
:
function
(){
return
"1"
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
activeName
:
"first"
,
activeGroup
:
this
.
activeGroupId
,
wxEnterpriseRelatedId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
myCustomData
:{
searchFlag
:
!
1
,
chatFlag
:
!
1
,
mainStoreFlag
:
!
1
,
minorStoreFlag
:
!
1
,
openCardStoreFlag
:
!
1
,
clerkSeeOtherFlag
:
!
1
,
isSeeAuthMember
:
!
1
,
allowGuideContact
:
!
1
,
allowGuideMobile
:
!
1
,
allowGuideMessage
:
!
1
,
allowGuideOnlineChat
:
!
1
},
overTimeSeeFlag
:
!
1
,
conditionObj
:{
searchInput
:
""
,
classifyName
:
""
,
effectiveStatus
:
""
},
groupListData
:[],
classifyList
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
loading
:
!
1
,
syncDate
:
""
,
loadingBtn
:
!
1
,
templateList
:[]}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的模板?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delTempList
(
t
.
templateId
)}).
catch
(
function
(){})},
delTempList
:
function
(
e
){
var
t
=
this
,
a
=
{
templateId
:
e
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/del-group-template"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toEdit
:
function
(
e
,
t
){
this
.
$router
.
push
(
"/addGroupTemplate?templateId="
+
t
.
templateId
)},
toStore
:
function
(
e
,
t
){
this
.
$router
.
push
(
"/storeRangeSet?templateId="
+
t
.
templateId
)},
addTemplate
:
function
(){
this
.
$router
.
push
(
"/addGroupTemplate"
)},
getTableList
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
brandId
,
wxEnterpriseRelatedId
:
e
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/get-template-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
s
.
a
.
errorMsg
(
a
):
e
.
templateList
=
a
.
result
||
[]}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleClick
:
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
20
,
this
.
total
=
0
,
"first"
==
e
.
name
?(
this
.
getGroupClassify
(),
this
.
getGroupList
(),
this
.
getGroupClassSet
(),
this
.
getSyncDate
()):
this
.
getTableList
()},
getSyncDate
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/get-group_last_syn_time"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
s
.
a
.
errorMsg
(
a
):
t
.
syncDate
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toSync
:
Object
(
o
.
a
)(
function
(){
var
e
=
this
;
e
.
loadingBtn
=!
0
;
var
t
=
{
enterpriseId
:
e
.
brandId
,
wxEnterpriseRelatedId
:
e
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/syn-group"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"同步成功"
,
"success"
),
void
e
.
getSyncDate
();
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loadingBtn
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
500
),
getGroupClassSet
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/get-member-group-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
s
.
a
.
errorMsg
(
a
):
t
.
overTimeSeeFlag
=
0
!=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
saveGroupSet
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
brandId
,
wxEnterpriseRelatedId
:
e
.
wxEnterpriseRelatedId
,
overTimeSeeFlag
:
1
==
e
.
overTimeSeeFlag
?
1
:
0
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/save-member-group-setting"
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
r
.
a
.
showmsg
(
"设置成功"
,
"success"
),
!
1
;
s
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
o
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
changeCondition
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupClassify
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/get-member-class-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
s
.
a
.
errorMsg
(
a
):
t
.
classifyList
=
a
.
result
.
list
||
[]}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toChangeTemp
:
function
(
e
,
t
,
a
){
var
o
=
this
;
console
.
log
(
e
,
t
,
a
);
var
i
=
{
enterpriseId
:
o
.
brandId
,
wxEnterpriseRelatedId
:
o
.
wxEnterpriseRelatedId
,
memberTagGroupId
:
a
.
memberTagGroupId
,
isSendTemplate
:
1
==
a
.
isSendTemplate
?
1
:
0
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/save-member-group-is-template-message"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
r
.
a
.
showmsg
(
"操作成功"
,
"success"
),
o
.
pageNum
=
1
,
void
o
.
getGroupList
(
o
.
brandId
);
a
.
isSendTemplate
=!
1
,
s
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
o
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
,
memberGroupName
:
t
.
conditionObj
.
searchInput
,
classifyName
:
t
.
conditionObj
.
classifyName
,
effectiveStatus
:
t
.
conditionObj
.
effectiveStatus
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/member-tag-group-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
length
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
isSendTemplate
=
1
==
e
.
isSendTemplate
}),
t
.
groupListData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
getGroupClassify
(
this
.
brandId
),
this
.
getGroupList
(
this
.
brandId
),
this
.
getGroupClassSet
(
this
.
brandId
),
this
.
getSyncDate
(
this
.
brandId
)),
"second"
==
this
.
activeName
&&
this
.
getTableList
()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"12"
),
this
.
brandId
&&
(
this
.
getGroupClassify
(
this
.
brandId
),
this
.
getGroupList
(
this
.
brandId
),
this
.
getGroupClassSet
(
this
.
brandId
),
this
.
getSyncDate
(
this
.
brandId
)),
this
.
$route
.
query
.
tabName
&&
this
.
brandId
&&
(
this
.
activeName
=
"second"
,
this
.
getTableList
())},
components
:{}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"会员分组列表"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-lbr-20"
},[
a
(
"div"
,{
staticClass
:
"condition-wrap flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"217px"
},
attrs
:{
placeholder
:
"请输入分组名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}}),
a
(
"el-select"
,{
staticClass
:
"w-168 m-l-10"
,
attrs
:{
placeholder
:
"全部分类"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
classifyName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"classifyName"
,
t
)},
expression
:
"conditionObj.classifyName"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部分类"
,
value
:
""
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
classifyList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
e
,
value
:
e
}})})],
2
),
a
(
"el-select"
,{
staticClass
:
"w-168 m-l-10"
,
attrs
:{
placeholder
:
"全部状态"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
effectiveStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"effectiveStatus"
,
t
)},
expression
:
"conditionObj.effectiveStatus"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部状态"
,
value
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"有效"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"失效"
,
value
:
"0"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-checkbox"
,{
on
:{
change
:
e
.
saveGroupSet
},
model
:{
value
:
e
.
overTimeSeeFlag
,
callback
:
function
(
t
){
e
.
overTimeSeeFlag
=
t
},
expression
:
"overTimeSeeFlag"
}}),
e
.
_v
(
" "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 m-r-20"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"会员分组到期后不展示"
)])]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
e
.
toSync
}},[
e
.
_v
(
"立即同步"
)]),
e
.
_v
(
" "
),
e
.
syncDate
?
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
e
.
_v
(
"最近一次同步时间:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
syncDate
)))]):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
groupListData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
groupName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"是否实时"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"更新频率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"覆盖人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
groupListData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])]),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"分组展示设置"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
" border-box p-lbr-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"div"
),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"span"
,{
staticClass
:
"font-12 color-909399"
},[
e
.
_v
(
"最多新建20个模板"
)]),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
disabled
:
e
.
templateList
.
length
>=
20
,
type
:
"primary"
},
on
:{
click
:
e
.
addTemplate
}},[
e
.
_v
(
"新建模版"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"tempTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
templateList
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
templateName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板id"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
templateId
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
editPerson
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
editTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
editTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toStore
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"门店范围设置"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])])],
1
)],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
i
,
l
,
!
1
,
function
(
e
){
a
(
"44S+"
)},
"data-v-bab539e6"
,
null
);
t
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/3
3.44871ddf09ebcfc436d6
.js
→
dist/static/js/3
4.410398af20671e879461
.js
View file @
c6934b38
webpackJsonp
([
33
],{
"4QyY"
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
e
(
"Z8ln"
),
o
=
e
(
"Ch4/"
),
r
=
e
(
"P9l9"
),
s
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"云日报"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"云日报"
,
icon
:
"iconribao"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"云日报记录"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"云日报导出"
,
icon
:
""
}]},{
tabId
:
"2"
,
tabName
:
"任务下发设置"
,
icon
:
"iconxiafa"
},{
tabId
:
"3"
,
tabName
:
"云日报设置"
,
icon
:
"iconribaoshezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"31"
,
tabName
:
"系统报表"
,
icon
:
""
},{
tabId
:
"32"
,
tabName
:
"自定义报表"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-manage3-web/enterprise-is-over"
,
a
).
then
(
function
(
a
){
var
e
=
a
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
t
.
expiredFlag
=
e
.
result
}).
catch
(
function
(
a
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
,
this
.
getExpired
()},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
case
"11"
:
this
.
changeRoute
(
"dailyRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"dailyExport"
);
break
;
case
"2"
:
this
.
changeRoute
(
"taskAssign"
);
break
;
case
"3"
:
case
"31"
:
this
.
changeRoute
(
"systemReport"
);
break
;
case
"32"
:
this
.
changeRoute
(
"customReport"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"/dailyDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
"/dailyRecord"
},{
name
:
"云日报记录详情"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
,
expiredDialog
:
c
.
a
}},
d
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])]),
t
.
_v
(
" "
),
t
.
expiredFlag
?
e
(
"expired-dialog"
):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
h
=
e
(
"VU/8"
)(
s
,
d
,
!
1
,
function
(
t
){
e
(
"RPri"
)},
"data-v-b9412f64"
,
null
);
a
.
default
=
h
.
exports
},
RPri
:
function
(
t
,
a
){}});
\ No newline at end of file
webpackJsonp
([
34
],{
"4QyY"
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
e
(
"Z8ln"
),
o
=
e
(
"Ch4/"
),
r
=
e
(
"P9l9"
),
s
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"云日报"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"云日报"
,
icon
:
"iconribao"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"云日报记录"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"云日报导出"
,
icon
:
""
}]},{
tabId
:
"2"
,
tabName
:
"任务下发设置"
,
icon
:
"iconxiafa"
},{
tabId
:
"3"
,
tabName
:
"云日报设置"
,
icon
:
"iconribaoshezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"31"
,
tabName
:
"系统报表"
,
icon
:
""
},{
tabId
:
"32"
,
tabName
:
"自定义报表"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-manage3-web/enterprise-is-over"
,
a
).
then
(
function
(
a
){
var
e
=
a
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
t
.
expiredFlag
=
e
.
result
}).
catch
(
function
(
a
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
,
this
.
getExpired
()},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
case
"11"
:
this
.
changeRoute
(
"dailyRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"dailyExport"
);
break
;
case
"2"
:
this
.
changeRoute
(
"taskAssign"
);
break
;
case
"3"
:
case
"31"
:
this
.
changeRoute
(
"systemReport"
);
break
;
case
"32"
:
this
.
changeRoute
(
"customReport"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"/dailyDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
"/dailyRecord"
},{
name
:
"云日报记录详情"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"云日报"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
,
expiredDialog
:
c
.
a
}},
d
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])]),
t
.
_v
(
" "
),
t
.
expiredFlag
?
e
(
"expired-dialog"
):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
h
=
e
(
"VU/8"
)(
s
,
d
,
!
1
,
function
(
t
){
e
(
"RPri"
)},
"data-v-b9412f64"
,
null
);
a
.
default
=
h
.
exports
},
RPri
:
function
(
t
,
a
){}});
\ No newline at end of file
dist/static/js/3
4.c1a5e41fb8bcf17d004
f.js
→
dist/static/js/3
5.d1a36a3d6b3a90c2bb5
f.js
View file @
c6934b38
webpackJsonp
([
34
],{
FmZU
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
e
(
"Z8ln"
),
o
=
e
(
"Ch4/"
),
s
=
e
(
"P9l9"
),
r
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
appName
:
"话务任务"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"话务任务记录"
,
icon
:
"iconhuawushuju"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"门店视图"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"话务任务视图"
,
icon
:
""
}]},{
tabId
:
"3"
,
tabName
:
"会话任务列表"
,
icon
:
"iconhuihuajinglingicon-"
},{
tabId
:
"2"
,
tabName
:
"任务设置"
,
icon
:
"iconbuliangpingjiashezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"21"
,
tabName
:
"话务任务设置"
,
icon
:
""
},{
tabId
:
"22"
,
tabName
:
"会话任务设置"
,
icon
:
""
},{
tabId
:
"23"
,
tabName
:
"不良评价回访设置"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
activeBrand
};
Object
(
s
.
a
)(
"/haoban-manage3-web/enterprise-is-over"
,
a
).
then
(
function
(
a
){
var
e
=
a
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
t
.
expiredFlag
=
e
.
result
}).
catch
(
function
(
a
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
,
this
.
getExpired
()},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
case
"11"
:
this
.
changeRoute
(
"taskRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"taskView"
);
break
;
case
"2"
:
case
"21"
:
this
.
changeRoute
(
"trafficTaskSet"
);
break
;
case
"22"
:
this
.
changeRoute
(
"taskSessionSet"
);
break
;
case
"23"
:
this
.
changeRoute
(
"badEvaluateSet"
);
break
;
case
"3"
:
this
.
changeRoute
(
"taskList"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"/taskViewDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
"/taskView"
},{
name
:
"话务任务视图详情"
,
path
:
""
}]:
"/newSession"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
"/taskView"
},{
name
:
"会话任务列表"
,
path
:
"/taskList"
},{
name
:
this
.
$route
.
query
.
repairId
?
"编辑会话任务"
:
"新建会话任务"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
,
expiredDialog
:
c
.
a
}},
h
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])]),
t
.
_v
(
" "
),
t
.
expiredFlag
?
e
(
"expired-dialog"
):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
d
=
e
(
"VU/8"
)(
r
,
h
,
!
1
,
function
(
t
){
e
(
"TcIP"
)},
"data-v-b096644a"
,
null
);
a
.
default
=
d
.
exports
},
TcIP
:
function
(
t
,
a
){}});
\ No newline at end of file
webpackJsonp
([
35
],{
FmZU
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"bzW+"
),
i
=
e
(
"Qie6"
),
c
=
e
(
"Z8ln"
),
o
=
e
(
"Ch4/"
),
s
=
e
(
"P9l9"
),
r
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
appName
:
"话务任务"
,
activeSelTab
:
"11"
,
activeTab
:
"11"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"话务任务记录"
,
icon
:
"iconhuawushuju"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"11"
,
tabName
:
"门店视图"
,
icon
:
""
},{
tabId
:
"12"
,
tabName
:
"话务任务视图"
,
icon
:
""
}]},{
tabId
:
"3"
,
tabName
:
"会话任务列表"
,
icon
:
"iconhuihuajinglingicon-"
},{
tabId
:
"2"
,
tabName
:
"任务设置"
,
icon
:
"iconbuliangpingjiashezhi"
,
onlyIconActive
:
!
1
,
children
:[{
tabId
:
"21"
,
tabName
:
"话务任务设置"
,
icon
:
""
},{
tabId
:
"22"
,
tabName
:
"会话任务设置"
,
icon
:
""
},{
tabId
:
"23"
,
tabName
:
"不良评价回访设置"
,
icon
:
""
}]}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
activeBrand
};
Object
(
s
.
a
)(
"/haoban-manage3-web/enterprise-is-over"
,
a
).
then
(
function
(
a
){
var
e
=
a
.
data
;
1
!=
e
.
errorCode
?
o
.
a
.
errorMsg
(
e
):
t
.
expiredFlag
=
e
.
result
}).
catch
(
function
(
a
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
,
this
.
getExpired
()},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
case
"11"
:
this
.
changeRoute
(
"taskRecord"
);
break
;
case
"12"
:
this
.
changeRoute
(
"taskView"
);
break
;
case
"2"
:
case
"21"
:
this
.
changeRoute
(
"trafficTaskSet"
);
break
;
case
"22"
:
this
.
changeRoute
(
"taskSessionSet"
);
break
;
case
"23"
:
this
.
changeRoute
(
"badEvaluateSet"
);
break
;
case
"3"
:
this
.
changeRoute
(
"taskList"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
1
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
a
.
onlyIconActive
=!
0
)})})})},
changeNavShow
:
function
(
t
){
"/taskViewDetail"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
"/taskView"
},{
name
:
"话务任务视图详情"
,
path
:
""
}]:
"/newSession"
==
t
.
path
?
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
"/taskView"
},{
name
:
"会话任务列表"
,
path
:
"/taskList"
},{
name
:
this
.
$route
.
query
.
repairId
?
"编辑会话任务"
:
"新建会话任务"
,
path
:
""
}]:
this
.
navpath
=
[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"话务任务"
,
path
:
""
}]}},
watch
:{
$route
:{
handler
:
function
(
t
,
a
){
this
.
changeNavShow
(
t
)},
deep
:
!
0
},
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
this
.
changeNavShow
(
this
.
$route
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
,
expiredDialog
:
c
.
a
}},
h
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-content border-box"
},[
e
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])]),
t
.
_v
(
" "
),
t
.
expiredFlag
?
e
(
"expired-dialog"
):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
d
=
e
(
"VU/8"
)(
r
,
h
,
!
1
,
function
(
t
){
e
(
"TcIP"
)},
"data-v-b096644a"
,
null
);
a
.
default
=
d
.
exports
},
TcIP
:
function
(
t
,
a
){}});
\ No newline at end of file
dist/static/js/3
5.e023fa238e7691eb1527
.js
→
dist/static/js/3
6.10d5f0ab0428267ba420
.js
View file @
c6934b38
webpackJsonp
([
35
],{
X5LE
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
o
=
a
(
"exGp"
),
s
=
a
.
n
(
o
),
i
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
loading
:
!
1
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
coupCardId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
gicEnterpriseId
:
e
.
brandId
,
coupCardId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/cardCoupon/del-card-coup"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCard?coupCardId="
+
e
.
coupCardId
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCard"
)},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
return
s
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:(
a
=
t
).
loading
=!
0
,
n
=
{
gicEnterpriseId
:
a
.
brandId
,
search
:
a
.
searchInput
||
""
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/cardCoupon/find-card-page"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
a
.
loading
=!
1
,
1
==
e
.
errorCode
)
return
a
.
tableData
=
e
.
result
.
list
||
[],
void
(
a
.
total
=
e
.
result
.
pageInfo
.
total
);
i
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
4
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
brandId
&&
this
.
getTableList
()}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入卡券名称"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增卡券"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"抵金券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"折扣券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"兑换券"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"有效期"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
effectDateString
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"库存"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
couponStock
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
t
){
a
(
"bBwz"
)},
"data-v-a49aec4a"
,
null
);
e
.
default
=
f
.
exports
},
bBwz
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
36
],{
X5LE
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
o
=
a
(
"exGp"
),
s
=
a
.
n
(
o
),
i
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
loading
:
!
1
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
coupCardId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
gicEnterpriseId
:
e
.
brandId
,
coupCardId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/cardCoupon/del-card-coup"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCard?coupCardId="
+
e
.
coupCardId
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCard"
)},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
return
s
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:(
a
=
t
).
loading
=!
0
,
n
=
{
gicEnterpriseId
:
a
.
brandId
,
search
:
a
.
searchInput
||
""
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/cardCoupon/find-card-page"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
a
.
loading
=!
1
,
1
==
e
.
errorCode
)
return
a
.
tableData
=
e
.
result
.
list
||
[],
void
(
a
.
total
=
e
.
result
.
pageInfo
.
total
);
i
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
4
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
brandId
&&
this
.
getTableList
()}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入卡券名称"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增卡券"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"抵金券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"折扣券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"兑换券"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"有效期"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
effectDateString
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"库存"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
couponStock
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
t
){
a
(
"bBwz"
)},
"data-v-a49aec4a"
,
null
);
e
.
default
=
f
.
exports
},
bBwz
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/3
6.51b02b73672ce25ec14
b.js
→
dist/static/js/3
7.8f05d65ffc9ef20cfb3
b.js
View file @
c6934b38
webpackJsonp
([
36
],{
"+lem"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"NKg7"
),
i
=
a
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
components
:{
vueOfficeHeader
:
n
.
a
,
commonDetailLeft
:
i
.
a
},
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
collapseFlag
:
!
1
,
contentHeight
:
"0px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"待审核"
,
icon
:
"icondaishenhe_orange"
},{
tabId
:
"2"
,
tabName
:
"已审核"
,
icon
:
"iconrenwu1"
},{
tabId
:
"3"
,
tabName
:
"审核设置"
,
icon
:
"iconshenhe"
}]}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"unreview"
);
break
;
case
"2"
:
this
.
changeRoute
(
"reviewed"
);
break
;
case
"3"
:
this
.
changeRoute
(
"reviewSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})},
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"review-wrap"
},[
a
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"setting-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
},[
a
(
"div"
,{
staticClass
:
"content-body-inner flex border-box"
},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])])],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
a
(
"DPH/"
)},
null
,
null
);
e
.
default
=
s
.
exports
},
"DPH/"
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
37
],{
"+lem"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"NKg7"
),
i
=
a
(
"Qie6"
),
c
=
{
name
:
"reviewed"
,
components
:{
vueOfficeHeader
:
n
.
a
,
commonDetailLeft
:
i
.
a
},
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
collapseFlag
:
!
1
,
contentHeight
:
"0px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"待审核"
,
icon
:
"icondaishenhe_orange"
},{
tabId
:
"2"
,
tabName
:
"已审核"
,
icon
:
"iconrenwu1"
},{
tabId
:
"3"
,
tabName
:
"审核设置"
,
icon
:
"iconshenhe"
}]}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"unreview"
);
break
;
case
"2"
:
this
.
changeRoute
(
"reviewed"
);
break
;
case
"3"
:
this
.
changeRoute
(
"reviewSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})},
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"review-wrap"
},[
a
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"setting-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
},[
a
(
"div"
,{
staticClass
:
"content-body-inner flex border-box"
},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])])],
1
)},
staticRenderFns
:[]};
var
s
=
a
(
"VU/8"
)(
c
,
o
,
!
1
,
function
(
t
){
a
(
"DPH/"
)},
null
,
null
);
e
.
default
=
s
.
exports
},
"DPH/"
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/3
7.8e5482d247e1f5aa8b5b
.js
→
dist/static/js/3
8.6a9bb31c1f90c96210c1
.js
View file @
c6934b38
webpackJsonp
([
37
],{
"7gkc"
:
function
(
e
,
a
){},
tF0P
:
function
(
e
,
a
,
t
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
o
=
t
(
"mvHQ"
),
r
=
t
.
n
(
o
),
i
=
t
(
"l46T"
),
n
=
t
(
"Kkt8"
),
s
=
t
(
"P9l9"
),
l
=
t
(
"3E4D"
),
m
=
t
(
"Ch4/"
),
p
=
t
(
"PI0u"
),
c
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
n
.
a
},
data
:
function
(){
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"3"
,
commitName
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
formData
:{
templateId
:
""
,
templateName
:
""
,
cardType
:
"0"
,
cardApplicationChannel
:[
"offlineStore"
],
erpDemoCode
:
""
,
cardColor
:
"#2f54eb"
,
cardDenomination
:
"1"
,
minGoodsType
:
"0"
,
minApplicableGoods
:
"1"
,
maxGoodsType
:
"0"
,
maxApplicableGoods
:
"1"
,
useCondition
:{
sale_limit
:{
fee
:
1
},
goods
:{
ok
:
""
,
no
:
""
},
only
:
1
,
discount_amount_upper_limit
:
0
,
goods_discounts_number_upper_limit
:
"1"
,
goods_discounts_number_lower_limit
:
"1"
},
limitTopType
:
"0"
,
limitTop
:
0
,
minCostCheck
:
!
1
,
minCost
:
"1"
,
shareCheck
:
!
1
,
fitGoodCheck
:
!
1
,
fitGoodDes
:
""
,
noFitGoodDes
:
""
,
cardLimitType
:
"0"
,
cardLimit
:
"1"
,
costValue
:
"1"
,
useCustomCode
:
"0"
,
cardExplain
:
""
,
applicationStoreType
:
"1"
,
useDescript
:
""
,
gicEnterpriseId
:
""
},
rules
:{
templateName
:[{
required
:
!
0
,
message
:
"请输入模板名称"
,
trigger
:
"blur"
}],
cardApplicationChannel
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请至少选择一个卡券适用渠道"
,
trigger
:
"change"
}],
cardDenomination
:[{
required
:
!
0
,
message
:
"请输入减免金额"
,
trigger
:
"blur"
}],
costValue
:[{
required
:
!
0
,
message
:
"请输入成本费用"
,
trigger
:
"blur"
}],
cardExplain
:[{
required
:
!
0
,
message
:
"请输入适用门店说明"
,
trigger
:
"blur"
}],
applicationStoreType
:[{
required
:
!
0
,
message
:
"请选择适用门店"
,
trigger
:
"change"
}],
useDescript
:[{
required
:
!
0
,
message
:
"请输入使用说明"
,
trigger
:
"blur"
}],
gicEnterpriseId
:[{
required
:
!
0
,
message
:
"请选择商户"
,
trigger
:
"change"
}]},
cardSelectShow
:
!
1
,
brandListData
:[],
chanelList
:[],
loadingBtn
:
!
1
}},
methods
:{
changeEnterprise
:
function
(){
this
.
formData
.
cardApplicationChannel
=
[],
this
.
getChanel
()},
getChanel
:
function
(){
var
e
=
this
,
a
=
{
gicEnterpriseId
:
e
.
formData
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-app-customer-web/inner/get-channel-type"
,
a
).
then
(
function
(
a
){
var
t
=
a
.
data
;
return
1
==
t
.
errorCode
&&
(
e
.
chanelList
=
t
.
result
||
[],
t
.
result
.
length
&&!
e
.
$route
.
query
.
templateId
&&
(
e
.
formData
.
cardApplicationChannel
=
[
t
.
result
[
0
].
value
])),
!
1
}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
changeTop
:
function
(
e
){
0
==
e
&&
(
this
.
formData
.
limitTop
=
0
)},
cancelEdit
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(){})},
submitForm
:
Object
(
p
.
a
)(
function
(
e
,
a
){
var
t
=
this
;
return
t
.
formData
.
fitGoodCheck
&&!
t
.
formData
.
fitGoodDes
&&
t
.
formData
.
noFitGoodDes
?(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"适用商品至少填写一项"
}),
!
1
):
t
.
formData
.
minCostCheck
&&!
t
.
formData
.
minCost
?(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最低消费"
}),
!
1
):
1
!=
t
.
formData
.
limitTopType
||
t
.
formData
.
limitTop
?
1
!=
t
.
formData
.
minGoodsType
||
t
.
formData
.
minApplicableGoods
?
1
!=
t
.
formData
.
maxGoodsType
||
t
.
formData
.
maxApplicableGoods
?
2
!=
t
.
formData
.
cardLimitType
||
t
.
formData
.
cardLimit
?(
t
.
loadingBtn
=!
0
,
void
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
?
t
.
postSaveCard
(
a
):
t
.
loadingBtn
=!
1
})):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入领券限制"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最高适用商品件数"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最低适用商品件数"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入封顶金额"
}),
!
1
)},
1
e3
),
postSaveCard
:
function
(
e
){
var
a
=
this
,
t
=
{
sale_limit
:{
fee
:
0
},
goods
:{
ok
:
a
.
formData
.
fitGoodDes
,
no
:
a
.
formData
.
noFitGoodDes
},
only
:
a
.
formData
.
shareCheck
?
1
:
0
,
discount_amount_upper_limit
:
1
==
a
.
formData
.
cardType
&&
1
==
a
.
formData
.
limitTopType
?
a
.
formData
.
limitTop
:
0
,
goods_discounts_number_lower_limit
:
1
==
a
.
formData
.
minGoodsType
?
a
.
formData
.
minApplicableGoods
:
0
,
goods_discounts_number_upper_limit
:
1
==
a
.
formData
.
maxGoodsType
?
a
.
formData
.
maxApplicableGoods
:
0
};
a
.
formData
.
minCostCheck
&&
(
t
.
sale_limit
=
{
fee
:
a
.
formData
.
minCost
});
var
o
=
{
templateId
:
a
.
formData
.
templateId
,
templateName
:
a
.
formData
.
templateName
,
cardType
:
a
.
formData
.
cardType
,
cardApplicationChannel
:
a
.
formData
.
cardApplicationChannel
.
join
(
","
),
erpDemoCode
:
a
.
formData
.
erpDemoCode
,
cardColor
:
a
.
formData
.
cardColor
,
cardDenomination
:
a
.
formData
.
cardDenomination
,
minGoodsType
:
a
.
formData
.
minGoodsType
,
minApplicableGoods
:
a
.
formData
.
minApplicableGoods
,
maxGoodsType
:
a
.
formData
.
maxGoodsType
,
maxApplicableGoods
:
a
.
formData
.
maxApplicableGoods
,
limitTopType
:
a
.
formData
.
limitTopType
,
limitTop
:
a
.
formData
.
limitTop
,
useCondition
:
r
()(
t
),
cardLimitType
:
a
.
formData
.
cardLimitType
,
cardLimit
:
a
.
formData
.
cardLimit
,
costValue
:
a
.
formData
.
costValue
,
useCustomCode
:
a
.
formData
.
useCustomCode
,
cardExplain
:
a
.
formData
.
cardExplain
,
applicationStoreType
:
a
.
formData
.
applicationStoreType
,
useDescript
:
a
.
formData
.
useDescript
,
gicEnterpriseId
:
a
.
formData
.
gicEnterpriseId
,
commitName
:
a
.
commitName
,
wxEnterpriseId
:
a
.
wxEnterpriseId
};
Object
(
s
.
d
)((
a
.
$route
.
query
.
templateId
,
"/haoban-app-customer-web/inner/save-template"
),
o
).
then
(
function
(
t
){
var
o
=
t
.
data
;
a
.
loadingBtn
=!
1
,
1
==
o
.
errorCode
&&
(
l
.
a
.
showmsg
(
a
.
$route
.
query
.
templateId
?
"编辑卡券模板成功"
:
"新建卡券模板成功"
,
"success"
),
e
?(
a
.
formData
=
{
templateId
:
""
,
templateName
:
""
,
cardType
:
"0"
,
cardApplicationChannel
:[],
erpDemoCode
:
""
,
cardColor
:
"#2f54eb"
,
cardDenomination
:
"1"
,
minGoodsType
:
"0"
,
minApplicableGoods
:
"1"
,
maxGoodsType
:
"0"
,
maxApplicableGoods
:
"1"
,
useCondition
:{
sale_limit
:{
fee
:
1
},
goods
:{
ok
:
""
,
no
:
""
},
only
:
1
,
discount_amount_upper_limit
:
0
,
goods_discounts_number_upper_limit
:
"1"
,
goods_discounts_number_lower_limit
:
"1"
},
limitTopType
:
"0"
,
limitTop
:
0
,
minCostCheck
:
!
1
,
minCost
:
"1"
,
shareCheck
:
!
1
,
fitGoodCheck
:
!
1
,
fitGoodDes
:
""
,
noFitGoodDes
:
""
,
cardLimitType
:
"0"
,
cardLimit
:
"1"
,
costValue
:
"1"
,
useCustomCode
:
"0"
,
cardExplain
:
""
,
applicationStoreType
:
"1"
,
useDescript
:
""
,
gicEnterpriseId
:
a
.
brandListData
[
0
].
enterpriseId
},
a
.
getChanel
()):
a
.
$router
.
push
(
"/cardTemplate"
)),
m
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
loadingBtn
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toReturn
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
push
(
"/cardTemplate"
)}).
catch
(
function
(){})},
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
getCardData
:
function
(){
var
e
=
this
,
a
=
{
templateId
:
e
.
$route
.
query
.
templateId
};
Object
(
s
.
a
)(
"/haoban-app-customer-web/inner/find-template"
,
a
).
then
(
function
(
a
){
var
t
=
a
.
data
;
if
(
1
==
t
.
errorCode
){
var
o
=
JSON
.
parse
(
t
.
result
.
useCondition
);
return
e
.
formData
=
{
templateId
:
t
.
result
.
templateId
,
templateName
:
t
.
result
.
templateName
,
cardType
:
String
(
t
.
result
.
cardType
),
cardApplicationChannel
:
t
.
result
.
cardApplicationChannel
.
split
(
","
)
||
[],
erpDemoCode
:
t
.
result
.
erpDemoCode
,
cardColor
:
t
.
result
.
cardColor
,
cardDenomination
:
t
.
result
.
cardDenomination
,
limitTopType
:
String
(
t
.
result
.
limitTopType
),
limitTop
:
t
.
result
.
limitTop
,
minGoodsType
:
String
(
t
.
result
.
minGoodsType
),
minApplicableGoods
:
t
.
result
.
minApplicableGoods
,
maxGoodsType
:
String
(
t
.
result
.
maxGoodsType
),
maxApplicableGoods
:
t
.
result
.
maxApplicableGoods
,
minCostCheck
:
!!
o
.
sale_limit
.
fee
,
minCost
:
o
.
sale_limit
.
fee
?
o
.
sale_limit
.
fee
:
"1"
,
shareCheck
:
!!
o
.
only
,
fitGoodCheck
:
!
(
!
o
.
goods
.
ok
&&!
o
.
goods
.
no
),
fitGoodDes
:
o
.
goods
.
ok
,
noFitGoodDes
:
o
.
goods
.
no
,
cardLimitType
:
String
(
t
.
result
.
cardLimitType
),
cardLimit
:
t
.
result
.
cardLimit
,
costValue
:
t
.
result
.
costValue
,
useCustomCode
:
String
(
t
.
result
.
useCustomCode
),
cardExplain
:
t
.
result
.
cardExplain
,
applicationStoreType
:
String
(
t
.
result
.
applicationStoreType
),
useDescript
:
t
.
result
.
useDescript
,
gicEnterpriseId
:
t
.
result
.
gicEnterpriseId
},
e
.
getChanel
(),
!
1
}
m
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
s
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
a
){
var
t
=
a
.
data
;
if
(
1
==
t
.
errorCode
)
return
e
.
brandListData
=
t
.
result
||
[],
void
(
t
.
result
.
length
&&!
e
.
$route
.
query
.
templateId
&&
(
e
.
formData
.
gicEnterpriseId
=
t
.
result
[
0
].
enterpriseId
,
e
.
getChanel
()));
m
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
a
){
e
&&
this
.
$route
.
query
.
templateId
&&
(
this
.
activeBrand
=
e
)},
activeGroupId
:
function
(
e
,
a
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
$emit
(
"showTab"
,
"1"
),
e
.
getBrandData
(),
e
.
$route
.
query
.
templateId
&&
e
.
$nextTick
(
function
(){
e
.
getCardData
()})}},
d
=
{
render
:
function
(){
var
e
=
this
,
a
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
a
;
return
t
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
t
(
"div"
,{
staticClass
:
"new-card-body border-box"
},[
t
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"142px"
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券模板名称"
,
prop
:
"templateName"
}},[
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
307
,
inputValue
:
e
.
formData
.
templateName
,
getByType
:
"word"
,
holder
:
"请输入卡券模板名称"
,
maxLength
:
6
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"templateName"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券类型"
,
prop
:
"cardType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
cardType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardType"
,
a
)},
expression
:
"formData.cardType"
}},[
e
.
_v
(
"抵金券"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
cardType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardType"
,
a
)},
expression
:
"formData.cardType"
}},[
e
.
_v
(
"折扣券"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"选择商户"
,
prop
:
"gicEnterpriseId"
}},[
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeEnterprise
},
model
:{
value
:
e
.
formData
.
gicEnterpriseId
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"gicEnterpriseId"
,
a
)},
expression
:
"formData.gicEnterpriseId"
}},
e
.
_l
(
e
.
brandListData
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
enterpriseId
,
attrs
:{
label
:
e
.
enterpriseName
,
value
:
e
.
enterpriseId
}})}))],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券适用渠道"
,
prop
:
"cardApplicationChannel"
}},[
t
(
"el-checkbox-group"
,{
model
:{
value
:
e
.
formData
.
cardApplicationChannel
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardApplicationChannel"
,
a
)},
expression
:
"formData.cardApplicationChannel"
}},
e
.
_l
(
e
.
chanelList
,
function
(
a
,
o
){
return
t
(
"el-checkbox"
,{
key
:
o
+
"chanel"
,
attrs
:{
label
:
a
.
value
}},[
e
.
_v
(
e
.
_s
(
a
.
name
))])}))],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"demo券号"
,
prop
:
"erpDemoCode"
}},[
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
307
,
inputValue
:
e
.
formData
.
erpDemoCode
,
getByType
:
"word"
,
holder
:
"请输入demo券号"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"erpDemoCode"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券颜色"
,
prop
:
"cardColor"
}},[
t
(
"div"
,{
staticClass
:
"card-color flex flex-space-between"
},[
t
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
formData
.
cardColor
))]),
e
.
_v
(
" "
),
t
(
"el-color-picker"
,{
model
:{
value
:
e
.
formData
.
cardColor
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardColor"
,
a
)},
expression
:
"formData.cardColor"
}})],
1
)]),
e
.
_v
(
" "
),
0
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"减免金额"
,
prop
:
"cardDenomination"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
cardDenomination
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardDenomination"
,
a
)},
expression
:
"formData.cardDenomination"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"输入大于0的整数"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"折扣额度"
,
prop
:
"cardDenomination"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
1
,
min
:
1
,
max
:
9.9
,
step
:.
1
},
model
:{
value
:
e
.
formData
.
cardDenomination
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardDenomination"
,
a
)},
expression
:
"formData.cardDenomination"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"折"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"请填写1-9.9之间的数字"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"优惠金额封顶"
,
prop
:
""
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
on
:{
change
:
e
.
changeTop
},
model
:{
value
:
e
.
formData
.
limitTopType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTopType"
,
a
)},
expression
:
"formData.limitTopType"
}},[
e
.
_v
(
"不封顶"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
limitTopType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTopType"
,
a
)},
expression
:
"formData.limitTopType"
}},[
e
.
_v
(
"限制封顶"
)]),
1
==
e
.
formData
.
limitTopType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
2
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
limitTop
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTop"
,
a
)},
expression
:
"formData.limitTop"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
limitTopType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]):
e
.
_e
()],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"最低适用商品件数"
,
prop
:
"minGoodsType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
minGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minGoodsType"
,
a
)},
expression
:
"formData.minGoodsType"
}},[
e
.
_v
(
"不限"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
minGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minGoodsType"
,
a
)},
expression
:
"formData.minGoodsType"
}},[
e
.
_v
(
"限制"
)]),
1
==
e
.
formData
.
minGoodsType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
minApplicableGoods
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minApplicableGoods"
,
a
)},
expression
:
"formData.minApplicableGoods"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
minGoodsType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"件"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"最高适用商品件数"
,
prop
:
"maxGoodsType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
maxGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxGoodsType"
,
a
)},
expression
:
"formData.maxGoodsType"
}},[
e
.
_v
(
"不限"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
maxGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxGoodsType"
,
a
)},
expression
:
"formData.maxGoodsType"
}},[
e
.
_v
(
"限制"
)]),
1
==
e
.
formData
.
maxGoodsType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
maxApplicableGoods
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxApplicableGoods"
,
a
)},
expression
:
"formData.maxApplicableGoods"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
maxGoodsType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"件"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用条件"
,
prop
:
"minCostCheck"
}},[
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
minCostCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minCostCheck"
,
a
)},
expression
:
"formData.minCostCheck"
}},[
e
.
_v
(
"最低消费"
)]),
t
(
"el-input-number"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
minCost
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minCost"
,
a
)},
expression
:
"formData.minCost"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元可用"
)])],
1
),
e
.
_v
(
" "
),
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
fitGoodCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"fitGoodCheck"
,
a
)},
expression
:
"formData.fitGoodCheck"
}},[
e
.
_v
(
"适用商品"
)]),
t
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"(至少填写一项)"
)])],
1
),
e
.
_v
(
" "
),
e
.
formData
.
fitGoodCheck
?
t
(
"div"
,{
staticClass
:
"fit-good border-box m-b-20"
},[
t
(
"div"
,[
t
(
"div"
,{
staticClass
:
"m-b-20 flex"
},[
t
(
"span"
,{
staticClass
:
"font-14 color-606266 w-86 m-r-10"
},[
e
.
_v
(
"适用商品:"
)]),
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
e
.
formData
.
fitGoodDes
,
getByType
:
"word"
,
holder
:
"请输入内容"
,
maxLength
:
18
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"fitGoodDes"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"flex"
},[
t
(
"span"
,{
staticClass
:
"font-14 color-606266 w-86 m-r-10"
},[
e
.
_v
(
"不适用商品:"
)]),
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
e
.
formData
.
noFitGoodDes
,
getByType
:
"word"
,
holder
:
"请输入内容"
,
maxLength
:
18
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"noFitGoodDes"
,
a
)}}})],
1
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
shareCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"shareCheck"
,
a
)},
expression
:
"formData.shareCheck"
}},[
e
.
_v
(
"不与其他优惠共享"
)])],
1
)]),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"领券限制"
,
prop
:
"cardLimitType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"1张/人"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"100张/人"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"自定义"
)]),
2
==
e
.
formData
.
cardLimitType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
cardLimit
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimit"
,
a
)},
expression
:
"formData.cardLimit"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
formData
.
cardLimitType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"张/人"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"成本费用"
,
prop
:
"costValue"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
2
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
costValue
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"costValue"
,
a
)},
expression
:
"formData.costValue"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"请填写大于0的数字(限制两位小数)"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"code类型"
,
prop
:
"useCustomCode"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
useCustomCode
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"useCustomCode"
,
a
)},
expression
:
"formData.useCustomCode"
}},[
e
.
_v
(
"随机生成"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用门店说明"
,
prop
:
"cardExplain"
}},[
t
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
450
,
inputValue
:
e
.
formData
.
cardExplain
,
holder
:
"请输入适用门店说明"
,
getByType
:
"word"
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardExplain"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用门店"
,
prop
:
"applicationStoreType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
applicationStoreType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"applicationStoreType"
,
a
)},
expression
:
"formData.applicationStoreType"
}},[
e
.
_v
(
"所有门店"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"使用说明"
,
prop
:
"useDescript"
}},[
t
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
450
,
inputValue
:
e
.
formData
.
useDescript
,
holder
:
"请输入使用说明"
,
getByType
:
"word"
,
maxLength
:
500
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"useDescript"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,[
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
cancelEdit
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
function
(
a
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
templateId
?
"编辑"
:
"新建"
))]),
e
.
_v
(
" "
),
e
.
$route
.
query
.
templateId
?
e
.
_e
():
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"确认并继续新建"
)])],
1
)],
1
)],
1
)])},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
t
(
"7gkc"
)},
"data-v-991b11b0"
,
null
);
a
.
default
=
u
.
exports
}});
\ No newline at end of file
webpackJsonp
([
38
],{
"7gkc"
:
function
(
e
,
a
){},
tF0P
:
function
(
e
,
a
,
t
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
o
=
t
(
"mvHQ"
),
r
=
t
.
n
(
o
),
i
=
t
(
"l46T"
),
n
=
t
(
"Kkt8"
),
s
=
t
(
"P9l9"
),
l
=
t
(
"3E4D"
),
m
=
t
(
"Ch4/"
),
p
=
t
(
"PI0u"
),
c
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
n
.
a
},
data
:
function
(){
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"3"
,
commitName
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
formData
:{
templateId
:
""
,
templateName
:
""
,
cardType
:
"0"
,
cardApplicationChannel
:[
"offlineStore"
],
erpDemoCode
:
""
,
cardColor
:
"#2f54eb"
,
cardDenomination
:
"1"
,
minGoodsType
:
"0"
,
minApplicableGoods
:
"1"
,
maxGoodsType
:
"0"
,
maxApplicableGoods
:
"1"
,
useCondition
:{
sale_limit
:{
fee
:
1
},
goods
:{
ok
:
""
,
no
:
""
},
only
:
1
,
discount_amount_upper_limit
:
0
,
goods_discounts_number_upper_limit
:
"1"
,
goods_discounts_number_lower_limit
:
"1"
},
limitTopType
:
"0"
,
limitTop
:
0
,
minCostCheck
:
!
1
,
minCost
:
"1"
,
shareCheck
:
!
1
,
fitGoodCheck
:
!
1
,
fitGoodDes
:
""
,
noFitGoodDes
:
""
,
cardLimitType
:
"0"
,
cardLimit
:
"1"
,
costValue
:
"1"
,
useCustomCode
:
"0"
,
cardExplain
:
""
,
applicationStoreType
:
"1"
,
useDescript
:
""
,
gicEnterpriseId
:
""
},
rules
:{
templateName
:[{
required
:
!
0
,
message
:
"请输入模板名称"
,
trigger
:
"blur"
}],
cardApplicationChannel
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请至少选择一个卡券适用渠道"
,
trigger
:
"change"
}],
cardDenomination
:[{
required
:
!
0
,
message
:
"请输入减免金额"
,
trigger
:
"blur"
}],
costValue
:[{
required
:
!
0
,
message
:
"请输入成本费用"
,
trigger
:
"blur"
}],
cardExplain
:[{
required
:
!
0
,
message
:
"请输入适用门店说明"
,
trigger
:
"blur"
}],
applicationStoreType
:[{
required
:
!
0
,
message
:
"请选择适用门店"
,
trigger
:
"change"
}],
useDescript
:[{
required
:
!
0
,
message
:
"请输入使用说明"
,
trigger
:
"blur"
}],
gicEnterpriseId
:[{
required
:
!
0
,
message
:
"请选择商户"
,
trigger
:
"change"
}]},
cardSelectShow
:
!
1
,
brandListData
:[],
chanelList
:[],
loadingBtn
:
!
1
}},
methods
:{
changeEnterprise
:
function
(){
this
.
formData
.
cardApplicationChannel
=
[],
this
.
getChanel
()},
getChanel
:
function
(){
var
e
=
this
,
a
=
{
gicEnterpriseId
:
e
.
formData
.
gicEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-app-customer-web/inner/get-channel-type"
,
a
).
then
(
function
(
a
){
var
t
=
a
.
data
;
return
1
==
t
.
errorCode
&&
(
e
.
chanelList
=
t
.
result
||
[],
t
.
result
.
length
&&!
e
.
$route
.
query
.
templateId
&&
(
e
.
formData
.
cardApplicationChannel
=
[
t
.
result
[
0
].
value
])),
!
1
}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
changeTop
:
function
(
e
){
0
==
e
&&
(
this
.
formData
.
limitTop
=
0
)},
cancelEdit
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(){})},
submitForm
:
Object
(
p
.
a
)(
function
(
e
,
a
){
var
t
=
this
;
return
t
.
formData
.
fitGoodCheck
&&!
t
.
formData
.
fitGoodDes
&&
t
.
formData
.
noFitGoodDes
?(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"适用商品至少填写一项"
}),
!
1
):
t
.
formData
.
minCostCheck
&&!
t
.
formData
.
minCost
?(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最低消费"
}),
!
1
):
1
!=
t
.
formData
.
limitTopType
||
t
.
formData
.
limitTop
?
1
!=
t
.
formData
.
minGoodsType
||
t
.
formData
.
minApplicableGoods
?
1
!=
t
.
formData
.
maxGoodsType
||
t
.
formData
.
maxApplicableGoods
?
2
!=
t
.
formData
.
cardLimitType
||
t
.
formData
.
cardLimit
?(
t
.
loadingBtn
=!
0
,
void
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
?
t
.
postSaveCard
(
a
):
t
.
loadingBtn
=!
1
})):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入领券限制"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最高适用商品件数"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入最低适用商品件数"
}),
!
1
):(
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入封顶金额"
}),
!
1
)},
1
e3
),
postSaveCard
:
function
(
e
){
var
a
=
this
,
t
=
{
sale_limit
:{
fee
:
0
},
goods
:{
ok
:
a
.
formData
.
fitGoodDes
,
no
:
a
.
formData
.
noFitGoodDes
},
only
:
a
.
formData
.
shareCheck
?
1
:
0
,
discount_amount_upper_limit
:
1
==
a
.
formData
.
cardType
&&
1
==
a
.
formData
.
limitTopType
?
a
.
formData
.
limitTop
:
0
,
goods_discounts_number_lower_limit
:
1
==
a
.
formData
.
minGoodsType
?
a
.
formData
.
minApplicableGoods
:
0
,
goods_discounts_number_upper_limit
:
1
==
a
.
formData
.
maxGoodsType
?
a
.
formData
.
maxApplicableGoods
:
0
};
a
.
formData
.
minCostCheck
&&
(
t
.
sale_limit
=
{
fee
:
a
.
formData
.
minCost
});
var
o
=
{
templateId
:
a
.
formData
.
templateId
,
templateName
:
a
.
formData
.
templateName
,
cardType
:
a
.
formData
.
cardType
,
cardApplicationChannel
:
a
.
formData
.
cardApplicationChannel
.
join
(
","
),
erpDemoCode
:
a
.
formData
.
erpDemoCode
,
cardColor
:
a
.
formData
.
cardColor
,
cardDenomination
:
a
.
formData
.
cardDenomination
,
minGoodsType
:
a
.
formData
.
minGoodsType
,
minApplicableGoods
:
a
.
formData
.
minApplicableGoods
,
maxGoodsType
:
a
.
formData
.
maxGoodsType
,
maxApplicableGoods
:
a
.
formData
.
maxApplicableGoods
,
limitTopType
:
a
.
formData
.
limitTopType
,
limitTop
:
a
.
formData
.
limitTop
,
useCondition
:
r
()(
t
),
cardLimitType
:
a
.
formData
.
cardLimitType
,
cardLimit
:
a
.
formData
.
cardLimit
,
costValue
:
a
.
formData
.
costValue
,
useCustomCode
:
a
.
formData
.
useCustomCode
,
cardExplain
:
a
.
formData
.
cardExplain
,
applicationStoreType
:
a
.
formData
.
applicationStoreType
,
useDescript
:
a
.
formData
.
useDescript
,
gicEnterpriseId
:
a
.
formData
.
gicEnterpriseId
,
commitName
:
a
.
commitName
,
wxEnterpriseId
:
a
.
wxEnterpriseId
};
Object
(
s
.
d
)((
a
.
$route
.
query
.
templateId
,
"/haoban-app-customer-web/inner/save-template"
),
o
).
then
(
function
(
t
){
var
o
=
t
.
data
;
a
.
loadingBtn
=!
1
,
1
==
o
.
errorCode
&&
(
l
.
a
.
showmsg
(
a
.
$route
.
query
.
templateId
?
"编辑卡券模板成功"
:
"新建卡券模板成功"
,
"success"
),
e
?(
a
.
formData
=
{
templateId
:
""
,
templateName
:
""
,
cardType
:
"0"
,
cardApplicationChannel
:[],
erpDemoCode
:
""
,
cardColor
:
"#2f54eb"
,
cardDenomination
:
"1"
,
minGoodsType
:
"0"
,
minApplicableGoods
:
"1"
,
maxGoodsType
:
"0"
,
maxApplicableGoods
:
"1"
,
useCondition
:{
sale_limit
:{
fee
:
1
},
goods
:{
ok
:
""
,
no
:
""
},
only
:
1
,
discount_amount_upper_limit
:
0
,
goods_discounts_number_upper_limit
:
"1"
,
goods_discounts_number_lower_limit
:
"1"
},
limitTopType
:
"0"
,
limitTop
:
0
,
minCostCheck
:
!
1
,
minCost
:
"1"
,
shareCheck
:
!
1
,
fitGoodCheck
:
!
1
,
fitGoodDes
:
""
,
noFitGoodDes
:
""
,
cardLimitType
:
"0"
,
cardLimit
:
"1"
,
costValue
:
"1"
,
useCustomCode
:
"0"
,
cardExplain
:
""
,
applicationStoreType
:
"1"
,
useDescript
:
""
,
gicEnterpriseId
:
a
.
brandListData
[
0
].
enterpriseId
},
a
.
getChanel
()):
a
.
$router
.
push
(
"/cardTemplate"
)),
m
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
loadingBtn
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toReturn
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
push
(
"/cardTemplate"
)}).
catch
(
function
(){})},
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
getCardData
:
function
(){
var
e
=
this
,
a
=
{
templateId
:
e
.
$route
.
query
.
templateId
};
Object
(
s
.
a
)(
"/haoban-app-customer-web/inner/find-template"
,
a
).
then
(
function
(
a
){
var
t
=
a
.
data
;
if
(
1
==
t
.
errorCode
){
var
o
=
JSON
.
parse
(
t
.
result
.
useCondition
);
return
e
.
formData
=
{
templateId
:
t
.
result
.
templateId
,
templateName
:
t
.
result
.
templateName
,
cardType
:
String
(
t
.
result
.
cardType
),
cardApplicationChannel
:
t
.
result
.
cardApplicationChannel
.
split
(
","
)
||
[],
erpDemoCode
:
t
.
result
.
erpDemoCode
,
cardColor
:
t
.
result
.
cardColor
,
cardDenomination
:
t
.
result
.
cardDenomination
,
limitTopType
:
String
(
t
.
result
.
limitTopType
),
limitTop
:
t
.
result
.
limitTop
,
minGoodsType
:
String
(
t
.
result
.
minGoodsType
),
minApplicableGoods
:
t
.
result
.
minApplicableGoods
,
maxGoodsType
:
String
(
t
.
result
.
maxGoodsType
),
maxApplicableGoods
:
t
.
result
.
maxApplicableGoods
,
minCostCheck
:
!!
o
.
sale_limit
.
fee
,
minCost
:
o
.
sale_limit
.
fee
?
o
.
sale_limit
.
fee
:
"1"
,
shareCheck
:
!!
o
.
only
,
fitGoodCheck
:
!
(
!
o
.
goods
.
ok
&&!
o
.
goods
.
no
),
fitGoodDes
:
o
.
goods
.
ok
,
noFitGoodDes
:
o
.
goods
.
no
,
cardLimitType
:
String
(
t
.
result
.
cardLimitType
),
cardLimit
:
t
.
result
.
cardLimit
,
costValue
:
t
.
result
.
costValue
,
useCustomCode
:
String
(
t
.
result
.
useCustomCode
),
cardExplain
:
t
.
result
.
cardExplain
,
applicationStoreType
:
String
(
t
.
result
.
applicationStoreType
),
useDescript
:
t
.
result
.
useDescript
,
gicEnterpriseId
:
t
.
result
.
gicEnterpriseId
},
e
.
getChanel
(),
!
1
}
m
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
s
.
d
)(
"/haoban-manage3-web/wx-enterprise-list"
,{}).
then
(
function
(
a
){
var
t
=
a
.
data
;
if
(
1
==
t
.
errorCode
)
return
e
.
brandListData
=
t
.
result
||
[],
void
(
t
.
result
.
length
&&!
e
.
$route
.
query
.
templateId
&&
(
e
.
formData
.
gicEnterpriseId
=
t
.
result
[
0
].
enterpriseId
,
e
.
getChanel
()));
m
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
a
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
a
){
e
&&
this
.
$route
.
query
.
templateId
&&
(
this
.
activeBrand
=
e
)},
activeGroupId
:
function
(
e
,
a
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
$emit
(
"showTab"
,
"1"
),
e
.
getBrandData
(),
e
.
$route
.
query
.
templateId
&&
e
.
$nextTick
(
function
(){
e
.
getCardData
()})}},
d
=
{
render
:
function
(){
var
e
=
this
,
a
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
a
;
return
t
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
t
(
"div"
,{
staticClass
:
"new-card-body border-box"
},[
t
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"142px"
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券模板名称"
,
prop
:
"templateName"
}},[
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
307
,
inputValue
:
e
.
formData
.
templateName
,
getByType
:
"word"
,
holder
:
"请输入卡券模板名称"
,
maxLength
:
6
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"templateName"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券类型"
,
prop
:
"cardType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
cardType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardType"
,
a
)},
expression
:
"formData.cardType"
}},[
e
.
_v
(
"抵金券"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
cardType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardType"
,
a
)},
expression
:
"formData.cardType"
}},[
e
.
_v
(
"折扣券"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"选择商户"
,
prop
:
"gicEnterpriseId"
}},[
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeEnterprise
},
model
:{
value
:
e
.
formData
.
gicEnterpriseId
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"gicEnterpriseId"
,
a
)},
expression
:
"formData.gicEnterpriseId"
}},
e
.
_l
(
e
.
brandListData
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
enterpriseId
,
attrs
:{
label
:
e
.
enterpriseName
,
value
:
e
.
enterpriseId
}})}))],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券适用渠道"
,
prop
:
"cardApplicationChannel"
}},[
t
(
"el-checkbox-group"
,{
model
:{
value
:
e
.
formData
.
cardApplicationChannel
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardApplicationChannel"
,
a
)},
expression
:
"formData.cardApplicationChannel"
}},
e
.
_l
(
e
.
chanelList
,
function
(
a
,
o
){
return
t
(
"el-checkbox"
,{
key
:
o
+
"chanel"
,
attrs
:{
label
:
a
.
value
}},[
e
.
_v
(
e
.
_s
(
a
.
name
))])}))],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"demo券号"
,
prop
:
"erpDemoCode"
}},[
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
307
,
inputValue
:
e
.
formData
.
erpDemoCode
,
getByType
:
"word"
,
holder
:
"请输入demo券号"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"erpDemoCode"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"卡券颜色"
,
prop
:
"cardColor"
}},[
t
(
"div"
,{
staticClass
:
"card-color flex flex-space-between"
},[
t
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
formData
.
cardColor
))]),
e
.
_v
(
" "
),
t
(
"el-color-picker"
,{
model
:{
value
:
e
.
formData
.
cardColor
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardColor"
,
a
)},
expression
:
"formData.cardColor"
}})],
1
)]),
e
.
_v
(
" "
),
0
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"减免金额"
,
prop
:
"cardDenomination"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
cardDenomination
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardDenomination"
,
a
)},
expression
:
"formData.cardDenomination"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"输入大于0的整数"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"折扣额度"
,
prop
:
"cardDenomination"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
1
,
min
:
1
,
max
:
9.9
,
step
:.
1
},
model
:{
value
:
e
.
formData
.
cardDenomination
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardDenomination"
,
a
)},
expression
:
"formData.cardDenomination"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"折"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"请填写1-9.9之间的数字"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
cardType
?
t
(
"el-form-item"
,{
attrs
:{
label
:
"优惠金额封顶"
,
prop
:
""
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
on
:{
change
:
e
.
changeTop
},
model
:{
value
:
e
.
formData
.
limitTopType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTopType"
,
a
)},
expression
:
"formData.limitTopType"
}},[
e
.
_v
(
"不封顶"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
limitTopType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTopType"
,
a
)},
expression
:
"formData.limitTopType"
}},[
e
.
_v
(
"限制封顶"
)]),
1
==
e
.
formData
.
limitTopType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
2
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
limitTop
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"limitTop"
,
a
)},
expression
:
"formData.limitTop"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
limitTopType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]):
e
.
_e
()],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"最低适用商品件数"
,
prop
:
"minGoodsType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
minGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minGoodsType"
,
a
)},
expression
:
"formData.minGoodsType"
}},[
e
.
_v
(
"不限"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
minGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minGoodsType"
,
a
)},
expression
:
"formData.minGoodsType"
}},[
e
.
_v
(
"限制"
)]),
1
==
e
.
formData
.
minGoodsType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
minApplicableGoods
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minApplicableGoods"
,
a
)},
expression
:
"formData.minApplicableGoods"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
minGoodsType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"件"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"最高适用商品件数"
,
prop
:
"maxGoodsType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
maxGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxGoodsType"
,
a
)},
expression
:
"formData.maxGoodsType"
}},[
e
.
_v
(
"不限"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
maxGoodsType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxGoodsType"
,
a
)},
expression
:
"formData.maxGoodsType"
}},[
e
.
_v
(
"限制"
)]),
1
==
e
.
formData
.
maxGoodsType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
maxApplicableGoods
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"maxApplicableGoods"
,
a
)},
expression
:
"formData.maxApplicableGoods"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
maxGoodsType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"件"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用条件"
,
prop
:
"minCostCheck"
}},[
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
minCostCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minCostCheck"
,
a
)},
expression
:
"formData.minCostCheck"
}},[
e
.
_v
(
"最低消费"
)]),
t
(
"el-input-number"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
minCost
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"minCost"
,
a
)},
expression
:
"formData.minCost"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元可用"
)])],
1
),
e
.
_v
(
" "
),
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
fitGoodCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"fitGoodCheck"
,
a
)},
expression
:
"formData.fitGoodCheck"
}},[
e
.
_v
(
"适用商品"
)]),
t
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"(至少填写一项)"
)])],
1
),
e
.
_v
(
" "
),
e
.
formData
.
fitGoodCheck
?
t
(
"div"
,{
staticClass
:
"fit-good border-box m-b-20"
},[
t
(
"div"
,[
t
(
"div"
,{
staticClass
:
"m-b-20 flex"
},[
t
(
"span"
,{
staticClass
:
"font-14 color-606266 w-86 m-r-10"
},[
e
.
_v
(
"适用商品:"
)]),
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
e
.
formData
.
fitGoodDes
,
getByType
:
"word"
,
holder
:
"请输入内容"
,
maxLength
:
18
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"fitGoodDes"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"flex"
},[
t
(
"span"
,{
staticClass
:
"font-14 color-606266 w-86 m-r-10"
},[
e
.
_v
(
"不适用商品:"
)]),
t
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
e
.
formData
.
noFitGoodDes
,
getByType
:
"word"
,
holder
:
"请输入内容"
,
maxLength
:
18
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"noFitGoodDes"
,
a
)}}})],
1
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,[
t
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
shareCheck
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"shareCheck"
,
a
)},
expression
:
"formData.shareCheck"
}},[
e
.
_v
(
"不与其他优惠共享"
)])],
1
)]),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"领券限制"
,
prop
:
"cardLimitType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"1张/人"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"100张/人"
)]),
e
.
_v
(
" "
),
t
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
e
.
formData
.
cardLimitType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimitType"
,
a
)},
expression
:
"formData.cardLimitType"
}},[
e
.
_v
(
"自定义"
)]),
2
==
e
.
formData
.
cardLimitType
?
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
cardLimit
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardLimit"
,
a
)},
expression
:
"formData.cardLimit"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
formData
.
cardLimitType
?
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"张/人"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"成本费用"
,
prop
:
"costValue"
}},[
t
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
precision
:
2
,
min
:
1
,
max
:
99999999
},
model
:{
value
:
e
.
formData
.
costValue
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"costValue"
,
a
)},
expression
:
"formData.costValue"
}}),
t
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
"元"
)]),
t
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10"
},[
e
.
_v
(
"请填写大于0的数字(限制两位小数)"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"code类型"
,
prop
:
"useCustomCode"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
useCustomCode
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"useCustomCode"
,
a
)},
expression
:
"formData.useCustomCode"
}},[
e
.
_v
(
"随机生成"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用门店说明"
,
prop
:
"cardExplain"
}},[
t
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
450
,
inputValue
:
e
.
formData
.
cardExplain
,
holder
:
"请输入适用门店说明"
,
getByType
:
"word"
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"cardExplain"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"适用门店"
,
prop
:
"applicationStoreType"
}},[
t
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
applicationStoreType
,
callback
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"applicationStoreType"
,
a
)},
expression
:
"formData.applicationStoreType"
}},[
e
.
_v
(
"所有门店"
)])],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"使用说明"
,
prop
:
"useDescript"
}},[
t
(
"limit-textarea"
,{
attrs
:{
inputWidth
:
450
,
inputValue
:
e
.
formData
.
useDescript
,
holder
:
"请输入使用说明"
,
getByType
:
"word"
,
maxLength
:
500
},
on
:{
"update:inputValue"
:
function
(
a
){
e
.
$set
(
e
.
formData
,
"useDescript"
,
a
)}}})],
1
),
e
.
_v
(
" "
),
t
(
"el-form-item"
,[
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
cancelEdit
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
function
(
a
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
templateId
?
"编辑"
:
"新建"
))]),
e
.
_v
(
" "
),
e
.
$route
.
query
.
templateId
?
e
.
_e
():
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"确认并继续新建"
)])],
1
)],
1
)],
1
)])},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
t
(
"7gkc"
)},
"data-v-991b11b0"
,
null
);
a
.
default
=
u
.
exports
}});
\ No newline at end of file
dist/static/js/3
8.a12c3a87a17a924101d7
.js
→
dist/static/js/3
9.2599e9613caef55f751c
.js
View file @
c6934b38
webpackJsonp
([
38
],{
"Hb/M"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"PI0u"
),
i
=
a
(
"Ch4/"
),
n
=
a
(
"3E4D"
),
o
=
a
(
"P9l9"
),
l
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"任务下发设置"
}],
activeId
:
"1"
,
setData
:{
status
:
!
1
,
time
:
"12:00"
,
releaseFlag
:
!
1
},
loadingBtn
:
!
1
}},
computed
:{},
methods
:{
saveSet
:
Object
(
s
.
a
)(
function
(){
this
.
loadingBtn
=!
0
,
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
,
status
:
t
.
setData
.
status
?
"1"
:
"0"
,
time
:
t
.
setData
.
time
,
releaseFlag
:
t
.
setData
.
releaseFlag
?
1
:
0
};
Object
(
o
.
d
)(
"/haoban-app-daily-three-web/daily/create-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
t
.
loadingBtn
=!
1
,
1
!=
a
.
errorCode
?
i
.
a
.
errorMsg
(
a
):
n
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
};
Object
(
o
.
d
)(
"/haoban-app-daily-three-web/daily/get-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
setData
.
status
=
1
==
a
.
result
.
status
,
t
.
setData
.
releaseFlag
=
1
==
a
.
result
.
releaseFlag
,
void
(
t
.
setData
.
time
=
a
.
result
.
time
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"task-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
},[
t
.
_v
(
"日报开关设置:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block font-14 "
},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
" "
,
"inactive-text"
:
" "
},
model
:{
value
:
t
.
setData
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"status"
,
e
)},
expression
:
"setData.status"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block m-l-10 font-14 color-606266 m-b-16"
},[
t
.
_v
(
"开启后,日报将定时发送"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block m-l-10 vertical-top font-14 right-set-body"
},[
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报每日下发时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
" font-14 color-606266 m-b-16"
},[
t
.
_v
(
"该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-time-select"
,{
staticClass
:
"w-118"
,
attrs
:{
editable
:
!
1
,
clearable
:
!
1
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:45"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
setData
.
time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"time"
,
e
)},
expression
:
"setData.time"
}})],
1
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block m-l-10 task-set-save m-t-50 font-14"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
t
.
loadingBtn
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
a
(
"Ka78"
)},
"data-v-946f66d8"
,
null
);
e
.
default
=
c
.
exports
},
Ka78
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
39
],{
"Hb/M"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"PI0u"
),
i
=
a
(
"Ch4/"
),
n
=
a
(
"3E4D"
),
o
=
a
(
"P9l9"
),
l
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"任务下发设置"
}],
activeId
:
"1"
,
setData
:{
status
:
!
1
,
time
:
"12:00"
,
releaseFlag
:
!
1
},
loadingBtn
:
!
1
}},
computed
:{},
methods
:{
saveSet
:
Object
(
s
.
a
)(
function
(){
this
.
loadingBtn
=!
0
,
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
,
status
:
t
.
setData
.
status
?
"1"
:
"0"
,
time
:
t
.
setData
.
time
,
releaseFlag
:
t
.
setData
.
releaseFlag
?
1
:
0
};
Object
(
o
.
d
)(
"/haoban-app-daily-three-web/daily/create-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
t
.
loadingBtn
=!
1
,
1
!=
a
.
errorCode
?
i
.
a
.
errorMsg
(
a
):
n
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
};
Object
(
o
.
d
)(
"/haoban-app-daily-three-web/daily/get-setting"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
setData
.
status
=
1
==
a
.
result
.
status
,
t
.
setData
.
releaseFlag
=
1
==
a
.
result
.
releaseFlag
,
void
(
t
.
setData
.
time
=
a
.
result
.
time
);
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"task-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"task-set-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
},[
t
.
_v
(
"日报开关设置:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block font-14 "
},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
" "
,
"inactive-text"
:
" "
},
model
:{
value
:
t
.
setData
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"status"
,
e
)},
expression
:
"setData.status"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block m-l-10 font-14 color-606266 m-b-16"
},[
t
.
_v
(
"开启后,日报将定时发送"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block m-l-10 vertical-top font-14 right-set-body"
},[
a
(
"div"
,{
staticClass
:
"font-14 color-606266 m-b-10 font-w-500"
},[
t
.
_v
(
"日报每日下发时间设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
" font-14 color-606266 m-b-16"
},[
t
.
_v
(
"该事件设置将在次日生效,为避免影响当日日报的发送,请在日报发送后设置"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-time-select"
,{
staticClass
:
"w-118"
,
attrs
:{
editable
:
!
1
,
clearable
:
!
1
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:45"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
setData
.
time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setData
,
"time"
,
e
)},
expression
:
"setData.time"
}})],
1
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-set-cell font-0"
},[
a
(
"div"
,{
staticClass
:
"inline-block font-14 color-606266 m-b-10 w-100"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"inline-block m-l-10 task-set-save m-t-50 font-14"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
t
.
loadingBtn
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保 存"
)])],
1
)])])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
a
(
"Ka78"
)},
"data-v-946f66d8"
,
null
);
e
.
default
=
c
.
exports
},
Ka78
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/
39.063d669896366a6e6b58
.js
→
dist/static/js/
40.13ee52dc4832097dde95
.js
View file @
c6934b38
webpackJsonp
([
39
],{
nV1L
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"bzW+"
),
i
=
a
(
"Qie6"
),
c
=
a
(
"Z8ln"
),
o
=
a
(
"Ch4/"
),
r
=
a
(
"P9l9"
),
s
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"卡券赠送"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"卡券赠送"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"卡券列表"
,
icon
:
"iconqiaquan"
},{
tabId
:
"2"
,
tabName
:
"卡券记录"
,
icon
:
"iconwodeqiaquan-"
}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-manage3-web/enterprise-is-over"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
o
.
a
.
errorMsg
(
a
):
t
.
expiredFlag
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
,
this
.
getExpired
()},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"cardList"
);
break
;
case
"2"
:
this
.
changeRoute
(
"cardRecord"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
,
expiredDialog
:
c
.
a
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
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"
}},[
t
.
$route
.
meta
.
keepAlive
?
a
(
"keep-alive"
,[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])]),
t
.
_v
(
" "
),
t
.
expiredFlag
?
a
(
"expired-dialog"
):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
s
,
d
,
!
1
,
function
(
t
){
a
(
"ogJS"
)},
"data-v-8cc77f48"
,
null
);
e
.
default
=
u
.
exports
},
ogJS
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
40
],{
nV1L
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"bzW+"
),
i
=
a
(
"Qie6"
),
c
=
a
(
"Z8ln"
),
o
=
a
(
"Ch4/"
),
r
=
a
(
"P9l9"
),
s
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"卡券赠送"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"卡券赠送"
,
path
:
""
}],
tabListData
:[{
tabId
:
"1"
,
tabName
:
"卡券列表"
,
icon
:
"iconqiaquan"
},{
tabId
:
"2"
,
tabName
:
"卡券记录"
,
icon
:
"iconwodeqiaquan-"
}],
activeBrand
:
""
,
activeGroup
:
""
,
expiredFlag
:
!
1
}},
computed
:{},
methods
:{
getExpired
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-manage3-web/enterprise-is-over"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
o
.
a
.
errorMsg
(
a
):
t
.
expiredFlag
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
,
this
.
getExpired
()},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"cardList"
);
break
;
case
"2"
:
this
.
changeRoute
(
"cardRecord"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
n
.
a
,
commonDetailLeft
:
i
.
a
,
expiredDialog
:
c
.
a
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 112px)"
}},[
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"
}},[
t
.
$route
.
meta
.
keepAlive
?
a
(
"keep-alive"
,[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
):
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])]),
t
.
_v
(
" "
),
t
.
expiredFlag
?
a
(
"expired-dialog"
):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
s
,
d
,
!
1
,
function
(
t
){
a
(
"ogJS"
)},
"data-v-8cc77f48"
,
null
);
e
.
default
=
u
.
exports
},
ogJS
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/4
0.7f17d7bce0d27f3ee312
.js
→
dist/static/js/4
1.1c7ad7462b20d739bfd0
.js
View file @
c6934b38
webpackJsonp
([
40
],{
H3Rw
:
function
(
e
,
t
){},
ak3k
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"fPyK"
),
l
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"3E4D"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
1
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"自定义报表"
}],
activeId
:
"1"
,
activeTab
:
"1"
,
activeBrand
:
"1"
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
handlePreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?templateId="
+
t
.
dailyReportTemplateId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-preview"
),
this
.
dialogVisible
=!
0
},
toCustomSet
:
function
(){
this
.
changeRouter
(
"/customReportSet"
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy"
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit"
)},
handleDelete
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
deleteTemplate
(
e
,
t
)}).
catch
(
function
(){})},
deleteTemplate
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
l
.
d
)(
"/haoban-app-daily-three-web/daily/del-define-template"
,{
templateId
:
t
.
dailyReportTemplateId
}).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
r
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
l
.
d
)(
"/haoban-app-daily-three-web/daily/list-define-template"
,{
enterpriseId
:
e
.
brandId
}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
void
(
a
.
result
&&
a
.
result
.
length
&&
(
e
.
tableData
=
a
.
result
));
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"32"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"custom-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
}),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
toCustomSet
(
""
)}}},[
e
.
_v
(
"新建模板"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
title
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"模板描述"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
description
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"门店类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"自营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"联营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代理门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代销门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"托管门店"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleDelete
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"H3Rw"
)},
"data-v-866cc2c0"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
webpackJsonp
([
41
],{
H3Rw
:
function
(
e
,
t
){},
ak3k
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"2eFk"
),
n
=
a
(
"Ke24"
),
i
=
a
(
"fPyK"
),
l
=
a
(
"P9l9"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"3E4D"
),
c
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
1
,
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"自定义报表"
}],
activeId
:
"1"
,
activeTab
:
"1"
,
activeBrand
:
"1"
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
changeRouter
:
function
(
e
){
this
.
$router
.
push
(
e
)},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
handlePreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?templateId="
+
t
.
dailyReportTemplateId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-preview"
),
this
.
dialogVisible
=!
0
},
toCustomSet
:
function
(){
this
.
changeRouter
(
"/customReportSet"
)},
handleCopy
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?templateId="
+
t
.
dailyReportTemplateId
+
"&type=copy"
)},
handleEdit
:
function
(
e
,
t
){
this
.
changeRouter
(
"/customReportSet?&templateId="
+
t
.
dailyReportTemplateId
+
"&type=edit"
)},
handleDelete
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"一旦删除之后,该范围的门店将无法接收该日报,是否确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
deleteTemplate
(
e
,
t
)}).
catch
(
function
(){})},
deleteTemplate
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
l
.
d
)(
"/haoban-app-daily-three-web/daily/del-define-template"
,{
templateId
:
t
.
dailyReportTemplateId
}).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
r
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
e
=
this
;
Object
(
l
.
d
)(
"/haoban-app-daily-three-web/daily/list-define-template"
,{
enterpriseId
:
e
.
brandId
}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
tableData
=
[],
void
(
a
.
result
&&
a
.
result
.
length
&&
(
e
.
tableData
=
a
.
result
));
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"32"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
o
.
a
,
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"custom-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"custom-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between flex-pack-center m-b-23"
},[
a
(
"div"
,{
staticClass
:
"custom-set-title flex flex-pack-center"
}),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
toCustomSet
(
""
)}}},[
e
.
_v
(
"新建模板"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
title
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"模板描述"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
description
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"门店类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"自营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"联营门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代理门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"代销门店"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
row
.
storeType
?
a
(
"span"
,[
e
.
_v
(
"托管门店"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleCopy
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"复制"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleDelete
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"H3Rw"
)},
"data-v-866cc2c0"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
dist/static/js/4
1.dae657fc2fc109c658ba
.js
→
dist/static/js/4
2.b412deb1296e4926ae31
.js
View file @
c6934b38
webpackJsonp
([
41
],{
"6j9f"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3E4D"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"P9l9"
),
o
=
{
name
:
"unreview"
,
data
:
function
(){
return
{
storeSwitch
:
!
1
,
clerkChangeFlag
:
!
1
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
}},
methods
:{
changeSwitch
:
function
(
t
){
this
.
postData
()},
postData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
,
auditFlag
:
e
.
storeSwitch
?
1
:
0
,
clerkChangeFlag
:
e
.
clerkChangeFlag
?
1
:
0
};
Object
(
s
.
d
)(
"/haoban-manage3-web/audit/open-or-close"
,
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
r
.
a
.
errorMsg
(
e
):
n
.
a
.
showmsg
(
"操作成功"
,
"success"
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage3-web/audit/find-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
storeSwitch
=
1
==
a
.
result
.
auditFlag
,
void
(
e
.
clerkChangeFlag
=
1
==
a
.
result
.
clerkChangeFlag
);
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
3
),
this
.
getData
()}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 126px)"
}},[
a
(
"div"
,[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
t
.
changeSwitch
},
model
:{
value
:
t
.
storeSwitch
,
callback
:
function
(
e
){
t
.
storeSwitch
=
e
},
expression
:
"storeSwitch"
}}),
t
.
_v
(
" "
),
a
(
"el-tooltip"
,{
attrs
:{
content
:
"开启后,所有门店在小程序端修改门店资料需要审核通过后才能修改"
,
placement
:
"top"
}},[
a
(
"span"
,{
staticClass
:
"inline-block font-14 color-303133 m-l-20"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"开启门店资料修改审核"
)])])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
t
.
changeSwitch
},
model
:{
value
:
t
.
clerkChangeFlag
,
callback
:
function
(
e
){
t
.
clerkChangeFlag
=
e
},
expression
:
"clerkChangeFlag"
}}),
t
.
_v
(
" "
),
a
(
"el-tooltip"
,{
attrs
:{
content
:
"开启后,企业微信成员在好办小程序店长删除或新增导购需要进行审核"
,
placement
:
"top"
}},[
a
(
"span"
,{
staticClass
:
"inline-block font-14 color-303133 m-l-20"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"门店导购变更审核"
)])])],
1
)])])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
o
,
i
,
!
1
,
function
(
t
){
a
(
"T7Sb"
)},
"data-v-7f5e8d6c"
,
null
);
e
.
default
=
c
.
exports
},
T7Sb
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
42
],{
"6j9f"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"3E4D"
),
r
=
a
(
"Ch4/"
),
s
=
a
(
"P9l9"
),
o
=
{
name
:
"unreview"
,
data
:
function
(){
return
{
storeSwitch
:
!
1
,
clerkChangeFlag
:
!
1
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
}},
methods
:{
changeSwitch
:
function
(
t
){
this
.
postData
()},
postData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
,
auditFlag
:
e
.
storeSwitch
?
1
:
0
,
clerkChangeFlag
:
e
.
clerkChangeFlag
?
1
:
0
};
Object
(
s
.
d
)(
"/haoban-manage3-web/audit/open-or-close"
,
a
).
then
(
function
(
t
){
var
e
=
t
.
data
;
1
!=
e
.
errorCode
?
r
.
a
.
errorMsg
(
e
):
n
.
a
.
showmsg
(
"操作成功"
,
"success"
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getData
:
function
(
t
){
var
e
=
this
,
a
=
{
wxEnterpriseId
:
e
.
wxEnterpriseId
};
Object
(
s
.
a
)(
"/haoban-manage3-web/audit/find-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
storeSwitch
=
1
==
a
.
result
.
auditFlag
,
void
(
e
.
clerkChangeFlag
=
1
==
a
.
result
.
clerkChangeFlag
);
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
3
),
this
.
getData
()}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"unreview-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 126px)"
}},[
a
(
"div"
,[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
t
.
changeSwitch
},
model
:{
value
:
t
.
storeSwitch
,
callback
:
function
(
e
){
t
.
storeSwitch
=
e
},
expression
:
"storeSwitch"
}}),
t
.
_v
(
" "
),
a
(
"el-tooltip"
,{
attrs
:{
content
:
"开启后,所有门店在小程序端修改门店资料需要审核通过后才能修改"
,
placement
:
"top"
}},[
a
(
"span"
,{
staticClass
:
"inline-block font-14 color-303133 m-l-20"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"开启门店资料修改审核"
)])])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
t
.
changeSwitch
},
model
:{
value
:
t
.
clerkChangeFlag
,
callback
:
function
(
e
){
t
.
clerkChangeFlag
=
e
},
expression
:
"clerkChangeFlag"
}}),
t
.
_v
(
" "
),
a
(
"el-tooltip"
,{
attrs
:{
content
:
"开启后,企业微信成员在好办小程序店长删除或新增导购需要进行审核"
,
placement
:
"top"
}},[
a
(
"span"
,{
staticClass
:
"inline-block font-14 color-303133 m-l-20"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
t
.
_v
(
"门店导购变更审核"
)])])],
1
)])])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
o
,
i
,
!
1
,
function
(
t
){
a
(
"T7Sb"
)},
"data-v-7f5e8d6c"
,
null
);
e
.
default
=
c
.
exports
},
T7Sb
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/4
2.de3583b37fa986a4fe6f
.js
→
dist/static/js/4
3.c4327dbbe9d97630f122
.js
View file @
c6934b38
webpackJsonp
([
42
],{
"5GE8"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
o
=
a
.
n
(
n
),
s
=
a
(
"exGp"
),
i
=
a
.
n
(
s
),
r
=
a
(
"Ch4/"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
var
e
=
this
;
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
statusObj
:{
3
:
"待领取"
,
4
:
"待核销"
,
5
:
"已核销"
,
6
:
"已过期"
,
7
:
"已销毁"
,
8
:
"已占用"
},
conditionObj
:{
getDateRange
:[],
useDateRange
:[],
searchInput
:
""
},
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
n
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
n
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
n
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
n
}}},
loading
:
!
1
,
templateList
:[],
strategyList
:[],
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getTableList
()}},
methods
:{
changeDate
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
t
.
coupCardId
)}).
catch
(
function
(){})},
delCardList
:
function
(
e
){
var
t
=
this
,
a
=
{
coupCardId
:
e
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/del-card-coup"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toInput
:
Object
(
c
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
return
i
()(
o
.
a
.
mark
(
function
t
(){
var
a
,
n
;
return
o
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:(
a
=
e
).
loading
=!
0
,
a
.
conditionObj
.
getDateRange
||
(
a
.
conditionObj
.
getDateRange
=
[]),
a
.
conditionObj
.
useDateRange
||
(
a
.
conditionObj
.
useDateRange
=
[]),
n
=
{
queryType
:
2
,
wxEnterpriseId
:
a
.
wxEnterpriseId
,
receiveStartDate
:
a
.
conditionObj
.
getDateRange
[
0
],
receiveEndDate
:
a
.
conditionObj
.
getDateRange
[
1
],
useStartDate
:
a
.
conditionObj
.
useDateRange
[
0
],
useEndDate
:
a
.
conditionObj
.
useDateRange
[
1
],
search
:
a
.
conditionObj
.
searchInput
||
""
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/find-card-log-page"
,
n
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
a
.
loading
=!
1
,
1
==
t
.
errorCode
)
return
a
.
tableData
=
t
.
result
.
result
||
[],
void
(
a
.
total
=
t
.
result
.
totalCount
);
r
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})});
case
6
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"42"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"flex "
},[
a
(
"el-date-picker"
,{
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"~"
,
"start-placeholder"
:
"领取开始时间"
,
"end-placeholder"
:
"领取结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
getDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"getDateRange"
,
t
)},
expression
:
"conditionObj.getDateRange"
}}),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"~"
,
"start-placeholder"
:
"核销开始时间"
,
"end-placeholder"
:
"核销结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
useDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"useDateRange"
,
t
)},
expression
:
"conditionObj.useDateRange"
}}),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"284px"
},
attrs
:{
placeholder
:
"请输入卡券名称/卡券代码/会员信息"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
receiveTime
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
receiveTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
receiveTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"
\
n --
\
n "
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
useTime
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
useTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
useTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"
\
n --
\
n "
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"font-14 color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberName
||
"--"
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatPhoneNum"
)(
t
.
row
.
phoneNum
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"员工信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info m-l-10"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
||
"--"
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
departmentName
||
"--"
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"抵金券"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"折扣券"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
3
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-7c6af2"
}):
e
.
_e
(),
4
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-2f54eb"
}):
e
.
_e
(),
5
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-52c41a"
}):
e
.
_e
(),
6
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-f5222d"
}):
e
.
_e
(),
7
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-c0c4cc"
}):
e
.
_e
(),
8
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-faad14"
}):
e
.
_e
(),
a
(
"span"
,{
staticClass
:
"inline-block"
},[
e
.
_v
(
e
.
_s
(
e
.
statusObj
[
t
.
row
.
status
]))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"投放来源"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n 好办内购券
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销来源"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
5
!=
t
.
row
.
status
?
"--"
:
0
==
t
.
row
.
checkSource
?
"订单核销"
:
"手动核销"
)
+
"
\
n "
)]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
e
){
a
(
"zpPF"
)},
"data-v-7a52511c"
,
null
);
t
.
default
=
g
.
exports
},
zpPF
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
43
],{
"5GE8"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
o
=
a
.
n
(
n
),
s
=
a
(
"exGp"
),
i
=
a
.
n
(
s
),
r
=
a
(
"Ch4/"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
var
e
=
this
;
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
statusObj
:{
3
:
"待领取"
,
4
:
"待核销"
,
5
:
"已核销"
,
6
:
"已过期"
,
7
:
"已销毁"
,
8
:
"已占用"
},
conditionObj
:{
getDateRange
:[],
useDateRange
:[],
searchInput
:
""
},
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
n
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
n
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
n
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
n
}}},
loading
:
!
1
,
templateList
:[],
strategyList
:[],
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getTableList
()}},
methods
:{
changeDate
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
t
.
coupCardId
)}).
catch
(
function
(){})},
delCardList
:
function
(
e
){
var
t
=
this
,
a
=
{
coupCardId
:
e
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/del-card-coup"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toInput
:
Object
(
c
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
return
i
()(
o
.
a
.
mark
(
function
t
(){
var
a
,
n
;
return
o
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:(
a
=
e
).
loading
=!
0
,
a
.
conditionObj
.
getDateRange
||
(
a
.
conditionObj
.
getDateRange
=
[]),
a
.
conditionObj
.
useDateRange
||
(
a
.
conditionObj
.
useDateRange
=
[]),
n
=
{
queryType
:
2
,
wxEnterpriseId
:
a
.
wxEnterpriseId
,
receiveStartDate
:
a
.
conditionObj
.
getDateRange
[
0
],
receiveEndDate
:
a
.
conditionObj
.
getDateRange
[
1
],
useStartDate
:
a
.
conditionObj
.
useDateRange
[
0
],
useEndDate
:
a
.
conditionObj
.
useDateRange
[
1
],
search
:
a
.
conditionObj
.
searchInput
||
""
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/find-card-log-page"
,
n
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
a
.
loading
=!
1
,
1
==
t
.
errorCode
)
return
a
.
tableData
=
t
.
result
.
result
||
[],
void
(
a
.
total
=
t
.
result
.
totalCount
);
r
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})});
case
6
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"42"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"flex "
},[
a
(
"el-date-picker"
,{
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"~"
,
"start-placeholder"
:
"领取开始时间"
,
"end-placeholder"
:
"领取结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
getDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"getDateRange"
,
t
)},
expression
:
"conditionObj.getDateRange"
}}),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"~"
,
"start-placeholder"
:
"核销开始时间"
,
"end-placeholder"
:
"核销结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
useDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"useDateRange"
,
t
)},
expression
:
"conditionObj.useDateRange"
}}),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"284px"
},
attrs
:{
placeholder
:
"请输入卡券名称/卡券代码/会员信息"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
receiveTime
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
receiveTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
receiveTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"
\
n --
\
n "
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
useTime
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
useTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
useTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"
\
n --
\
n "
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"font-14 color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberName
||
"--"
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatPhoneNum"
)(
t
.
row
.
phoneNum
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"员工信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
t
.
row
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info m-l-10"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
||
"--"
))]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis line-18"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
departmentName
||
"--"
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"抵金券"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"折扣券"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
3
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-7c6af2"
}):
e
.
_e
(),
4
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-2f54eb"
}):
e
.
_e
(),
5
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-52c41a"
}):
e
.
_e
(),
6
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-f5222d"
}):
e
.
_e
(),
7
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-c0c4cc"
}):
e
.
_e
(),
8
==
t
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-faad14"
}):
e
.
_e
(),
a
(
"span"
,{
staticClass
:
"inline-block"
},[
e
.
_v
(
e
.
_s
(
e
.
statusObj
[
t
.
row
.
status
]))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"投放来源"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n 好办内购券
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销来源"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
5
!=
t
.
row
.
status
?
"--"
:
0
==
t
.
row
.
checkSource
?
"订单核销"
:
"手动核销"
)
+
"
\
n "
)]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
e
){
a
(
"zpPF"
)},
"data-v-7a52511c"
,
null
);
t
.
default
=
g
.
exports
},
zpPF
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/4
3.affdb37e74870705945f
.js
→
dist/static/js/4
4.99e7d13e393e3a25b2e7
.js
View file @
c6934b38
webpackJsonp
([
43
],{
d6E8
:
function
(
t
,
e
){},
dhLd
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"Ch4/"
),
n
=
a
(
"3E4D"
),
s
=
a
(
"PI0u"
),
i
=
a
(
"P9l9"
),
r
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
var
t
=
this
;
return
{
recordShow
:
!
1
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
statusObj
:{
3
:
"待领取"
,
4
:
"待核销"
,
5
:
"已核销"
,
6
:
"已过期"
,
7
:
"已销毁"
,
8
:
"已占用"
},
activeId
:
"2"
,
conditionObj
:{
postDateRange
:[],
searchInput
:
""
},
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
e
){
var
a
=
e
.
maxDate
,
o
=
e
.
minDate
;
t
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
t
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
e
){
if
(
t
.
choiceDateCopy
.
length
){
var
a
=
t
.
choiceDateCopy
[
0
]
-
31536
e6
,
o
=
t
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
e
.
getTime
()
<
a
||
e
.
getTime
()
>
o
}}},
templateData
:[],
strategyData
:[],
loading
:
!
1
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
filters
:{
percenteNum
:
function
(
t
){
return
t
>
0
?
Number
(
100
*
t
).
toFixed
(
2
)
+
"%"
:
Number
(
t
).
toFixed
(
2
)
+
"%"
}},
methods
:{
changeDate
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
coupCardId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
gicEnterpriseId
:
e
.
brandId
,
coupCardId
:
t
};
Object
(
i
.
d
)(
"/haoban-app-customer-web/inner/del-card-coup"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
s
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
t
.
loading
=!
0
,
t
.
conditionObj
.
postDateRange
||
(
t
.
conditionObj
.
postDateRange
=
[]);
var
e
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
,
search
:
t
.
conditionObj
.
searchInput
,
queryType
:
1
,
sendStartDate
:
t
.
conditionObj
.
postDateRange
[
0
],
sendEndDate
:
t
.
conditionObj
.
postDateRange
[
1
],
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
i
.
d
)(
"/haoban-app-customer-web/inner/find-card-log-page"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
total
=
a
.
result
.
totalCount
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"41"
),
this
.
getTableList
()}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,[
a
(
"el-date-picker"
,{
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
t
.
pickerOptions
,
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
.
postDateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"postDateRange"
,
e
)},
expression
:
"conditionObj.postDateRange"
}}),
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"284px"
},
attrs
:{
placeholder
:
"请输入卡券名称/卡券代码/会员信息"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
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"
})])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"成员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
e
.
row
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info m-l-10"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis line-18"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
staffName
||
"--"
))]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatPhoneNum"
)(
e
.
row
.
phoneNum
)))])])])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"font-14 color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
memberName
||
"--"
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatPhoneNum"
)(
e
.
row
.
phoneNum
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
||
"--"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发券渠道"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n 好办内购券
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
3
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-7c6af2"
}):
t
.
_e
(),
4
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-2f54eb"
}):
t
.
_e
(),
5
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-52c41a"
}):
t
.
_e
(),
6
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-f5222d"
}):
t
.
_e
(),
7
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-c0c4cc"
}):
t
.
_e
(),
8
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-faad14"
}):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"inline-block"
},[
t
.
_v
(
t
.
_s
(
t
.
statusObj
[
e
.
row
.
status
]))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发送时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
createDate
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
createDate
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
createDate
)))])]):
a
(
"div"
,[
t
.
_v
(
"
\
n --
\
n "
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
receiveTime
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
receiveTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
receiveTime
)))])]):
a
(
"div"
,[
t
.
_v
(
"
\
n --
\
n "
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
useTime
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
useTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
useTime
)))])]):
a
(
"div"
,[
t
.
_v
(
"
\
n --
\
n "
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
t
){
a
(
"d6E8"
)},
"data-v-7886daa0"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
webpackJsonp
([
44
],{
d6E8
:
function
(
t
,
e
){},
dhLd
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"Ch4/"
),
n
=
a
(
"3E4D"
),
s
=
a
(
"PI0u"
),
i
=
a
(
"P9l9"
),
r
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
var
t
=
this
;
return
{
recordShow
:
!
1
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
statusObj
:{
3
:
"待领取"
,
4
:
"待核销"
,
5
:
"已核销"
,
6
:
"已过期"
,
7
:
"已销毁"
,
8
:
"已占用"
},
activeId
:
"2"
,
conditionObj
:{
postDateRange
:[],
searchInput
:
""
},
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
e
){
var
a
=
e
.
maxDate
,
o
=
e
.
minDate
;
t
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
t
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
e
){
if
(
t
.
choiceDateCopy
.
length
){
var
a
=
t
.
choiceDateCopy
[
0
]
-
31536
e6
,
o
=
t
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
e
.
getTime
()
<
a
||
e
.
getTime
()
>
o
}}},
templateData
:[],
strategyData
:[],
loading
:
!
1
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
filters
:{
percenteNum
:
function
(
t
){
return
t
>
0
?
Number
(
100
*
t
).
toFixed
(
2
)
+
"%"
:
Number
(
t
).
toFixed
(
2
)
+
"%"
}},
methods
:{
changeDate
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
coupCardId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
gicEnterpriseId
:
e
.
brandId
,
coupCardId
:
t
};
Object
(
i
.
d
)(
"/haoban-app-customer-web/inner/del-card-coup"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
n
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
s
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
t
.
loading
=!
0
,
t
.
conditionObj
.
postDateRange
||
(
t
.
conditionObj
.
postDateRange
=
[]);
var
e
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
,
search
:
t
.
conditionObj
.
searchInput
,
queryType
:
1
,
sendStartDate
:
t
.
conditionObj
.
postDateRange
[
0
],
sendEndDate
:
t
.
conditionObj
.
postDateRange
[
1
],
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
i
.
d
)(
"/haoban-app-customer-web/inner/find-card-log-page"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
total
=
a
.
result
.
totalCount
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"41"
),
this
.
getTableList
()}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,[
a
(
"el-date-picker"
,{
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
t
.
pickerOptions
,
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
.
postDateRange
,
callback
:
function
(
e
){
t
.
$set
(
t
.
conditionObj
,
"postDateRange"
,
e
)},
expression
:
"conditionObj.postDateRange"
}}),
a
(
"el-input"
,{
staticClass
:
"w-264 m-l-10"
,
staticStyle
:{
width
:
"284px"
},
attrs
:{
placeholder
:
"请输入卡券名称/卡券代码/会员信息"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
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"
})])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"成员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"flex nowrap"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic"
},[
e
.
row
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info m-l-10"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 text-ellipsis line-18"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
staffName
||
"--"
))]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 text-ellipsis line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatPhoneNum"
)(
e
.
row
.
phoneNum
)))])])])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"font-14 color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
memberName
||
"--"
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"formatPhoneNum"
)(
e
.
row
.
phoneNum
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
||
"--"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发券渠道"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n 好办内购券
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
3
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-7c6af2"
}):
t
.
_e
(),
4
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-2f54eb"
}):
t
.
_e
(),
5
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-52c41a"
}):
t
.
_e
(),
6
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-f5222d"
}):
t
.
_e
(),
7
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-c0c4cc"
}):
t
.
_e
(),
8
==
e
.
row
.
status
?
a
(
"span"
,{
staticClass
:
"status-dot bg-faad14"
}):
t
.
_e
(),
a
(
"span"
,{
staticClass
:
"inline-block"
},[
t
.
_v
(
t
.
_s
(
t
.
statusObj
[
e
.
row
.
status
]))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发送时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
createDate
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
createDate
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
createDate
)))])]):
a
(
"div"
,[
t
.
_v
(
"
\
n --
\
n "
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
receiveTime
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
receiveTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
receiveTime
)))])]):
a
(
"div"
,[
t
.
_v
(
"
\
n --
\
n "
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
useTime
?
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
useTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
useTime
)))])]):
a
(
"div"
,[
t
.
_v
(
"
\
n --
\
n "
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
t
){
a
(
"d6E8"
)},
"data-v-7886daa0"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/4
4.815c87997439a3cb3042
.js
→
dist/static/js/4
5.2541a955b1a647400bc5
.js
View file @
c6934b38
webpackJsonp
([
44
],{
"3oSR"
:
function
(
t
,
e
){},
c7iB
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
s
=
a
(
"exGp"
),
o
=
a
.
n
(
s
),
i
=
a
(
"Ch4/"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
loading
:
!
1
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券模板?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
templateId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
templateId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-template"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardTemp?templateId="
+
e
.
templateId
)},
toInput
:
Object
(
c
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCardTemp"
)},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
return
o
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:(
a
=
t
).
loading
=!
0
,
n
=
{
wxEnterpriseId
:
a
.
wxEnterpriseId
,
search
:
a
.
searchInput
||
""
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/list-template"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
a
.
loading
=!
1
,
1
==
e
.
errorCode
)
return
a
.
tableData
=
e
.
result
||
[],
void
(
!
a
.
searchInput
&&
e
.
result
&&
e
.
result
.
length
&&
(
a
.
total
=
e
.
result
.
length
));
i
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
4
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入模板名称"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10 font-w-300"
},[
t
.
_v
(
"内购券是选取GIC中针对企业内部员工发下的,最多创建20个模板"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
t
.
total
>=
20
,
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增模板"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 0px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
templateName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"抵金券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"折扣券"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
commitName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
updateTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
updateTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
t
){
a
(
"3oSR"
)},
"data-v-7533df2c"
,
null
);
e
.
default
=
f
.
exports
}});
\ No newline at end of file
webpackJsonp
([
45
],{
"3oSR"
:
function
(
t
,
e
){},
c7iB
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
s
=
a
(
"exGp"
),
o
=
a
.
n
(
s
),
i
=
a
(
"Ch4/"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
p
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
loading
:
!
1
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的卡券模板?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
templateId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
templateId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-template"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
i
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardTemp?templateId="
+
e
.
templateId
)},
toInput
:
Object
(
c
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCardTemp"
)},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
return
o
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:(
a
=
t
).
loading
=!
0
,
n
=
{
wxEnterpriseId
:
a
.
wxEnterpriseId
,
search
:
a
.
searchInput
||
""
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/list-template"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
a
.
loading
=!
1
,
1
==
e
.
errorCode
)
return
a
.
tableData
=
e
.
result
||
[],
void
(
!
a
.
searchInput
&&
e
.
result
&&
e
.
result
.
length
&&
(
a
.
total
=
e
.
result
.
length
));
i
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
4
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
getTableList
()}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入模板名称"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearInput
},
nativeOn
:{
keyup
:
function
(
e
){
return
a
=
e
,
t
.
toInput
(
a
,
t
.
searchInput
);
var
a
}},
model
:{
value
:
t
.
searchInput
,
callback
:
function
(
e
){
t
.
searchInput
=
e
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10 font-w-300"
},[
t
.
_v
(
"内购券是选取GIC中针对企业内部员工发下的,最多创建20个模板"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
t
.
total
>=
20
,
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增模板"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 0px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
templateName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"抵金券"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
cardType
?
a
(
"span"
,[
t
.
_v
(
"折扣券"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
commitName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
updateTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
updateTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
d
,
!
1
,
function
(
t
){
a
(
"3oSR"
)},
"data-v-7533df2c"
,
null
);
e
.
default
=
f
.
exports
}});
\ No newline at end of file
dist/static/js/4
5.938fbeb9f8817c20a2b8
.js
→
dist/static/js/4
6.7b65373ef8a204dfac59
.js
View file @
c6934b38
webpackJsonp
([
45
],{
MYCh
:
function
(
t
,
e
){},
cD4x
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
i
=
a
(
"exGp"
),
o
=
a
.
n
(
i
),
s
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
loading
:
!
1
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的补发卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
repairId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
repairId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-repair"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardPut?repairId="
+
e
.
repairId
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCardPut"
)},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
return
o
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:(
a
=
t
).
loading
=!
1
,
n
=
{
wxEnterpriseId
:
a
.
wxEnterpriseId
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/page-repair"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
a
.
loading
=!
1
,
1
==
e
.
errorCode
)
return
a
.
tableData
=
e
.
result
.
result
||
[],
void
(
a
.
total
=
e
.
result
.
totalCount
);
s
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
4
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"3"
),
this
.
getTableList
()}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增补发"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 0px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券组合名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardCombineName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券模板"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardTemplates
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,[
e
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10 font-w-300"
},[
this
.
_v
(
"内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发"
)])])}]};
var
g
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
t
){
a
(
"MYCh"
)},
"data-v-74853aea"
,
null
);
e
.
default
=
g
.
exports
}});
\ No newline at end of file
webpackJsonp
([
46
],{
MYCh
:
function
(
t
,
e
){},
cD4x
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
r
=
a
.
n
(
n
),
i
=
a
(
"exGp"
),
o
=
a
.
n
(
i
),
s
=
a
(
"Ch4/"
),
c
=
a
(
"3E4D"
),
l
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
{
components
:{},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
loading
:
!
1
,
searchInput
:
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
watch
:{
brandId
:
function
(
t
){
t
&&
this
.
getTableList
()}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的补发卡券?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delCardList
(
e
.
repairId
)}).
catch
(
function
(){})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
repairId
:
t
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/delete-repair"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
(
e
.
brandId
);
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCardPut?repairId="
+
e
.
repairId
)},
toInput
:
Object
(
l
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCardPut"
)},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
t
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
t
=
this
;
return
o
()(
r
.
a
.
mark
(
function
e
(){
var
a
,
n
;
return
r
.
a
.
wrap
(
function
(
e
){
for
(;;)
switch
(
e
.
prev
=
e
.
next
){
case
0
:(
a
=
t
).
loading
=!
1
,
n
=
{
wxEnterpriseId
:
a
.
wxEnterpriseId
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
u
.
d
)(
"/haoban-app-customer-web/inner/page-repair"
,
n
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
a
.
loading
=!
1
,
1
==
e
.
errorCode
)
return
a
.
tableData
=
e
.
result
.
result
||
[],
void
(
a
.
total
=
e
.
result
.
totalCount
);
s
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})});
case
4
:
case
"end"
:
return
e
.
stop
()}},
e
,
t
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"3"
),
this
.
getTableList
()}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between m-b-20"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新增补发"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 0px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券组合名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardCombineName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券模板"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardTemplates
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"查看"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,[
e
(
"span"
,{
staticClass
:
"font-12 color-909399 p-l-10 font-w-300"
},[
this
.
_v
(
"内购券投放是针对卡券策略中没有下发的内购券,针对员工进行补发"
)])])}]};
var
g
=
a
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
t
){
a
(
"MYCh"
)},
"data-v-74853aea"
,
null
);
e
.
default
=
g
.
exports
}});
\ No newline at end of file
dist/static/js/4
6.fe0bf00b35cec5dc3837
.js
→
dist/static/js/4
7.e64057254b53ae3fa692
.js
View file @
c6934b38
webpackJsonp
([
46
],{
PMlo
:
function
(
t
,
e
){},
lPa5
:
function
(
t
,
e
,
s
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"PI0u"
),
n
=
s
(
"Ch4/"
),
o
=
s
(
"3E4D"
),
r
=
s
(
"P9l9"
),
i
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
setObj
:{
taskBelong
:
"1"
,
overDayJudge
:
""
},
loadingBtn
:
!
1
}},
computed
:{},
methods
:{
saveSet
:
Object
(
a
.
a
)(
function
(){
this
.
loadingBtn
=!
0
,
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
taskBelong
:
t
.
setObj
.
taskBelong
,
overDayJudge
:
t
.
setObj
.
overDayJudge
,
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/setting/save-session-task-setting"
,
e
).
then
(
function
(
e
){
var
s
=
e
.
data
;
t
.
loadingBtn
=!
1
,
1
!=
s
.
errorCode
?
n
.
a
.
errorMsg
(
s
):
o
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/setting/find-session-task-setting"
,
e
).
then
(
function
(
e
){
var
s
=
e
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
?
s
.
result
.
taskBelong
=
String
(
s
.
result
.
taskBelong
):(
s
.
result
=
{},
s
.
result
.
taskBelong
=
"1"
,
s
.
result
.
overDayJudge
=
""
),
void
(
t
.
setObj
=
s
.
result
);
n
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"22"
),
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
s
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
s
(
"div"
,{
staticClass
:
"task-set-cell"
},[
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"任务归属:"
)]),
s
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
setObj
.
taskBelong
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"taskBelong"
,
e
)},
expression
:
"setObj.taskBelong"
}},[
t
.
_v
(
"成员所属专属导购 > 协管导购,若无专属导购,则随机分配给一名协管导购"
)])],
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"逾期设置:"
)]),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"话务任务下发后 "
)]),
s
(
"el-input-number"
,{
staticClass
:
"w-100"
,
attrs
:{
"controls-position"
:
"right"
,
placeholder
:
"请输入内容"
,
step
:
1
,
"step-strictly"
:
!
0
,
min
:
0
,
max
:
99999999
},
model
:{
value
:
t
.
setObj
.
overDayJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"overDayJudge"
,
e
)},
expression
:
"setObj.overDayJudge"
}}),
s
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"天"
)]),
t
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成"
)])],
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
}),
t
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
t
.
loadingBtn
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保存并用于全部商户"
)])],
1
)]),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
})])])},
staticRenderFns
:[]};
var
c
=
s
(
"VU/8"
)(
i
,
l
,
!
1
,
function
(
t
){
s
(
"PMlo"
)},
"data-v-6a2ebdae"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
webpackJsonp
([
47
],{
PMlo
:
function
(
t
,
e
){},
lPa5
:
function
(
t
,
e
,
s
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"PI0u"
),
n
=
s
(
"Ch4/"
),
o
=
s
(
"3E4D"
),
r
=
s
(
"P9l9"
),
i
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
setObj
:{
taskBelong
:
"1"
,
overDayJudge
:
""
},
loadingBtn
:
!
1
}},
computed
:{},
methods
:{
saveSet
:
Object
(
a
.
a
)(
function
(){
this
.
loadingBtn
=!
0
,
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
taskBelong
:
t
.
setObj
.
taskBelong
,
overDayJudge
:
t
.
setObj
.
overDayJudge
,
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/setting/save-session-task-setting"
,
e
).
then
(
function
(
e
){
var
s
=
e
.
data
;
t
.
loadingBtn
=!
1
,
1
!=
s
.
errorCode
?
n
.
a
.
errorMsg
(
s
):
o
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/setting/find-session-task-setting"
,
e
).
then
(
function
(
e
){
var
s
=
e
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
?
s
.
result
.
taskBelong
=
String
(
s
.
result
.
taskBelong
):(
s
.
result
=
{},
s
.
result
.
taskBelong
=
"1"
,
s
.
result
.
overDayJudge
=
""
),
void
(
t
.
setObj
=
s
.
result
);
n
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"22"
),
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
s
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
s
(
"div"
,{
staticClass
:
"task-set-cell"
},[
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"任务归属:"
)]),
s
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
setObj
.
taskBelong
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"taskBelong"
,
e
)},
expression
:
"setObj.taskBelong"
}},[
t
.
_v
(
"成员所属专属导购 > 协管导购,若无专属导购,则随机分配给一名协管导购"
)])],
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"逾期设置:"
)]),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"话务任务下发后 "
)]),
s
(
"el-input-number"
,{
staticClass
:
"w-100"
,
attrs
:{
"controls-position"
:
"right"
,
placeholder
:
"请输入内容"
,
step
:
1
,
"step-strictly"
:
!
0
,
min
:
0
,
max
:
99999999
},
model
:{
value
:
t
.
setObj
.
overDayJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"overDayJudge"
,
e
)},
expression
:
"setObj.overDayJudge"
}}),
s
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"天"
)]),
t
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"注:0天即为当天下发,当天完成,1天即为当天下发,次日24:00之前完成"
)])],
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
}),
t
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
t
.
loadingBtn
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保存并用于全部商户"
)])],
1
)]),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
})])])},
staticRenderFns
:[]};
var
c
=
s
(
"VU/8"
)(
i
,
l
,
!
1
,
function
(
t
){
s
(
"PMlo"
)},
"data-v-6a2ebdae"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/4
7.d363f613cf1721b7b90f
.js
→
dist/static/js/4
8.33b1806eb6afb10ad02c
.js
View file @
c6934b38
webpackJsonp
([
47
],{
DRnN
:
function
(
t
,
e
){},
OUXi
:
function
(
t
,
e
,
s
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"PI0u"
),
i
=
s
(
"Ch4/"
),
l
=
s
(
"3E4D"
),
n
=
s
(
"P9l9"
),
o
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
options
:[{
label
:
"普通电话"
,
value
:
1
},{
label
:
"双向透传"
,
value
:
2
}],
setObj
:{
taskCallType
:
1
,
taskType
:
1
,
overDayJudge
:
""
,
distributeTypeJudge
:
""
,
posDistributeJudge
:
""
,
giveUpJudge
:
""
,
relaxTaskJudge
:
!
1
},
loadingBtn
:
!
1
}},
computed
:{},
methods
:{
saveSet
:
Object
(
a
.
a
)(
function
(){
this
.
loadingBtn
=!
0
,
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
taskCallType
:
t
.
setObj
.
taskCallType
,
enterpriseId
:
t
.
activeBrand
,
taskType
:
1
,
overDayJudge
:
t
.
setObj
.
overDayJudge
,
giveUpJudge
:
t
.
setObj
.
giveUpJudge
,
distributeTypeJudge
:
t
.
setObj
.
distributeTypeJudge
,
posDistributeJudge
:
t
.
setObj
.
posDistributeJudge
,
relaxTaskJudge
:
t
.
setObj
.
relaxTaskJudge
?
1
:
0
};
Object
(
n
.
d
)(
"/haoban-app-tel-task-three-web/setting/save-task-setting"
,
e
).
then
(
function
(
e
){
var
s
=
e
.
data
;
t
.
loadingBtn
=!
1
,
1
!=
s
.
errorCode
?
i
.
a
.
errorMsg
(
s
):
l
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
,
taskType
:
1
};
Object
(
n
.
d
)(
"/haoban-app-tel-task-three-web/setting/find-task-setting"
,
e
).
then
(
function
(
e
){
var
s
=
e
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
.
relaxTaskJudge
=
1
==
s
.
result
.
relaxTaskJudge
,
void
(
t
.
setObj
=
s
.
result
);
i
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"21"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
s
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
s
(
"div"
,{
staticClass
:
"task-set-cell"
},[
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务拨打:"
)]),
s
(
"el-select"
,{
staticClass
:
"w-240"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeSelect
},
model
:{
value
:
t
.
setObj
.
taskCallType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"taskCallType"
,
e
)},
expression
:
"setObj.taskCallType"
}},
t
.
_l
(
t
.
options
,
function
(
t
){
return
s
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
2
==
t
.
setObj
.
taskCallType
?
s
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
t
.
_v
(
"双向透传,使用GIC双向呼叫及透传功能。计费由GIC计费中心计费,可记录通话记录及监测是否拨通。"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
setObj
.
taskCallType
?
s
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
t
.
_v
(
"普通呼叫,使用导购自己手机呼叫。计费方式同正常手机运营商呼叫计费。无法记录通话记录及监测是否拨通"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item font-0"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务下发:"
)]),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"inline-block vertical-top"
},[
s
(
"table"
,{
staticClass
:
"font-14"
},[
s
(
"tbody"
,[
s
(
"tr"
,{
staticClass
:
"el-table__row"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
s
(
"td"
,{
staticClass
:
"el-table_3_column_8 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
s
(
"div"
,{
staticClass
:
"cell"
},[
s
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
setObj
.
distributeTypeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"distributeTypeJudge"
,
e
)},
expression
:
"setObj.distributeTypeJudge"
}},[
t
.
_v
(
"分配给主门店店长"
)]),
t
.
_v
(
" "
),
s
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
setObj
.
distributeTypeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"distributeTypeJudge"
,
e
)},
expression
:
"setObj.distributeTypeJudge"
}},[
t
.
_v
(
"分配给专属导购"
)])],
1
)])]),
t
.
_v
(
" "
),
s
(
"tr"
,{
staticClass
:
"el-table__row"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
s
(
"td"
,{
staticClass
:
"el-table_3_column_8 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
s
(
"div"
,{
staticClass
:
"cell"
},[
s
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
setObj
.
posDistributeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"posDistributeJudge"
,
e
)},
expression
:
"setObj.posDistributeJudge"
}},[
t
.
_v
(
"分配给主门店店长"
)]),
t
.
_v
(
" "
),
s
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
setObj
.
posDistributeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"posDistributeJudge"
,
e
)},
expression
:
"setObj.posDistributeJudge"
}},[
t
.
_v
(
"分配给专属导购"
)])],
1
)])])])])])]),
t
.
_v
(
" "
),
2
==
t
.
setObj
.
taskCallType
?
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务条件:"
)]),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"话务任务下发后 "
)]),
s
(
"el-input-number"
,{
staticClass
:
"w-100"
,
attrs
:{
"controls-position"
:
"right"
,
placeholder
:
"请输入内容"
,
step
:
1
,
"step-strictly"
:
!
0
,
min
:
0
,
max
:
99999999
},
model
:{
value
:
t
.
setObj
.
giveUpJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"giveUpJudge"
,
e
)},
expression
:
"setObj.giveUpJudge"
}}),
s
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"次"
)]),
t
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"呼叫后无响应,导购可放弃该条话务任务"
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
}),
t
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
t
.
loadingBtn
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保存"
)])],
1
)]),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
})])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"td"
,{
staticClass
:
"el-table_3_column_7 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"font-14 color-303133"
},[
this
.
_v
(
"微信会员"
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"td"
,{
staticClass
:
"el-table_3_column_7 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"font-14 color-303133"
},[
this
.
_v
(
"POS会员"
)])])}]};
var
c
=
s
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
t
){
s
(
"DRnN"
)},
"data-v-68ca449c"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
webpackJsonp
([
48
],{
DRnN
:
function
(
t
,
e
){},
OUXi
:
function
(
t
,
e
,
s
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"PI0u"
),
i
=
s
(
"Ch4/"
),
l
=
s
(
"3E4D"
),
n
=
s
(
"P9l9"
),
o
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
"1"
,
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
options
:[{
label
:
"普通电话"
,
value
:
1
},{
label
:
"双向透传"
,
value
:
2
}],
setObj
:{
taskCallType
:
1
,
taskType
:
1
,
overDayJudge
:
""
,
distributeTypeJudge
:
""
,
posDistributeJudge
:
""
,
giveUpJudge
:
""
,
relaxTaskJudge
:
!
1
},
loadingBtn
:
!
1
}},
computed
:{},
methods
:{
saveSet
:
Object
(
a
.
a
)(
function
(){
this
.
loadingBtn
=!
0
,
this
.
postSave
()},
500
),
postSave
:
function
(){
var
t
=
this
,
e
=
{
taskCallType
:
t
.
setObj
.
taskCallType
,
enterpriseId
:
t
.
activeBrand
,
taskType
:
1
,
overDayJudge
:
t
.
setObj
.
overDayJudge
,
giveUpJudge
:
t
.
setObj
.
giveUpJudge
,
distributeTypeJudge
:
t
.
setObj
.
distributeTypeJudge
,
posDistributeJudge
:
t
.
setObj
.
posDistributeJudge
,
relaxTaskJudge
:
t
.
setObj
.
relaxTaskJudge
?
1
:
0
};
Object
(
n
.
d
)(
"/haoban-app-tel-task-three-web/setting/save-task-setting"
,
e
).
then
(
function
(
e
){
var
s
=
e
.
data
;
t
.
loadingBtn
=!
1
,
1
!=
s
.
errorCode
?
i
.
a
.
errorMsg
(
s
):
l
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getData
:
function
(){
var
t
=
this
,
e
=
{
enterpriseId
:
t
.
activeBrand
,
taskType
:
1
};
Object
(
n
.
d
)(
"/haoban-app-tel-task-three-web/setting/find-task-setting"
,
e
).
then
(
function
(
e
){
var
s
=
e
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
.
relaxTaskJudge
=
1
==
s
.
result
.
relaxTaskJudge
,
void
(
t
.
setObj
=
s
.
result
);
i
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getData
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"21"
),
this
.
brandId
&&
this
.
getData
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
s
=
t
.
_self
.
_c
||
e
;
return
s
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
s
(
"div"
,{
staticClass
:
"task-set-content boder-box"
},[
s
(
"div"
,{
staticClass
:
"task-set-cell"
},[
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务拨打:"
)]),
s
(
"el-select"
,{
staticClass
:
"w-240"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
t
.
changeSelect
},
model
:{
value
:
t
.
setObj
.
taskCallType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"taskCallType"
,
e
)},
expression
:
"setObj.taskCallType"
}},
t
.
_l
(
t
.
options
,
function
(
t
){
return
s
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})})),
2
==
t
.
setObj
.
taskCallType
?
s
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
t
.
_v
(
"双向透传,使用GIC双向呼叫及透传功能。计费由GIC计费中心计费,可记录通话记录及监测是否拨通。"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
t
.
setObj
.
taskCallType
?
s
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-10"
},[
t
.
_v
(
"普通呼叫,使用导购自己手机呼叫。计费方式同正常手机运营商呼叫计费。无法记录通话记录及监测是否拨通"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item font-0"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务下发:"
)]),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"inline-block vertical-top"
},[
s
(
"table"
,{
staticClass
:
"font-14"
},[
s
(
"tbody"
,[
s
(
"tr"
,{
staticClass
:
"el-table__row"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
s
(
"td"
,{
staticClass
:
"el-table_3_column_8 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
s
(
"div"
,{
staticClass
:
"cell"
},[
s
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
setObj
.
distributeTypeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"distributeTypeJudge"
,
e
)},
expression
:
"setObj.distributeTypeJudge"
}},[
t
.
_v
(
"分配给主门店店长"
)]),
t
.
_v
(
" "
),
s
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
setObj
.
distributeTypeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"distributeTypeJudge"
,
e
)},
expression
:
"setObj.distributeTypeJudge"
}},[
t
.
_v
(
"分配给专属导购"
)])],
1
)])]),
t
.
_v
(
" "
),
s
(
"tr"
,{
staticClass
:
"el-table__row"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
s
(
"td"
,{
staticClass
:
"el-table_3_column_8 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
s
(
"div"
,{
staticClass
:
"cell"
},[
s
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
setObj
.
posDistributeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"posDistributeJudge"
,
e
)},
expression
:
"setObj.posDistributeJudge"
}},[
t
.
_v
(
"分配给主门店店长"
)]),
t
.
_v
(
" "
),
s
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
setObj
.
posDistributeJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"posDistributeJudge"
,
e
)},
expression
:
"setObj.posDistributeJudge"
}},[
t
.
_v
(
"分配给专属导购"
)])],
1
)])])])])])]),
t
.
_v
(
" "
),
2
==
t
.
setObj
.
taskCallType
?
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
},[
t
.
_v
(
"话务任务条件:"
)]),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"话务任务下发后 "
)]),
s
(
"el-input-number"
,{
staticClass
:
"w-100"
,
attrs
:{
"controls-position"
:
"right"
,
placeholder
:
"请输入内容"
,
step
:
1
,
"step-strictly"
:
!
0
,
min
:
0
,
max
:
99999999
},
model
:{
value
:
t
.
setObj
.
giveUpJudge
,
callback
:
function
(
e
){
t
.
$set
(
t
.
setObj
,
"giveUpJudge"
,
e
)},
expression
:
"setObj.giveUpJudge"
}}),
s
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
t
.
_v
(
"次"
)]),
t
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
"呼叫后无响应,导购可放弃该条话务任务"
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"set-line-item"
},[
s
(
"span"
,{
staticClass
:
"set-line-item_title font-14 color-606266 text-right"
}),
t
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
t
.
loadingBtn
},
on
:{
click
:
t
.
saveSet
}},[
t
.
_v
(
"保存"
)])],
1
)]),
t
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"task-set-save m-t-30"
})])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"td"
,{
staticClass
:
"el-table_3_column_7 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"font-14 color-303133"
},[
this
.
_v
(
"微信会员"
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"td"
,{
staticClass
:
"el-table_3_column_7 "
,
attrs
:{
rowspan
:
"1"
,
colspan
:
"1"
}},[
e
(
"div"
,{
staticClass
:
"font-14 color-303133"
},[
this
.
_v
(
"POS会员"
)])])}]};
var
c
=
s
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
t
){
s
(
"DRnN"
)},
"data-v-68ca449c"
,
null
);
e
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/4
8.8a6ddeec4ed66e326eaa
.js
→
dist/static/js/4
9.b8cd158b6cd30ccb2906
.js
View file @
c6934b38
webpackJsonp
([
48
],{
"m+x7"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
i
=
a
(
"Ggl+"
),
s
=
a
(
"LRn8"
),
r
=
a
(
"P9l9"
),
l
=
a
(
"PI0u"
),
c
=
a
(
"3E4D"
),
d
=
a
(
"Ch4/"
),
u
=
{
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
,
actictiveGroup
:
this
.
activeGroupId
,
showDialog
:
!
1
,
activeId
:
"1"
,
conditionObj
:{
tableType
:
"1"
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
selectRadio
:
0
,
loading
:
!
1
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
loadingBtn
:
!
1
}},
computed
:{},
methods
:{
checkGroupIds
:
function
(
t
){
this
.
conditionObj
.
storeGroup
=
t
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
toInput
:
Object
(
l
.
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
,
!
o
()(
t
).
length
)
return
!
1
;
this
.
postMultDel
(
t
)},
postMultDel
:
function
(
t
){
var
e
=
this
,
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
a
.
push
(
t
.
storeGroupId
)}),
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
1
==
e
.
selectRadio
?
""
:
e
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
storeId
}).
join
(
","
),
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
enterpriseId
:
e
.
activeBrand
,
delTaskStatus
:
t
.
delOptFlag
,
reason
:
t
.
reason
,
isAll
:
e
.
selectRadio
};
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/task/batch-del-store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportExcel
:
function
(){
var
t
=
this
;
if
(
!
t
.
multipleSelection
.
length
)
return
c
.
a
.
showmsg
(
"请选择门店"
,
"warning"
),
!
1
;
t
.
loadingBtn
=!
0
;
var
e
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
e
.
push
(
t
.
storeGroupId
)});
var
a
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
join
(
","
)
||
""
,
storeIds
:
1
==
t
.
selectRadio
?
""
:
t
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
storeId
}).
join
(
","
),
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
enterpriseId
:
t
.
activeBrand
,
selectType
:
t
.
selectRadio
};
Object
(
r
.
b
)(
"/haoban-app-tel-task-three-web/task/export-store-task-list"
,
a
).
then
(
function
(
e
){
if
(
t
.
loadingBtn
=!
1
,
!
e
.
data
)
return
d
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
(
t
.
tableData
[
0
]?
t
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
o
=
document
.
createElement
(
"a"
);
o
.
download
=
n
,
o
.
style
.
display
=
"none"
,
o
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
o
),
o
.
click
(),
URL
.
revokeObjectURL
(
o
.
href
),
document
.
body
.
removeChild
(
o
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
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
;
e
.
loading
=!
0
;
var
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
a
.
push
(
t
.
storeGroupId
)}),
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
enterpriseId
:
e
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-tel-task-three-web/task/store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
initDataRange
:
function
(){
var
t
=
new
Date
,
e
=
t
.
getTime
()
-
7776
e6
,
a
=
t
.
getFullYear
(),
n
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
i
=
n
<
10
?
"0"
+
n
:
n
,
s
=
new
Date
(
e
),
r
=
s
.
getFullYear
(),
l
=
s
.
getMonth
()
+
1
,
c
=
s
.
getDate
()
<
10
?
"0"
+
s
.
getDate
():
s
.
getDate
();
return
[
r
+
"-"
+
(
l
<
10
?
"0"
+
l
:
l
)
+
"-"
+
c
,
a
+
"-"
+
i
+
"-"
+
o
]}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
var
t
=
this
;
t
.
conditionObj
.
dateRange
=
t
.
initDataRange
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
t
.
activeBrand
=
t
.
brandId
,
this
.
brandId
&&
t
.
$nextTick
(
function
(){
t
.
getTableList
()})},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
gicSelectGroup
:
i
.
a
,
multipleDel
:
s
.
a
}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
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
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
t
.
brandId
,
width
:
213
,
selectData
:
t
.
conditionObj
.
storeGroup
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}}),
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"
,
loading
:
t
.
loadingBtn
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"45"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
t
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"iconfont icongengduo"
})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
t
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
t
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
t
){}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
}},[
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"
},
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
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
t
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
t
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
u
,
p
,
!
1
,
function
(
t
){
a
(
"w2C9"
)},
"data-v-68a47c5c"
,
null
);
e
.
default
=
g
.
exports
},
w2C9
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
49
],{
"m+x7"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
i
=
a
(
"Ggl+"
),
s
=
a
(
"LRn8"
),
r
=
a
(
"P9l9"
),
l
=
a
(
"PI0u"
),
c
=
a
(
"3E4D"
),
d
=
a
(
"Ch4/"
),
u
=
{
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
,
actictiveGroup
:
this
.
activeGroupId
,
showDialog
:
!
1
,
activeId
:
"1"
,
conditionObj
:{
tableType
:
"1"
,
storeGroup
:[],
storeType
:
""
,
dateRange
:[]},
selectRadio
:
0
,
loading
:
!
1
,
tableData
:[],
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
loadingBtn
:
!
1
}},
computed
:{},
methods
:{
checkGroupIds
:
function
(
t
){
this
.
conditionObj
.
storeGroup
=
t
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleCommand
:
function
(
t
){
this
.
selectRadio
=
t
},
toInput
:
Object
(
l
.
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
,
!
o
()(
t
).
length
)
return
!
1
;
this
.
postMultDel
(
t
)},
postMultDel
:
function
(
t
){
var
e
=
this
,
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
a
.
push
(
t
.
storeGroupId
)}),
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
1
==
e
.
selectRadio
?
""
:
e
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
storeId
}).
join
(
","
),
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
enterpriseId
:
e
.
activeBrand
,
delTaskStatus
:
t
.
delOptFlag
,
reason
:
t
.
reason
,
isAll
:
e
.
selectRadio
};
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/task/batch-del-store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
c
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportExcel
:
function
(){
var
t
=
this
;
if
(
!
t
.
multipleSelection
.
length
)
return
c
.
a
.
showmsg
(
"请选择门店"
,
"warning"
),
!
1
;
t
.
loadingBtn
=!
0
;
var
e
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
e
.
push
(
t
.
storeGroupId
)});
var
a
=
{
search
:
t
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
e
.
join
(
","
)
||
""
,
storeIds
:
1
==
t
.
selectRadio
?
""
:
t
.
multipleSelection
.
map
(
function
(
t
){
return
t
.
storeId
}).
join
(
","
),
storeType
:
t
.
conditionObj
.
storeType
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
0
]:
""
,
endDate
:
t
.
conditionObj
.
dateRange
?
t
.
conditionObj
.
dateRange
[
1
]:
""
,
enterpriseId
:
t
.
activeBrand
,
selectType
:
t
.
selectRadio
};
Object
(
r
.
b
)(
"/haoban-app-tel-task-three-web/task/export-store-task-list"
,
a
).
then
(
function
(
e
){
if
(
t
.
loadingBtn
=!
1
,
!
e
.
data
)
return
d
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
n
=
(
t
.
tableData
[
0
]?
t
.
tableData
[
0
].
storeName
:
""
)
+
"门店任务报表.csv"
,
o
=
document
.
createElement
(
"a"
);
o
.
download
=
n
,
o
.
style
.
display
=
"none"
,
o
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
o
),
o
.
click
(),
URL
.
revokeObjectURL
(
o
.
href
),
document
.
body
.
removeChild
(
o
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
t
){
this
.
currentPage
=
1
,
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
;
e
.
loading
=!
0
;
var
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
t
){
a
.
push
(
t
.
storeGroupId
)}),
e
.
conditionObj
.
dateRange
||
(
e
.
conditionObj
.
dateRange
=
[]);
var
n
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
storeGroupIds
:
a
.
join
(
","
)
||
""
,
storeType
:
e
.
conditionObj
.
storeType
||
""
,
startDate
:
e
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
e
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
enterpriseId
:
e
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-tel-task-three-web/task/store-task-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
initDataRange
:
function
(){
var
t
=
new
Date
,
e
=
t
.
getTime
()
-
7776
e6
,
a
=
t
.
getFullYear
(),
n
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
i
=
n
<
10
?
"0"
+
n
:
n
,
s
=
new
Date
(
e
),
r
=
s
.
getFullYear
(),
l
=
s
.
getMonth
()
+
1
,
c
=
s
.
getDate
()
<
10
?
"0"
+
s
.
getDate
():
s
.
getDate
();
return
[
r
+
"-"
+
(
l
<
10
?
"0"
+
l
:
l
)
+
"-"
+
c
,
a
+
"-"
+
i
+
"-"
+
o
]}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
getTableList
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
var
t
=
this
;
t
.
conditionObj
.
dateRange
=
t
.
initDataRange
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
t
.
activeBrand
=
t
.
brandId
,
this
.
brandId
&&
t
.
$nextTick
(
function
(){
t
.
getTableList
()})},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
gicSelectGroup
:
i
.
a
,
multipleDel
:
s
.
a
}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"daily-set-wrap "
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
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
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
t
.
brandId
,
width
:
213
,
selectData
:
t
.
conditionObj
.
storeGroup
},
on
:{
checkGroupIds
:
t
.
checkGroupIds
}}),
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"
,
loading
:
t
.
loadingBtn
},
on
:{
click
:
t
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
t
.
_v
(
"导出"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
t
.
tableH
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"45"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
t
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"iconfont icongengduo"
})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
t
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
t
.
_v
(
"选择当页"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
t
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
t
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
t
){}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
}},[
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"
},
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
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
t
.
showDialog
,
detailFlag
:
!
1
},
on
:{
hideDialog
:
t
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
u
,
p
,
!
1
,
function
(
t
){
a
(
"w2C9"
)},
"data-v-68a47c5c"
,
null
);
e
.
default
=
g
.
exports
},
w2C9
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/50.2a041222061152028e68.js
deleted
100644 → 0
View file @
34608d26
webpackJsonp
([
50
],{
JuNN
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"3E4D"
),
o
=
a
(
"Ch4/"
),
s
=
a
(
"PI0u"
),
n
=
a
(
"P9l9"
),
i
=
{
name
:
"app-detail"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
tabType
:{
type
:
String
,
default
:
function
(){
return
"1"
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
activeName
:
"first"
,
activeGroup
:
this
.
activeGroupId
,
wxEnterpriseRelatedId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
myCustomData
:{
searchFlag
:
!
1
,
chatFlag
:
!
1
,
mainStoreFlag
:
!
1
,
minorStoreFlag
:
!
1
,
openCardStoreFlag
:
!
1
,
clerkSeeOtherFlag
:
!
1
,
isSeeAuthMember
:
!
1
,
allowGuideContact
:
!
1
,
allowGuideMobile
:
!
1
,
allowGuideMessage
:
!
1
,
allowGuideOnlineChat
:
!
1
},
overTimeSeeFlag
:
!
1
,
conditionObj
:{
searchInput
:
""
,
classifyName
:
""
,
effectiveStatus
:
""
},
groupListData
:[],
classifyList
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
loading
:
!
1
,
syncDate
:
""
,
loadingBtn
:
!
1
,
templateList
:[]}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的模板?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
delTempList
(
t
.
templateId
)}).
catch
(
function
(){})},
delTempList
:
function
(
e
){
var
t
=
this
,
a
=
{
templateId
:
e
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/del-group-template"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toEdit
:
function
(
e
,
t
){
this
.
$router
.
push
(
"/addGroupTemplate?templateId="
+
t
.
templateId
)},
toStore
:
function
(
e
,
t
){
this
.
$router
.
push
(
"/storeRangeSet?templateId="
+
t
.
templateId
)},
addTemplate
:
function
(){
this
.
$router
.
push
(
"/addGroupTemplate"
)},
getTableList
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
brandId
,
wxEnterpriseRelatedId
:
e
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/get-template-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
o
.
a
.
errorMsg
(
a
):
e
.
templateList
=
a
.
result
||
[]}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleClick
:
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
pageSize
=
20
,
this
.
total
=
0
,
"first"
==
e
.
name
?(
this
.
getGroupClassify
(),
this
.
getGroupList
(),
this
.
getGroupClassSet
(),
this
.
getSyncDate
()):
this
.
getTableList
()},
getSyncDate
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/get-group_last_syn_time"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
o
.
a
.
errorMsg
(
a
):
t
.
syncDate
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toSync
:
Object
(
s
.
a
)(
function
(){
var
e
=
this
;
e
.
loadingBtn
=!
0
;
var
t
=
{
enterpriseId
:
e
.
brandId
,
wxEnterpriseRelatedId
:
e
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/syn-group"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
)
return
r
.
a
.
showmsg
(
"同步成功"
,
"success"
),
void
e
.
getSyncDate
();
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loadingBtn
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
500
),
getGroupClassSet
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/get-member-group-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
o
.
a
.
errorMsg
(
a
):
t
.
overTimeSeeFlag
=
0
!=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
saveGroupSet
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
brandId
,
wxEnterpriseRelatedId
:
e
.
wxEnterpriseRelatedId
,
overTimeSeeFlag
:
1
==
e
.
overTimeSeeFlag
?
1
:
0
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/save-member-group-setting"
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
r
.
a
.
showmsg
(
"设置成功"
,
"success"
),
!
1
;
o
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toInput
:
Object
(
s
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
changeCondition
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupClassify
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/get-member-class-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
o
.
a
.
errorMsg
(
a
):
t
.
classifyList
=
a
.
result
.
list
||
[]}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toChangeTemp
:
function
(
e
,
t
,
a
){
var
s
=
this
;
console
.
log
(
e
,
t
,
a
);
var
i
=
{
enterpriseId
:
s
.
brandId
,
wxEnterpriseRelatedId
:
s
.
wxEnterpriseRelatedId
,
memberTagGroupId
:
a
.
memberTagGroupId
,
isSendTemplate
:
1
==
a
.
isSendTemplate
?
1
:
0
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/save-member-group-is-template-message"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
r
.
a
.
showmsg
(
"操作成功"
,
"success"
),
s
.
pageNum
=
1
,
void
s
.
getGroupList
(
s
.
brandId
);
a
.
isSendTemplate
=!
1
,
o
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGroupList
(
this
.
brandId
)},
getGroupList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
,
memberGroupName
:
t
.
conditionObj
.
searchInput
,
classifyName
:
t
.
conditionObj
.
classifyName
,
effectiveStatus
:
t
.
conditionObj
.
effectiveStatus
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/member-tag-group-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
length
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
isSendTemplate
=
1
==
e
.
isSendTemplate
}),
t
.
groupListData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
getGroupClassify
(
this
.
brandId
),
this
.
getGroupList
(
this
.
brandId
),
this
.
getGroupClassSet
(
this
.
brandId
),
this
.
getSyncDate
(
this
.
brandId
))}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"12"
),
this
.
brandId
&&
(
this
.
getGroupClassify
(
this
.
brandId
),
this
.
getGroupList
(
this
.
brandId
),
this
.
getGroupClassSet
(
this
.
brandId
),
this
.
getSyncDate
(
this
.
brandId
)),
this
.
$route
.
query
.
tabName
&&
this
.
brandId
&&
(
this
.
activeName
=
"second"
,
this
.
getTableList
())},
components
:{}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"会员分组列表"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-lbr-20"
},[
a
(
"div"
,{
staticClass
:
"condition-wrap flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"217px"
},
attrs
:{
placeholder
:
"请输入分组名称"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}}),
a
(
"el-select"
,{
staticClass
:
"w-168 m-l-10"
,
attrs
:{
placeholder
:
"全部分类"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
classifyName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"classifyName"
,
t
)},
expression
:
"conditionObj.classifyName"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部分类"
,
value
:
""
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
classifyList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
e
,
value
:
e
}})})],
2
),
a
(
"el-select"
,{
staticClass
:
"w-168 m-l-10"
,
attrs
:{
placeholder
:
"全部状态"
},
on
:{
change
:
e
.
changeCondition
},
model
:{
value
:
e
.
conditionObj
.
effectiveStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"effectiveStatus"
,
t
)},
expression
:
"conditionObj.effectiveStatus"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"全部状态"
,
value
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"有效"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"失效"
,
value
:
"0"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-checkbox"
,{
on
:{
change
:
e
.
saveGroupSet
},
model
:{
value
:
e
.
overTimeSeeFlag
,
callback
:
function
(
t
){
e
.
overTimeSeeFlag
=
t
},
expression
:
"overTimeSeeFlag"
}}),
e
.
_v
(
" "
),
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"开启后,GIC中设置的好办端会员分组到期后,好办移动端将不再展示该条分组"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 m-r-20"
,
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"会员分组到期后不展示"
)])]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
e
.
toSync
}},[
e
.
_v
(
"立即同步"
)]),
e
.
_v
(
" "
),
e
.
syncDate
?
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
e
.
_v
(
"最近一次同步时间:"
+
e
.
_s
(
e
.
_f
(
"formatTimeStamp"
)(
e
.
syncDate
)))]):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
groupListData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组名称"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
groupName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"是否实时"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"更新频率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"覆盖人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
groupListData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])]),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"分组展示设置"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
" border-box p-lbr-20"
},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"div"
),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"span"
,{
staticClass
:
"font-12 color-909399"
},[
e
.
_v
(
"最多新建20个模板"
)]),
a
(
"el-button"
,{
staticClass
:
"m-l-20"
,
attrs
:{
disabled
:
e
.
templateList
.
length
>=
20
,
type
:
"primary"
},
on
:{
click
:
e
.
addTemplate
}},[
e
.
_v
(
"新建模版"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"tempTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
templateList
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
templateName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"模板id"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
templateId
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
editPerson
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
editTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
editTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toStore
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"门店范围设置"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)])])],
1
)],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
i
,
l
,
!
1
,
function
(
e
){
a
(
"kyH+"
)},
"data-v-5da2db20"
,
null
);
t
.
default
=
c
.
exports
},
"kyH+"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/
49.cd77eead6429acd42da4
.js
→
dist/static/js/
50.a613c9b52259eb192c68
.js
View file @
c6934b38
webpackJsonp
([
49
],{
GltL
:
function
(
t
,
e
){},
m9dW
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"bzW+"
),
n
=
a
(
"Qie6"
),
c
=
a
(
"NKg7"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"企业信息"
,
icon
:
"iconqiyexinxi"
},{
tabId
:
"2"
,
tabName
:
"管理员列表"
,
icon
:
"iconguanliyuanliebiao"
},{
tabId
:
"3"
,
tabName
:
"素材库"
,
icon
:
"iconsucaiku"
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"enterpriseSet"
);
break
;
case
"2"
:
this
.
changeRoute
(
"adminList"
);
break
;
case
"3"
:
this
.
changeRoute
(
"material"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
i
.
a
,
commonDetailLeft
:
n
.
a
,
vueOfficeHeader
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"enterprise-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
},[
a
(
"div"
,{
staticClass
:
"right-content border-box"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])])])])],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"GltL"
)},
"data-v-6831fda6"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
webpackJsonp
([
50
],{
GltL
:
function
(
t
,
e
){},
m9dW
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"bzW+"
),
n
=
a
(
"Qie6"
),
c
=
a
(
"NKg7"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
288
+
"px"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"企业信息"
,
icon
:
"iconqiyexinxi"
},{
tabId
:
"2"
,
tabName
:
"管理员列表"
,
icon
:
"iconguanliyuanliebiao"
},{
tabId
:
"3"
,
tabName
:
"素材库"
,
icon
:
"iconsucaiku"
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"enterpriseSet"
);
break
;
case
"2"
:
this
.
changeRoute
(
"adminList"
);
break
;
case
"3"
:
this
.
changeRoute
(
"material"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){},
deep
:
!
0
},
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
i
.
a
,
commonDetailLeft
:
n
.
a
,
vueOfficeHeader
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"enterprise-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
},[
a
(
"div"
,{
staticClass
:
"right-content border-box"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
,
staticStyle
:{
"min-height"
:
"calc(100vh - 86px)"
}},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right border-box"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])])])])])],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"GltL"
)},
"data-v-6831fda6"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/app.
fbb3136fab9d41167809
.js
→
dist/static/js/app.
cf3d422967a0513b0625
.js
View file @
c6934b38
webpackJsonp
([
81
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
a
){
a
(
"j1ja"
),
e
.
exports
=
a
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
a
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
n
){
a
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
n
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
r
=
(
a
(
"j1ja"
),
a
(
"hKoQ"
)),
p
=
a
.
n
(
r
),
s
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
s
,
!
1
,
function
(
e
){
a
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
a
(
"lRwf"
),
u
=
a
.
n
(
c
),
m
=
a
(
"pRNm"
),
d
=
a
.
n
(
m
),
l
=
a
(
"5tgt"
),
h
=
a
.
n
(
l
);
u
.
a
.
use
(
d
.
a
);
var
v
=
function
(
e
){
a
.
e
(
1
).
then
(
a
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
g
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
h
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
h
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"contactsList"
,
component
:
h
()(
"business"
,
"index"
),
children
:[{
path
:
"/contactsList"
,
name
:
"通讯录"
,
component
:
h
()(
"business"
,
"contacts"
)},{
path
:
"/syncLog"
,
name
:
"通讯录日志"
,
component
:
h
()(
"business"
,
"syncLog"
)},{
path
:
"/authMerchant"
,
name
:
"授权商户"
,
component
:
h
()(
"business"
,
"authMerchant"
)}]},{
path
:
"/enterprise"
,
name
:
"企业设置"
,
redirect
:
"enterpriseSet"
,
component
:
h
()(
"enterprise"
,
"index"
),
children
:[{
path
:
"/enterpriseSet"
,
name
:
"企业信息"
,
component
:
h
()(
"enterprise"
,
"enterpriseSet"
)},{
path
:
"/adminList"
,
name
:
"企业信息"
,
component
:
h
()(
"enterprise"
,
"adminList"
)},{
path
:
"/material"
,
name
:
"素材库"
,
component
:
h
()(
"enterprise"
,
"material"
)}]},{
path
:
"/overStore"
,
name
:
"溢出门店"
,
redirect
:
"unreview"
,
component
:
h
()(
"overstore"
,
"index"
),
children
:[{
path
:
"/overStoreList"
,
name
:
"溢出门店"
,
component
:
h
()(
"overstore"
,
"overStoreList"
)}]},{
path
:
"/apps"
,
name
:
"企业应用"
,
redirect
:
"mycustomer"
,
component
:
h
()(
"apps"
,
"index"
),
children
:[{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memberShowSet"
,
component
:
h
()(
"apps/customerApp"
,
"index"
),
children
:[{
path
:
"/memberShowSet"
,
name
:
"会员展示设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberShowSet"
)},{
path
:
"/memberGroupSet"
,
name
:
"会员分组设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberGroupSet"
)},{
path
:
"/memberSearchSet"
,
name
:
"会员搜索设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberSearchSet"
)},{
path
:
"/myCustomerList"
,
name
:
"我的顾客列表"
,
component
:
h
()(
"apps/customerApp"
,
"myCustomerList"
)},{
path
:
"/addGroupTemplate"
,
name
:
"添加模板"
,
component
:
h
()(
"apps/customerApp"
,
"addGroupTemplate"
)},{
path
:
"/storeRangeSet"
,
name
:
"门店范围设置"
,
component
:
h
()(
"apps/customerApp"
,
"storeRangeSet"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
h
()(
"apps/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyExport"
,
name
:
"云日报导出"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyExport"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
h
()(
"apps/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
h
()(
"apps/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
h
()(
"apps/cloudDaily"
,
"customReport"
)},{
path
:
"/customReportSet"
,
name
:
"自定义报表设置"
,
component
:
h
()(
"apps/cloudDaily"
,
"customReportSet"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
h
()(
"apps/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
h
()(
"apps/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskView"
,
name
:
"话务任务记录"
,
component
:
h
()(
"apps/trafficTask"
,
"taskView"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
h
()(
"apps/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
h
()(
"apps/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
h
()(
"apps/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
h
()(
"apps/badEvaluate"
,
"badEvaluateSet"
)},{
path
:
"/taskList"
,
name
:
"会话任务列表"
,
component
:
h
()(
"apps/trafficTask"
,
"taskList"
)},{
path
:
"/newSession"
,
name
:
"新建会话任务"
,
component
:
h
()(
"apps/trafficTask"
,
"newSession"
)},{
path
:
"/taskSessionSet"
,
name
:
"会话任务设置"
,
component
:
h
()(
"apps/trafficTask"
,
"taskSessionSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
h
()(
"apps/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
h
()(
"apps/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
h
()(
"apps/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
h
()(
"apps/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
h
()(
"apps/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
h
()(
"apps/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
h
()(
"apps/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/cardList"
,
name
:
"卡券赠送"
,
redirect
:
"/cardList"
,
component
:
h
()(
"apps/card"
,
"index"
),
children
:[{
path
:
"/cardList"
,
name
:
"卡券列表"
,
component
:
h
()(
"apps/card"
,
"cardList"
)},{
path
:
"/cardRecord"
,
name
:
"卡券记录"
,
component
:
h
()(
"apps/card"
,
"cardRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
h
()(
"apps/card"
,
"newCard"
)}]},{
path
:
"/protectCard"
,
name
:
"内购券"
,
redirect
:
"/cardTemplate"
,
component
:
h
()(
"apps/protectCard"
,
"index"
),
children
:[{
path
:
"/cardTemplate"
,
name
:
"卡券模板"
,
component
:
h
()(
"apps/protectCard"
,
"cardTemplate"
)},{
path
:
"/newCardTemp"
,
name
:
"新建模板"
,
component
:
h
()(
"apps/protectCard"
,
"newCardTemp"
)},{
path
:
"/cardStrategy"
,
name
:
"卡券策略"
,
component
:
h
()(
"apps/protectCard"
,
"cardStrategy"
)},{
path
:
"/newCardStrategy"
,
name
:
"新建策略"
,
component
:
h
()(
"apps/protectCard"
,
"newCardStrategy"
)},{
path
:
"/cardPut"
,
name
:
"内购券投放"
,
component
:
h
()(
"apps/protectCard"
,
"cardPut"
)},{
path
:
"/newCardPut"
,
name
:
"新建补发"
,
component
:
h
()(
"apps/protectCard"
,
"newCardPut"
)},{
path
:
"/cardPutRecord"
,
name
:
"投放记录"
,
component
:
h
()(
"apps/protectCard"
,
"cardPutRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"领取记录"
,
component
:
h
()(
"apps/protectCard"
,
"cardGetRecord"
)}]},{
path
:
"/shoppingCenter"
,
name
:
"商品中心"
,
redirect
:
"/goodsShowSet"
,
component
:
h
()(
"apps/shoppingCenter"
,
"index"
),
children
:[{
path
:
"/goodsShowSet"
,
name
:
"商品展示设置"
,
component
:
h
()(
"apps/shoppingCenter"
,
"goodsShowSet"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
h
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
h
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
h
()(
"reviewCenter"
,
"unreview"
)},{
path
:
"/reviewSet"
,
name
:
"审核设置"
,
component
:
h
()(
"reviewCenter"
,
"reviewSet"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
h
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
v
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
v
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
v
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
S
=
new
d
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
w
=
a
(
"zL8q"
),
D
=
a
.
n
(
w
),
k
=
a
(
"Rf8U"
),
y
=
a
.
n
(
k
),
x
=
a
(
"mtWM"
),
T
=
a
.
n
(
x
),
C
=
a
(
"bOdI"
),
b
=
a
.
n
(
C
),
R
=
a
(
"SJI6"
),
A
=
a
.
n
(
R
);
u
.
a
.
use
(
A
.
a
);
var
L
=
new
A
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
addDepartment
:[],
editDepartment
:[],
delDepartment
:[]},
mutations
:(
f
=
{},
b
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
b
()(
f
,
"saveAdd"
,
function
(
e
,
t
){
e
.
addDepartment
.
push
(
t
)}),
b
()(
f
,
"saveEdit"
,
function
(
e
,
t
){
e
.
editDepartment
.
push
(
t
)}),
b
()(
f
,
"saveDel"
,
function
(
e
,
t
){
e
.
delDepartment
.
push
(
t
)}),
b
()(
f
,
"clearAdd"
,
function
(
e
){
e
.
addDepartment
=
[]}),
b
()(
f
,
"clearEdit"
,
function
(
e
){
e
.
editDepartment
=
[]}),
b
()(
f
,
"clearData"
,
function
(
e
){
e
.
addDepartment
=
[],
e
.
editDepartment
=
[],
e
.
delDepartment
=
[]}),
f
),
actions
:{
saveAddInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveAdd"
,
t
)},
saveEditInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveEdit"
,
t
)},
saveDelInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveDel"
,
t
)},
clearAddData
:
function
(
e
,
t
){
e
.
commit
(
"clearAdd"
)},
clearEditData
:
function
(
e
,
t
){
e
.
commit
(
"clearEdit"
)},
clearTreeData
:
function
(
e
,
t
){
e
.
commit
(
"clearData"
)}}}),
M
=
(
a
(
"4qCZ"
),
a
(
"tvR6"
),
a
(
"uKUT"
),
a
(
"Xcu2"
),
a
(
"xtVA"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
a
=
new
Date
(
e
),
n
=
{
"M+"
:
a
.
getMonth
()
+
1
,
"D+"
:
a
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
a
.
getDay
()),
"h+"
:
a
.
getHours
(),
"m+"
:
a
.
getMinutes
(),
"s+"
:
a
.
getSeconds
(),
"q+"
:
Math
.
floor
((
a
.
getMonth
()
+
3
)
/
3
),
S
:
a
.
getMilliseconds
()};
for
(
var
o
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
a
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
n
)
new
RegExp
(
"("
+
o
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
n
[
o
]:(
"00"
+
n
[
o
]).
substr
((
""
+
n
[
o
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
timeStampToYm
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
}},
timeStampToHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}},
formatTimeYmdHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
o
+
"."
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
formatPhoneNum
:
function
(
e
){
return
e
?(
e
=
e
.
toString
()).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
11
):
""
},
formatName
:
function
(
e
){
return
e
?
"**"
+
(
e
=
e
.
toString
()).
substr
(
e
.
length
-
1
,
e
.
length
):
""
},
timeStampSpace
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
a
<
0
)
return
""
;
var
n
=
a
%
864
e5
,
o
=
n
%
36
e5
;
return
Math
.
floor
(
a
/
864
e5
)
+
"天"
+
Math
.
floor
(
n
/
36
e5
)
+
"小时"
+
Math
.
floor
(
o
/
6
e4
)
+
"分"
}}}),
E
=
a
(
"TUaa"
),
P
=
a
.
n
(
E
),
V
=
a
(
"tyqE"
),
q
=
a
.
n
(
V
),
I
=
a
(
"pRVe"
),
H
=
a
.
n
(
I
),
G
=
a
(
"XsK6"
),
j
=
a
.
n
(
G
),
Y
=
a
(
"QRL9"
),
F
=
a
.
n
(
Y
),
N
=
a
(
"2Pnh"
),
O
=
a
.
n
(
N
),
J
=
a
(
"l9mu"
),
X
=
a
.
n
(
J
),
U
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
O
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
a
=
t
.
width
,
n
=
t
.
height
,
o
=
a
/
592.28
*
841.89
,
r
=
n
,
p
=
0
,
s
=
592.28
/
a
*
n
,
i
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
X
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
c
.
addImage
(
i
,
"JPEG"
,
0
,
0
,
595.28
,
s
);
else
for
(;
r
>
0
;)
c
.
addImage
(
i
,
"JPEG"
,
0
,
p
,
595.28
,
s
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}},
z
=
a
(
"/IwO"
),
K
=
a
.
n
(
z
);
p
.
a
.
polyfill
(),
Vue
.
use
(
K
.
a
),
K
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
U
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
F
.
a
),
Vue
.
use
(
H
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
use
(
P
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
D
.
a
,{
size
:
"large"
}),
Vue
.
use
(
y
.
a
,
T
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
o
()(
M
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
M
[
e
])}),
S
.
beforeEach
(
function
(
e
,
t
,
a
){
window
.
axiosPromiseArr
&&
axiosPromiseArr
.
forEach
(
function
(
e
,
t
){
e
.
cancel
(),
delete
axiosPromiseArr
[
t
]});
var
n
=
window
.
location
.
origin
;
n
.
indexOf
(
"localhost"
),
localStorage
.
getItem
(
"userInfos"
),
"/"
==
e
.
path
?
a
({
path
:
"/login"
}):
a
()}),
new
Vue
({
el
:
"#app"
,
router
:
S
,
store
:
L
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
a
){
var
n
=
{
"./apps/badEvaluate/badEvaluateDetail.vue"
:[
"Yz8m"
,
0
,
68
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
32
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
71
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
29
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
35
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
18
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
39
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
11
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
40
],
"./apps/cloudDaily/customReportSet.vue"
:[
"LTPC"
,
0
,
3
],
"./apps/cloudDaily/dailyDetail.vue"
:[
"JwJ7"
,
0
,
14
],
"./apps/cloudDaily/dailyExport.vue"
:[
"H3Dc"
,
0
,
23
],
"./apps/cloudDaily/dailyRecord.vue"
:[
"IuWw"
,
0
,
72
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
33
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
6
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
38
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
53
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
54
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
64
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
78
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
59
],
"./apps/customerApp/addGroupTemplate.vue"
:[
"vIlm"
,
0
,
21
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
69
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
50
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
67
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
63
],
"./apps/customerApp/myCustomerList.vue"
:[
"9CCr"
,
0
,
7
],
"./apps/customerApp/storeRangeSet.vue"
:[
"z3jf"
,
0
,
12
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
57
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
42
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
45
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
43
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
26
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
44
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
74
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
9
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
8
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
37
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
75
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
62
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
60
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
30
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
79
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
65
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
70
],
"./apps/shoppingCenter/goodsShowSet.vue"
:[
"XrL3"
,
0
,
52
],
"./apps/shoppingCenter/index.vue"
:[
"FIFf"
,
0
,
51
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
34
],
"./apps/trafficTask/newSession.vue"
:[
"upTI"
,
0
,
76
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
16
],
"./apps/trafficTask/taskList.vue"
:[
"FMQe"
,
0
,
55
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
48
],
"./apps/trafficTask/taskSessionSet.vue"
:[
"lPa5"
,
0
,
46
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
24
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
73
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
47
],
"./business/authMerchant.vue"
:[
"mjMK"
,
0
,
17
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
5
],
"./business/index.vue"
:[
"jPcV"
,
0
,
77
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
4
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
66
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
25
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
56
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
13
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
49
],
"./enterprise/material.vue"
:[
"q+Sm"
,
0
,
2
],
"./errorPage/403.vue"
:[
"6XGN"
,
22
],
"./errorPage/404.vue"
:[
"AejC"
,
27
],
"./errorPage/500.vue"
:[
"FskK"
,
20
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
28
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
58
],
"./login/index.vue"
:[
"T+/8"
,
0
,
19
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
61
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
31
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
36
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
41
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
15
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
10
]};
function
o
(
e
){
var
t
=
n
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
a
.
e
)).
then
(
function
(){
return
a
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
n
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
tvR6
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){},
xtVA
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
webpackJsonp
([
81
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
a
){
a
(
"j1ja"
),
e
.
exports
=
a
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
a
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
n
){
a
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
n
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
r
=
(
a
(
"j1ja"
),
a
(
"hKoQ"
)),
p
=
a
.
n
(
r
),
s
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
s
,
!
1
,
function
(
e
){
a
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
a
(
"lRwf"
),
u
=
a
.
n
(
c
),
m
=
a
(
"pRNm"
),
d
=
a
.
n
(
m
),
l
=
a
(
"5tgt"
),
h
=
a
.
n
(
l
);
u
.
a
.
use
(
d
.
a
);
var
v
=
function
(
e
){
a
.
e
(
1
).
then
(
a
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
g
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
h
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
h
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"contactsList"
,
component
:
h
()(
"business"
,
"index"
),
children
:[{
path
:
"/contactsList"
,
name
:
"通讯录"
,
component
:
h
()(
"business"
,
"contacts"
)},{
path
:
"/syncLog"
,
name
:
"通讯录日志"
,
component
:
h
()(
"business"
,
"syncLog"
)},{
path
:
"/authMerchant"
,
name
:
"授权商户"
,
component
:
h
()(
"business"
,
"authMerchant"
)}]},{
path
:
"/enterprise"
,
name
:
"企业设置"
,
redirect
:
"enterpriseSet"
,
component
:
h
()(
"enterprise"
,
"index"
),
children
:[{
path
:
"/enterpriseSet"
,
name
:
"企业信息"
,
component
:
h
()(
"enterprise"
,
"enterpriseSet"
)},{
path
:
"/adminList"
,
name
:
"企业信息"
,
component
:
h
()(
"enterprise"
,
"adminList"
)},{
path
:
"/material"
,
name
:
"素材库"
,
component
:
h
()(
"enterprise"
,
"material"
)}]},{
path
:
"/overStore"
,
name
:
"溢出门店"
,
redirect
:
"unreview"
,
component
:
h
()(
"overstore"
,
"index"
),
children
:[{
path
:
"/overStoreList"
,
name
:
"溢出门店"
,
component
:
h
()(
"overstore"
,
"overStoreList"
)}]},{
path
:
"/apps"
,
name
:
"企业应用"
,
redirect
:
"mycustomer"
,
component
:
h
()(
"apps"
,
"index"
),
children
:[{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memberShowSet"
,
component
:
h
()(
"apps/customerApp"
,
"index"
),
children
:[{
path
:
"/memberShowSet"
,
name
:
"会员展示设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberShowSet"
)},{
path
:
"/memberGroupSet"
,
name
:
"会员分组设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberGroupSet"
)},{
path
:
"/memberSearchSet"
,
name
:
"会员搜索设置"
,
component
:
h
()(
"apps/customerApp"
,
"memberSearchSet"
)},{
path
:
"/myCustomerList"
,
name
:
"我的顾客列表"
,
component
:
h
()(
"apps/customerApp"
,
"myCustomerList"
)},{
path
:
"/addGroupTemplate"
,
name
:
"添加模板"
,
component
:
h
()(
"apps/customerApp"
,
"addGroupTemplate"
)},{
path
:
"/storeRangeSet"
,
name
:
"门店范围设置"
,
component
:
h
()(
"apps/customerApp"
,
"storeRangeSet"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
h
()(
"apps/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyExport"
,
name
:
"云日报导出"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyExport"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
h
()(
"apps/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
h
()(
"apps/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
h
()(
"apps/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
h
()(
"apps/cloudDaily"
,
"customReport"
)},{
path
:
"/customReportSet"
,
name
:
"自定义报表设置"
,
component
:
h
()(
"apps/cloudDaily"
,
"customReportSet"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
h
()(
"apps/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
h
()(
"apps/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskView"
,
name
:
"话务任务记录"
,
component
:
h
()(
"apps/trafficTask"
,
"taskView"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
h
()(
"apps/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
h
()(
"apps/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
h
()(
"apps/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
h
()(
"apps/badEvaluate"
,
"badEvaluateSet"
)},{
path
:
"/taskList"
,
name
:
"会话任务列表"
,
component
:
h
()(
"apps/trafficTask"
,
"taskList"
)},{
path
:
"/newSession"
,
name
:
"新建会话任务"
,
component
:
h
()(
"apps/trafficTask"
,
"newSession"
)},{
path
:
"/taskSessionSet"
,
name
:
"会话任务设置"
,
component
:
h
()(
"apps/trafficTask"
,
"taskSessionSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
h
()(
"apps/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
h
()(
"apps/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
h
()(
"apps/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
h
()(
"apps/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
h
()(
"apps/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
h
()(
"apps/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
h
()(
"apps/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/cardList"
,
name
:
"卡券赠送"
,
redirect
:
"/cardList"
,
component
:
h
()(
"apps/card"
,
"index"
),
children
:[{
path
:
"/cardList"
,
name
:
"卡券列表"
,
component
:
h
()(
"apps/card"
,
"cardList"
)},{
path
:
"/cardRecord"
,
name
:
"卡券记录"
,
component
:
h
()(
"apps/card"
,
"cardRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
h
()(
"apps/card"
,
"newCard"
)}]},{
path
:
"/protectCard"
,
name
:
"内购券"
,
redirect
:
"/cardTemplate"
,
component
:
h
()(
"apps/protectCard"
,
"index"
),
children
:[{
path
:
"/cardTemplate"
,
name
:
"卡券模板"
,
component
:
h
()(
"apps/protectCard"
,
"cardTemplate"
)},{
path
:
"/newCardTemp"
,
name
:
"新建模板"
,
component
:
h
()(
"apps/protectCard"
,
"newCardTemp"
)},{
path
:
"/cardStrategy"
,
name
:
"卡券策略"
,
component
:
h
()(
"apps/protectCard"
,
"cardStrategy"
)},{
path
:
"/newCardStrategy"
,
name
:
"新建策略"
,
component
:
h
()(
"apps/protectCard"
,
"newCardStrategy"
)},{
path
:
"/cardPut"
,
name
:
"内购券投放"
,
component
:
h
()(
"apps/protectCard"
,
"cardPut"
)},{
path
:
"/newCardPut"
,
name
:
"新建补发"
,
component
:
h
()(
"apps/protectCard"
,
"newCardPut"
)},{
path
:
"/cardPutRecord"
,
name
:
"投放记录"
,
component
:
h
()(
"apps/protectCard"
,
"cardPutRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"领取记录"
,
component
:
h
()(
"apps/protectCard"
,
"cardGetRecord"
)}]},{
path
:
"/shoppingCenter"
,
name
:
"商品中心"
,
redirect
:
"/goodsShowSet"
,
component
:
h
()(
"apps/shoppingCenter"
,
"index"
),
children
:[{
path
:
"/goodsShowSet"
,
name
:
"商品展示设置"
,
component
:
h
()(
"apps/shoppingCenter"
,
"goodsShowSet"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
h
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
h
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
h
()(
"reviewCenter"
,
"unreview"
)},{
path
:
"/reviewSet"
,
name
:
"审核设置"
,
component
:
h
()(
"reviewCenter"
,
"reviewSet"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
h
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
v
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
v
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
v
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
S
=
new
d
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
w
=
a
(
"zL8q"
),
D
=
a
.
n
(
w
),
k
=
a
(
"Rf8U"
),
y
=
a
.
n
(
k
),
x
=
a
(
"mtWM"
),
T
=
a
.
n
(
x
),
C
=
a
(
"bOdI"
),
b
=
a
.
n
(
C
),
R
=
a
(
"SJI6"
),
A
=
a
.
n
(
R
);
u
.
a
.
use
(
A
.
a
);
var
L
=
new
A
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
addDepartment
:[],
editDepartment
:[],
delDepartment
:[]},
mutations
:(
f
=
{},
b
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
b
()(
f
,
"saveAdd"
,
function
(
e
,
t
){
e
.
addDepartment
.
push
(
t
)}),
b
()(
f
,
"saveEdit"
,
function
(
e
,
t
){
e
.
editDepartment
.
push
(
t
)}),
b
()(
f
,
"saveDel"
,
function
(
e
,
t
){
e
.
delDepartment
.
push
(
t
)}),
b
()(
f
,
"clearAdd"
,
function
(
e
){
e
.
addDepartment
=
[]}),
b
()(
f
,
"clearEdit"
,
function
(
e
){
e
.
editDepartment
=
[]}),
b
()(
f
,
"clearData"
,
function
(
e
){
e
.
addDepartment
=
[],
e
.
editDepartment
=
[],
e
.
delDepartment
=
[]}),
f
),
actions
:{
saveAddInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveAdd"
,
t
)},
saveEditInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveEdit"
,
t
)},
saveDelInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveDel"
,
t
)},
clearAddData
:
function
(
e
,
t
){
e
.
commit
(
"clearAdd"
)},
clearEditData
:
function
(
e
,
t
){
e
.
commit
(
"clearEdit"
)},
clearTreeData
:
function
(
e
,
t
){
e
.
commit
(
"clearData"
)}}}),
M
=
(
a
(
"4qCZ"
),
a
(
"tvR6"
),
a
(
"uKUT"
),
a
(
"Xcu2"
),
a
(
"xtVA"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
a
=
new
Date
(
e
),
n
=
{
"M+"
:
a
.
getMonth
()
+
1
,
"D+"
:
a
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
a
.
getDay
()),
"h+"
:
a
.
getHours
(),
"m+"
:
a
.
getMinutes
(),
"s+"
:
a
.
getSeconds
(),
"q+"
:
Math
.
floor
((
a
.
getMonth
()
+
3
)
/
3
),
S
:
a
.
getMilliseconds
()};
for
(
var
o
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
a
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
n
)
new
RegExp
(
"("
+
o
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
n
[
o
]:(
"00"
+
n
[
o
]).
substr
((
""
+
n
[
o
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
timeStampToYm
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
}},
timeStampToHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}},
formatTimeYmdHms
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
r
=
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
(),
p
=
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
(),
s
=
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
();
return
t
.
getFullYear
()
+
"."
+
o
+
"."
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
s
}},
formatPhoneNum
:
function
(
e
){
return
e
?(
e
=
e
.
toString
()).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
11
):
""
},
formatName
:
function
(
e
){
return
e
?
"**"
+
(
e
=
e
.
toString
()).
substr
(
e
.
length
-
1
,
e
.
length
):
""
},
timeStampSpace
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
a
<
0
)
return
""
;
var
n
=
a
%
864
e5
,
o
=
n
%
36
e5
;
return
Math
.
floor
(
a
/
864
e5
)
+
"天"
+
Math
.
floor
(
n
/
36
e5
)
+
"小时"
+
Math
.
floor
(
o
/
6
e4
)
+
"分"
}}}),
E
=
a
(
"TUaa"
),
P
=
a
.
n
(
E
),
V
=
a
(
"tyqE"
),
q
=
a
.
n
(
V
),
I
=
a
(
"pRVe"
),
H
=
a
.
n
(
I
),
G
=
a
(
"XsK6"
),
j
=
a
.
n
(
G
),
Y
=
a
(
"QRL9"
),
F
=
a
.
n
(
Y
),
N
=
a
(
"2Pnh"
),
O
=
a
.
n
(
N
),
J
=
a
(
"l9mu"
),
X
=
a
.
n
(
J
),
U
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
O
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
a
=
t
.
width
,
n
=
t
.
height
,
o
=
a
/
592.28
*
841.89
,
r
=
n
,
p
=
0
,
s
=
592.28
/
a
*
n
,
i
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
X
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
c
.
addImage
(
i
,
"JPEG"
,
0
,
0
,
595.28
,
s
);
else
for
(;
r
>
0
;)
c
.
addImage
(
i
,
"JPEG"
,
0
,
p
,
595.28
,
s
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}},
z
=
a
(
"/IwO"
),
K
=
a
.
n
(
z
);
p
.
a
.
polyfill
(),
Vue
.
use
(
K
.
a
),
K
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
U
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
F
.
a
),
Vue
.
use
(
H
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
use
(
P
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
D
.
a
,{
size
:
"large"
}),
Vue
.
use
(
y
.
a
,
T
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
o
()(
M
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
M
[
e
])}),
S
.
beforeEach
(
function
(
e
,
t
,
a
){
window
.
axiosPromiseArr
&&
axiosPromiseArr
.
forEach
(
function
(
e
,
t
){
e
.
cancel
(),
delete
axiosPromiseArr
[
t
]});
var
n
=
window
.
location
.
origin
;
n
.
indexOf
(
"localhost"
),
localStorage
.
getItem
(
"userInfos"
),
"/"
==
e
.
path
?
a
({
path
:
"/login"
}):
a
()}),
new
Vue
({
el
:
"#app"
,
router
:
S
,
store
:
L
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
a
){
var
n
=
{
"./apps/badEvaluate/badEvaluateDetail.vue"
:[
"Yz8m"
,
0
,
68
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
32
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
71
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
29
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
36
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
18
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
40
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
11
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
41
],
"./apps/cloudDaily/customReportSet.vue"
:[
"LTPC"
,
0
,
3
],
"./apps/cloudDaily/dailyDetail.vue"
:[
"JwJ7"
,
0
,
14
],
"./apps/cloudDaily/dailyExport.vue"
:[
"H3Dc"
,
0
,
23
],
"./apps/cloudDaily/dailyRecord.vue"
:[
"IuWw"
,
0
,
72
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
34
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
6
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
39
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
53
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
54
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
64
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
78
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
59
],
"./apps/customerApp/addGroupTemplate.vue"
:[
"vIlm"
,
0
,
21
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
69
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
33
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
67
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
63
],
"./apps/customerApp/myCustomerList.vue"
:[
"9CCr"
,
0
,
7
],
"./apps/customerApp/storeRangeSet.vue"
:[
"z3jf"
,
0
,
12
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
57
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
43
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
46
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
44
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
26
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
45
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
74
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
9
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
8
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
38
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
75
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
62
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
60
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
30
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
79
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
65
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
70
],
"./apps/shoppingCenter/goodsShowSet.vue"
:[
"XrL3"
,
0
,
52
],
"./apps/shoppingCenter/index.vue"
:[
"FIFf"
,
0
,
51
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
35
],
"./apps/trafficTask/newSession.vue"
:[
"upTI"
,
0
,
76
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
16
],
"./apps/trafficTask/taskList.vue"
:[
"FMQe"
,
0
,
55
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
49
],
"./apps/trafficTask/taskSessionSet.vue"
:[
"lPa5"
,
0
,
47
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
24
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
73
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
48
],
"./business/authMerchant.vue"
:[
"mjMK"
,
0
,
17
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
5
],
"./business/index.vue"
:[
"jPcV"
,
0
,
77
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
4
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
66
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
25
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
56
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
13
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
50
],
"./enterprise/material.vue"
:[
"q+Sm"
,
0
,
2
],
"./errorPage/403.vue"
:[
"6XGN"
,
22
],
"./errorPage/404.vue"
:[
"AejC"
,
27
],
"./errorPage/500.vue"
:[
"FskK"
,
20
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
28
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
58
],
"./login/index.vue"
:[
"T+/8"
,
0
,
19
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
61
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
31
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
37
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
42
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
15
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
10
]};
function
o
(
e
){
var
t
=
n
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
a
.
e
)).
then
(
function
(){
return
a
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
n
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
tvR6
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){},
xtVA
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
dist/static/js/manifest.
8f5a4b602797b9f5c511
.js
→
dist/static/js/manifest.
b2f6aec797f421e4fafe
.js
View file @
c6934b38
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
82
:
0
};
function
d
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
d
),
c
.
l
=!
0
,
c
.
exports
}
d
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
a
=
c
[
e
]
=
[
f
,
d
]});
a
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"860bfa3cb8eb468b7ed1"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"2025d32c544f960c7161"
,
3
:
"fa5df1794f801e789b11"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"d493a299eefcfbd9f885"
,
6
:
"987ab930d70320e9de11"
,
7
:
"ac61d64191300dcbad81"
,
8
:
"6688862270a7a115521b"
,
9
:
"d57dfc616b3e0f0d78be"
,
10
:
"98698b3c8fa85f2c73c2"
,
11
:
"5ffb75c5ae3d06880ce1"
,
12
:
"0245d086fae5db092ad2"
,
13
:
"8676feea9b0f73967926"
,
14
:
"24239555b415fe7edf8c"
,
15
:
"df2516fb08ca009d145d"
,
16
:
"2e67d6b713d29f49454e"
,
17
:
"ffa8fd78809f2051ab27"
,
18
:
"8cd0bfcbfb9f6254b106"
,
19
:
"f36008a4491a333b3887"
,
20
:
"3739332a7b56b9610431"
,
21
:
"9c608367dab46c0e68ae"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"da634068aad0d43b1782"
,
24
:
"a52e765f3df0d6ea7e2b"
,
25
:
"a5537c1d298202ec2d74"
,
26
:
"0c0205429ea984472ac7"
,
27
:
"8bed912372597d7f4c57"
,
28
:
"98452bee44f7db19337e"
,
29
:
"37020a9a8d8a8f81a1f6"
,
30
:
"932fc302ceecee1b6384"
,
31
:
"4d9ac0c02c2d4057249a"
,
32
:
"c4ae2d1aefad1fbb109c"
,
33
:
"44871ddf09ebcfc436d6"
,
34
:
"c1a5e41fb8bcf17d004f"
,
35
:
"e023fa238e7691eb1527"
,
36
:
"51b02b73672ce25ec14b"
,
37
:
"8e5482d247e1f5aa8b5b"
,
38
:
"a12c3a87a17a924101d7"
,
39
:
"063d669896366a6e6b58"
,
40
:
"7f17d7bce0d27f3ee312"
,
41
:
"dae657fc2fc109c658ba"
,
42
:
"de3583b37fa986a4fe6f"
,
43
:
"affdb37e74870705945f"
,
44
:
"815c87997439a3cb3042"
,
45
:
"938fbeb9f8817c20a2b8"
,
46
:
"fe0bf00b35cec5dc3837"
,
47
:
"d363f613cf1721b7b90f"
,
48
:
"8a6ddeec4ed66e326eaa"
,
49
:
"cd77eead6429acd42da4"
,
50
:
"2a041222061152028e68"
,
51
:
"cef48bb077d7adfd0393"
,
52
:
"c08c7b3a53f5403edcb7"
,
53
:
"10ff6c8961898574121c"
,
54
:
"057590a3480a333bd474"
,
55
:
"5f1b03a94c3766211629"
,
56
:
"a5e94ef1388ec3d5d140"
,
57
:
"a1cc71a54d78f43d12bb"
,
58
:
"b8ef8eb345482f342fb9"
,
59
:
"db51a7f4c51421d4f9bc"
,
60
:
"6181669a473ea429f22a"
,
61
:
"1c97fc1aa04abac9cbfd"
,
62
:
"eb45a799f9d528252b5d"
,
63
:
"c54a14745b6e20af761c"
,
64
:
"2e546d02be42fac0c64d"
,
65
:
"bc4b4e0e03d6e5b78926"
,
66
:
"365269d3ff43b91946fe"
,
67
:
"6a50f751fa01a4b705dd"
,
68
:
"99f7d501c66f61e0a56a"
,
69
:
"5426a9f80e3808aac128"
,
70
:
"2e0e12de9a72951a0cc8"
,
71
:
"1730b154501db72324c2"
,
72
:
"74be2e910bb079c94ae5"
,
73
:
"7bfbeaa07d92afa9ff97"
,
74
:
"61f8d00f7b5daf9b315a"
,
75
:
"db3fed59d5479f7a0e68"
,
76
:
"17e932433f889bef98c9"
,
77
:
"1ca8827ee674c2bf8322"
,
78
:
"925a2c05ec6516adf1e6"
,
79
:
"59d04c094219fa1a9800"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
a
,
f
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
82
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"860bfa3cb8eb468b7ed1"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"2025d32c544f960c7161"
,
3
:
"fa5df1794f801e789b11"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"d493a299eefcfbd9f885"
,
6
:
"987ab930d70320e9de11"
,
7
:
"ac61d64191300dcbad81"
,
8
:
"6688862270a7a115521b"
,
9
:
"d57dfc616b3e0f0d78be"
,
10
:
"98698b3c8fa85f2c73c2"
,
11
:
"5ffb75c5ae3d06880ce1"
,
12
:
"0245d086fae5db092ad2"
,
13
:
"8676feea9b0f73967926"
,
14
:
"24239555b415fe7edf8c"
,
15
:
"df2516fb08ca009d145d"
,
16
:
"2e67d6b713d29f49454e"
,
17
:
"ffa8fd78809f2051ab27"
,
18
:
"8cd0bfcbfb9f6254b106"
,
19
:
"f36008a4491a333b3887"
,
20
:
"3739332a7b56b9610431"
,
21
:
"9c608367dab46c0e68ae"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"da634068aad0d43b1782"
,
24
:
"a52e765f3df0d6ea7e2b"
,
25
:
"a5537c1d298202ec2d74"
,
26
:
"0c0205429ea984472ac7"
,
27
:
"8bed912372597d7f4c57"
,
28
:
"98452bee44f7db19337e"
,
29
:
"37020a9a8d8a8f81a1f6"
,
30
:
"932fc302ceecee1b6384"
,
31
:
"4d9ac0c02c2d4057249a"
,
32
:
"c4ae2d1aefad1fbb109c"
,
33
:
"41335fb0be9dd78fd512"
,
34
:
"410398af20671e879461"
,
35
:
"d1a36a3d6b3a90c2bb5f"
,
36
:
"10d5f0ab0428267ba420"
,
37
:
"8f05d65ffc9ef20cfb3b"
,
38
:
"6a9bb31c1f90c96210c1"
,
39
:
"2599e9613caef55f751c"
,
40
:
"13ee52dc4832097dde95"
,
41
:
"1c7ad7462b20d739bfd0"
,
42
:
"b412deb1296e4926ae31"
,
43
:
"c4327dbbe9d97630f122"
,
44
:
"99e7d13e393e3a25b2e7"
,
45
:
"2541a955b1a647400bc5"
,
46
:
"7b65373ef8a204dfac59"
,
47
:
"e64057254b53ae3fa692"
,
48
:
"33b1806eb6afb10ad02c"
,
49
:
"b8cd158b6cd30ccb2906"
,
50
:
"a613c9b52259eb192c68"
,
51
:
"cef48bb077d7adfd0393"
,
52
:
"c08c7b3a53f5403edcb7"
,
53
:
"10ff6c8961898574121c"
,
54
:
"057590a3480a333bd474"
,
55
:
"5f1b03a94c3766211629"
,
56
:
"a5e94ef1388ec3d5d140"
,
57
:
"a1cc71a54d78f43d12bb"
,
58
:
"b8ef8eb345482f342fb9"
,
59
:
"db51a7f4c51421d4f9bc"
,
60
:
"6181669a473ea429f22a"
,
61
:
"1c97fc1aa04abac9cbfd"
,
62
:
"eb45a799f9d528252b5d"
,
63
:
"c54a14745b6e20af761c"
,
64
:
"2e546d02be42fac0c64d"
,
65
:
"bc4b4e0e03d6e5b78926"
,
66
:
"365269d3ff43b91946fe"
,
67
:
"6a50f751fa01a4b705dd"
,
68
:
"99f7d501c66f61e0a56a"
,
69
:
"5426a9f80e3808aac128"
,
70
:
"2e0e12de9a72951a0cc8"
,
71
:
"1730b154501db72324c2"
,
72
:
"74be2e910bb079c94ae5"
,
73
:
"7bfbeaa07d92afa9ff97"
,
74
:
"61f8d00f7b5daf9b315a"
,
75
:
"db3fed59d5479f7a0e68"
,
76
:
"17e932433f889bef98c9"
,
77
:
"1ca8827ee674c2bf8322"
,
78
:
"925a2c05ec6516adf1e6"
,
79
:
"59d04c094219fa1a9800"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/apps/customerApp/memberGroupSet.vue
View file @
c6934b38
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-06-28 1
1:13:13
* @LastEditTime: 2020-06-28 1
5:44:37
-->
<!--
...
...
@@ -551,6 +551,9 @@ export default {
that
.
getGroupClassSet
(
that
.
brandId
);
that
.
getSyncDate
(
that
.
brandId
);
}
if
(
that
.
activeName
==
'second'
)
{
that
.
getTableList
();
}
}
},
mounted
()
{
...
...
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