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
6d3718a3
Commit
6d3718a3
authored
Aug 14, 2020
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: build
parent
ab57e6cc
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
6 deletions
+16
-6
index.html
dist/index.html
+2
-2
cdKey.10403b2fa917a4d3c6f2.js
dist/static/js/cdKey.10403b2fa917a4d3c6f2.js
+0
-0
cdKey.9f5437e4f0a3a4acde1d.js
dist/static/js/cdKey.9f5437e4f0a3a4acde1d.js
+0
-0
manifest.64c9b57eb6e2e5fe5c59.js
dist/static/js/manifest.64c9b57eb6e2e5fe5c59.js
+2
-2
cdKeyApi.js
src/service/api/cdKeyApi.js
+3
-0
list.vue
src/views/cdkey/list.vue
+9
-2
No files found.
dist/index.html
View file @
6d3718a3
<!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.5806127cadb7278d56a799d9ba18dc8e.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.12.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.22.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.20.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.c9f01e2df2322d89a3e6.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.b30a466c3b2d11195801.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.639926e246003bf2a575.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.5806127cadb7278d56a799d9ba18dc8e.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.12.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.22.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.20.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.64c9b57eb6e2e5fe5c59.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.b30a466c3b2d11195801.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.639926e246003bf2a575.js
></script></body></html>
\ No newline at end of file
dist/static/js/cdKey.10403b2fa917a4d3c6f2.js
deleted
100644 → 0
View file @
ab57e6cc
This diff is collapsed.
Click to expand it.
dist/static/js/cdKey.9f5437e4f0a3a4acde1d.js
0 → 100644
View file @
6d3718a3
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.
c9f01e2df2322d89a3e6
.js
→
dist/static/js/manifest.
64c9b57eb6e2e5fe5c59
.js
View file @
6d3718a3
!
function
(
e
){
var
r
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
t
,
a
,
c
){
for
(
var
i
,
f
,
u
,
s
=
0
,
l
=
[];
s
<
t
.
length
;
s
++
)
f
=
t
[
s
],
n
[
f
]
&&
l
.
push
(
n
[
f
][
0
]),
n
[
f
]
=
0
;
for
(
i
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
i
)
&&
(
e
[
i
]
=
a
[
i
]);
for
(
r
&&
r
(
t
,
a
,
c
);
l
.
length
;)
l
.
shift
()();
if
(
c
)
for
(
s
=
0
;
s
<
c
.
length
;
s
++
)
u
=
o
(
o
.
s
=
c
[
s
]);
return
u
};
var
t
=
{},
n
=
{
14
:
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
a
=
document
.
getElementsByTagName
(
"head"
)[
0
],
c
=
document
.
createElement
(
"script"
);
c
.
type
=
"text/javascript"
,
c
.
charset
=
"utf-8"
,
c
.
async
=!
0
,
c
.
timeout
=
12
e4
,
o
.
nc
&&
c
.
setAttribute
(
"nonce"
,
o
.
nc
),
c
.
src
=
o
.
p
+
"static/js/"
+
({
0
:
"card"
,
1
:
"game"
,
2
:
"wechat"
,
3
:
"message"
,
4
:
"ewash"
,
5
:
"ecm"
,
6
:
"evaluation"
,
7
:
"activity"
,
8
:
"cdKey"
,
9
:
"recharge"
,
10
:
"msg"
,
11
:
"calllog"
}[
e
]
||
e
)
+
"."
+
{
0
:
"8f5b7121286326833189"
,
1
:
"3718a613133aa34b9424"
,
2
:
"0927e95d3fe5b6f648da"
,
3
:
"2d2ca8276e939c42e37e"
,
4
:
"0f8f5a7e1a28450e55c7"
,
5
:
"3f053d97d3e9aea26c10"
,
6
:
"a69c5c6513644d0f2537"
,
7
:
"c9e4106934931698098b"
,
8
:
"10403b2fa917a4d3c6f2"
,
9
:
"e8e771469c2137096ce5"
,
10
:
"08d7348811ff689c70ac"
,
11
:
"07f9326e2a68fd201646"
}[
e
]
+
".js"
;
var
i
=
setTimeout
(
f
,
12
e4
);
function
f
(){
c
.
onerror
=
c
.
onload
=
null
,
clearTimeout
(
i
);
var
r
=
n
[
e
];
0
!==
r
&&
(
r
&&
r
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
c
.
onerror
=
c
.
onload
=
f
,
a
.
appendChild
(
c
),
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
,
a
,
c
){
for
(
var
i
,
f
,
u
,
s
=
0
,
d
=
[];
s
<
t
.
length
;
s
++
)
f
=
t
[
s
],
n
[
f
]
&&
d
.
push
(
n
[
f
][
0
]),
n
[
f
]
=
0
;
for
(
i
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
i
)
&&
(
e
[
i
]
=
a
[
i
]);
for
(
r
&&
r
(
t
,
a
,
c
);
d
.
length
;)
d
.
shift
()();
if
(
c
)
for
(
s
=
0
;
s
<
c
.
length
;
s
++
)
u
=
o
(
o
.
s
=
c
[
s
]);
return
u
};
var
t
=
{},
n
=
{
14
:
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
a
=
document
.
getElementsByTagName
(
"head"
)[
0
],
c
=
document
.
createElement
(
"script"
);
c
.
type
=
"text/javascript"
,
c
.
charset
=
"utf-8"
,
c
.
async
=!
0
,
c
.
timeout
=
12
e4
,
o
.
nc
&&
c
.
setAttribute
(
"nonce"
,
o
.
nc
),
c
.
src
=
o
.
p
+
"static/js/"
+
({
0
:
"card"
,
1
:
"game"
,
2
:
"wechat"
,
3
:
"message"
,
4
:
"ewash"
,
5
:
"ecm"
,
6
:
"evaluation"
,
7
:
"activity"
,
8
:
"cdKey"
,
9
:
"recharge"
,
10
:
"msg"
,
11
:
"calllog"
}[
e
]
||
e
)
+
"."
+
{
0
:
"8f5b7121286326833189"
,
1
:
"3718a613133aa34b9424"
,
2
:
"0927e95d3fe5b6f648da"
,
3
:
"2d2ca8276e939c42e37e"
,
4
:
"0f8f5a7e1a28450e55c7"
,
5
:
"3f053d97d3e9aea26c10"
,
6
:
"a69c5c6513644d0f2537"
,
7
:
"c9e4106934931698098b"
,
8
:
"9f5437e4f0a3a4acde1d"
,
9
:
"e8e771469c2137096ce5"
,
10
:
"08d7348811ff689c70ac"
,
11
:
"07f9326e2a68fd201646"
}[
e
]
+
".js"
;
var
i
=
setTimeout
(
f
,
12
e4
);
function
f
(){
c
.
onerror
=
c
.
onload
=
null
,
clearTimeout
(
i
);
var
r
=
n
[
e
];
0
!==
r
&&
(
r
&&
r
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
c
.
onerror
=
c
.
onload
=
f
,
a
.
appendChild
(
c
),
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/service/api/cdKeyApi.js
View file @
6d3718a3
...
...
@@ -19,6 +19,9 @@ export const cdkeyPlanEdit = params => requests(PREFIX + 'cdkey-plan-edit', para
// 兑换记录
export
const
cdkeyLogRecord
=
params
=>
requests
(
PREFIX
+
'cdkey-log-record'
,
params
);
// 兑换记录
export
const
getCdkeyWxaQrCodeImage
=
params
=>
requests
(
PREFIX
+
'get-cdkey-wxa-qr-code-image'
,
params
);
// 保存/修改兑换码计划
export
const
cdkeyPlanSave
=
PREFIX
+
'cdkey-plan-save'
;
...
...
src/views/cdkey/list.vue
View file @
6d3718a3
...
...
@@ -62,7 +62,7 @@
<dm-pagination
v-show=
"tableList.length"
background
class=
"dm-pagination"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"listParams.currentPage"
:page-sizes=
"[20, 40, 60, 80]"
:page-size=
"listParams.pageSize"
layout=
"total, sizes, prev, pager, next"
:total=
"total"
></dm-pagination>
<el-dialog
title=
"生成链接"
:visible
.
sync=
"codeVisible"
width=
"500px"
>
<div
class=
"text-center pt20"
>
<img
src=
"
"
width=
"192"
height=
"192"
/>
<img
:src=
"qrUrl
"
width=
"192"
height=
"192"
/>
<div
style=
"margin-top:11px;color:#606266;padding-bottom:50px;"
>
- 兑换码链接二维码 -
</div>
</div>
</el-dialog>
...
...
@@ -71,7 +71,7 @@
</template>
<
script
>
import
{
cdkeyPlanRecord
,
cdkeyPlanForbid
,
cdkeyPlanDelete
,
cdkeyExport
}
from
'@/service/api/cdKeyApi.js'
;
import
{
cdkeyPlanRecord
,
cdkeyPlanForbid
,
cdkeyPlanDelete
,
cdkeyExport
,
getCdkeyWxaQrCodeImage
}
from
'@/service/api/cdKeyApi.js'
;
import
{
formatDateTimeByType
}
from
'@/utils/index.js'
;
import
timeCounts
from
'@/components/timeCount/index.vue'
;
import
tableMethods
from
'@/mixins/tableMethods.js'
;
...
...
@@ -97,6 +97,7 @@ export default {
},
dateTime
:
[
''
,
''
],
total
:
0
,
qrUrl
:
''
,
codeVisible
:
false
,
// 导出
projectName
:
'marketing'
,
// 当前项目名
...
...
@@ -108,9 +109,15 @@ export default {
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'营销管理'
,
path
:
''
},
{
name
:
'兑换码'
,
path
:
''
},
{
name
:
'兑换码列表'
,
path
:
''
}]);
// eslint-disable-line
this
.
getTableList
();
this
.
getCdkeyWxaQrCodeImage
();
},
methods
:
{
formatDateTimeByType
,
getCdkeyWxaQrCodeImage
()
{
getCdkeyWxaQrCodeImage
().
then
(
res
=>
{
this
.
qrUrl
=
res
.
result
;
});
},
async
getTableList
()
{
try
{
this
.
loading
=
true
;
...
...
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