Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
office-web
Commits
3d3bbe4f
Commit
3d3bbe4f
authored
Dec 15, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改卡券
parent
d344cd13
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
index.html
dist/index.html
+2
-2
app.f585b4c0ce8deda7ba9434d71ea7eb34.css
dist/static/css/app.f585b4c0ce8deda7ba9434d71ea7eb34.css
+0
-0
24.0cf65e860beee78f7a6c.js
dist/static/js/24.0cf65e860beee78f7a6c.js
+2
-0
24.dbe5f7dfc5081aa39701.js
dist/static/js/24.dbe5f7dfc5081aa39701.js
+0
-2
manifest.18f41cf9bb78a4d667cc.js
dist/static/js/manifest.18f41cf9bb78a4d667cc.js
+2
-2
onlineChatSet.vue
src/views/enterpriseApp/myCustomer/onlineChatSet.vue
+2
-2
No files found.
dist/index.html
View file @
3d3bbe4f
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.00dbfbce4ba15b668a3466f52b1a2b9e.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.f09ec959504636346e6c.js
></script><script
type=
text/javascript
src=
./static/js/vendor.4cb881ee73a47d4b4440.js
></script><script
type=
text/javascript
src=
./static/js/app.7fc781e648e9d0eb7f04.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.f585b4c0ce8deda7ba9434d71ea7eb34.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.18f41cf9bb78a4d667cc.js
></script><script
type=
text/javascript
src=
./static/js/vendor.4cb881ee73a47d4b4440.js
></script><script
type=
text/javascript
src=
./static/js/app.7fc781e648e9d0eb7f04.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
00dbfbce4ba15b668a3466f52b1a2b9e
.css
→
dist/static/css/app.
f585b4c0ce8deda7ba9434d71ea7eb34
.css
View file @
3d3bbe4f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/24.0cf65e860beee78f7a6c.js
0 → 100644
View file @
3d3bbe4f
webpackJsonp
([
24
],{
"33SU"
:
function
(
t
,
e
){},
JDTu
:
function
(
t
,
e
){},
ahzF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"card-record-table"
,
props
:{
tableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
activeTab
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"52"
}}},
data
:
function
(){
return
{}},
filters
:{
percenteNum
:
function
(
t
){
return
t
>
0
?
Number
(
100
*
t
).
toFixed
(
2
)
+
"%"
:
Number
(
t
).
toFixed
(
2
)
+
"%"
}},
methods
:{
toSendDetail
:
function
(
t
,
e
,
a
){
this
.
$router
.
push
(
"/"
+
(
1
==
a
?
"cardSendRecord"
:
"cardGetRecord"
)
+
"?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&coupCardId="
+
e
.
coupCardId
)}}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"card-record-table m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
""
,
width
:
"96"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券数量,包含扫码发券数"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"发送数量"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
issuingQuantity
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
getedQuantity
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
getedRate
)))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"使用数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
usageQuantity
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
verificationRate
)))])]}}])}),
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
.
saleAmount
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券的导购总人数,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
sendMemberCount
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
width
:
"200"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"领取记录"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
t
){
a
(
"JDTu"
)},
"data-v-96f4e55e"
,
null
).
exports
,
r
=
{
name
:
"card-list-table"
,
props
:{
tableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
activeTab
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"51"
}}},
data
:
function
(){
return
{}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的分类?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
$emit
(
"delCard"
,
e
.
coupCardId
)}).
catch
(
function
(){})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCard?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&coupCardId="
+
e
.
coupCardId
)}}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
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"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
t
){
a
(
"33SU"
)},
"data-v-552374d2"
,
null
).
exports
,
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"PI0u"
),
f
=
{
name
:
"online-chat"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
cardRecordTable
:
i
,
cardListTable
:
n
},
data
:
function
(){
return
{
activeTab
:
"1"
,
leftData
:[{
tabId
:
"1"
,
tabName
:
"短信提醒"
},{
tabId
:
"2"
,
tabName
:
"模板消息"
},{
tabId
:
"3"
,
tabName
:
"图文"
},{
tabId
:
"4"
,
tabName
:
"商品"
},{
tabId
:
"5"
,
tabName
:
"卡券"
,
children
:[{
tabId
:
"51"
,
tabName
:
"卡券列表"
},{
tabId
:
"52"
,
tabName
:
"卡券记录"
}]}],
chatData
:{
chatFlag
:
!
1
,
isMessageRemind
:
!
1
,
messageRemindTime
:
""
,
isTemplateMessage
:
!
1
,
isImgMessage
:
!
1
,
isGoodMessage
:
!
1
,
isIntegralGoodMessage
:
!
1
},
rules
:{
messageRemindTime
:[{
required
:
!
0
,
message
:
"请选择时间"
,
trigger
:
"blur"
}]},
templateName
:
""
,
articleList
:[],
pageSize
:
4
,
pageNum
:
1
,
total
:
0
,
activeName
:
"first"
,
goodsList
:[],
pointList
:[],
cardCoupChatSwitch
:
!
1
,
cardListData
:[],
cardRecordData
:[]}},
methods
:{
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCard?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
delCard
:
function
(
t
){
this
.
delCardList
(
t
)},
toSendDetail
:
function
(
t
,
e
,
a
){
this
.
$router
.
push
(
"/sendRecord?activeTab="
+
this
.
activeTab
+
"&tabType="
+
a
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&relatedId="
+
(
e
.
id
||
e
.
goodId
))},
changeChatFlag
:
function
(){
this
.
postSave
(
this
.
brandId
)},
handleCurrentChange
:
function
(
t
){
this
.
pageNum
=
t
,
3
==
this
.
activeTab
?
this
.
getArticleList
(
this
.
brandId
):
4
==
this
.
activeTab
?
"first"
==
this
.
activeName
?
this
.
getGoodsList
(
this
.
brandId
):
this
.
getPointList
(
this
.
brandId
):
51
==
this
.
activeTab
?
this
.
getCardList
(
this
.
brandId
):
52
==
this
.
activeTab
&&
this
.
getCardRecord
(
this
.
brandId
)},
saveData
:
Object
(
p
.
a
)(
function
(
t
){
var
e
=
this
;
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postSave
(
e
.
brandId
)})},
500
),
postSave
:
function
(
t
){
var
e
=
this
;
e
.
pageNum
=
1
,
e
.
chatData
.
isIntegralGoodMessage
&&!
e
.
chatData
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
);
var
a
=
{
brandId
:
t
,
chatFlag
:
e
.
chatData
.
chatFlag
?
1
:
0
,
isMessageRemind
:
e
.
chatData
.
isMessageRemind
?
1
:
0
,
messageRemindTime
:
e
.
chatData
.
messageRemindTime
,
isTemplateMessage
:
e
.
chatData
.
isTemplateMessage
?
1
:
0
,
isImgMessage
:
e
.
chatData
.
isImgMessage
?
1
:
0
,
isGoodMessage
:
e
.
chatData
.
isGoodMessage
?
1
:
0
,
isIntegralGoodMessage
:
e
.
chatData
.
isIntegralGoodMessage
?
1
:
0
,
mainStoreFlag
:
e
.
chatData
.
mainStoreFlag
,
minorStoreFlag
:
e
.
chatData
.
minorStoreFlag
,
openCardStoreFlag
:
e
.
chatData
.
openCardStoreFlag
,
clerkSeeOtherFlag
:
e
.
chatData
.
clerkSeeOtherFlag
,
allowGuideContact
:
e
.
chatData
.
allowGuideContact
,
allowGuideMobile
:
e
.
chatData
.
allowGuideMobile
,
allowGuideMessage
:
e
.
chatData
.
allowGuideMessage
,
allowGuideOnlineChat
:
e
.
chatData
.
allowGuideOnlineChat
,
isSeeAuthMember
:
e
.
chatData
.
isSeeAuthMember
,
showFreezeFlag
:
e
.
chatData
.
showFreezeFlag
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/save-member-show-setting"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
if
(
1
==
s
.
errorCode
)
return
u
.
a
.
showmsg
(
"保存成功"
,
"success"
),
3
==
e
.
activeTab
&&
e
.
chatData
.
isImgMessage
&&
e
.
getArticleList
(
t
),
void
(
4
==
e
.
activeTab
&&
(
e
.
chatData
.
isGoodMessage
&&
e
.
getGoodsList
(
t
),
e
.
chatData
.
isIntegralGoodMessage
&&
e
.
getPointList
(
t
),
e
.
chatData
.
isIntegralGoodMessage
&&!
e
.
chatData
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
),
e
.
chatData
.
isGoodMessage
&&!
e
.
chatData
.
isIntegralGoodMessage
&&
(
e
.
activeName
=
"first"
)));
d
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeTab
:
function
(
t
){
if
(
t
.
children
)
return
this
.
activeTab
=
t
.
children
[
0
].
tabId
,
this
.
getCardSet
(
this
.
brandId
),
!
1
;
this
.
pageNum
=
1
,
this
.
activeTab
=
t
.
tabId
,
this
.
getChatSet
(
this
.
brandId
),
this
.
getCardSet
(
this
.
brandId
)},
handleTab
:
function
(
t
,
e
){
this
.
pageNum
=
1
,
"first"
==
t
.
name
?
this
.
getGoodsList
(
this
.
brandId
):
this
.
getPointList
(
this
.
brandId
)},
getTemplate
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_message_template"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
d
.
a
.
errorMsg
(
a
):
e
.
templateName
=
a
.
result
||
"--"
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getGoodsList
:
function
(
t
){
var
e
=
this
,
a
=
{
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
,
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_good_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
goodsList
=
a
.
result
.
list
||
[],
void
(
"first"
==
e
.
activeName
&&
(
e
.
total
=
a
.
result
.
total
));
e
.
goodsList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getPointList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_integal_good_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
pointList
=
a
.
result
.
list
||
[],
void
(
"second"
==
e
.
activeName
&&
(
e
.
total
=
a
.
result
.
total
));
e
.
pointList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getArticleList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_img_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
articleList
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
total
);
e
.
articleList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
e
.
brandId
,
coupCardId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/del-card-coup"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getCardList
(
e
.
brandId
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/find-card-page"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
cardListData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardRecord
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/find-card-log-page"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
cardRecordData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
postSaveCard
:
function
(
t
){
var
e
=
this
,
a
=
{
cardCoupChatSwitch
:
e
.
cardCoupChatSwitch
?
1
:
0
,
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/save-card-coup-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"设置成功"
,
"success"
),
void
(
e
.
cardCoupChatSwitch
&&
e
.
getCardList
(
e
.
brandId
));
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardSet
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find-card-coup-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
cardCoupChatSwitch
=
1
==
a
.
result
.
cardCoupChatSwitch
,
e
.
cardCoupChatSwitch
=
a
.
result
.
cardCoupChatSwitch
,
"51"
==
e
.
activeTab
&&
e
.
cardCoupChatSwitch
&&
(
e
.
pageSize
=
4
,
e
.
getCardList
(
e
.
brandId
)),
void
(
"52"
==
e
.
activeTab
&&
(
e
.
pageSize
=
6
,
e
.
getCardRecord
(
e
.
brandId
)));
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getChatSet
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find-online-chat-setting"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
1
!=
s
.
errorCode
?
d
.
a
.
errorMsg
(
s
):
s
.
result
&&
(
s
.
result
.
chatFlag
=
1
==
s
.
result
.
chatFlag
,
s
.
result
.
isMessageRemind
=
1
==
s
.
result
.
isMessageRemind
,
s
.
result
.
messageRemindTime
=
s
.
result
.
messageRemindTime
,
s
.
result
.
isTemplateMessage
=
1
==
s
.
result
.
isTemplateMessage
,
s
.
result
.
isImgMessage
=
1
==
s
.
result
.
isImgMessage
,
s
.
result
.
isGoodMessage
=
1
==
s
.
result
.
isGoodMessage
,
s
.
result
.
isIntegralGoodMessage
=
1
==
s
.
result
.
isIntegralGoodMessage
,
e
.
chatData
=
s
.
result
,
2
==
e
.
activeTab
&&
e
.
getTemplate
(
t
),
3
==
e
.
activeTab
&&
s
.
result
.
isImgMessage
&&
(
e
.
pageSize
=
4
,
e
.
getArticleList
(
t
)),
4
==
e
.
activeTab
&&
(
e
.
pageSize
=
3
,
s
.
result
.
isGoodMessage
&&
e
.
getGoodsList
(
t
),
s
.
result
.
isIntegralGoodMessage
&&
e
.
getPointList
(
t
),
s
.
result
.
isIntegralGoodMessage
&&!
s
.
result
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
),
s
.
result
.
isGoodMessage
&&!
s
.
result
.
isIntegralGoodMessage
&&
(
e
.
activeName
=
"first"
)))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
""
!=
t
&&
(
this
.
getChatSet
(
t
),
this
.
getCardSet
(
t
))}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
""
!=
this
.
brandId
&&
(
this
.
getChatSet
(
this
.
brandId
),
this
.
getCardSet
(
this
.
brandId
)),
""
!=
this
.
$route
.
query
.
activeTab
&&
(
this
.
activeTab
=
this
.
$route
.
query
.
activeTab
||
"1"
)}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"online-chat-content border-box"
},[
a
(
"div"
,{
staticClass
:
"online-chat-switch"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-18"
},[
t
.
_v
(
"在线沟通"
)]),
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
t
.
changeChatFlag
},
model
:{
value
:
t
.
chatData
.
chatFlag
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"chatFlag"
,
e
)},
expression
:
"chatData.chatFlag"
}}),
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
t
.
_v
(
"若小程序使用了GIC 好办客服功能,会员将无法在公众号联系导购"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"online-chat-body"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"online-chat-left"
},[
a
(
"ul"
,[
t
.
_l
(
t
.
leftData
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"left"
,
class
:[
"online-chat-left_li"
,
t
.
activeTab
==
e
.
tabId
?
"active-li"
:
""
],
on
:{
click
:
function
(
a
){
t
.
changeTab
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
tabName
))]),
t
.
_v
(
" "
),
e
.
children
&&
e
.
children
.
length
?
a
(
"ul"
,{
key
:
s
+
"left1"
},[
t
.
_l
(
e
.
children
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"left12"
,
class
:[
"online-chat-left_li child-li"
,
t
.
activeTab
==
e
.
tabId
?
"active-li"
:
""
],
on
:{
click
:
function
(
a
){
t
.
changeTab
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
tabName
))])]})],
2
):
t
.
_e
()]})],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"online-chat-right border-box"
},[
a
(
"div"
,{
staticClass
:
"online-chat-right_body"
},[
1
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-message"
},[
a
(
"el-form"
,{
ref
:
"msgForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
t
.
chatData
,
rules
:
t
.
rules
,
"label-width"
:
"70px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"短信提醒"
,
prop
:
"name"
}},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isMessageRemind
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isMessageRemind"
,
e
)},
expression
:
"chatData.isMessageRemind"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,会员发送消息,超出10条后,即发送短信给导购,每日最多触发一条短信,短信计入商家计费中心"
)])],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isMessageRemind
?
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"messageRemindTime"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
t
.
_v
(
"下发时间设置"
)]),
a
(
"el-time-select"
,{
attrs
:{
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:59"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
chatData
.
messageRemindTime
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"messageRemindTime"
,
e
)},
expression
:
"chatData.messageRemindTime"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-20"
},[
t
.
_v
(
"该事件设置将在当日生效"
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
chatData
.
isMessageRemind
?
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
saveData
(
"msgForm"
)}}},[
t
.
_v
(
"保存"
)])],
1
):
t
.
_e
()],
1
)],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-template"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-23"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"模板消息"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-20"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isTemplateMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isTemplateMessage"
,
e
)},
expression
:
"chatData.isTemplateMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"仅支持专属导购对会员发送模板消息,每个会员每个自然月模板消息发送次数不超过三次。设置后立即生效。"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-23"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"模板名字:"
)]),
t
.
_v
(
t
.
_s
(
t
.
templateName
))])]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-article"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"图文"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-20"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isImgMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isImgMessage"
,
e
)},
expression
:
"chatData.isImgMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,导购与会员聊天可发送GIC图文"
)])],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isImgMessage
?
a
(
"div"
,{
staticClass
:
"m-t-20 p-l-50"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
articleList
,
"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"
},[
a
(
"div"
,{
staticClass
:
"img-wrap border-box flex flex-align-center flex-pack-center"
},[
e
.
row
.
img
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
img
,
alt
:
""
}}):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title font-14 color-606266 p-l-10"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
title
)
+
"
\
n "
)])])]}}])}),
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
.
authorName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"4"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
articleList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()]):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-goods"
},[
t
.
_m
(
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"达摩微商城"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isGoodMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isGoodMessage"
,
e
)},
expression
:
"chatData.isGoodMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-40"
},[
t
.
_v
(
"积分商城"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isIntegralGoodMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isIntegralGoodMessage"
,
e
)},
expression
:
"chatData.isIntegralGoodMessage"
}})],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isGoodMessage
||
t
.
chatData
.
isIntegralGoodMessage
?
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
t
.
handleTab
},
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
t
.
chatData
.
isGoodMessage
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"达摩微商城"
,
name
:
"first"
}},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
goodsList
,
"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"
},[
a
(
"div"
,{
staticClass
:
"img-wrap flex flex-align-center flex-pack-center border-box"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
goodImg
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title flex flex-column"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodName
))]),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-909399"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodCode
))])])])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"单价(元)"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodPrice
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"库存"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
stock
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"总销量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
saleAmount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发布时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
publishTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
publishTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
1
)],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
chatData
.
isIntegralGoodMessage
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"积分商城"
,
name
:
"second"
}},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
pointList
,
"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"
},[
a
(
"div"
,{
staticClass
:
"img-wrap border-box"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
goodImg
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title flex flex-column"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodName
))]),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-909399"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodCode
))])])])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"积分费用"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
integral
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"现金费用"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodPrice
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"创建时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
publishTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
publishTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
1
)],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
0
!=
t
.
goodsList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()]):
t
.
_e
(),
t
.
_v
(
" "
),
51
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-card"
},[
t
.
_m
(
3
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20 m-b-20 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"card-top-left"
}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-top-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新建卡券"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"card-list-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardListData
},
on
:{
delCard
:
t
.
delCard
}}),
t
.
_v
(
" "
),
t
.
cardListData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
52
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-card_record"
},[
t
.
_m
(
4
),
t
.
_v
(
" "
),
a
(
"card-record-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardRecordData
}}),
t
.
_v
(
" "
),
t
.
cardRecordData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()])])])])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:1.导购可在未和会员建立会话的情况下,发送消息给会员"
),
e
(
"br"
),
this
.
_v
(
"
\
n 2.发送形式为模板消息,发送模板消息即表示发送了一条消息通知,并非建立主动会话"
),
e
(
"br"
),
this
.
_v
(
"
\
n 3.频繁使用模板消息,可能导致微信封闭模板消息及会员取关率增加,请谨慎使用"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:选取微信营销素材库中的图文,配置后,导购可以选择对应的营销图文发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:选取达摩微商城及积分商城中的商品,配置后,导购可以选择对应的商品发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"选取GIC中卡券营销适用好办的卡券,配置后,导购可以选择对应的卡券发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"当前卡券记录中发送数量、领取数量、领取率、使用数量、核销率、销售额为gic总体卡券记录,包含好办使用记录。后续更新将统计好办渠道卡券记录"
)])])])}]};
var
g
=
a
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
t
){
a
(
"xrmF"
)},
"data-v-8c1d5ea6"
,
null
);
e
.
default
=
g
.
exports
},
xrmF
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/24.dbe5f7dfc5081aa39701.js
deleted
100644 → 0
View file @
d344cd13
webpackJsonp
([
24
],{
"33SU"
:
function
(
t
,
e
){},
JDTu
:
function
(
t
,
e
){},
TPif
:
function
(
t
,
e
){},
ahzF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"card-record-table"
,
props
:{
tableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
activeTab
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"52"
}}},
data
:
function
(){
return
{}},
filters
:{
percenteNum
:
function
(
t
){
return
t
>
0
?
Number
(
100
*
t
).
toFixed
(
2
)
+
"%"
:
Number
(
t
).
toFixed
(
2
)
+
"%"
}},
methods
:{
toSendDetail
:
function
(
t
,
e
,
a
){
this
.
$router
.
push
(
"/"
+
(
1
==
a
?
"cardSendRecord"
:
"cardGetRecord"
)
+
"?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&coupCardId="
+
e
.
coupCardId
)}}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"card-record-table m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
""
,
width
:
"96"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券数量,包含扫码发券数"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"发送数量"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
issuingQuantity
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
getedQuantity
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
getedRate
)))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"使用数量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
usageQuantity
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percenteNum"
)(
e
.
row
.
verificationRate
)))])]}}])}),
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
.
saleAmount
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券的导购总人数,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
sendMemberCount
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
width
:
"200"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"领取记录"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
t
){
a
(
"JDTu"
)},
"data-v-96f4e55e"
,
null
).
exports
,
r
=
{
name
:
"card-list-table"
,
props
:{
tableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
activeTab
:{
type
:[
String
,
Number
],
default
:
function
(){
return
"51"
}}},
data
:
function
(){
return
{}},
methods
:{
toDel
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"是否要删除选中的分类?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
$emit
(
"delCard"
,
e
.
coupCardId
)}).
catch
(
function
(){})},
toEdit
:
function
(
t
,
e
){
this
.
$router
.
push
(
"/newCard?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&coupCardId="
+
e
.
coupCardId
)}}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
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"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toEdit
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toDel
(
e
.
$index
,
e
.
row
)}}},[
t
.
_v
(
"删除"
)])]}}])})],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
t
){
a
(
"33SU"
)},
"data-v-552374d2"
,
null
).
exports
,
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"3E4D"
),
p
=
a
(
"PI0u"
),
f
=
{
name
:
"online-chat"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
cardRecordTable
:
i
,
cardListTable
:
n
},
data
:
function
(){
return
{
activeTab
:
"1"
,
leftData
:[{
tabId
:
"1"
,
tabName
:
"短信提醒"
},{
tabId
:
"2"
,
tabName
:
"模板消息"
},{
tabId
:
"3"
,
tabName
:
"图文"
},{
tabId
:
"4"
,
tabName
:
"商品"
},{
tabId
:
"5"
,
tabName
:
"卡券"
,
children
:[{
tabId
:
"51"
,
tabName
:
"卡券列表"
},{
tabId
:
"52"
,
tabName
:
"卡券记录"
}]}],
chatData
:{
chatFlag
:
!
1
,
isMessageRemind
:
!
1
,
messageRemindTime
:
""
,
isTemplateMessage
:
!
1
,
isImgMessage
:
!
1
,
isGoodMessage
:
!
1
,
isIntegralGoodMessage
:
!
1
},
rules
:{
messageRemindTime
:[{
required
:
!
0
,
message
:
"请选择时间"
,
trigger
:
"blur"
}]},
templateName
:
""
,
articleList
:[],
pageSize
:
4
,
pageNum
:
1
,
total
:
0
,
activeName
:
"first"
,
goodsList
:[],
pointList
:[],
cardCoupChatSwitch
:
!
1
,
cardListData
:[],
cardRecordData
:[]}},
methods
:{
toNewCard
:
function
(){
this
.
$router
.
push
(
"/newCard?activeTab="
+
this
.
activeTab
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
delCard
:
function
(
t
){
this
.
delCardList
(
t
)},
toSendDetail
:
function
(
t
,
e
,
a
){
this
.
$router
.
push
(
"/sendRecord?activeTab="
+
this
.
activeTab
+
"&tabType="
+
a
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
+
"&relatedId="
+
(
e
.
id
||
e
.
goodId
))},
changeChatFlag
:
function
(){
this
.
postSave
(
this
.
brandId
)},
handleCurrentChange
:
function
(
t
){
this
.
pageNum
=
t
,
3
==
this
.
activeTab
?
this
.
getArticleList
(
this
.
brandId
):
4
==
this
.
activeTab
?
"first"
==
this
.
activeName
?
this
.
getGoodsList
(
this
.
brandId
):
this
.
getPointList
(
this
.
brandId
):
51
==
this
.
activeTab
?
this
.
getCardList
(
this
.
brandId
):
52
==
this
.
activeTab
&&
this
.
getCardRecord
(
this
.
brandId
)},
saveData
:
Object
(
p
.
a
)(
function
(
t
){
var
e
=
this
;
e
.
$refs
[
t
].
validate
(
function
(
t
){
if
(
!
t
)
return
!
1
;
e
.
postSave
(
e
.
brandId
)})},
500
),
postSave
:
function
(
t
){
var
e
=
this
;
e
.
pageNum
=
1
,
e
.
chatData
.
isIntegralGoodMessage
&&!
e
.
chatData
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
);
var
a
=
{
brandId
:
t
,
chatFlag
:
e
.
chatData
.
chatFlag
?
1
:
0
,
isMessageRemind
:
e
.
chatData
.
isMessageRemind
?
1
:
0
,
messageRemindTime
:
e
.
chatData
.
messageRemindTime
,
isTemplateMessage
:
e
.
chatData
.
isTemplateMessage
?
1
:
0
,
isImgMessage
:
e
.
chatData
.
isImgMessage
?
1
:
0
,
isGoodMessage
:
e
.
chatData
.
isGoodMessage
?
1
:
0
,
isIntegralGoodMessage
:
e
.
chatData
.
isIntegralGoodMessage
?
1
:
0
,
mainStoreFlag
:
e
.
chatData
.
mainStoreFlag
,
minorStoreFlag
:
e
.
chatData
.
minorStoreFlag
,
openCardStoreFlag
:
e
.
chatData
.
openCardStoreFlag
,
clerkSeeOtherFlag
:
e
.
chatData
.
clerkSeeOtherFlag
,
allowGuideContact
:
e
.
chatData
.
allowGuideContact
,
allowGuideMobile
:
e
.
chatData
.
allowGuideMobile
,
allowGuideMessage
:
e
.
chatData
.
allowGuideMessage
,
allowGuideOnlineChat
:
e
.
chatData
.
allowGuideOnlineChat
,
isSeeAuthMember
:
e
.
chatData
.
isSeeAuthMember
,
showFreezeFlag
:
e
.
chatData
.
showFreezeFlag
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/save-member-show-setting"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
if
(
1
==
s
.
errorCode
)
return
u
.
a
.
showmsg
(
"保存成功"
,
"success"
),
3
==
e
.
activeTab
&&
e
.
chatData
.
isImgMessage
&&
e
.
getArticleList
(
t
),
void
(
4
==
e
.
activeTab
&&
(
e
.
chatData
.
isGoodMessage
&&
e
.
getGoodsList
(
t
),
e
.
chatData
.
isIntegralGoodMessage
&&
e
.
getPointList
(
t
),
e
.
chatData
.
isIntegralGoodMessage
&&!
e
.
chatData
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
),
e
.
chatData
.
isGoodMessage
&&!
e
.
chatData
.
isIntegralGoodMessage
&&
(
e
.
activeName
=
"first"
)));
d
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeTab
:
function
(
t
){
if
(
t
.
children
)
return
this
.
activeTab
=
t
.
children
[
0
].
tabId
,
this
.
getCardSet
(
this
.
brandId
),
!
1
;
this
.
pageNum
=
1
,
this
.
activeTab
=
t
.
tabId
,
this
.
getChatSet
(
this
.
brandId
),
this
.
getCardSet
(
this
.
brandId
)},
handleTab
:
function
(
t
,
e
){
this
.
pageNum
=
1
,
"first"
==
t
.
name
?
this
.
getGoodsList
(
this
.
brandId
):
this
.
getPointList
(
this
.
brandId
)},
getTemplate
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_message_template"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
d
.
a
.
errorMsg
(
a
):
e
.
templateName
=
a
.
result
||
"--"
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getGoodsList
:
function
(
t
){
var
e
=
this
,
a
=
{
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
,
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_good_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
goodsList
=
a
.
result
.
list
||
[],
void
(
"first"
==
e
.
activeName
&&
(
e
.
total
=
a
.
result
.
total
));
e
.
goodsList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getPointList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_integal_good_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
pointList
=
a
.
result
.
list
||
[],
void
(
"second"
==
e
.
activeName
&&
(
e
.
total
=
a
.
result
.
total
));
e
.
pointList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getArticleList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find_img_list"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
articleList
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
total
);
e
.
articleList
=
[],
e
.
total
=
0
,
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
delCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
e
.
brandId
,
coupCardId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/del-card-coup"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getCardList
(
e
.
brandId
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardList
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/find-card-page"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
cardListData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardRecord
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
pageNum
};
Object
(
c
.
e
)(
"/haoban-app-member-web/cardCoupon/find-card-log-page"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
cardRecordData
=
a
.
result
.
list
||
[],
void
(
e
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
postSaveCard
:
function
(
t
){
var
e
=
this
,
a
=
{
cardCoupChatSwitch
:
e
.
cardCoupChatSwitch
?
1
:
0
,
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/save-card-coup-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"设置成功"
,
"success"
),
void
(
e
.
cardCoupChatSwitch
&&
e
.
getCardList
(
e
.
brandId
));
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardSet
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find-card-coup-setting"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
cardCoupChatSwitch
=
1
==
a
.
result
.
cardCoupChatSwitch
,
e
.
cardCoupChatSwitch
=
a
.
result
.
cardCoupChatSwitch
,
"51"
==
e
.
activeTab
&&
e
.
cardCoupChatSwitch
&&
(
e
.
pageSize
=
4
,
e
.
getCardList
(
e
.
brandId
)),
void
(
"52"
==
e
.
activeTab
&&
(
e
.
pageSize
=
6
,
e
.
getCardRecord
(
e
.
brandId
)));
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getChatSet
:
function
(
t
){
var
e
=
this
,
a
=
{
brandId
:
t
};
Object
(
c
.
e
)(
"/haoban-app-member-web/customer/find-online-chat-setting"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
1
!=
s
.
errorCode
?
d
.
a
.
errorMsg
(
s
):
s
.
result
&&
(
s
.
result
.
chatFlag
=
1
==
s
.
result
.
chatFlag
,
s
.
result
.
isMessageRemind
=
1
==
s
.
result
.
isMessageRemind
,
s
.
result
.
messageRemindTime
=
s
.
result
.
messageRemindTime
,
s
.
result
.
isTemplateMessage
=
1
==
s
.
result
.
isTemplateMessage
,
s
.
result
.
isImgMessage
=
1
==
s
.
result
.
isImgMessage
,
s
.
result
.
isGoodMessage
=
1
==
s
.
result
.
isGoodMessage
,
s
.
result
.
isIntegralGoodMessage
=
1
==
s
.
result
.
isIntegralGoodMessage
,
e
.
chatData
=
s
.
result
,
2
==
e
.
activeTab
&&
e
.
getTemplate
(
t
),
3
==
e
.
activeTab
&&
s
.
result
.
isImgMessage
&&
(
e
.
pageSize
=
4
,
e
.
getArticleList
(
t
)),
4
==
e
.
activeTab
&&
(
e
.
pageSize
=
3
,
s
.
result
.
isGoodMessage
&&
e
.
getGoodsList
(
t
),
s
.
result
.
isIntegralGoodMessage
&&
e
.
getPointList
(
t
),
s
.
result
.
isIntegralGoodMessage
&&!
s
.
result
.
isGoodMessage
&&
(
e
.
activeName
=
"second"
),
s
.
result
.
isGoodMessage
&&!
s
.
result
.
isIntegralGoodMessage
&&
(
e
.
activeName
=
"first"
)))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
""
!=
t
&&
(
this
.
getChatSet
(
t
),
this
.
getCardSet
(
t
))}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
""
!=
this
.
brandId
&&
(
this
.
getChatSet
(
this
.
brandId
),
this
.
getCardSet
(
this
.
brandId
)),
""
!=
this
.
$route
.
query
.
activeTab
&&
(
this
.
activeTab
=
this
.
$route
.
query
.
activeTab
||
"1"
)}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"online-chat-content border-box"
},[
a
(
"div"
,{
staticClass
:
"online-chat-switch"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-18"
},[
t
.
_v
(
"在线沟通"
)]),
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
t
.
changeChatFlag
},
model
:{
value
:
t
.
chatData
.
chatFlag
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"chatFlag"
,
e
)},
expression
:
"chatData.chatFlag"
}}),
a
(
"span"
,{
staticClass
:
"p-l-10 font-12 color-909399"
},[
t
.
_v
(
"若小程序使用了GIC 好办客服功能,会员将无法在公众号联系导购"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"online-chat-body"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"online-chat-left"
},[
a
(
"ul"
,[
t
.
_l
(
t
.
leftData
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"left"
,
class
:[
"online-chat-left_li"
,
t
.
activeTab
==
e
.
tabId
?
"active-li"
:
""
],
on
:{
click
:
function
(
a
){
t
.
changeTab
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
tabName
))]),
t
.
_v
(
" "
),
e
.
children
&&
e
.
children
.
length
?
a
(
"ul"
,{
key
:
s
+
"left1"
},[
t
.
_l
(
e
.
children
,
function
(
e
,
s
){
return
[
a
(
"li"
,{
key
:
s
+
"left12"
,
class
:[
"online-chat-left_li child-li"
,
t
.
activeTab
==
e
.
tabId
?
"active-li"
:
""
],
on
:{
click
:
function
(
a
){
t
.
changeTab
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
tabName
))])]})],
2
):
t
.
_e
()]})],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"online-chat-right border-box"
},[
a
(
"div"
,{
staticClass
:
"online-chat-right_body"
},[
1
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-message"
},[
a
(
"el-form"
,{
ref
:
"msgForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
t
.
chatData
,
rules
:
t
.
rules
,
"label-width"
:
"70px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"短信提醒"
,
prop
:
"name"
}},[
a
(
"el-switch"
,{
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isMessageRemind
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isMessageRemind"
,
e
)},
expression
:
"chatData.isMessageRemind"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,会员发送消息,超出10条后,即发送短信给导购,每日最多触发一条短信,短信计入商家计费中心"
)])],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isMessageRemind
?
a
(
"el-form-item"
,{
attrs
:{
label
:
""
,
prop
:
"messageRemindTime"
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
t
.
_v
(
"下发时间设置"
)]),
a
(
"el-time-select"
,{
attrs
:{
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:15"
,
end
:
"23:59"
},
placeholder
:
"选择时间"
},
model
:{
value
:
t
.
chatData
.
messageRemindTime
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"messageRemindTime"
,
e
)},
expression
:
"chatData.messageRemindTime"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-20"
},[
t
.
_v
(
"该事件设置将在当日生效"
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
chatData
.
isMessageRemind
?
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
saveData
(
"msgForm"
)}}},[
t
.
_v
(
"保存"
)])],
1
):
t
.
_e
()],
1
)],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-template"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-23"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"模板消息"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-20"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isTemplateMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isTemplateMessage"
,
e
)},
expression
:
"chatData.isTemplateMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"仅支持专属导购对会员发送模板消息,每个会员每个自然月模板消息发送次数不超过三次。设置后立即生效。"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-23"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"模板名字:"
)]),
t
.
_v
(
t
.
_s
(
t
.
templateName
))])]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-article"
},[
t
.
_m
(
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"图文"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-20"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isImgMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isImgMessage"
,
e
)},
expression
:
"chatData.isImgMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,导购与会员聊天可发送GIC图文"
)])],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isImgMessage
?
a
(
"div"
,{
staticClass
:
"m-t-20 p-l-50"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
articleList
,
"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"
},[
a
(
"div"
,{
staticClass
:
"img-wrap border-box flex flex-align-center flex-pack-center"
},[
e
.
row
.
img
?
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
img
,
alt
:
""
}}):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title font-14 color-606266 p-l-10"
},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
title
)
+
"
\
n "
)])])]}}])}),
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
.
authorName
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"4"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
1
),
t
.
_v
(
" "
),
0
!=
t
.
articleList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()]):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-goods"
},[
t
.
_m
(
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
t
.
_v
(
"达摩微商城"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isGoodMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isGoodMessage"
,
e
)},
expression
:
"chatData.isGoodMessage"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-40"
},[
t
.
_v
(
"积分商城"
)]),
a
(
"el-switch"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"active-text"
:
""
,
"inactive-text"
:
""
},
on
:{
change
:
function
(
e
){
t
.
postSave
(
t
.
brandId
)}},
model
:{
value
:
t
.
chatData
.
isIntegralGoodMessage
,
callback
:
function
(
e
){
t
.
$set
(
t
.
chatData
,
"isIntegralGoodMessage"
,
e
)},
expression
:
"chatData.isIntegralGoodMessage"
}})],
1
),
t
.
_v
(
" "
),
t
.
chatData
.
isGoodMessage
||
t
.
chatData
.
isIntegralGoodMessage
?
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
t
.
handleTab
},
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
t
.
chatData
.
isGoodMessage
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"达摩微商城"
,
name
:
"first"
}},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
goodsList
,
"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"
},[
a
(
"div"
,{
staticClass
:
"img-wrap flex flex-align-center flex-pack-center border-box"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
goodImg
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title flex flex-column"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodName
))]),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-909399"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodCode
))])])])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"单价(元)"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodPrice
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"库存"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
stock
||
"--"
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"总销量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
saleAmount
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发布时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
publishTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
publishTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"1"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
1
)],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
chatData
.
isIntegralGoodMessage
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"积分商城"
,
name
:
"second"
}},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
t
.
pointList
,
"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"
},[
a
(
"div"
,{
staticClass
:
"img-wrap border-box"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
row
.
goodImg
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"article-title flex flex-column"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodName
))]),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-909399"
},[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodCode
))])])])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"积分费用"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
integral
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"现金费用"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
goodPrice
))]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"创建时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
e
.
row
.
publishTime
)))]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToHms"
)(
e
.
row
.
publishTime
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"header"
,
fn
:
function
(
e
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"导购发送图文的总人数统计,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
}},[
t
.
_v
(
"导购发送图文人数"
),
a
(
"i"
,{
staticClass
:
"el-icon-info font-12 color-606266"
})])])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
row
.
pushCount
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
toSendDetail
(
e
.
$index
,
e
.
row
,
"2"
)}}},[
t
.
_v
(
"发送记录"
)])]}}])})],
1
)],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
0
!=
t
.
goodsList
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()]):
t
.
_e
(),
t
.
_v
(
" "
),
51
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-card"
},[
t
.
_m
(
3
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20 m-b-20 flex flex-space-between"
},[
t
.
_m
(
4
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-top-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新建卡券"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"card-list-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardListData
},
on
:{
delCard
:
t
.
delCard
}}),
t
.
_v
(
" "
),
t
.
cardListData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
52
==
t
.
activeTab
?
a
(
"div"
,{
staticClass
:
"online-chat-card_record"
},[
t
.
_m
(
5
),
t
.
_v
(
" "
),
a
(
"card-record-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardRecordData
}}),
t
.
_v
(
" "
),
t
.
cardRecordData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
"current-page"
:
t
.
pageNum
,
"page-size"
:
t
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
t
.
total
},
on
:{
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()],
1
):
t
.
_e
()])])])])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:1.导购可在未和会员建立会话的情况下,发送消息给会员"
),
e
(
"br"
),
this
.
_v
(
"
\
n 2.发送形式为模板消息,发送模板消息即表示发送了一条消息通知,并非建立主动会话"
),
e
(
"br"
),
this
.
_v
(
"
\
n 3.频繁使用模板消息,可能导致微信封闭模板消息及会员取关率增加,请谨慎使用"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:选取微信营销素材库中的图文,配置后,导购可以选择对应的营销图文发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"配置说明:选取达摩微商城及积分商城中的商品,配置后,导购可以选择对应的商品发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"选取GIC中卡券营销适用好办的卡券,配置后,导购可以选择对应的卡券发送给会员"
)])])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"card-top-left"
},[
e
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
this
.
_v
(
"卡券"
)])])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
e
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info font-12 color-1890ff"
,
staticStyle
:{
"align-self"
:
"flex-start"
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"el-alert__content"
},[
e
(
"span"
,{
staticClass
:
"el-alert__title color-606266 font-14"
},[
this
.
_v
(
"当前卡券记录中发送数量、领取数量、领取率、使用数量、核销率、销售额为gic总体卡券记录,包含好办使用记录。后续更新将统计好办渠道卡券记录"
)])])])}]};
var
g
=
a
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
t
){
a
(
"TPif"
)},
"data-v-d5898912"
,
null
);
e
.
default
=
g
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
f09ec959504636346e6
c.js
→
dist/static/js/manifest.
18f41cf9bb78a4d667c
c.js
View file @
3d3bbe4f
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
103
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"129caf163abfe2429ea4"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"b4cd547e4cd1c85c02dd"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"08440951267a02e0f40a"
,
6
:
"383047e2e447a7e22614"
,
7
:
"b545128585c9ed62a709"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"06ac195b892351e84380"
,
13
:
"bc52bf775945fbeea217"
,
14
:
"4fca81a28867daa95602"
,
15
:
"d251e8a6c8d22c33bf8f"
,
16
:
"f483f95dbac654c7de5a"
,
17
:
"ff6edf624b982c354977"
,
18
:
"d2d67b4f5729ae6df7c6"
,
19
:
"d7d09ae4564d64842009"
,
20
:
"455fd80bd8af15457c57"
,
21
:
"c1b5e15e28768af52654"
,
22
:
"2a873e819c6c369d5cd1"
,
23
:
"83fde8c1a7dc128b4ba0"
,
24
:
"dbe5f7dfc5081aa39701"
,
25
:
"d3508ee6e53c11c834a8"
,
26
:
"a4696a3d8f883d26cbba"
,
27
:
"80efeaa8fe902850d85c"
,
28
:
"46b6307b4aa0b1ade043"
,
29
:
"c5bb15e8e1bd17cdc0f7"
,
30
:
"5121cd15c522ec6aff68"
,
31
:
"6deea165c9172e1ef861"
,
32
:
"fc2213c2b57da6c25ea2"
,
33
:
"2384428cead47e1eec9d"
,
34
:
"73fbd87b52c9c1d20823"
,
35
:
"803f0fd338c68f9b9535"
,
36
:
"afbe204dbc41d7c5c89b"
,
37
:
"4871f1bc03003253497b"
,
38
:
"b38b04eff6b00a23650d"
,
39
:
"66cef0827526e8ede05b"
,
40
:
"a79be724c9e18f8dd17d"
,
41
:
"8091d9c715151eadc03e"
,
42
:
"54f2f4850c109391114a"
,
43
:
"fb46c0bad10552e7ef89"
,
44
:
"3d32c7e1954754671303"
,
45
:
"a9716608f3af52ee74c5"
,
46
:
"84083eac0c5c5b14a99f"
,
47
:
"5fba8d62f07fd68c7875"
,
48
:
"3d2a2f4e5dca20f701e8"
,
49
:
"c0c90eb73e8637aa4caf"
,
50
:
"d121c16edea8a23b184c"
,
51
:
"aa5454e0664f02f5f5f6"
,
52
:
"906057051eeca0acab78"
,
53
:
"ad34897b3043dc2ba8c4"
,
54
:
"6d6fb15946a63d0c8b8a"
,
55
:
"b43dde027408aa464eec"
,
56
:
"6832c3f53087f9be96f5"
,
57
:
"1b38513e926d99c9a5cf"
,
58
:
"c88fe58752788c30d808"
,
59
:
"eb86cb17b78ab558ad58"
,
60
:
"f5022ecb9fdbdd4f43c7"
,
61
:
"d591ce152461dfb3a63c"
,
62
:
"123750c66202ba673c34"
,
63
:
"0dc959e55244f121f914"
,
64
:
"dbe66f6cdec81545653c"
,
65
:
"07d108afee3ba276d3b0"
,
66
:
"922989ef9cae8ae8fa0d"
,
67
:
"87953f37519f1ef07363"
,
68
:
"49617d8ce02518b3ba55"
,
69
:
"e1def1703e6f72e40d82"
,
70
:
"1016099bd834fbabb9f9"
,
71
:
"a126863a54dd53b34f9e"
,
72
:
"98189992ad9c810067b6"
,
73
:
"342e27abafffffa6e51e"
,
74
:
"8217c8f19cc950e71bcc"
,
75
:
"e2071474899e555b8051"
,
76
:
"1a4d5717a57004080583"
,
77
:
"753919eb9dec9fd8e128"
,
78
:
"b18aacbbfed76627d59c"
,
79
:
"3017187b97af5175c76a"
,
80
:
"869ac1a7d3180d2bc8f8"
,
81
:
"b642770f6bb541055105"
,
82
:
"e93e0b8dc9338a7e214e"
,
83
:
"51b9cb2cf0033f7c0e2a"
,
84
:
"623af63bdee6d478308d"
,
85
:
"bb3f229cc47b83dec5db"
,
86
:
"3399c563d69998ce97e8"
,
87
:
"29432e7113f42af0aa23"
,
88
:
"5a4d2e0328d3aceb6b27"
,
89
:
"4186a9a4419d0d1ed6c7"
,
90
:
"861b3c7eee0a1ad2166b"
,
91
:
"1cc9efd6670312886795"
,
92
:
"e9bfe7d79655e973771e"
,
93
:
"6dca776ce9bed1cf9310"
,
94
:
"09be9a6fc81c6d292ce5"
,
95
:
"c3f379ca4f3ce71e3bfb"
,
96
:
"2efbe74c26dcfb77650f"
,
97
:
"ac2cf8e5e0e144c3b742"
,
98
:
"e0fd2c832397fdb94924"
,
99
:
"58cc1884c4f80303999a"
,
102
:
"2c7e1d628bd2f4ac709c"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
103
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"129caf163abfe2429ea4"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"b4cd547e4cd1c85c02dd"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"08440951267a02e0f40a"
,
6
:
"383047e2e447a7e22614"
,
7
:
"b545128585c9ed62a709"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"06ac195b892351e84380"
,
13
:
"bc52bf775945fbeea217"
,
14
:
"4fca81a28867daa95602"
,
15
:
"d251e8a6c8d22c33bf8f"
,
16
:
"f483f95dbac654c7de5a"
,
17
:
"ff6edf624b982c354977"
,
18
:
"d2d67b4f5729ae6df7c6"
,
19
:
"d7d09ae4564d64842009"
,
20
:
"455fd80bd8af15457c57"
,
21
:
"c1b5e15e28768af52654"
,
22
:
"2a873e819c6c369d5cd1"
,
23
:
"83fde8c1a7dc128b4ba0"
,
24
:
"0cf65e860beee78f7a6c"
,
25
:
"d3508ee6e53c11c834a8"
,
26
:
"a4696a3d8f883d26cbba"
,
27
:
"80efeaa8fe902850d85c"
,
28
:
"46b6307b4aa0b1ade043"
,
29
:
"c5bb15e8e1bd17cdc0f7"
,
30
:
"5121cd15c522ec6aff68"
,
31
:
"6deea165c9172e1ef861"
,
32
:
"fc2213c2b57da6c25ea2"
,
33
:
"2384428cead47e1eec9d"
,
34
:
"73fbd87b52c9c1d20823"
,
35
:
"803f0fd338c68f9b9535"
,
36
:
"afbe204dbc41d7c5c89b"
,
37
:
"4871f1bc03003253497b"
,
38
:
"b38b04eff6b00a23650d"
,
39
:
"66cef0827526e8ede05b"
,
40
:
"a79be724c9e18f8dd17d"
,
41
:
"8091d9c715151eadc03e"
,
42
:
"54f2f4850c109391114a"
,
43
:
"fb46c0bad10552e7ef89"
,
44
:
"3d32c7e1954754671303"
,
45
:
"a9716608f3af52ee74c5"
,
46
:
"84083eac0c5c5b14a99f"
,
47
:
"5fba8d62f07fd68c7875"
,
48
:
"3d2a2f4e5dca20f701e8"
,
49
:
"c0c90eb73e8637aa4caf"
,
50
:
"d121c16edea8a23b184c"
,
51
:
"aa5454e0664f02f5f5f6"
,
52
:
"906057051eeca0acab78"
,
53
:
"ad34897b3043dc2ba8c4"
,
54
:
"6d6fb15946a63d0c8b8a"
,
55
:
"b43dde027408aa464eec"
,
56
:
"6832c3f53087f9be96f5"
,
57
:
"1b38513e926d99c9a5cf"
,
58
:
"c88fe58752788c30d808"
,
59
:
"eb86cb17b78ab558ad58"
,
60
:
"f5022ecb9fdbdd4f43c7"
,
61
:
"d591ce152461dfb3a63c"
,
62
:
"123750c66202ba673c34"
,
63
:
"0dc959e55244f121f914"
,
64
:
"dbe66f6cdec81545653c"
,
65
:
"07d108afee3ba276d3b0"
,
66
:
"922989ef9cae8ae8fa0d"
,
67
:
"87953f37519f1ef07363"
,
68
:
"49617d8ce02518b3ba55"
,
69
:
"e1def1703e6f72e40d82"
,
70
:
"1016099bd834fbabb9f9"
,
71
:
"a126863a54dd53b34f9e"
,
72
:
"98189992ad9c810067b6"
,
73
:
"342e27abafffffa6e51e"
,
74
:
"8217c8f19cc950e71bcc"
,
75
:
"e2071474899e555b8051"
,
76
:
"1a4d5717a57004080583"
,
77
:
"753919eb9dec9fd8e128"
,
78
:
"b18aacbbfed76627d59c"
,
79
:
"3017187b97af5175c76a"
,
80
:
"869ac1a7d3180d2bc8f8"
,
81
:
"b642770f6bb541055105"
,
82
:
"e93e0b8dc9338a7e214e"
,
83
:
"51b9cb2cf0033f7c0e2a"
,
84
:
"623af63bdee6d478308d"
,
85
:
"bb3f229cc47b83dec5db"
,
86
:
"3399c563d69998ce97e8"
,
87
:
"29432e7113f42af0aa23"
,
88
:
"5a4d2e0328d3aceb6b27"
,
89
:
"4186a9a4419d0d1ed6c7"
,
90
:
"861b3c7eee0a1ad2166b"
,
91
:
"1cc9efd6670312886795"
,
92
:
"e9bfe7d79655e973771e"
,
93
:
"6dca776ce9bed1cf9310"
,
94
:
"09be9a6fc81c6d292ce5"
,
95
:
"c3f379ca4f3ce71e3bfb"
,
96
:
"2efbe74c26dcfb77650f"
,
97
:
"ac2cf8e5e0e144c3b742"
,
98
:
"e0fd2c832397fdb94924"
,
99
:
"58cc1884c4f80303999a"
,
102
:
"2c7e1d628bd2f4ac709c"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/enterpriseApp/myCustomer/onlineChatSet.vue
View file @
3d3bbe4f
...
@@ -229,8 +229,8 @@ components: {
...
@@ -229,8 +229,8 @@ components: {
</div>
</div>
<div
class=
"m-t-20 m-b-20 flex flex-space-between"
>
<div
class=
"m-t-20 m-b-20 flex flex-space-between"
>
<div
class=
"card-top-left"
>
<div
class=
"card-top-left"
>
<span
class=
"font-14 color-303133"
>
卡券
</span
<
!-- <
span class="font-14 color-303133">卡券</span
>
<
!-- <
el-switch class="m-l-20" v-model="cardCoupChatSwitch" active-text="" inactive-text="" @change="postSaveCard(brandId)"> </el-switch><span class="font-14 color-909399 p-l-24">开启后,导购与会员聊天可发送GIC卡券</span> -->
><el-switch class="m-l-20" v-model="cardCoupChatSwitch" active-text="" inactive-text="" @change="postSaveCard(brandId)"> </el-switch><span class="font-14 color-909399 p-l-24">开启后,导购与会员聊天可发送GIC卡券</span> -->
</div>
</div>
<div
class=
"card-top-right"
>
<div
class=
"card-top-right"
>
<el-button
type=
"primary"
@
click=
"toNewCard"
>
新建卡券
</el-button>
<el-button
type=
"primary"
@
click=
"toNewCard"
>
新建卡券
</el-button>
...
...
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