Commit d71df95d by 前端

fixed

1 parent f838d605
......@@ -14,7 +14,7 @@
浏览
</template>
<span>{{ browseCount || 0 }}</span>
{{ browseObj.type == 2 ? '位访客' : '次' }}
{{ browseObj.desc ? browseObj.desc : browseObj.type == 2 ? '位访客' : '次' }}
</div>
<el-button :size="size" class="default-blue-btn" type="default" @click="handleExport">导出</el-button>
</div>
......@@ -254,10 +254,10 @@ export default {
.table-popover-img {
width: 160px;
}
.edit-container {
.edit-share {
.table-title {
font-weight: 400;
font-size: 14px;
font-weight: 700;
color: #333333;
line-height: 20px;
display: flex;
......@@ -266,8 +266,6 @@ export default {
color: #5850ff;
}
}
}
.edit-share {
/deep/ {
.gl-operate {
margin-left: 50px;
......
......@@ -4,28 +4,26 @@
<p class="edit-title">数据看板</p>
<div class="p-20">
<GLCombiForm ref="dataRef" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch"></GLCombiForm>
<div class="data-view">
<template v-for="(item, index) in dataList">
<div :key="index" class="item">
<div class="name">
{{ item.name }}
<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" />
</el-popover>
</div>
<div class="value">
{{ dataBoard[item.key] || 0 }}
<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 class="data-view" :style="{ 'max-width': dataList.length == 6 ? '854px' : '1145px' }">
<div v-for="(item, index) in dataList" :key="index" class="item">
<div class="name">
{{ item.name }}
<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" />
</el-popover>
</div>
<div class="value">
{{ dataBoard[item.key] || 0 }}
<span :class="{ disabled: !(dataBoard[item.key] || 0) }" @click="getDetail(item, dataBoard[item.key])">详情</span>
</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>
......@@ -65,6 +63,7 @@ const dataList = [
{ name: '新增浏览量', type: 1, timeType: 1, key: 'browseCount', tips: '统计时间内,新增页面被浏览的次数(一人多次访问计为多次)', half: 'browseRingRatio' },
{ name: '新增访客数', type: 2, timeType: 1, key: 'fansCount', tips: '统计时间内访问页面的人数(一人多次访问计为一次)', half: 'fansRingRatio' },
{ 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: 2, key: 'totalFansCount', tips: '访问页面的总人数(一人多次访问计为一次)' },
{ name: '累计订单数', type: 2, key: 'totalOrderCount', tips: '累计订单总数(只记录已付款的订单)' }
......
......@@ -727,6 +727,23 @@ export default {
label: '营销玩法',
name: 'play',
addHtml: 'play'
},
{
label: '广汇专属',
name: 'subscribe',
type: 'radio',
optionList: [
{
optionId: 1,
optionLabel: '广汇续保权益套餐(仅限广汇门店选中)'
},
{
optionId: 2,
optionLabel: '非广汇续保权益套餐'
}
],
optionId: 'optionId',
optionLabel: 'optionLabel'
}
],
projuctEditFormData: [
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!