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
b3bae4c0
Commit
b3bae4c0
authored
Oct 31, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改记录
parent
70be9739
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
index.html
dist/index.html
+2
-2
app.ba5b51b6a42137624299ff355bd13a2b.css
dist/static/css/app.ba5b51b6a42137624299ff355bd13a2b.css
+0
-0
21.0391f7d85c04432c480d.js
dist/static/js/21.0391f7d85c04432c480d.js
+0
-2
21.11ba8d9967baba40524a.js
dist/static/js/21.11ba8d9967baba40524a.js
+2
-0
manifest.098e67fd853eb02b4dff.js
dist/static/js/manifest.098e67fd853eb02b4dff.js
+2
-2
card-record-table.vue
src/components/app/card-record-table.vue
+4
-4
No files found.
dist/index.html
View file @
b3bae4c0
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.5db1cf9a49ff6692a47a728637a67fab.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>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.55fb8728ed6f2ed2e431.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e35696ab5cda4872076c.js
></script><script
type=
text/javascript
src=
./static/js/app.41d5fe17311af37e6ea2.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.ba5b51b6a42137624299ff355bd13a2b.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>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.098e67fd853eb02b4dff.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e35696ab5cda4872076c.js
></script><script
type=
text/javascript
src=
./static/js/app.41d5fe17311af37e6ea2.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
5db1cf9a49ff6692a47a728637a67fa
b.css
→
dist/static/css/app.
ba5b51b6a42137624299ff355bd13a2
b.css
View file @
b3bae4c0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/21.0391f7d85c04432c480d.js
deleted
100644 → 0
View file @
70be9739
webpackJsonp
([
21
],{
"33SU"
:
function
(
t
,
e
){},
"5DHE"
:
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
{}},
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"
},[
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
(
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
(
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
(
"5DHE"
)},
"data-v-6de4ea76"
,
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
:
"2"
,
leftData
:[{
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
};
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
.
getCardList
(
e
.
brandId
),
void
(
"52"
==
e
.
activeTab
&&
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
||
"2"
)}},
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"
}})],
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"
:
""
},
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
:
"商品信息"
},
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"
},[
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
.
postSaveCard
(
t
.
brandId
)}},
model
:{
value
:
t
.
cardCoupChatSwitch
,
callback
:
function
(
e
){
t
.
cardCoupChatSwitch
=
e
},
expression
:
"cardCoupChatSwitch"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,导购与会员聊天可发送GIC卡券"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-top-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新建卡券"
)])],
1
)]),
t
.
_v
(
" "
),
t
.
cardCoupChatSwitch
?
a
(
"card-list-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardListData
},
on
:{
delCard
:
t
.
delCard
}}):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
cardListData
.
length
&&
t
.
cardCoupChatSwitch
?
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"
},[
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
(
"配置说明:导购可主动发起聊天,发送形式为模板消息,请配置模板消息内容。频繁使用模板消息,可能导致微信封闭模板消息及会员取关率增加,请谨慎使用。"
)])])])},
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中卡券营销适用好办的卡券,配置后,导购可以选择对应的卡券发送给会员"
)])])])}]};
var
g
=
a
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
t
){
a
(
"wk2F"
)},
"data-v-6afc4b3b"
,
null
);
e
.
default
=
g
.
exports
},
wk2F
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/21.11ba8d9967baba40524a.js
0 → 100644
View file @
b3bae4c0
webpackJsonp
([
21
],{
"33SU"
:
function
(
t
,
e
){},
"33WY"
:
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
{}},
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"
},[
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
(
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
(
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
(
"33WY"
)},
"data-v-4f0a8232"
,
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
:
"2"
,
leftData
:[{
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
};
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
.
getCardList
(
e
.
brandId
),
void
(
"52"
==
e
.
activeTab
&&
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
||
"2"
)}},
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"
}})],
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"
:
""
},
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
:
"商品信息"
},
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"
},[
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
.
postSaveCard
(
t
.
brandId
)}},
model
:{
value
:
t
.
cardCoupChatSwitch
,
callback
:
function
(
e
){
t
.
cardCoupChatSwitch
=
e
},
expression
:
"cardCoupChatSwitch"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399 p-l-24"
},[
t
.
_v
(
"开启后,导购与会员聊天可发送GIC卡券"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-top-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
toNewCard
}},[
t
.
_v
(
"新建卡券"
)])],
1
)]),
t
.
_v
(
" "
),
t
.
cardCoupChatSwitch
?
a
(
"card-list-table"
,{
attrs
:{
activeTab
:
t
.
activeTab
,
tableData
:
t
.
cardListData
},
on
:{
delCard
:
t
.
delCard
}}):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
cardListData
.
length
&&
t
.
cardCoupChatSwitch
?
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"
},[
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
(
"配置说明:导购可主动发起聊天,发送形式为模板消息,请配置模板消息内容。频繁使用模板消息,可能导致微信封闭模板消息及会员取关率增加,请谨慎使用。"
)])])])},
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中卡券营销适用好办的卡券,配置后,导购可以选择对应的卡券发送给会员"
)])])])}]};
var
g
=
a
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
t
){
a
(
"wk2F"
)},
"data-v-6afc4b3b"
,
null
);
e
.
default
=
g
.
exports
},
wk2F
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/manifest.
55fb8728ed6f2ed2e431
.js
→
dist/static/js/manifest.
098e67fd853eb02b4dff
.js
View file @
b3bae4c0
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
a
(
a
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
d
=
{
92
:
0
};
function
a
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
d
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
a
),
d
.
l
=!
0
,
d
.
exports
}
a
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
a
){
c
=
d
[
e
]
=
[
f
,
a
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
a
.
nc
&&
n
.
setAttribute
(
"nonce"
,
a
.
nc
),
n
.
src
=
a
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"e94080548335c4f0aa58"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"74bfe5a3e6de1a706593"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"9b46b645f8078dd3b980"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"ebad93a8c5bffffd9e98"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"e3f419b9972001e235d3"
,
13
:
"5713f4c0ef03a3077e57"
,
14
:
"906484db655680062129"
,
15
:
"dc1ca8ebc6cc47b86e2d"
,
16
:
"2ee1cd09e02cae2867cf"
,
17
:
"78c6d10043e3245cbd2a"
,
18
:
"392fbc7b206e00262f59"
,
19
:
"d857e84723b588b3f07f"
,
20
:
"2c088b315d9e6d3e38df"
,
21
:
"0391f7d85c04432c480d"
,
22
:
"5e749666577d7e933300"
,
23
:
"dde9c014ecc74fe08363"
,
24
:
"9d547e5255fc6330d24b"
,
25
:
"d88ef1299d37c1600478"
,
26
:
"8c7f557c97be9d9c8aca"
,
27
:
"2ea724b0442e927bfdf5"
,
28
:
"fec906a69641d385c1de"
,
29
:
"08f743a4cbfcc2c25c59"
,
30
:
"e5670f38e863b827565e"
,
31
:
"0152758bf0eba4ffa971"
,
32
:
"641f0c04a7b39b5e8ea8"
,
33
:
"d553c3facd269fce3e2c"
,
34
:
"f5e5b8fb5643f7cf75f1"
,
35
:
"1d22aba00ed7ec734222"
,
36
:
"d269a4c027b9923c8f0b"
,
37
:
"032b04ab3168d233c759"
,
38
:
"f269dae801787747180c"
,
39
:
"f20dd6d71ebc39700f39"
,
40
:
"3548050450854d3f79b7"
,
41
:
"d1a01c481b63fe169fc8"
,
42
:
"eec975c417c042a14578"
,
43
:
"e386ed64995ca06996f1"
,
44
:
"ebf089cd236f952c4ed5"
,
45
:
"67c57cfc14847ad350df"
,
46
:
"7fe51c0f71cfaec33913"
,
47
:
"9f0a2f4b476533f8f162"
,
48
:
"a9abeb15dfc569748f96"
,
49
:
"51736cd67f744c9afb83"
,
50
:
"acd8133bd4672018af1e"
,
51
:
"c5e6ff308f1bdbc0d7cf"
,
52
:
"c9542475facf98a6d3ee"
,
53
:
"575dccdda4d6e37f572e"
,
54
:
"21905b61c75715455962"
,
55
:
"5c5d4d0c1321eba84ed4"
,
56
:
"5dd020e52478f9a5bcfe"
,
57
:
"a0fa0dd3fc37342ebff8"
,
58
:
"0d58121bc08b8e17f90b"
,
59
:
"db8ceae5acd89e93c807"
,
60
:
"bb06c4b288792c5b8475"
,
61
:
"79cd4ac7ce76c8780dd2"
,
62
:
"bde425e2896017bb9996"
,
63
:
"ba0e409d551f280b8347"
,
64
:
"6b10e9463ae74778cab4"
,
65
:
"8d5e39df7c9345d6be58"
,
66
:
"500d7ba9236911922af0"
,
67
:
"03a8018da3d291ae60ce"
,
68
:
"be228ce7e1705d45d921"
,
69
:
"7c0d219f199de7a5aa08"
,
70
:
"40949db65dde54d20563"
,
71
:
"88c61f6808601aa94619"
,
72
:
"fc9124a2742130a58dd5"
,
73
:
"90c8570de7549c40e059"
,
74
:
"e6cb1e6e66639bb9eae0"
,
75
:
"e33b8312c981514cb576"
,
76
:
"e3cec5eb0431fdeddffa"
,
77
:
"c25d16b0dcb401aa70bc"
,
78
:
"7ee76de2eb3e00cfaef1"
,
79
:
"db5145445f1e97722ca3"
,
80
:
"53e6709c04d94f11699e"
,
81
:
"d30b633c9fcb690faed2"
,
82
:
"5a684c0aa68c988fc098"
,
83
:
"44a4cfdfd506f65b0666"
,
84
:
"8aaf13cca81cb846ed63"
,
85
:
"a2845d81e19a14f93007"
,
86
:
"54bf8e5fed1609b6c8f6"
,
87
:
"b6a4c727ed842731cf0c"
,
88
:
"f4ded805ebc0b00c8473"
,
91
:
"85c4703ea1bdef1b784c"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
a
.
m
=
e
,
a
.
c
=
f
,
a
.
d
=
function
(
e
,
c
,
f
){
a
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
a
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
c
,
"a"
,
c
),
c
},
a
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
a
.
p
=
"./"
,
a
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
a
(
a
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
d
=
{
92
:
0
};
function
a
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
d
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
a
),
d
.
l
=!
0
,
d
.
exports
}
a
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
a
){
c
=
d
[
e
]
=
[
f
,
a
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
a
.
nc
&&
n
.
setAttribute
(
"nonce"
,
a
.
nc
),
n
.
src
=
a
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"e94080548335c4f0aa58"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"74bfe5a3e6de1a706593"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"9b46b645f8078dd3b980"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"ebad93a8c5bffffd9e98"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"e3f419b9972001e235d3"
,
13
:
"5713f4c0ef03a3077e57"
,
14
:
"906484db655680062129"
,
15
:
"dc1ca8ebc6cc47b86e2d"
,
16
:
"2ee1cd09e02cae2867cf"
,
17
:
"78c6d10043e3245cbd2a"
,
18
:
"392fbc7b206e00262f59"
,
19
:
"d857e84723b588b3f07f"
,
20
:
"2c088b315d9e6d3e38df"
,
21
:
"11ba8d9967baba40524a"
,
22
:
"5e749666577d7e933300"
,
23
:
"dde9c014ecc74fe08363"
,
24
:
"9d547e5255fc6330d24b"
,
25
:
"d88ef1299d37c1600478"
,
26
:
"8c7f557c97be9d9c8aca"
,
27
:
"2ea724b0442e927bfdf5"
,
28
:
"fec906a69641d385c1de"
,
29
:
"08f743a4cbfcc2c25c59"
,
30
:
"e5670f38e863b827565e"
,
31
:
"0152758bf0eba4ffa971"
,
32
:
"641f0c04a7b39b5e8ea8"
,
33
:
"d553c3facd269fce3e2c"
,
34
:
"f5e5b8fb5643f7cf75f1"
,
35
:
"1d22aba00ed7ec734222"
,
36
:
"d269a4c027b9923c8f0b"
,
37
:
"032b04ab3168d233c759"
,
38
:
"f269dae801787747180c"
,
39
:
"f20dd6d71ebc39700f39"
,
40
:
"3548050450854d3f79b7"
,
41
:
"d1a01c481b63fe169fc8"
,
42
:
"eec975c417c042a14578"
,
43
:
"e386ed64995ca06996f1"
,
44
:
"ebf089cd236f952c4ed5"
,
45
:
"67c57cfc14847ad350df"
,
46
:
"7fe51c0f71cfaec33913"
,
47
:
"9f0a2f4b476533f8f162"
,
48
:
"a9abeb15dfc569748f96"
,
49
:
"51736cd67f744c9afb83"
,
50
:
"acd8133bd4672018af1e"
,
51
:
"c5e6ff308f1bdbc0d7cf"
,
52
:
"c9542475facf98a6d3ee"
,
53
:
"575dccdda4d6e37f572e"
,
54
:
"21905b61c75715455962"
,
55
:
"5c5d4d0c1321eba84ed4"
,
56
:
"5dd020e52478f9a5bcfe"
,
57
:
"a0fa0dd3fc37342ebff8"
,
58
:
"0d58121bc08b8e17f90b"
,
59
:
"db8ceae5acd89e93c807"
,
60
:
"bb06c4b288792c5b8475"
,
61
:
"79cd4ac7ce76c8780dd2"
,
62
:
"bde425e2896017bb9996"
,
63
:
"ba0e409d551f280b8347"
,
64
:
"6b10e9463ae74778cab4"
,
65
:
"8d5e39df7c9345d6be58"
,
66
:
"500d7ba9236911922af0"
,
67
:
"03a8018da3d291ae60ce"
,
68
:
"be228ce7e1705d45d921"
,
69
:
"7c0d219f199de7a5aa08"
,
70
:
"40949db65dde54d20563"
,
71
:
"88c61f6808601aa94619"
,
72
:
"fc9124a2742130a58dd5"
,
73
:
"90c8570de7549c40e059"
,
74
:
"e6cb1e6e66639bb9eae0"
,
75
:
"e33b8312c981514cb576"
,
76
:
"e3cec5eb0431fdeddffa"
,
77
:
"c25d16b0dcb401aa70bc"
,
78
:
"7ee76de2eb3e00cfaef1"
,
79
:
"db5145445f1e97722ca3"
,
80
:
"53e6709c04d94f11699e"
,
81
:
"d30b633c9fcb690faed2"
,
82
:
"5a684c0aa68c988fc098"
,
83
:
"44a4cfdfd506f65b0666"
,
84
:
"8aaf13cca81cb846ed63"
,
85
:
"a2845d81e19a14f93007"
,
86
:
"54bf8e5fed1609b6c8f6"
,
87
:
"b6a4c727ed842731cf0c"
,
88
:
"f4ded805ebc0b00c8473"
,
91
:
"85c4703ea1bdef1b784c"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
a
.
m
=
e
,
a
.
c
=
f
,
a
.
d
=
function
(
e
,
c
,
f
){
a
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
a
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
c
,
"a"
,
c
),
c
},
a
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
a
.
p
=
"./"
,
a
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/components/app/card-record-table.vue
View file @
b3bae4c0
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-10-25 14:05:56
* @Date: 2019-10-25 14:05:56
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2019-10-31 1
6:42:5
4
* @LastEditTime: 2019-10-31 1
7:02:0
4
-->
-->
<!--
<!--
<card-record-table :activeTab="activeTab" :tableData="tableData"></card-record-table>
<card-record-table :activeTab="activeTab" :tableData="tableData"></card-record-table>
...
@@ -26,14 +26,14 @@
...
@@ -26,14 +26,14 @@
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
issuingQuantity
||
'--'
}}
{{
scope
.
row
.
issuingQuantity
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"领取数量"
>
<el-table-column
prop=
""
label=
"领取数量"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
getedQuantity
||
'--'
}}
</
template
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
getedQuantity
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"领取率"
>
<el-table-column
prop=
""
label=
"领取率"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
getedRate
||
'--'
}}
</
template
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
getedRate
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
""
label=
"使用数量"
>
<el-table-column
prop=
""
label=
"使用数量"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment