Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
91fc5a6f
Commit
91fc5a6f
authored
Aug 25, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改下载文案
parent
b52b37e8
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.2a117b97a4376d09aa31ee4424df0384.css
dist/static/css/app.2a117b97a4376d09aa31ee4424df0384.css
+0
-0
20.31ba9365e3a572d68922.js
dist/static/js/20.31ba9365e3a572d68922.js
+2
-0
20.59fa61636b87be12b5d3.js
dist/static/js/20.59fa61636b87be12b5d3.js
+0
-2
manifest.04690923bedae91e8efb.js
dist/static/js/manifest.04690923bedae91e8efb.js
+2
-2
card-get-record.vue
src/components/app/card/card-get-record.vue
+2
-2
No files found.
dist/index.html
View file @
91fc5a6f
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.1a3eca7256032b6d5664987415278634.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.f792e5c02afd78a20e81.js
></script><script
type=
text/javascript
src=
./static/js/vendor.c9b2df17ceb0429de99c.js
></script><script
type=
text/javascript
src=
./static/js/app.b2efe2f6ef7c9fa0e909.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.2a117b97a4376d09aa31ee4424df0384.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.04690923bedae91e8efb.js
></script><script
type=
text/javascript
src=
./static/js/vendor.c9b2df17ceb0429de99c.js
></script><script
type=
text/javascript
src=
./static/js/app.b2efe2f6ef7c9fa0e909.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
1a3eca7256032b6d566498741527863
4.css
→
dist/static/css/app.
2a117b97a4376d09aa31ee4424df038
4.css
View file @
91fc5a6f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/20.31ba9365e3a572d68922.js
0 → 100644
View file @
91fc5a6f
webpackJsonp
([
20
],{
"6gw5"
:
function
(
e
,
t
){},
Bgk4
:
function
(
e
,
t
){},
"Ony+"
:
function
(
e
,
t
){},
xDJN
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
o
=
a
.
n
(
n
),
i
=
a
(
"exGp"
),
r
=
a
.
n
(
i
),
c
=
a
(
"P9l9"
),
s
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
d
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
coupCardId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
dialogVisible
:
!
0
,
loading
:
!
1
,
tableData
:[],
conditionObj
:{
searchInput
:
""
,
searchType
:
"1"
,
storeGroup
:[],
dateRange
:[]},
choiceDateCopy
:[],
pickerOptions
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}}],
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
n
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
n
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
n
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
n
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
loadingBtn
:
!
1
}},
methods
:{
exportExcel
:
Object
(
l
.
a
)(
function
(){
this
.
loadingBtn
=!
0
,
this
.
conditionObj
.
dateRange
||
(
this
.
conditionObj
.
dateRange
=
[]);
var
e
=
{
cardId
:
this
.
coupCardId
,
search
:
this
.
conditionObj
.
searchInput
||
""
,
startDate
:
this
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
this
.
conditionObj
.
dateRange
[
1
]
||
""
,
gicEnterpriseId
:
this
.
brandId
};
this
.
postExcel
(
e
)},
300
),
postExcel
:
function
(
e
){
var
t
=
this
;
Object
(
c
.
d
)(
"/haoban-app-customer-web/cardCoupon/export-consume-card"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
)
return
t
.
$confirm
(
"核销记录正在生成中,次日可前往GIC报表中心下载"
,
"温馨提示"
,{
confirmButtonText
:
"立即前往"
,
showCancelButton
:
!
1
,
type
:
"warning"
,
center
:
!
0
}).
then
(
function
(){
if
(
-
1
!=
window
.
location
.
href
.
indexOf
(
"gicdev"
))
return
window
.
open
(
"http://gicdev.demogic.com/gic-web/#/reportCenter"
),
!
1
;
window
.
open
(
"https://hope.demogic.com/gic-web/#/reportCenter"
)}).
catch
(
function
(){}),
!
1
;
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeGetRecord"
)},
toInput
:
Object
(
l
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
dateRange
=
[]),
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
[],
n
=
[],
o
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
1
==
e
.
type
&&
o
.
push
(
e
.
employeeClerkId
),
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
i
=
{
coupCardId
:
t
.
coupCardId
,
searchType
:
t
.
conditionObj
.
searchType
,
search
:
t
.
conditionObj
.
searchInput
||
""
,
groupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
n
.
join
(
","
)
||
""
,
clerkIds
:
o
.
join
(
","
)
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
gicEnterpriseId
:
t
.
brandId
};
Object
(
c
.
d
)(
"/haoban-app-customer-web/cardCoupon/find-receive-card-page"
,
i
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
coupCardId
:
function
(
e
,
t
){
e
&&
this
.
getTableList
()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getTableList
()}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"领取记录"
,
visible
:
e
.
dialogVisible
,
width
:
"864px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-336"
,
attrs
:{
placeholder
:
2
==
e
.
conditionObj
.
searchType
?
"请输入会员手机号/卡号 "
:
"请输入导购姓名/手机号/code"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"el-select"
,{
staticClass
:
"w-103"
,
attrs
:{
slot
:
"prepend"
,
placeholder
:
"请选择"
},
slot
:
"prepend"
,
model
:{
value
:
e
.
conditionObj
.
searchType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchType"
,
t
)},
expression
:
"conditionObj.searchType"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"按导购"
,
value
:
"1"
}})],
1
)],
1
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10 w-330"
,
staticStyle
:{
width
:
"330px"
},
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-10 export-btn"
,
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
e
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出核销记录"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
height
:
"450"
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"导购信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"导购手机号"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员卡号"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCardNo
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"领取时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
receiveTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
receiveTime
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
d
,
u
,
!
1
,
function
(
e
){
a
(
"6gw5"
)},
"data-v-cfa69416"
,
null
).
exports
,
h
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
coupCardId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
dialogVisible
:
!
0
,
loading
:
!
1
,
tableData
:[],
conditionObj
:{
searchInput
:
""
,
searchType
:
"1"
,
storeGroup
:[],
dateRange
:[]},
choiceDateCopy
:[],
pickerOptions
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}}],
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
n
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
n
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
n
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
n
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
methods
:{
handleClose
:
function
(
e
){
this
.
$emit
(
"closeSendRecord"
)},
toInput
:
Object
(
l
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
dateRange
=
[]),
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
[],
n
=
[],
o
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
1
==
e
.
type
&&
o
.
push
(
e
.
employeeClerkId
),
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
i
=
{
coupCardId
:
t
.
coupCardId
,
searchType
:
t
.
conditionObj
.
searchType
,
search
:
t
.
conditionObj
.
searchInput
||
""
,
groupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
n
.
join
(
","
)
||
""
,
clerkIds
:
o
.
join
(
","
)
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
gicEnterpriseId
:
t
.
brandId
};
Object
(
c
.
d
)(
"/haoban-app-customer-web/cardCoupon/find-send-card-page"
,
i
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
coupCardId
:
function
(
e
,
t
){
e
&&
this
.
getTableList
()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getTableList
()}},
g
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"发送记录"
,
visible
:
e
.
dialogVisible
,
width
:
"802px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-369"
,
attrs
:{
placeholder
:
2
==
e
.
conditionObj
.
searchType
?
"请输入会员手机号/卡号 "
:
"请输入导购姓名/手机号/code"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"el-select"
,{
staticClass
:
"w-103"
,
attrs
:{
slot
:
"prepend"
,
placeholder
:
"请选择"
},
slot
:
"prepend"
,
model
:{
value
:
e
.
conditionObj
.
searchType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchType"
,
t
)},
expression
:
"conditionObj.searchType"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"按导购"
,
value
:
"1"
}})],
1
)],
1
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}})],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
"450"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"导购信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"导购手机号"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员卡号"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCardNo
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"发送时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
sendTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
sendTime
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
b
=
{
components
:{
cardGetRecord
:
p
,
cardSendRecord
:
a
(
"VU/8"
)(
h
,
g
,
!
1
,
function
(
e
){
a
(
"Bgk4"
)},
"data-v-17eafe8c"
,
null
).
exports
},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
searchInput
:
""
,
tableData
:[],
loading
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
getRecordShow
:
!
1
,
sendRecordShow
:
!
1
,
coupCardId
:
""
}},
filters
:{
percenteNum
:
function
(
e
){
return
e
>
0
?
Number
(
100
*
e
).
toFixed
(
2
)
+
"%"
:
Number
(
e
).
toFixed
(
2
)
+
"%"
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getTableList
()}},
methods
:{
showGetRecord
:
function
(
e
,
t
){
this
.
coupCardId
=
t
.
coupCardId
,
this
.
getRecordShow
=!
0
},
closeGetRecord
:
function
(){
this
.
getRecordShow
=!
1
},
showSendRecord
:
function
(
e
,
t
){
this
.
coupCardId
=
t
.
coupCardId
,
this
.
sendRecordShow
=!
0
},
closeSendRecord
:
function
(){
this
.
sendRecordShow
=!
1
},
toInput
:
Object
(
l
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
return
r
()(
o
.
a
.
mark
(
function
t
(){
var
a
,
n
;
return
o
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:(
a
=
e
).
loading
=!
0
,
n
=
{
gicEnterpriseId
:
a
.
brandId
,
search
:
a
.
searchInput
||
""
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
c
.
d
)(
"/haoban-app-customer-web/cardCoupon/find-card-log-page"
,
n
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
a
.
loading
=!
1
,
1
==
t
.
errorCode
)
return
a
.
tableData
=
t
.
result
.
list
||
[],
void
(
a
.
total
=
t
.
result
.
pageInfo
.
total
);
s
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})});
case
4
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getTableList
()}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入卡券名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
""
,
width
:
"96"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券数量,包含扫码发券数"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"发送数量"
)])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
issuingQuantity
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取数量"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
getedQuantity
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percenteNum"
)(
t
.
row
.
getedRate
)))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"使用数量"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
usageQuantity
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percenteNum"
)(
t
.
row
.
verificationRate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"销售额"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
saleAmount
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券的导购总人数,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"导购人数"
)])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
sendMemberCount
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
width
:
"200"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showSendRecord
(
t
.
$index
,
t
.
row
,
"1"
)}}},[
e
.
_v
(
"发送记录"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showGetRecord
(
t
.
$index
,
t
.
row
,
"2"
)}}},[
e
.
_v
(
"领取记录"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
e
.
getRecordShow
?
a
(
"card-get-record"
,{
attrs
:{
brandId
:
e
.
brandId
,
coupCardId
:
e
.
coupCardId
},
on
:{
closeGetRecord
:
e
.
closeGetRecord
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
sendRecordShow
?
a
(
"card-send-record"
,{
attrs
:{
brandId
:
e
.
brandId
,
coupCardId
:
e
.
coupCardId
},
on
:{
closeSendRecord
:
e
.
closeSendRecord
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
b
,
f
,
!
1
,
function
(
e
){
a
(
"Ony+"
)},
"data-v-4e6e14b9"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/20.59fa61636b87be12b5d3.js
deleted
100644 → 0
View file @
b52b37e8
webpackJsonp
([
20
],{
Bgk4
:
function
(
e
,
t
){},
"Ony+"
:
function
(
e
,
t
){},
"Z/H0"
:
function
(
e
,
t
){},
xDJN
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"Xxa5"
),
o
=
a
.
n
(
n
),
i
=
a
(
"exGp"
),
r
=
a
.
n
(
i
),
c
=
a
(
"P9l9"
),
s
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
d
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
coupCardId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
dialogVisible
:
!
0
,
loading
:
!
1
,
tableData
:[],
conditionObj
:{
searchInput
:
""
,
searchType
:
"1"
,
storeGroup
:[],
dateRange
:[]},
choiceDateCopy
:[],
pickerOptions
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}}],
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
n
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
n
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
n
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
n
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
loadingBtn
:
!
1
}},
methods
:{
exportExcel
:
Object
(
l
.
a
)(
function
(){
this
.
loadingBtn
=!
0
,
this
.
conditionObj
.
dateRange
||
(
this
.
conditionObj
.
dateRange
=
[]);
var
e
=
{
cardId
:
this
.
coupCardId
,
search
:
this
.
conditionObj
.
searchInput
||
""
,
startDate
:
this
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
this
.
conditionObj
.
dateRange
[
1
]
||
""
,
gicEnterpriseId
:
this
.
brandId
};
this
.
postExcel
(
e
)},
300
),
postExcel
:
function
(
e
){
var
t
=
this
;
Object
(
c
.
d
)(
"/haoban-app-customer-web/cardCoupon/export-consume-card"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
)
return
t
.
$confirm
(
"核销记录正在生成中,请前往GIC报表中心下载"
,
"温馨提示"
,{
confirmButtonText
:
"立即前往"
,
showCancelButton
:
!
1
,
type
:
"warning"
,
center
:
!
0
}).
then
(
function
(){
if
(
-
1
!=
window
.
location
.
href
.
indexOf
(
"gicdev"
))
return
window
.
open
(
"http://gicdev.demogic.com/gic-web/#/reportCenter"
),
!
1
;
window
.
open
(
"https://hope.demogic.com/gic-web/#/reportCenter"
)}).
catch
(
function
(){}),
!
1
;
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loadingBtn
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeGetRecord"
)},
toInput
:
Object
(
l
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
dateRange
=
[]),
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
[],
n
=
[],
o
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
1
==
e
.
type
&&
o
.
push
(
e
.
employeeClerkId
),
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
i
=
{
coupCardId
:
t
.
coupCardId
,
searchType
:
t
.
conditionObj
.
searchType
,
search
:
t
.
conditionObj
.
searchInput
||
""
,
groupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
n
.
join
(
","
)
||
""
,
clerkIds
:
o
.
join
(
","
)
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
gicEnterpriseId
:
t
.
brandId
};
Object
(
c
.
d
)(
"/haoban-app-customer-web/cardCoupon/find-receive-card-page"
,
i
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
coupCardId
:
function
(
e
,
t
){
e
&&
this
.
getTableList
()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getTableList
()}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"领取记录"
,
visible
:
e
.
dialogVisible
,
width
:
"864px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-336"
,
attrs
:{
placeholder
:
2
==
e
.
conditionObj
.
searchType
?
"请输入会员手机号/卡号 "
:
"请输入导购姓名/手机号/code"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"el-select"
,{
staticClass
:
"w-103"
,
attrs
:{
slot
:
"prepend"
,
placeholder
:
"请选择"
},
slot
:
"prepend"
,
model
:{
value
:
e
.
conditionObj
.
searchType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchType"
,
t
)},
expression
:
"conditionObj.searchType"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"按导购"
,
value
:
"1"
}})],
1
)],
1
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10 w-330"
,
staticStyle
:{
width
:
"330px"
},
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}}),
a
(
"el-button"
,{
staticClass
:
"m-l-10 export-btn"
,
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
e
.
exportExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出核销记录"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
height
:
"450"
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"导购信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"导购手机号"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员卡号"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCardNo
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"领取时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
receiveTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
receiveTime
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
d
,
u
,
!
1
,
function
(
e
){
a
(
"Z/H0"
)},
"data-v-e6ff19d8"
,
null
).
exports
,
h
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
coupCardId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
dialogVisible
:
!
0
,
loading
:
!
1
,
tableData
:[],
conditionObj
:{
searchInput
:
""
,
searchType
:
"1"
,
storeGroup
:[],
dateRange
:[]},
choiceDateCopy
:[],
pickerOptions
:{
shortcuts
:[{
text
:
"最近一周"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
6048
e5
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近一个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
2592
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}},{
text
:
"最近三个月"
,
onClick
:
function
(
e
){
var
t
=
new
Date
,
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
-
7776
e6
),
e
.
$emit
(
"pick"
,[
a
,
t
])}}],
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
n
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
n
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
n
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
n
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
methods
:{
handleClose
:
function
(
e
){
this
.
$emit
(
"closeSendRecord"
)},
toInput
:
Object
(
l
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
dateRange
=
[]),
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
[],
n
=
[],
o
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
1
==
e
.
type
&&
o
.
push
(
e
.
employeeClerkId
),
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
n
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
i
=
{
coupCardId
:
t
.
coupCardId
,
searchType
:
t
.
conditionObj
.
searchType
,
search
:
t
.
conditionObj
.
searchInput
||
""
,
groupIds
:
a
.
join
(
","
)
||
""
,
storeIds
:
n
.
join
(
","
)
||
""
,
clerkIds
:
o
.
join
(
","
)
||
""
,
startDate
:
t
.
conditionObj
.
dateRange
[
0
]
||
""
,
endDate
:
t
.
conditionObj
.
dateRange
[
1
]
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
gicEnterpriseId
:
t
.
brandId
};
Object
(
c
.
d
)(
"/haoban-app-customer-web/cardCoupon/find-send-card-page"
,
i
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
coupCardId
:
function
(
e
,
t
){
e
&&
this
.
getTableList
()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getTableList
()}},
g
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"发送记录"
,
visible
:
e
.
dialogVisible
,
width
:
"802px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-20"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-input"
,{
staticClass
:
"w-369"
,
attrs
:{
placeholder
:
2
==
e
.
conditionObj
.
searchType
?
"请输入会员手机号/卡号 "
:
"请输入导购姓名/手机号/code"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}},[
a
(
"el-select"
,{
staticClass
:
"w-103"
,
attrs
:{
slot
:
"prepend"
,
placeholder
:
"请选择"
},
slot
:
"prepend"
,
model
:{
value
:
e
.
conditionObj
.
searchType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchType"
,
t
)},
expression
:
"conditionObj.searchType"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"按导购"
,
value
:
"1"
}})],
1
)],
1
),
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
dateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"dateRange"
,
t
)},
expression
:
"conditionObj.dateRange"
}})],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
"450"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"导购信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"导购手机号"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员信息"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"会员卡号"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCardNo
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"发送时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
sendTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
sendTime
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
b
=
{
components
:{
cardGetRecord
:
p
,
cardSendRecord
:
a
(
"VU/8"
)(
h
,
g
,
!
1
,
function
(
e
){
a
(
"Bgk4"
)},
"data-v-17eafe8c"
,
null
).
exports
},
props
:{
brandId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
activeId
:
"2"
,
searchInput
:
""
,
tableData
:[],
loading
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
getRecordShow
:
!
1
,
sendRecordShow
:
!
1
,
coupCardId
:
""
}},
filters
:{
percenteNum
:
function
(
e
){
return
e
>
0
?
Number
(
100
*
e
).
toFixed
(
2
)
+
"%"
:
Number
(
e
).
toFixed
(
2
)
+
"%"
}},
watch
:{
brandId
:
function
(
e
){
e
&&
this
.
getTableList
()}},
methods
:{
showGetRecord
:
function
(
e
,
t
){
this
.
coupCardId
=
t
.
coupCardId
,
this
.
getRecordShow
=!
0
},
closeGetRecord
:
function
(){
this
.
getRecordShow
=!
1
},
showSendRecord
:
function
(
e
,
t
){
this
.
coupCardId
=
t
.
coupCardId
,
this
.
sendRecordShow
=!
0
},
closeSendRecord
:
function
(){
this
.
sendRecordShow
=!
1
},
toInput
:
Object
(
l
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
(
this
.
brandId
)},
handleSizeChange
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
changeYear
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
return
r
()(
o
.
a
.
mark
(
function
t
(){
var
a
,
n
;
return
o
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:(
a
=
e
).
loading
=!
0
,
n
=
{
gicEnterpriseId
:
a
.
brandId
,
search
:
a
.
searchInput
||
""
,
pageNum
:
a
.
currentPage
,
pageSize
:
a
.
pageSize
},
Object
(
c
.
d
)(
"/haoban-app-customer-web/cardCoupon/find-card-log-page"
,
n
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
a
.
loading
=!
1
,
1
==
t
.
errorCode
)
return
a
.
tableData
=
t
.
result
.
list
||
[],
void
(
a
.
total
=
t
.
result
.
pageInfo
.
total
);
s
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})});
case
4
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
getTableList
()}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"p-20"
},[
a
(
"div"
,{
staticClass
:
"m-b-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入卡券名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"calc(100% - 3px)"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
cardName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
""
,
width
:
"96"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券数量,包含扫码发券数"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"发送数量"
)])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
issuingQuantity
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取数量"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
getedQuantity
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"领取率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percenteNum"
)(
t
.
row
.
getedRate
)))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"使用数量"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
usageQuantity
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"核销率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percenteNum"
)(
t
.
row
.
verificationRate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"销售额"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
saleAmount
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"发送卡券的导购总人数,次日刷新"
,
placement
:
"right"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"导购人数"
)])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
sendMemberCount
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
width
:
"200"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showSendRecord
(
t
.
$index
,
t
.
row
,
"1"
)}}},[
e
.
_v
(
"发送记录"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showGetRecord
(
t
.
$index
,
t
.
row
,
"2"
)}}},[
e
.
_v
(
"领取记录"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
e
.
getRecordShow
?
a
(
"card-get-record"
,{
attrs
:{
brandId
:
e
.
brandId
,
coupCardId
:
e
.
coupCardId
},
on
:{
closeGetRecord
:
e
.
closeGetRecord
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
sendRecordShow
?
a
(
"card-send-record"
,{
attrs
:{
brandId
:
e
.
brandId
,
coupCardId
:
e
.
coupCardId
},
on
:{
closeSendRecord
:
e
.
closeSendRecord
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
b
,
f
,
!
1
,
function
(
e
){
a
(
"Ony+"
)},
"data-v-4e6e14b9"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
f792e5c02afd78a20e81
.js
→
dist/static/js/manifest.
04690923bedae91e8efb
.js
View file @
91fc5a6f
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
88
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"765150d21437c9212924"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"8b5a7a776d5388025833"
,
3
:
"32159c7cec848a2f2940"
,
4
:
"33d02eba6eac4af3e7ae"
,
5
:
"f7ad326b7bff884d7fb2"
,
6
:
"51ed63bcd5dbc42f4654"
,
7
:
"facffc398c23923c8192"
,
8
:
"7af05b76eacb9f493905"
,
9
:
"963a2a13383e472eca38"
,
10
:
"b2ad2fd1c96c5f27fee9"
,
11
:
"675631224d24bc64b905"
,
12
:
"78ccd34a95a7c69f6875"
,
13
:
"0b6f9fa3dca5445bea41"
,
14
:
"48e54ee2a9b06727d19f"
,
15
:
"3d5964c0da535a1d38b5"
,
16
:
"c823b839370adaef5fb7"
,
17
:
"96782588834d46b30c5a"
,
18
:
"c438c2d212769f8a4db2"
,
19
:
"1f013034b987bc6725d9"
,
20
:
"59fa61636b87be12b5d3"
,
21
:
"909d0c8e599a956fd7a7"
,
22
:
"5967c8aac0d8efec27bb"
,
23
:
"491faa03cecb9d035fc6"
,
24
:
"8c63bc2c5c38d0efdfab"
,
25
:
"7076feee8fb02a9fbd13"
,
26
:
"b5b7db9a0d380eb65514"
,
27
:
"98b07cae060277f91c6b"
,
28
:
"0a1e4e532e911fe8ee50"
,
29
:
"0bb81c4fabb8b086313b"
,
30
:
"e8acf4370a8d3f28a6aa"
,
31
:
"f15018c679d31a23a484"
,
32
:
"915737f4f806d2dc5ef0"
,
33
:
"d60beb8286a5273c8520"
,
34
:
"74dbee5301dc48a15627"
,
35
:
"cd7b2a7dae393ab5c205"
,
36
:
"e42295b1f10082eedd48"
,
37
:
"27cb05ed00a6f77774b4"
,
38
:
"6380ef21f1904f03f42b"
,
39
:
"b64160a2fdbfc78b53e4"
,
40
:
"58b97f413035bfcac73d"
,
41
:
"3bde66f2e298d3ad896f"
,
42
:
"b49cb3220f9199fe2f52"
,
43
:
"3dc244d19910d9c21a9f"
,
44
:
"a22bd4a80c711131d8cf"
,
45
:
"b9bd1c77ee72c9b2c2d8"
,
46
:
"0543a026174ee47f62af"
,
47
:
"dc76611cce549ea64259"
,
48
:
"4c7ef72ada7b7eebf31c"
,
49
:
"f00fb09217e284420044"
,
50
:
"3acbe38b3e3eb8752075"
,
51
:
"51659ce1502192af939f"
,
52
:
"d3bfa4a4db5576440ed8"
,
53
:
"104c5e07855beb58ef1b"
,
54
:
"aa9df4f3a7eacae9e5db"
,
55
:
"65489f0257d5c399de02"
,
56
:
"d7945d5a03f730a65a07"
,
57
:
"de71f0f3c20588a110d2"
,
58
:
"67d1674e189c0fbdfa15"
,
59
:
"de9ed682f5022caa478a"
,
60
:
"b93cca4d26a897341a84"
,
61
:
"e929be2249e56a4db90a"
,
62
:
"ddef6dba0e1841fb538c"
,
63
:
"a3a44a6f506f871deab4"
,
64
:
"22d277303c400e71f512"
,
65
:
"3d256f3dea71b75c754e"
,
66
:
"b5bf727065a1ed5946a8"
,
67
:
"1fe24764bbf2648873df"
,
68
:
"5c88c8205192e47c5440"
,
69
:
"4df5e7e8568b818a23af"
,
70
:
"9659ef903577b569add6"
,
71
:
"7b248fa9ae5be34661ed"
,
72
:
"2a406ab7e8647fc9e8f6"
,
73
:
"22ffedec58d987173423"
,
74
:
"ab3c100dfd2009311e7f"
,
75
:
"251a7f0a164aea4bd0a9"
,
76
:
"04d98376c7148163d09b"
,
77
:
"9568405fcd7f68bbbed2"
,
78
:
"17e2c96b0a1584aa23fb"
,
79
:
"1813052e3f610897c373"
,
80
:
"062ff7e7240f79737a4c"
,
81
:
"68e4dc61e8a53c908430"
,
82
:
"80e1bea9e7c52a0010e2"
,
83
:
"1f973e5fb06a7b6aafb6"
,
84
:
"e08cae32b8d07ae3eb93"
,
85
:
"cb39869b0ab00851c322"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
88
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"765150d21437c9212924"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"8b5a7a776d5388025833"
,
3
:
"32159c7cec848a2f2940"
,
4
:
"33d02eba6eac4af3e7ae"
,
5
:
"f7ad326b7bff884d7fb2"
,
6
:
"51ed63bcd5dbc42f4654"
,
7
:
"facffc398c23923c8192"
,
8
:
"7af05b76eacb9f493905"
,
9
:
"963a2a13383e472eca38"
,
10
:
"b2ad2fd1c96c5f27fee9"
,
11
:
"675631224d24bc64b905"
,
12
:
"78ccd34a95a7c69f6875"
,
13
:
"0b6f9fa3dca5445bea41"
,
14
:
"48e54ee2a9b06727d19f"
,
15
:
"3d5964c0da535a1d38b5"
,
16
:
"c823b839370adaef5fb7"
,
17
:
"96782588834d46b30c5a"
,
18
:
"c438c2d212769f8a4db2"
,
19
:
"1f013034b987bc6725d9"
,
20
:
"31ba9365e3a572d68922"
,
21
:
"909d0c8e599a956fd7a7"
,
22
:
"5967c8aac0d8efec27bb"
,
23
:
"491faa03cecb9d035fc6"
,
24
:
"8c63bc2c5c38d0efdfab"
,
25
:
"7076feee8fb02a9fbd13"
,
26
:
"b5b7db9a0d380eb65514"
,
27
:
"98b07cae060277f91c6b"
,
28
:
"0a1e4e532e911fe8ee50"
,
29
:
"0bb81c4fabb8b086313b"
,
30
:
"e8acf4370a8d3f28a6aa"
,
31
:
"f15018c679d31a23a484"
,
32
:
"915737f4f806d2dc5ef0"
,
33
:
"d60beb8286a5273c8520"
,
34
:
"74dbee5301dc48a15627"
,
35
:
"cd7b2a7dae393ab5c205"
,
36
:
"e42295b1f10082eedd48"
,
37
:
"27cb05ed00a6f77774b4"
,
38
:
"6380ef21f1904f03f42b"
,
39
:
"b64160a2fdbfc78b53e4"
,
40
:
"58b97f413035bfcac73d"
,
41
:
"3bde66f2e298d3ad896f"
,
42
:
"b49cb3220f9199fe2f52"
,
43
:
"3dc244d19910d9c21a9f"
,
44
:
"a22bd4a80c711131d8cf"
,
45
:
"b9bd1c77ee72c9b2c2d8"
,
46
:
"0543a026174ee47f62af"
,
47
:
"dc76611cce549ea64259"
,
48
:
"4c7ef72ada7b7eebf31c"
,
49
:
"f00fb09217e284420044"
,
50
:
"3acbe38b3e3eb8752075"
,
51
:
"51659ce1502192af939f"
,
52
:
"d3bfa4a4db5576440ed8"
,
53
:
"104c5e07855beb58ef1b"
,
54
:
"aa9df4f3a7eacae9e5db"
,
55
:
"65489f0257d5c399de02"
,
56
:
"d7945d5a03f730a65a07"
,
57
:
"de71f0f3c20588a110d2"
,
58
:
"67d1674e189c0fbdfa15"
,
59
:
"de9ed682f5022caa478a"
,
60
:
"b93cca4d26a897341a84"
,
61
:
"e929be2249e56a4db90a"
,
62
:
"ddef6dba0e1841fb538c"
,
63
:
"a3a44a6f506f871deab4"
,
64
:
"22d277303c400e71f512"
,
65
:
"3d256f3dea71b75c754e"
,
66
:
"b5bf727065a1ed5946a8"
,
67
:
"1fe24764bbf2648873df"
,
68
:
"5c88c8205192e47c5440"
,
69
:
"4df5e7e8568b818a23af"
,
70
:
"9659ef903577b569add6"
,
71
:
"7b248fa9ae5be34661ed"
,
72
:
"2a406ab7e8647fc9e8f6"
,
73
:
"22ffedec58d987173423"
,
74
:
"ab3c100dfd2009311e7f"
,
75
:
"251a7f0a164aea4bd0a9"
,
76
:
"04d98376c7148163d09b"
,
77
:
"9568405fcd7f68bbbed2"
,
78
:
"17e2c96b0a1584aa23fb"
,
79
:
"1813052e3f610897c373"
,
80
:
"062ff7e7240f79737a4c"
,
81
:
"68e4dc61e8a53c908430"
,
82
:
"80e1bea9e7c52a0010e2"
,
83
:
"1f973e5fb06a7b6aafb6"
,
84
:
"e08cae32b8d07ae3eb93"
,
85
:
"cb39869b0ab00851c322"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/app/card/card-get-record.vue
View file @
91fc5a6f
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-08-2
1 15:43:16
* @LastEditTime: 2020-08-2
5 16:37:35
-->
<!--
<card-get-record @closeGetRecord="closeGetRecord"></card-get-record>
...
...
@@ -168,7 +168,7 @@ export default {
that
.
loadingBtn
=
false
;
if
(
resData
.
errorCode
==
1
)
{
that
.
$confirm
(
'核销记录正在生成中,
请
前往GIC报表中心下载'
,
'温馨提示'
,
{
.
$confirm
(
'核销记录正在生成中,
次日可
前往GIC报表中心下载'
,
'温馨提示'
,
{
confirmButtonText
:
'立即前往'
,
showCancelButton
:
false
,
type
:
'warning'
,
...
...
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