Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shareConfig
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
gic-web
shareConfig
Commits
3556fd08
Commit
3556fd08
authored
Nov 29, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 增加奖励
parent
49096f08
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
48 deletions
+17
-48
index.html
dist/index.html
+2
-2
app.ce937acfa3c7202364fd57cce3062dda.css
dist/static/css/app.ce937acfa3c7202364fd57cce3062dda.css
+0
-0
3.2549dae1a989371e0a90.js
dist/static/js/3.2549dae1a989371e0a90.js
+0
-0
manifest.ce8112c7c1a9a8b5bb7d.js
dist/static/js/manifest.ce8112c7c1a9a8b5bb7d.js
+2
-2
finished-active.vue
src/components/active/finished-active.vue
+13
-44
No files found.
dist/index.html
View file @
3556fd08
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
分享有礼
</title><link
href=
./static/css/app.d6b39b4ba4fd6cd2dd124cb1bcc10968.css
rel=
stylesheet
></head><body
style=
"background-color: #f0f2f5;min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.33.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.03.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.13.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.38.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.12.js
></script><script
type=
text/javascript
src=
./static/js/manifest.941944a8b361417f65d1.js
></script><script
type=
text/javascript
src=
./static/js/vendor.8455def81090347f10ce.js
></script><script
type=
text/javascript
src=
./static/js/app.063950505fceb28630cd.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
href=
./static/css/app.ce937acfa3c7202364fd57cce3062dda.css
rel=
stylesheet
></head><body
style=
"background-color: #f0f2f5;min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.33.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.03.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-new.2.0.29.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.13.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.38.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/selector.1.1.91.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.12.js
></script><script
type=
text/javascript
src=
./static/js/manifest.ce8112c7c1a9a8b5bb7d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.8455def81090347f10ce.js
></script><script
type=
text/javascript
src=
./static/js/app.063950505fceb28630cd.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
d6b39b4ba4fd6cd2dd124cb1bcc10968
.css
→
dist/static/css/app.
ce937acfa3c7202364fd57cce3062dda
.css
View file @
3556fd08
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/3.
c3f9dee37529d99c9b02
.js
→
dist/static/js/3.
2549dae1a989371e0a90
.js
View file @
3556fd08
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.
941944a8b361417f65d1
.js
→
dist/static/js/manifest.
ce8112c7c1a9a8b5bb7d
.js
View file @
3556fd08
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
c
,
a
){
for
(
var
f
,
i
,
u
,
d
=
0
,
b
=
[];
d
<
r
.
length
;
d
++
)
i
=
r
[
d
],
t
[
i
]
&&
b
.
push
(
t
[
i
][
0
]),
t
[
i
]
=
0
;
for
(
f
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
f
)
&&
(
e
[
f
]
=
c
[
f
]);
for
(
n
&&
n
(
r
,
c
,
a
);
b
.
length
;)
b
.
shift
()();
if
(
a
)
for
(
d
=
0
;
d
<
a
.
length
;
d
++
)
u
=
o
(
o
.
s
=
a
[
d
]);
return
u
};
var
r
=
{},
t
=
{
15
:
0
};
function
o
(
n
){
if
(
r
[
n
])
return
r
[
n
].
exports
;
var
t
=
r
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
t
.
exports
,
t
,
t
.
exports
,
o
),
t
.
l
=!
0
,
t
.
exports
}
o
.
e
=
function
(
e
){
var
n
=
t
[
e
];
if
(
0
===
n
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
n
)
return
n
[
2
];
var
r
=
new
Promise
(
function
(
r
,
o
){
n
=
t
[
e
]
=
[
r
,
o
]});
n
[
2
]
=
r
;
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/"
+
e
+
"."
+
{
0
:
"b1c6d8cabf2459ac5a8a"
,
1
:
"5b546fa38466a0b05e37"
,
2
:
"0764e3cc2e64be221503"
,
3
:
"c3f9dee37529d99c9b02"
,
4
:
"e42560cdcc9ef2f1fe8a"
,
5
:
"8ecd133bf1cda0bdffb4"
,
6
:
"fda09ea240d5c03fd4f4"
,
7
:
"b0fd74564cc799593b8f"
,
8
:
"fe9ec49f63ecd8e527ba"
,
9
:
"522a01ff8d619d2bf030"
,
10
:
"e16b73d2d4b922255e52"
,
11
:
"c11d02c33702d00b2e2e"
,
12
:
"b96af0829c134b12bfbb"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
i
,
12
e4
);
function
i
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
i
,
c
.
appendChild
(
a
),
r
},
o
.
m
=
e
,
o
.
c
=
r
,
o
.
d
=
function
(
e
,
n
,
r
){
o
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
o
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
o
.
d
(
n
,
"a"
,
n
),
n
},
o
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
o
.
p
=
"./"
,
o
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
c
,
a
){
for
(
var
f
,
i
,
u
,
d
=
0
,
b
=
[];
d
<
r
.
length
;
d
++
)
i
=
r
[
d
],
t
[
i
]
&&
b
.
push
(
t
[
i
][
0
]),
t
[
i
]
=
0
;
for
(
f
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
f
)
&&
(
e
[
f
]
=
c
[
f
]);
for
(
n
&&
n
(
r
,
c
,
a
);
b
.
length
;)
b
.
shift
()();
if
(
a
)
for
(
d
=
0
;
d
<
a
.
length
;
d
++
)
u
=
o
(
o
.
s
=
a
[
d
]);
return
u
};
var
r
=
{},
t
=
{
15
:
0
};
function
o
(
n
){
if
(
r
[
n
])
return
r
[
n
].
exports
;
var
t
=
r
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
t
.
exports
,
t
,
t
.
exports
,
o
),
t
.
l
=!
0
,
t
.
exports
}
o
.
e
=
function
(
e
){
var
n
=
t
[
e
];
if
(
0
===
n
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
n
)
return
n
[
2
];
var
r
=
new
Promise
(
function
(
r
,
o
){
n
=
t
[
e
]
=
[
r
,
o
]});
n
[
2
]
=
r
;
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/"
+
e
+
"."
+
{
0
:
"b1c6d8cabf2459ac5a8a"
,
1
:
"5b546fa38466a0b05e37"
,
2
:
"0764e3cc2e64be221503"
,
3
:
"2549dae1a989371e0a90"
,
4
:
"e42560cdcc9ef2f1fe8a"
,
5
:
"8ecd133bf1cda0bdffb4"
,
6
:
"fda09ea240d5c03fd4f4"
,
7
:
"b0fd74564cc799593b8f"
,
8
:
"fe9ec49f63ecd8e527ba"
,
9
:
"522a01ff8d619d2bf030"
,
10
:
"e16b73d2d4b922255e52"
,
11
:
"c11d02c33702d00b2e2e"
,
12
:
"b96af0829c134b12bfbb"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
i
,
12
e4
);
function
i
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
i
,
c
.
appendChild
(
a
),
r
},
o
.
m
=
e
,
o
.
c
=
r
,
o
.
d
=
function
(
e
,
n
,
r
){
o
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
o
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
o
.
d
(
n
,
"a"
,
n
),
n
},
o
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
o
.
p
=
"./"
,
o
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/active/finished-active.vue
View file @
3556fd08
...
...
@@ -16,61 +16,30 @@ import finishedActive from '@/components/active/finished-active.vue';
<div
class=
"finished-active border-box"
>
<ul>
<template
v-for=
"(item, index) in finishedData"
>
<li
:class=
"['border-box', selectItem == item.activityId && index != 0 ? 'li-border' : '']"
:key=
"index + 'data'"
>
<div
class=
"finished-active-title flex flex-space-between border-box"
@
click
.
stop=
"selectLi(item)"
>
<li
:class=
"['border-box', selectItem == item.activityId && index != 0 ? 'li-border' : '']"
:key=
"index + 'data'"
>
<div
class=
"finished-active-title flex flex-space-between border-box"
@
click
.
stop=
"selectLi(item)"
>
<div
class=
"active-title-left"
>
<div
class=
"active-title-name font-18 color-303133"
>
{{
item
.
activityName
}}
</div>
<div
class=
"active-title-date font-14 color-909399 m-t-7"
>
{{
item
.
startDate
|
formatTimeYmdHms
}}
-
{{
item
.
endDate
|
formatTimeYmdHms
}}
</div>
</div>
<div
class=
"active-title-right"
>
<el-button
type=
"primary"
plain
@
click=
"toEdit(index, item)"
>
活动配置
</el-button>
<el-button
type=
"primary"
plain
@
click=
"toEdit(index, item)"
>
活动配置
</el-button>
<!--
<el-button
type=
"primary"
plain
@
click=
"handleCopy(index, item)"
>
复制路径
</el-button>
-->
<el-button
type=
"primary"
plain
@
click=
"toDataList(index, item)"
>
数据明细
</el-button>
<el-button
type=
"primary"
plain
@
click=
"toDataList(index, item)"
>
数据明细
</el-button>
</div>
</div>
<div
v-if=
"selectItem == item.activityId"
class=
"finished-active-body"
>
<out-date-active
:barChartData=
"barChartData"
:funnelData=
"funnelData"
></out-date-active>
<div
v-if=
"selectItem == item.activityId"
class=
"finished-active-body"
>
<out-date-active
:barChartData=
"barChartData"
:funnelData=
"funnelData"
></out-date-active>
</div>
</li>
</
template
>
</ul>
<div
class=
"pagination text-right m-t-14"
v-if=
"total"
>
<el-pagination
small
:page-size=
"pageSize"
:current-page=
"currentPage"
layout=
"prev, pager, next"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
>
</el-pagination>
<div
class=
"pagination text-right m-t-14"
v-if=
"finishedData.length"
>
<el-pagination
small
:page-size=
"pageSize"
:current-page=
"currentPage"
layout=
"prev, pager, next"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
>
</el-pagination>
</div>
</div>
</template>
...
...
@@ -90,16 +59,16 @@ export default {
funnelData
:
[],
barChartData
:
{
columns
:
[
'日期'
,
'访问用户'
,
'下单用户'
],
rows
:
[{
日期
:
'1/1'
,
访问用户
:
1393
,
下单用户
:
1093
,
},
{
日期
:
'1/2'
,
访问用户
:
3530
,
下单用户
:
3230
},
{
日期
:
'1/3'
,
访问用户
:
2923
,
下单用户
:
2623
},
{
日期
:
'1/4'
,
访问用户
:
1723
,
下单用户
:
1423
},
{
日期
:
'1/5'
,
访问用户
:
3192
,
下单用户
:
3192
},
{
日期
:
'1/6'
,
访问用户
:
3593
,
下单用户
:
3293
}]
rows
:
[{
日期
:
'1/1'
,
访问用户
:
1393
,
下单用户
:
1093
},
{
日期
:
'1/2'
,
访问用户
:
3530
,
下单用户
:
3230
},
{
日期
:
'1/3'
,
访问用户
:
2923
,
下单用户
:
2623
},
{
日期
:
'1/4'
,
访问用户
:
1723
,
下单用户
:
1423
},
{
日期
:
'1/5'
,
访问用户
:
3192
,
下单用户
:
3192
},
{
日期
:
'1/6'
,
访问用户
:
3593
,
下单用户
:
3293
}]
},
selectItem
:
''
,
finishedData
:
[
{
/*
{
activityId: 1,
activityName: '1',
startDate: 1574300553953,
endDate: 1574300553953
}
}
*/
],
// 分页
pageSize
:
20
,
...
...
@@ -147,14 +116,14 @@ export default {
*/
toEdit
(
index
,
row
)
{
const
that
=
this
;
that
.
$router
.
push
(
`/createActive?activityId=
${
row
.
activityId
}
&editFlag=show`
)
that
.
$router
.
push
(
`/createActive?activityId=
${
row
.
activityId
}
&editFlag=show`
)
;
},
/**
* 数据明细
*/
toDataList
(
index
,
row
)
{
const
that
=
this
;
that
.
$router
.
push
(
`/dataDetail?activityId=
${
row
.
activityId
}
`
)
that
.
$router
.
push
(
`/dataDetail?activityId=
${
row
.
activityId
}
`
)
;
},
/**
* 复制路径
...
...
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