Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 ea71e2c8
authored
Dec 15, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
售中售后售前
1 parent
d5a3307d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
15 deletions
src/setup/qiankun.js
src/views/afterSales/introduct.vue
src/views/beforeSale/introduct.vue
src/views/inSale/myFashionableOrder.vue
src/views/inSale/open.vue
src/setup/qiankun.js
View file @
ea71e2c
...
@@ -12,7 +12,7 @@ let instance = null
...
@@ -12,7 +12,7 @@ let instance = null
Vue
.
use
(
GLTable
)
Vue
.
use
(
GLTable
)
// Vue.use(Table)
// Vue.use(Table)
// Vue.use(TableColumn)
// 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
()
const
{
response
,
request
,
sign
,
secret
}
=
await
fetchConfig
()
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$messenger
=
messenger
...
@@ -23,13 +23,13 @@ export async function bootstrap({ history, common, messenger, globalState }) {
...
@@ -23,13 +23,13 @@ export async function bootstrap({ history, common, messenger, globalState }) {
Vue
.
prototype
.
$defaultStartDate
=
'2021-07-01'
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
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
// 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
)
const
routesData
=
common
.
utils
.
deepClone
(
globalState
.
routers
)
routes
=
getRoutes
(
routesData
)
routes
=
getRoutes
(
routesData
)
subscribe
({
messenger
})
subscribe
({
messenger
})
Vue
.
use
(
GLButton
,
{
routes
,
routerBase
})
}
}
export
async
function
mount
(
props
)
{
export
async
function
mount
(
{
routerBase
}
)
{
const
insts
=
render
(
props
.
routerBase
,
routes
)
const
insts
=
render
(
routerBase
,
routes
)
router
=
insts
.
router
router
=
insts
.
router
instance
=
insts
.
vm
instance
=
insts
.
vm
}
}
...
...
src/views/afterSales/introduct.vue
View file @
ea71e2c
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
<div
class=
"top_play_wrap flex_scb"
>
<div
class=
"top_play_wrap flex_scb"
>
<div
class=
"text_wrap"
>
<div
class=
"text_wrap"
>
<span
class=
"maxTitle"
>
售后直播代运营
</span>
<span
class=
"maxTitle"
>
售后直播代运营
</span>
<span
class=
"maxTitle"
>
一套可直播变现的代运营服
</span>
<span
class=
"maxTitle"
>
一套可直播变现的代运营服
务
</span>
<span
class=
"midTitle"
>
帮门店实现客户促活变现
</span>
<span
class=
"midTitle"
>
帮门店实现客户促活变现
</span>
<span
class=
""
>
客户线上化、精准内容种草、网红直播带货变
</span>
<span
class=
""
>
客户线上化、精准内容种草、网红直播带货变
现复购。
</span>
</div>
</div>
<div
class=
"bg_wrap flex_cc"
>
<div
class=
"bg_wrap flex_cc"
>
<img
class=
"max_icon"
src=
"https://img01.glsx.com.cn/weapp/resource/saas/scrm/after_intro_bg.png"
/>
<img
class=
"max_icon"
src=
"https://img01.glsx.com.cn/weapp/resource/saas/scrm/after_intro_bg.png"
/>
...
...
src/views/beforeSale/introduct.vue
View file @
ea71e2c
...
@@ -97,13 +97,13 @@ export default {
...
@@ -97,13 +97,13 @@ export default {
img
:
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_case1.png'
,
img
:
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_case1.png'
,
title
:
'碰撞维修无忧案例'
,
title
:
'碰撞维修无忧案例'
,
desc1
:
'2020年12月3日,张先生驾驶日产轩逸经过葫芦岛时与前车发生碰撞,车头几乎全部报废;张先生购车环节选购了“车载硬件+碰撞维修无忧套餐”。'
,
desc1
:
'2020年12月3日,张先生驾驶日产轩逸经过葫芦岛时与前车发生碰撞,车头几乎全部报废;张先生购车环节选购了“车载硬件+碰撞维修无忧套餐”。'
,
desc2
:
'通过嘀加SCRM平台触发预警推送消息到门店,门店
即使
联系车主进行救援并送修,为门店带来40000元回厂产值。'
desc2
:
'通过嘀加SCRM平台触发预警推送消息到门店,门店
及时
联系车主进行救援并送修,为门店带来40000元回厂产值。'
},
},
{
{
icon
:
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_icon_5.png'
,
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'
,
img
:
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/before_case2.png'
,
title
:
'整车全损无忧案例'
,
title
:
'整车全损无忧案例'
,
desc1
:
'2021年1月9日,李女生驾驶奔驰C级途径湖南张家界市出差,当晚留宿在朋友家小区,隔天早饭后想驾车回公司,发
生
车辆被盗了,报警后一直未找到爱车。李女士购车环节选购了“车载硬件+整车全损无忧套餐”。'
,
desc1
:
'2021年1月9日,李女生驾驶奔驰C级途径湖南张家界市出差,当晚留宿在朋友家小区,隔天早饭后想驾车回公司,发
现
车辆被盗了,报警后一直未找到爱车。李女士购车环节选购了“车载硬件+整车全损无忧套餐”。'
,
desc2
:
'李女士发起补偿申请,经核定,根据权益服务合同协议,最终合计补偿李女士365800元。'
desc2
:
'李女士发起补偿申请,经核定,根据权益服务合同协议,最终合计补偿李女士365800元。'
},
},
{
{
...
...
src/views/inSale/myFashionableOrder.vue
View file @
ea71e2c
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
</div>
</div>
<div
v-if=
"accountLevel
< 3
"
class=
"find_wrap new_find_wrapper"
>
<div
v-if=
"accountLevel
< 3
"
class=
"find_wrap new_find_wrapper"
>
<div
class=
"left_widget"
>
<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 == 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>
<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 {
...
@@ -337,9 +337,20 @@ export default {
// this.pickerOptions = this.setDateLimit()
// this.pickerOptions = this.setDateLimit()
},
},
mounted
()
{
mounted
()
{
this
.
toGetMyDivision
()
let
params
=
this
.
resetTime
()
this
.
toGetMyDivision
(
params
)
},
},
methods
:
{
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
()
{
setDateLimit
()
{
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
let
openInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'openInfo'
))
...
@@ -371,7 +382,8 @@ export default {
...
@@ -371,7 +382,8 @@ export default {
this
.
storeId
=
''
this
.
storeId
=
''
this
.
$refs
.
table
.
page
.
pageNum
=
1
this
.
$refs
.
table
.
page
.
pageNum
=
1
this
.
curMerchantNo
=
''
this
.
curMerchantNo
=
''
this
.
toGetMyDivision
()
let
params
=
this
.
resetTime
()
this
.
toGetMyDivision
(
params
)
},
},
handlerParams
()
{
handlerParams
()
{
let
params
=
{}
let
params
=
{}
...
@@ -394,6 +406,9 @@ export default {
...
@@ -394,6 +406,9 @@ export default {
delete
params
.
successDateStartDate
delete
params
.
successDateStartDate
delete
params
.
successDateEndDate
delete
params
.
successDateEndDate
}
}
if
(
!
this
.
divisionTime
&&!
this
.
payTime
){
params
=
this
.
resetTime
()
}
if
(
this
.
divisionTypeStatus
)
{
if
(
this
.
divisionTypeStatus
)
{
params
.
divisionStatus
=
this
.
divisionTypeStatus
params
.
divisionStatus
=
this
.
divisionTypeStatus
}
else
{
}
else
{
...
@@ -556,9 +571,9 @@ export default {
...
@@ -556,9 +571,9 @@ export default {
right
:
15px
;
right
:
15px
;
}
}
}
}
.new_find_wrapper
{
.new_find_wrapper
{
//
padding
:
0
;
//
padding
:
0
;
padding
:
0
0
0
15px
;
padding
:
0
0
0
15px
;
}
}
.tipper
{
.tipper
{
width
:
100%
;
width
:
100%
;
...
...
src/views/inSale/open.vue
View file @
ea71e2c
...
@@ -248,7 +248,7 @@ export default {
...
@@ -248,7 +248,7 @@ export default {
// 集团折线图+列表
// 集团折线图+列表
if
(
this
.
accountLevel
!=
4
)
{
if
(
this
.
accountLevel
!=
4
)
{
this
.
$refs
.
mybloc
.
changeTimeForLine
(
this
.
chartStartDate
,
this
.
chartEndDate
)
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
)
{
if
(
this
.
accountLevel
==
4
)
{
this
.
$refs
.
mybar
.
couponsChartData
(
this
.
chartStartDate
,
this
.
chartEndDate
)
this
.
$refs
.
mybar
.
couponsChartData
(
this
.
chartStartDate
,
this
.
chartEndDate
)
...
@@ -272,7 +272,7 @@ export default {
...
@@ -272,7 +272,7 @@ export default {
// 集团折线图+列表
// 集团折线图+列表
if
(
this
.
accountLevel
!=
4
)
{
if
(
this
.
accountLevel
!=
4
)
{
this
.
$refs
.
mybloc
.
changeTimeForLine
(
start
,
end
)
this
.
$refs
.
mybloc
.
changeTimeForLine
(
start
,
end
)
//
this.$refs.mybloc.orderDataInfoOfJT(start, end)
this
.
$refs
.
mybloc
.
orderDataInfoOfJT
(
start
,
end
)
}
}
if
(
this
.
accountLevel
==
4
)
{
if
(
this
.
accountLevel
==
4
)
{
this
.
$refs
.
mybar
.
couponsChartData
(
start
,
end
)
this
.
$refs
.
mybar
.
couponsChartData
(
start
,
end
)
...
...
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