Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
2e769e1d
Commit
2e769e1d
authored
Jun 19, 2020
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:build
parent
d3d9b090
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
10 deletions
+32
-10
index.html
dist/index.html
+2
-2
card.08323db46eebfee39d0b.js
dist/static/js/card.08323db46eebfee39d0b.js
+0
-0
manifest.194ab2506cda0c7fc395.js
dist/static/js/manifest.194ab2506cda0c7fc395.js
+2
-2
filterable.vue
src/components/card-select/filterable.vue
+17
-4
record-get.vue
src/views/card/record-get.vue
+11
-2
No files found.
dist/index.html
View file @
2e769e1d
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/fonts/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
rel=
stylesheet
href=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.css
><link
href=
/marketing/static/css/main.ea2239588780cf57609a3594e1974b70.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/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/element.2.12.0.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.36.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.10.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store.2.0.01.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/member-group.2.2.16.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.18.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.42.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/selector.1.2.10.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script
type=
text/javascript
src=
/marketing/static/js/manifest.34ee2f25b47040e47d85.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.cbb380c2053ab598e892.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.9be40b8568322326f793.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/fonts/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
rel=
stylesheet
href=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.css
><link
href=
/marketing/static/css/main.ea2239588780cf57609a3594e1974b70.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/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/element.2.12.0.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.36.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.10.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store.2.0.01.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/member-group.2.2.16.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.18.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.42.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/selector.1.2.10.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script
type=
text/javascript
src=
/marketing/static/js/manifest.194ab2506cda0c7fc395.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.cbb380c2053ab598e892.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.9be40b8568322326f793.js
></script></body></html>
\ No newline at end of file
dist/static/js/card.
b752b5ac0bb7d9d1a252
.js
→
dist/static/js/card.
08323db46eebfee39d0b
.js
View file @
2e769e1d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/manifest.
34ee2f25b47040e47d8
5.js
→
dist/static/js/manifest.
194ab2506cda0c7fc39
5.js
View file @
2e769e1d
!
function
(
e
){
var
r
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
t
,
c
,
a
){
for
(
var
i
,
d
,
u
,
f
=
0
,
s
=
[];
f
<
t
.
length
;
f
++
)
d
=
t
[
f
],
n
[
d
]
&&
s
.
push
(
n
[
d
][
0
]),
n
[
d
]
=
0
;
for
(
i
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
i
)
&&
(
e
[
i
]
=
c
[
i
]);
for
(
r
&&
r
(
t
,
c
,
a
);
s
.
length
;)
s
.
shift
()();
if
(
a
)
for
(
f
=
0
;
f
<
a
.
length
;
f
++
)
u
=
o
(
o
.
s
=
a
[
f
]);
return
u
};
var
t
=
{},
n
=
{
13
:
0
};
function
o
(
r
){
if
(
t
[
r
])
return
t
[
r
].
exports
;
var
n
=
t
[
r
]
=
{
i
:
r
,
l
:
!
1
,
exports
:{}};
return
e
[
r
].
call
(
n
.
exports
,
n
,
n
.
exports
,
o
),
n
.
l
=!
0
,
n
.
exports
}
o
.
e
=
function
(
e
){
var
r
=
n
[
e
];
if
(
0
===
r
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
r
)
return
r
[
2
];
var
t
=
new
Promise
(
function
(
t
,
o
){
r
=
n
[
e
]
=
[
t
,
o
]});
r
[
2
]
=
t
;
var
c
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
o
.
nc
&&
a
.
setAttribute
(
"nonce"
,
o
.
nc
),
a
.
src
=
o
.
p
+
"static/js/"
+
({
0
:
"card"
,
1
:
"game"
,
2
:
"wechat"
,
3
:
"message"
,
4
:
"ewash"
,
5
:
"evaluation"
,
6
:
"ecm"
,
7
:
"activity"
,
8
:
"recharge"
,
9
:
"msg"
,
10
:
"calllog"
}[
e
]
||
e
)
+
"."
+
{
0
:
"b752b5ac0bb7d9d1a252"
,
1
:
"a91bdcf8d1cfdd6114a5"
,
2
:
"60c666b3c98a6e488994"
,
3
:
"817c2fce5d629049941d"
,
4
:
"17d5d8e8e5023c0ef4dd"
,
5
:
"0c17680da1cc0f794988"
,
6
:
"6b391ade87c87169300b"
,
7
:
"520a54176361c7b4f5f4"
,
8
:
"1ff302476a871dc141c7"
,
9
:
"ed6ba5a1645f90d782a1"
,
10
:
"012adc27d4425d824c4b"
}[
e
]
+
".js"
;
var
i
=
setTimeout
(
d
,
12
e4
);
function
d
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
i
);
var
r
=
n
[
e
];
0
!==
r
&&
(
r
&&
r
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
d
,
c
.
appendChild
(
a
),
t
},
o
.
m
=
e
,
o
.
c
=
t
,
o
.
d
=
function
(
e
,
r
,
t
){
o
.
o
(
e
,
r
)
||
Object
.
defineProperty
(
e
,
r
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
t
})},
o
.
n
=
function
(
e
){
var
r
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
o
.
d
(
r
,
"a"
,
r
),
r
},
o
.
o
=
function
(
e
,
r
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
r
)},
o
.
p
=
"/marketing/"
,
o
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
r
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
t
,
c
,
a
){
for
(
var
i
,
d
,
f
,
u
=
0
,
s
=
[];
u
<
t
.
length
;
u
++
)
d
=
t
[
u
],
n
[
d
]
&&
s
.
push
(
n
[
d
][
0
]),
n
[
d
]
=
0
;
for
(
i
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
i
)
&&
(
e
[
i
]
=
c
[
i
]);
for
(
r
&&
r
(
t
,
c
,
a
);
s
.
length
;)
s
.
shift
()();
if
(
a
)
for
(
u
=
0
;
u
<
a
.
length
;
u
++
)
f
=
o
(
o
.
s
=
a
[
u
]);
return
f
};
var
t
=
{},
n
=
{
13
:
0
};
function
o
(
r
){
if
(
t
[
r
])
return
t
[
r
].
exports
;
var
n
=
t
[
r
]
=
{
i
:
r
,
l
:
!
1
,
exports
:{}};
return
e
[
r
].
call
(
n
.
exports
,
n
,
n
.
exports
,
o
),
n
.
l
=!
0
,
n
.
exports
}
o
.
e
=
function
(
e
){
var
r
=
n
[
e
];
if
(
0
===
r
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
r
)
return
r
[
2
];
var
t
=
new
Promise
(
function
(
t
,
o
){
r
=
n
[
e
]
=
[
t
,
o
]});
r
[
2
]
=
t
;
var
c
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
o
.
nc
&&
a
.
setAttribute
(
"nonce"
,
o
.
nc
),
a
.
src
=
o
.
p
+
"static/js/"
+
({
0
:
"card"
,
1
:
"game"
,
2
:
"wechat"
,
3
:
"message"
,
4
:
"ewash"
,
5
:
"evaluation"
,
6
:
"ecm"
,
7
:
"activity"
,
8
:
"recharge"
,
9
:
"msg"
,
10
:
"calllog"
}[
e
]
||
e
)
+
"."
+
{
0
:
"08323db46eebfee39d0b"
,
1
:
"a91bdcf8d1cfdd6114a5"
,
2
:
"60c666b3c98a6e488994"
,
3
:
"817c2fce5d629049941d"
,
4
:
"17d5d8e8e5023c0ef4dd"
,
5
:
"0c17680da1cc0f794988"
,
6
:
"6b391ade87c87169300b"
,
7
:
"520a54176361c7b4f5f4"
,
8
:
"1ff302476a871dc141c7"
,
9
:
"ed6ba5a1645f90d782a1"
,
10
:
"012adc27d4425d824c4b"
}[
e
]
+
".js"
;
var
i
=
setTimeout
(
d
,
12
e4
);
function
d
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
i
);
var
r
=
n
[
e
];
0
!==
r
&&
(
r
&&
r
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
d
,
c
.
appendChild
(
a
),
t
},
o
.
m
=
e
,
o
.
c
=
t
,
o
.
d
=
function
(
e
,
r
,
t
){
o
.
o
(
e
,
r
)
||
Object
.
defineProperty
(
e
,
r
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
t
})},
o
.
n
=
function
(
e
){
var
r
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
o
.
d
(
r
,
"a"
,
r
),
r
},
o
.
o
=
function
(
e
,
r
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
r
)},
o
.
p
=
"/marketing/"
,
o
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/card-select/filterable.vue
View file @
2e769e1d
<
template
>
<el-select
popper-class=
"c-filterable"
:disabled=
"disabled"
v-loadmore=
"getMore"
remote
filterable
clearable
:remote-method=
"remoteMethod"
@
change=
"updateCId"
size=
"small"
v-model=
"cardId"
placeholder=
"请输入卡券名称选择卡券"
>
<el-option
v-for=
"(item, idx) in tableList"
showNewOption
:key=
"idx"
:label=
"`$
{item.cardName}(
id: ...${item.coupCardId.slice(-5
)})`" :value="item.coupCardId">
<div>
{{
`${item.cardName
}
(
id: ...${item.coupCardId.slice(-5
)
}
)`
}}
<
/div
>
<el-option
v-for=
"(item, idx) in tableList"
showNewOption
:key=
"idx"
:label=
"`$
{item.cardName}(
${item.coupCardId.slice(-6
)})`" :value="item.coupCardId">
<div>
{{
`${item.cardName
}
(
${item.coupCardId.slice(-6
)
}
)`
}}
<
/div
>
<
div
style
=
"color: #909399; font-size: 12px"
>
{{
item
.
subName
||
'--'
}}
<
/div
>
<
/el-option
>
<
/el-select
>
...
...
@@ -13,7 +13,11 @@ export default {
name
:
'card-select-filterable'
,
props
:
{
disabled
:
Boolean
,
cId
:
String
cId
:
String
,
extraParams
:
{
type
:
Object
,
default
:
()
=>
{
}
}
}
,
data
()
{
return
{
...
...
@@ -52,6 +56,14 @@ export default {
}
}
,
methods
:
{
// 清空数据
clean
()
{
this
.
listParams
.
search
=
''
;
this
.
listParams
.
currentPage
=
1
;
this
.
tableList
=
[];
this
.
nomore
=
false
;
this
.
updateCId
(
''
);
}
,
// 获取详情
getCardDetail
(
coupCardId
)
{
this
.
loading
=
true
;
...
...
@@ -95,7 +107,8 @@ export default {
}
this
.
loading
=
true
;
this
.
nomore
=
false
;
getCardListByName
(
this
.
listParams
)
const
params
=
{
...
this
.
listParams
,
...
this
.
extraParams
}
;
getCardListByName
(
params
)
.
then
(
res
=>
{
this
.
loading
=
false
;
const
tableList
=
res
.
result
.
result
?
this
.
tableList
.
concat
(
res
.
result
.
result
)
:
[];
...
...
src/views/card/record-get.vue
View file @
2e769e1d
...
...
@@ -3,8 +3,8 @@
<!-- 条件筛选区 -->
<div
class=
"pb22"
>
<el-input
clearable
v-model=
"listParams.search"
style=
"width:240px"
placeholder=
"请输入会员信息/卡券代码"
@
change=
"refresh"
><i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i></el-input>
<el-checkbox
class=
"vertical-middle"
v-if=
"$store.state.marketing.isShowSelf"
v-model=
"listParams.showSelfFlag"
:true-label=
"1"
:false-label=
"0"
label=
"仅看本人"
border
@
change=
"
refresh
"
/>
<card-select-filter
ref=
"cdf"
:cId
.
sync=
"listParams.coupCardId"
class=
"w250"
@
cIdUpdate=
"refresh"
:disabled=
"listParams.allCouponFlag"
/>
<el-checkbox
class=
"vertical-middle"
v-if=
"$store.state.marketing.isShowSelf"
v-model=
"listParams.showSelfFlag"
:true-label=
"1"
:false-label=
"0"
label=
"仅看本人"
border
@
change=
"
changeShowSelf
"
/>
<card-select-filter
v-bind=
"extraCF"
ref=
"cdf"
:cId
.
sync=
"listParams.coupCardId"
class=
"w250"
@
cIdUpdate=
"refresh"
:disabled=
"listParams.allCouponFlag"
/>
<div
class=
"inline-block ml5"
>
<span
class=
"mr5"
>
查看全部卡券
</span><el-switch
v-model=
"listParams.allCouponFlag"
@
change=
"changeAllCouponFlag"
:active-value=
"1"
:inactive-value=
"0"
/>
<span
class=
"gray fz12 ml5"
style=
"display:inline-block;width:220px;line-height:18px;position:relative;top:8px"
>
*查询全部卡券领取记录单次仅支持区间范围7天的查询,速度较慢,请耐心等候
</span>
...
...
@@ -173,6 +173,11 @@ export default {
dataArr
:
[]
};
},
computed
:
{
extraCF
()
{
return
this
.
listParams
.
showSelfFlag
?
{
extraParams
:
{
showSelfFlag
:
1
}
}
:
{};
}
},
mounted
()
{
this
.
getCouponDateLimit
();
if
(
this
.
$route
.
query
.
coupCardId
)
{
...
...
@@ -195,6 +200,10 @@ export default {
this
.
$store
.
commit
(
'mutations_layoutTips'
,
''
);
},
methods
:
{
changeShowSelf
()
{
// 清空卡券下拉 数据可能不准确不是本人数据
this
.
$refs
.
cdf
.
clean
();
},
toExport
()
{
console
.
log
(
this
.
confirm
.
dateTime
);
if
(
this
.
confirm
.
radio
&&
this
.
confirm
.
dateTime
&&
!
this
.
confirm
.
dateTime
[
0
])
{
...
...
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