Commit ea71e2c8 by 杨北旺

售中售后售前

1 parent d5a3307d
......@@ -12,7 +12,7 @@ let instance = null
Vue.use(GLTable)
// Vue.use(Table)
// Vue.use(TableColumn)
export async function bootstrap({ history, common, messenger, globalState }) {
export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
const { response, request, sign, secret } = await fetchConfig()
Vue.prototype.$history = history
Vue.prototype.$messenger = messenger
......@@ -23,13 +23,13 @@ export async function bootstrap({ history, common, messenger, globalState }) {
Vue.prototype.$defaultStartDate = '2021-07-01'
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
const routesData = common.utils.deepClone(globalState.routers)
routes = getRoutes(routesData)
subscribe({ messenger })
Vue.use(GLButton, { routes, routerBase })
}
export async function mount(props) {
const insts = render(props.routerBase, routes)
export async function mount({ routerBase }) {
const insts = render(routerBase, routes)
router = insts.router
instance = insts.vm
}
......
......@@ -3,9 +3,9 @@
<div class="top_play_wrap flex_scb">
<div class="text_wrap">
<span class="maxTitle">售后直播代运营</span>
<span class="maxTitle">一套可直播变现的代运营服</span>
<span class="maxTitle">一套可直播变现的代运营服务</span>
<span class="midTitle">帮门店实现客户促活变现</span>
<span class="">客户线上化、精准内容种草、网红直播带货变</span>
<span class="">客户线上化、精准内容种草、网红直播带货变现复购。</span>
</div>
<div class="bg_wrap flex_cc">
<img class="max_icon" src="https://img01.glsx.com.cn/weapp/resource/saas/scrm/after_intro_bg.png" />
......
......@@ -97,13 +97,13 @@ export default {
img: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_case1.png',
title: '碰撞维修无忧案例',
desc1: '2020年12月3日,张先生驾驶日产轩逸经过葫芦岛时与前车发生碰撞,车头几乎全部报废;张先生购车环节选购了“车载硬件+碰撞维修无忧套餐”。',
desc2: '通过嘀加SCRM平台触发预警推送消息到门店,门店即使联系车主进行救援并送修,为门店带来40000元回厂产值。'
desc2: '通过嘀加SCRM平台触发预警推送消息到门店,门店及时联系车主进行救援并送修,为门店带来40000元回厂产值。'
},
{
icon: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_icon_5.png',
img: 'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_case2.png',
title: '整车全损无忧案例',
desc1: '2021年1月9日,李女生驾驶奔驰C级途径湖南张家界市出差,当晚留宿在朋友家小区,隔天早饭后想驾车回公司,发生车辆被盗了,报警后一直未找到爱车。李女士购车环节选购了“车载硬件+整车全损无忧套餐”。',
desc1: '2021年1月9日,李女生驾驶奔驰C级途径湖南张家界市出差,当晚留宿在朋友家小区,隔天早饭后想驾车回公司,发现车辆被盗了,报警后一直未找到爱车。李女士购车环节选购了“车载硬件+整车全损无忧套餐”。',
desc2: '李女士发起补偿申请,经核定,根据权益服务合同协议,最终合计补偿李女士365800元。'
},
{
......
......@@ -58,7 +58,7 @@
</div>
<div v-if="accountLevel < 3" class="find_wrap new_find_wrapper">
<div class="left_widget">
<div class="cell_wrapper flex_sc" style="margin-right:5px">
<div class="cell_wrapper flex_sc" style="margin-right: 5px">
<!-- <div v-if="accountLevel == 2" class="cell_label h13_title">市级经销商</div>
<div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div>
<div v-if="accountLevel == 1 && isAdmin" class="cell_label h13_title">工厂</div> -->
......@@ -337,9 +337,20 @@ export default {
// this.pickerOptions = this.setDateLimit()
},
mounted() {
this.toGetMyDivision()
let params = this.resetTime()
this.toGetMyDivision(params)
},
methods: {
// 重置时间
resetTime() {
let params = {}
let openInfo = JSON.parse(localStorage.getItem('openInfo'))
let startdate = utils.dateFormat(openInfo.openDate, 'YYYY-MM-DD 00:00:00')
let endDate = utils.dateFormat(new Date(), 'YYYY-MM-DD 23:59:59')
params.successDateStartDate = startdate
params.successDateEndDate = endDate
return params
},
// 设置日期组件时间范围
setDateLimit() {
let openInfo = JSON.parse(localStorage.getItem('openInfo'))
......@@ -371,7 +382,8 @@ export default {
this.storeId = ''
this.$refs.table.page.pageNum = 1
this.curMerchantNo = ''
this.toGetMyDivision()
let params = this.resetTime()
this.toGetMyDivision(params)
},
handlerParams() {
let params = {}
......@@ -394,6 +406,9 @@ export default {
delete params.successDateStartDate
delete params.successDateEndDate
}
if(!this.divisionTime&&!this.payTime){
params = this.resetTime()
}
if (this.divisionTypeStatus) {
params.divisionStatus = this.divisionTypeStatus
} else {
......@@ -556,9 +571,9 @@ export default {
right: 15px;
}
}
.new_find_wrapper{
.new_find_wrapper {
// padding: 0;
padding:0 0 0 15px;
padding: 0 0 0 15px;
}
.tipper {
width: 100%;
......
......@@ -248,7 +248,7 @@ export default {
// 集团折线图+列表
if (this.accountLevel != 4) {
this.$refs.mybloc.changeTimeForLine(this.chartStartDate, this.chartEndDate)
// this.$refs.mybloc.orderDataInfoOfJT(this.chartStartDate, this.chartEndDate)
this.$refs.mybloc.orderDataInfoOfJT(this.chartStartDate, this.chartEndDate)
}
if (this.accountLevel == 4) {
this.$refs.mybar.couponsChartData(this.chartStartDate, this.chartEndDate)
......@@ -272,7 +272,7 @@ export default {
// 集团折线图+列表
if (this.accountLevel != 4) {
this.$refs.mybloc.changeTimeForLine(start, end)
// this.$refs.mybloc.orderDataInfoOfJT(start, end)
this.$refs.mybloc.orderDataInfoOfJT(start, end)
}
if (this.accountLevel == 4) {
this.$refs.mybar.couponsChartData(start, end)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!