Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-link
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d71df95d
authored
Apr 03, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
f838d605
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
26 deletions
src/views/activityLink/components/browseList.vue
src/views/activityLink/dataBoard.vue
src/views/activityLink/editActivity.vue
src/views/activityLink/components/browseList.vue
View file @
d71df95
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
浏览
浏览
</
template
>
</
template
>
<span>
{{ browseCount || 0 }}
</span>
<span>
{{ browseCount || 0 }}
</span>
{{ browseObj.type == 2 ? '位访客' : '次' }}
{{ browseObj.
desc ? browseObj.desc : browseObj.
type == 2 ? '位访客' : '次' }}
</div>
</div>
<el-button
:size=
"size"
class=
"default-blue-btn"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
:size=
"size"
class=
"default-blue-btn"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
...
@@ -254,10 +254,10 @@ export default {
...
@@ -254,10 +254,10 @@ export default {
.table-popover-img
{
.table-popover-img
{
width
:
160px
;
width
:
160px
;
}
}
.edit-
container
{
.edit-
share
{
.table-title
{
.table-title
{
font-weight
:
400
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
700
;
color
:
#333333
;
color
:
#333333
;
line-height
:
20px
;
line-height
:
20px
;
display
:
flex
;
display
:
flex
;
...
@@ -266,8 +266,6 @@ export default {
...
@@ -266,8 +266,6 @@ export default {
color
:
#5850ff
;
color
:
#5850ff
;
}
}
}
}
}
.edit-share
{
/
deep
/
{
/
deep
/
{
.gl-operate
{
.gl-operate
{
margin-left
:
50px
;
margin-left
:
50px
;
...
...
src/views/activityLink/dataBoard.vue
View file @
d71df95
...
@@ -4,28 +4,26 @@
...
@@ -4,28 +4,26 @@
<p
class=
"edit-title"
>
数据看板
</p>
<p
class=
"edit-title"
>
数据看板
</p>
<div
class=
"p-20"
>
<div
class=
"p-20"
>
<GLCombiForm
ref=
"dataRef"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
></GLCombiForm>
<GLCombiForm
ref=
"dataRef"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
></GLCombiForm>
<div
class=
"data-view"
>
<div
class=
"data-view"
:style=
"
{ 'max-width': dataList.length == 6 ? '854px' : '1145px' }">
<template
v-for=
"(item, index) in dataList"
>
<div
v-for=
"(item, index) in dataList"
:key=
"index"
class=
"item"
>
<div
:key=
"index"
class=
"item"
>
<div
class=
"name"
>
<div
class=
"name"
>
{{
item
.
name
}}
{{
item
.
name
}}
<el-popover
class=
"tips"
placement=
"top"
width=
"260"
trigger=
"hover"
:content=
"item.tips"
>
<el-popover
class=
"tips"
placement=
"top"
width=
"260"
trigger=
"hover"
:content=
"item.tips"
>
<img
slot=
"reference"
class=
"tips-icon"
src=
"@/components/glsx-combi-form/images/icon-tip.png"
/>
<img
slot=
"reference"
class=
"tips-icon"
src=
"@/components/glsx-combi-form/images/icon-tip.png"
/>
</el-popover>
</el-popover>
</div>
</div>
<div
class=
"value"
>
<div
class=
"value"
>
{{
dataBoard
[
item
.
key
]
||
0
}}
{{
dataBoard
[
item
.
key
]
||
0
}}
<span
:class=
"
{ disabled: !(dataBoard[item.key] || 0) }" @click="getDetail(item, dataBoard[item.key])">详情
</span>
<span
:class=
"
{ disabled: !(dataBoard[item.key] || 0) }" @click="getDetail(item, dataBoard[item.key])">详情
</span>
</div>
<template
v-if=
"item.half"
>
<div
class=
"half"
>
日环比:
<div
:class=
"['icon',
{ up: dataBoard[item.half] > 0 }, { down: dataBoard[item.half]
< 0
}]"
></div>
<span
class=
"num"
>
{{
Math
.
abs
(
dataBoard
[
item
.
half
]).
toFixed
(
2
)
||
0
}}
%
</span>
</div>
</
template
>
</div>
</div>
</template>
<template
v-if=
"item.half"
>
<div
class=
"half"
>
日环比:
<div
:class=
"['icon',
{ up: dataBoard[item.half] > 0 }, { down: dataBoard[item.half]
< 0
}]"
></div>
<span
class=
"num"
>
{{
Math
.
abs
(
dataBoard
[
item
.
half
]).
toFixed
(
2
)
||
0
}}
%
</span>
</div>
</
template
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -65,6 +63,7 @@ const dataList = [
...
@@ -65,6 +63,7 @@ const dataList = [
{
name
:
'新增浏览量'
,
type
:
1
,
timeType
:
1
,
key
:
'browseCount'
,
tips
:
'统计时间内,新增页面被浏览的次数(一人多次访问计为多次)'
,
half
:
'browseRingRatio'
},
{
name
:
'新增浏览量'
,
type
:
1
,
timeType
:
1
,
key
:
'browseCount'
,
tips
:
'统计时间内,新增页面被浏览的次数(一人多次访问计为多次)'
,
half
:
'browseRingRatio'
},
{
name
:
'新增访客数'
,
type
:
2
,
timeType
:
1
,
key
:
'fansCount'
,
tips
:
'统计时间内访问页面的人数(一人多次访问计为一次)'
,
half
:
'fansRingRatio'
},
{
name
:
'新增访客数'
,
type
:
2
,
timeType
:
1
,
key
:
'fansCount'
,
tips
:
'统计时间内访问页面的人数(一人多次访问计为一次)'
,
half
:
'fansRingRatio'
},
{
name
:
'新增订单数'
,
type
:
1
,
timeType
:
1
,
key
:
'orderCount'
,
tips
:
'统计时间内,新增订单数(只记录已付款的订单)'
,
half
:
'orderRingRatio'
},
{
name
:
'新增订单数'
,
type
:
1
,
timeType
:
1
,
key
:
'orderCount'
,
tips
:
'统计时间内,新增订单数(只记录已付款的订单)'
,
half
:
'orderRingRatio'
},
{
name
:
'意向客户数'
,
type
:
2
,
desc
:
'位意向客户'
,
key
:
'totalBrowseCount'
,
tips
:
'意向客户数(只记录提交意向的客户)'
},
{
name
:
'累计浏览量'
,
type
:
1
,
key
:
'totalBrowseCount'
,
tips
:
'页面被浏览的总次数(一人多次访问计为多次)'
},
{
name
:
'累计浏览量'
,
type
:
1
,
key
:
'totalBrowseCount'
,
tips
:
'页面被浏览的总次数(一人多次访问计为多次)'
},
{
name
:
'累计访客数'
,
type
:
2
,
key
:
'totalFansCount'
,
tips
:
'访问页面的总人数(一人多次访问计为一次)'
},
{
name
:
'累计访客数'
,
type
:
2
,
key
:
'totalFansCount'
,
tips
:
'访问页面的总人数(一人多次访问计为一次)'
},
{
name
:
'累计订单数'
,
type
:
2
,
key
:
'totalOrderCount'
,
tips
:
'累计订单总数(只记录已付款的订单)'
}
{
name
:
'累计订单数'
,
type
:
2
,
key
:
'totalOrderCount'
,
tips
:
'累计订单总数(只记录已付款的订单)'
}
...
...
src/views/activityLink/editActivity.vue
View file @
d71df95
...
@@ -727,6 +727,23 @@ export default {
...
@@ -727,6 +727,23 @@ export default {
label
:
'营销玩法'
,
label
:
'营销玩法'
,
name
:
'play'
,
name
:
'play'
,
addHtml
:
'play'
addHtml
:
'play'
},
{
label
:
'广汇专属'
,
name
:
'subscribe'
,
type
:
'radio'
,
optionList
:
[
{
optionId
:
1
,
optionLabel
:
'广汇续保权益套餐(仅限广汇门店选中)'
},
{
optionId
:
2
,
optionLabel
:
'非广汇续保权益套餐'
}
],
optionId
:
'optionId'
,
optionLabel
:
'optionLabel'
}
}
],
],
projuctEditFormData
:
[
projuctEditFormData
:
[
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment