Commit 96ca9f12 by 杨北旺

售后介绍页

1 parent d34bc1e5
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
<div class="box_con_wrap"> <div class="box_con_wrap">
<p class="h18_title">养车权益锁客返厂案例</p> <p class="h18_title">养车权益锁客返厂案例</p>
<div class="box_item"> <div class="box_item">
<p class="textOne">202年12月4日,张显示驾驶日产轩逸经过葫芦岛时与前车发生碰撞,车头几乎全部报废。</p> <p class="textOne">2020年12月4日,张显示驾驶日产轩逸经过葫芦岛时与前车发生碰撞,车头几乎全部报废。</p>
<div class="image_wrap"> <div class="image_wrap">
<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/srcm_case.png" /> <img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/case_one.png" />
</div> </div>
<p class="textOne">通过嘀加平台触发预警推送消息给门店,门店及时联系车主进行救援并送修,为门店带来4000元产值。</p> <p class="textOne">通过嘀加平台触发预警推送消息给门店,门店及时联系车主进行救援并送修,为门店带来4000元产值。</p>
</div> </div>
...@@ -14,21 +14,21 @@ ...@@ -14,21 +14,21 @@
<div class="box_con_wrap"> <div class="box_con_wrap">
<p class="h18_title">全损无忧返厂案例</p> <p class="h18_title">全损无忧返厂案例</p>
<div class="box_item"> <div class="box_item">
<p class="textOne">202年12月4日,张显示驾驶日产轩逸经过葫芦岛时与前车发生碰撞,车头几乎全部报废。</p> <p class="textOne">2020年12月4日,张显示驾驶日产轩逸经过湖南张家界桑植市时因疏忽大意发生单方面碰撞事故,导致车辆严重损坏。</p>
<div class="image_wrap"> <div class="image_wrap">
<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/srcm_case.png" /> <img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/case_two.png" />
</div> </div>
<p class="textOne">通过嘀加平台触发预警推送消息给门店,门店及时联系车主进行救援并送修,为门店带来4000元产值。</p> <p class="textOne">经核定,车险承担保险公司赔付车辆实际价值70000元,全损无忧额外赔付12813.98元。</p>
</div> </div>
</div> </div>
<div class="box_con_wrap"> <div class="box_con_wrap">
<p class="h18_title">轮胎无忧返厂案例</p> <p class="h18_title">轮胎无忧返厂案例</p>
<div class="box_item"> <div class="box_item">
<p class="textOne">202年12月4日,张显示驾驶日产轩逸经过葫芦岛时与前车发生碰撞,车头几乎全部报废。</p> <p class="textOne">2020年7月31日,李小姐广汽丰田车,轮胎在正常使用过程中,因质量问题导致无法继续使用。</p>
<div class="image_wrap"> <div class="image_wrap">
<img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/srcm_case.png" /> <img src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/case_three.png" />
</div> </div>
<p class="textOne">通过嘀加平台触发预警推送消息给门店,门店及时联系车主进行救援并送修,为门店带来4000元产值。</p> <p class="textOne">经过核实和确认情况后,依照合同约定,赔付车主更换轮胎费用630。</p>
</div> </div>
</div> </div>
</div> </div>
......
<template> <template>
<div :id="echartId" class="chart-container"></div> <div :id="echartId" :style="'width:'+width+'px'" class="chart-container"></div>
</template> </template>
<script> <script>
...@@ -11,13 +11,7 @@ const base_url = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/' ...@@ -11,13 +11,7 @@ const base_url = 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/'
export default { export default {
name: '', name: '',
data() { data() {
return {} return {
},
props: {
echartId: {
type: String,
default: '',
xAxisData: [], xAxisData: [],
getTotal: [], getTotal: [],
usedTotal: [], usedTotal: [],
...@@ -26,6 +20,17 @@ export default { ...@@ -26,6 +20,17 @@ export default {
} }
}, },
props: {
echartId: {
type: String,
default: ''
},
width: {
type: Number,
default: 400
}
},
mounted() { mounted() {
this.initTIme() this.initTIme()
}, },
...@@ -80,8 +85,8 @@ export default { ...@@ -80,8 +85,8 @@ export default {
}, },
legend: { legend: {
// data: ['领券数', '核销数', '精品升级订单'], // data: ['领券数', '核销数', '精品升级订单'],
itemWidth:12, itemWidth: 12,
itemHeight:12, itemHeight: 12,
data: [ data: [
{ {
icon: `image://${base_url}echart_icon_1.png`, icon: `image://${base_url}echart_icon_1.png`,
...@@ -95,7 +100,7 @@ export default { ...@@ -95,7 +100,7 @@ export default {
icon: `image://${base_url}echart_icon_3.png`, icon: `image://${base_url}echart_icon_3.png`,
name: '精品升级订单' name: '精品升级订单'
} }
], ]
}, },
xAxis: [ xAxis: [
{ {
......
<template> <template>
<div :id="echartId" class="chart-container"></div> <div :id="echartId" :style="'width:'+width+'px'" class="chart-container"></div>
</template> </template>
<script> <script>
...@@ -23,6 +23,10 @@ export default { ...@@ -23,6 +23,10 @@ export default {
echartId: { echartId: {
type: String, type: String,
default: '' default: ''
},
width:{
type:Number,
default:400
} }
}, },
......
import Vue from 'vue' import Vue from 'vue'
import { Message, Button, ButtonGroup, Form, FormItem, Input, Radio, RadioGroup, Checkbox, CheckboxGroup, Switch, Select, Option, TimePicker, Col, DatePicker, Tree, Card, Table, TableColumn, Pagination, Loading, Dialog, MessageBox, Upload, Tooltip, Tabs, TabPane, Container, Progress, Timeline, TimelineItem, Dropdown, DropdownMenu, Rate, Image, Drawer, Popover } from 'element-ui' import { Message, Button, ButtonGroup, Form, FormItem, Input, Radio, RadioGroup, Checkbox, CheckboxGroup, Switch, Select, Option, TimePicker, Col, DatePicker, Tree, Card, Table, TableColumn, Pagination, Loading, Dialog, MessageBox, Upload, Tooltip, Tabs, TabPane, Container, Progress, Timeline, TimelineItem, Dropdown, DropdownMenu, Rate, Image, Drawer, Popover, Row } from 'element-ui'
Vue.use(Button) Vue.use(Button)
Vue.use(ButtonGroup) Vue.use(ButtonGroup)
Vue.use(Form) Vue.use(Form)
...@@ -35,5 +35,6 @@ Vue.use(Rate) ...@@ -35,5 +35,6 @@ Vue.use(Rate)
Vue.use(Image) Vue.use(Image)
Vue.use(Drawer) Vue.use(Drawer)
Vue.use(Popover) Vue.use(Popover)
Vue.use(Row)
export const message = Message export const message = Message
export const messageBox = MessageBox export const messageBox = MessageBox
\ No newline at end of file \ No newline at end of file
<template>
<div class="bloc-container">
<div class="top_wrapper">
<div class="left_box_wrap"></div>
<div class="right_wrap">
<div class="right_top_wrap">
<div class="r_t_box"></div>
<div class="r_t_box"></div>
<div class="r_t_box r_t_box_max"></div>
</div>
<div class="right_bottom_wrap"></div>
</div>
</div>
<div class="bottom_wrapper">
<div class="table_title flex_scb">
<span class="h12_title">门店直播产值详情</span>
<span class="export_span">
导出
<i class="el-icon-d-arrow-right"></i>
</span>
</div>
<div class="tbale_wrap">
<el-table :data="tableData" height="350" style="100%" highlight-current-row>
<el-table-column prop="merchantName" label="门店名称" align="center"></el-table-column>
<el-table-column prop="merchantName" label="参与场次" align="center"></el-table-column>
<el-table-column prop="merchantName" label="总产值" align="center"></el-table-column>
<el-table-column prop="merchantName" label="平均单场产值" align="center"></el-table-column>
<!-- <el-table-column label="总产值" width="500">
<template slot-scope="scope">
<div class="echat_wrap">
<div class="h19_title xtext">{{ scope.row.divisionMoney }}</div>
<div :style="{ width: (100 * scope.row.divisionMoney) / custSortMax + '%' }" class="summary-progress-barin"></div>
</div>
</template>
</el-table-column> -->
</el-table>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
tableData:[]
}
}
}
</script>
<style lang="scss" scoped>
.bloc-container {
margin-top: 17px;
}
.top_wrapper {
display: flex;
justify-content: space-between;
box-sizing: border-box;
padding: 20px 10px 20px 20px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
.left_box_wrap {
width: 300px;
height: 350px;
border-radius: 2px;
border: 1px solid #eae9ee;
}
.right_wrap {
width: calc(100% - 310px);
.right_top_wrap {
display: flex;
justify-content: space-between;
.r_t_box {
// width: 240px;
width: calc(30% - 5px);
height: 160px;
background: #ffffff;
border-radius: 2px;
border: 1px solid #eae9ee;
}
.r_t_box_max {
width: calc(40% - 10px);
}
}
.right_bottom_wrap {
margin-top: 10px;
height: 180px;
background: #ffffff;
border-radius: 2px;
border: 1px solid #eae9ee;
}
}
}
.bottom_wrapper {
margin-top: 10px;
height: 398px;
background: #ffffff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
box-sizing: border-box;
padding: 15px;
.table_title {
padding: 0 0 10px 0;
.export_span {
font-size: 14px;
font-weight: 500;
color: #5850ff;
cursor: pointer;
> i {
color: #5850ff;
margin-left: 5px;
}
}
}
}
</style>
\ No newline at end of file \ No newline at end of file
<template> <template>
<div class=""> <div class="">
<!-- <square-page></square-page> -->
<!-- 标签菜单 开始 --> <!-- <BlocHome></BlocHome> -->
<el-tabs v-model="menuActive" class="after_sales_tabs"> <introduct></introduct>
<el-tab-pane label="直播广场" name="1">
<square-page></square-page>
</el-tab-pane>
<el-tab-pane label="我参与的直播" name="2">配置管理</el-tab-pane>
</el-tabs>
<!-- 标签菜单 end -->
</div> </div>
</template> </template>
<script> <script>
import SquarePage from './square.vue' // import SquarePage from './square.vue'
import BlocHome from './blocHome.vue'
import introduct from './introduct.vue'
export default { export default {
components: { components: {
SquarePage // SquarePage,
// BlocHome,
introduct
}, },
data() { data() {
return { return {
...@@ -25,9 +22,6 @@ export default { ...@@ -25,9 +22,6 @@ export default {
} }
} }
</script> </script>
<style lang="scss">
</style>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/assets/css/after_sales.scss';
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -300,4 +300,7 @@ export default { ...@@ -300,4 +300,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/assets/css/square.scss'; @import '@/assets/css/square.scss';
.square_page{
margin-top: 17px;
}
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
</div> </div>
<qrCode></qrCode> <qrCode></qrCode>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose"> <el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<video v-if="videoShow" width="100%" height="100%" controls src="https://img02.glsx.com.cn/scrm/video/pre_video.mp4"></video> <video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/pre_video.mp4"></video>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
......
...@@ -93,11 +93,11 @@ ...@@ -93,11 +93,11 @@
</div> --> </div> -->
</div> </div>
<div :hidden="curDivisionType == 1" class="table_wrap"> <div :hidden="curDivisionType == 1" class="table_wrap">
<GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="toGetMyDivision"></GLTable> <GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams" @refreshTable="tableRefreshData"></GLTable>
<!-- <GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams1" @refreshTable="toGetMyDivision"></GLTable> --> <!-- <GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams1" @refreshTable="toGetMyDivision"></GLTable> -->
</div> </div>
<div :hidden="curDivisionType == 2" class="table_wrap"> <div :hidden="curDivisionType == 2" class="table_wrap">
<GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams1" @refreshTable="toGetMyDivision"></GLTable> <GLTable ref="table" :layout="layout" :tableData="tableData" :tableTotal="tableTotal" :pageConf="pageConf" :tableParams="tableParams1" @refreshTable="tableRefreshData"></GLTable>
</div> </div>
</div> </div>
</template> </template>
...@@ -462,6 +462,14 @@ export default { ...@@ -462,6 +462,14 @@ export default {
this.getMyTotalData(this.httpParam) this.getMyTotalData(this.httpParam)
}) })
}, },
// 表格分页获取数据
tableRefreshData(){
let temp = this.httpParam
delete temp.currentPage
delete temp.pageSize
delete temp.divisionType
this.toGetMyDivision(temp)
},
// 获取我的分账统计-集团 // 获取我的分账统计-集团
getMyTotalData(params) { getMyTotalData(params) {
delete params.currentPage delete params.currentPage
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
</template> </template>
</div> </div>
<el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose"> <el-dialog :visible.sync="videoShow" width="50%" :before-close="handleClose">
<video v-if="videoShow" width="100%" height="100%" controls src="https://img02.glsx.com.cn/scrm/video/mid_video.mp4"></video> <video v-if="videoShow" width="100%" height="100%" autoplay controls src="https://img02.glsx.com.cn/scrm/video/mid_video.mp4"></video>
</el-dialog> </el-dialog>
<qrCode></qrCode> <qrCode></qrCode>
</div> </div>
......
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
</div> </div>
<div class="wrap"> <div class="wrap">
<div class="date_line"> <div class="date_line">
<!-- <el-button size="mini" type="primary" @click="toFindChart">统计时间</el-button> -->
<div class="date_title_label">统计时间</div> <div class="date_title_label">统计时间</div>
<div class="date_wrap"> <div class="date_wrap">
<el-date-picker style="width: 160px" :key="dateType == 'date' ? 'day' : 'month'" size="mini" v-model="chartStartDate" :type="dateType" :placeholder="dateplaceholder" @change="getChartStartTime" :picker-options="pickerOptions1"></el-date-picker> <el-date-picker style="width: 160px" :key="dateType == 'date' ? 'day' : 'month'" size="mini" v-model="chartStartDate" :type="dateType" :placeholder="dateplaceholder" @change="getChartStartTime" :picker-options="pickerOptions1"></el-date-picker>
...@@ -72,26 +71,28 @@ ...@@ -72,26 +71,28 @@
</div> </div>
<div v-if="accountLevel == 4" class="mian_line"></div> <div v-if="accountLevel == 4" class="mian_line"></div>
<div v-if="accountLevel != 4" class="mian_line2"></div> <div v-if="accountLevel != 4" class="mian_line2"></div>
<div v-if="accountLevel == 4 && showMore" class="bottom_widget"> <template v-if="accountLevel == 4">
<div class="chart_wrapper"> <div ref="chartFather" v-show="showMore" class="bottom_widget">
<bar-chart ref="mybar" echartId="mybar"></bar-chart> <div :style="'width:' + chartWidth + 'px'" class="chart_wrapper">
</div> <bar-chart ref="mybar" :width="chartWidth" echartId="mybar"></bar-chart>
<div class="chart_wrapper"> </div>
<line-chart ref="myline" echartId="myline"></line-chart> <div :style="'width:' + chartWidth + 'px'" class="chart_wrapper">
</div> <line-chart :width="chartWidth" ref="myline" echartId="myline"></line-chart>
<div class="mid_line"></div> </div>
<div class="showMoreBtn h7_title flex_cc" @click="toChangeShowMoreBtn(showMore)"> <div class="mid_line"></div>
<span>收缩详情</span> <div class="showMoreBtn h7_title flex_cc" @click="toChangeShowMoreBtn(showMore)">
<img class="icon" src="../../assets/updown_icon.png" /> <span>收缩详情</span>
<img class="icon" src="../../assets/updown_icon.png" />
</div>
</div> </div>
</div>
<template v-if="accountLevel != 4">
<bloc-con ref="mybloc" :show="openRankFlag" @showRanking="toOpenRanking"></bloc-con>
</template> </template>
<div v-show="accountLevel != 4">
<bloc-con ref="mybloc" :show="openRankFlag" @showRanking="toOpenRanking"></bloc-con>
</div>
</div> </div>
<template v-if="accountLevel != 4"> <div v-show="accountLevel != 4">
<ranking ref="myRanking" :product="productValueInfo.divisionMoney" :show="openRankFlag" @closeRank="toCloseRanking"></ranking> <ranking ref="myRanking" :product="productValueInfo.divisionMoney" :show="openRankFlag" @closeRank="toCloseRanking"></ranking>
</template> </div>
<div class="box_bg_wrap mini_margin"> <div class="box_bg_wrap mini_margin">
<div class="tab_wrap"> <div class="tab_wrap">
<div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:48%' : 'width:32%'"> <div class="tab_line flex_sc" :style="accountLevel == 4 ? 'width:48%' : 'width:32%'">
...@@ -177,7 +178,8 @@ export default { ...@@ -177,7 +178,8 @@ export default {
firsStore: null, firsStore: null,
persent: 0, persent: 0,
storeList: [], storeList: [],
pickerOptions1:{} pickerOptions1: {},
chartWidth: 400
} }
}, },
created() { created() {
...@@ -195,9 +197,11 @@ export default { ...@@ -195,9 +197,11 @@ export default {
this.showMore = data.status this.showMore = data.status
} }
} }
this.pickerOptions1 = this.setDateLimit() this.pickerOptions1 = this.setDateLimit()
}, },
mounted() { mounted() {
let bodyWidth = document.body.clientWidth
this.chartWidth = bodyWidth / 2.5
this.judgeOpen() this.judgeOpen()
}, },
methods: { methods: {
...@@ -241,10 +245,11 @@ export default { ...@@ -241,10 +245,11 @@ export default {
//按月 //按月
let start = this.chartStartDate let start = this.chartStartDate
let end = this.chartEndDate let end = this.chartEndDate
if (new Date(start).getTime() == new Date(end).getTime()) { end = utils.dateFormat(new Date(utils.getLastDay(end)))
end = utils.dateFormat(new Date(utils.getLastDay(end))) // if (new Date(start).getTime() == new Date(end).getTime()) {
console.log(end) // end = utils.dateFormat(new Date(utils.getLastDay(end)))
} // console.log(end)
// }
// 漏斗图 // 漏斗图
this.$refs.myFunnel.couponsChartData(start, end) this.$refs.myFunnel.couponsChartData(start, end)
// 集团折线图+列表 // 集团折线图+列表
...@@ -263,9 +268,15 @@ export default { ...@@ -263,9 +268,15 @@ export default {
} }
}, },
getChartStartTime(e) { getChartStartTime(e) {
if (!e) {
return
}
this.chartStartDate = utils.dateFormat(e) this.chartStartDate = utils.dateFormat(e)
}, },
getChartEndTime(e) { getChartEndTime(e) {
if (!e) {
return
}
this.chartEndDate = utils.dateFormat(e) this.chartEndDate = utils.dateFormat(e)
}, },
toChangeMonth() { toChangeMonth() {
...@@ -555,6 +566,7 @@ export default { ...@@ -555,6 +566,7 @@ export default {
height: 400px; height: 400px;
position: relative; position: relative;
display: flex; display: flex;
justify-content: space-between;
.chart_wrapper { .chart_wrapper {
width: 50%; width: 50%;
height: 350px; height: 350px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!