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 0b3c2936
authored
Jan 13, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v1.1.1版本
1 parent
4375ba95
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
6 deletions
src/api/modules/beforeSale.js
src/components/qr-code/index.vue
src/setup/qiankun.js
src/views/beforeSale/editEquity.vue
src/views/beforeSale/serviceSet.vue
src/api/modules/beforeSale.js
View file @
0b3c293
...
...
@@ -107,7 +107,8 @@ const getCarTypeListApi = params => {
}
const
getHotlineApi
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
merchant.hotline.get`
// params.method = `${defaultPath}merchant.hotline.get`
params
.
method
=
`scrm.api.equity.service.package.merchant.config.get`
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
...
...
@@ -348,6 +349,26 @@ const dateBycarNo = params => {
sign
:
true
,
})
}
// 获取活码列表-
const
activeCodeList
=
params
=>
{
params
.
method
=
'entmicro.api.code.getFreeChannelCode'
return
http
({
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
})
}
// 更新活码
const
updateActiveCode
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.merchant.qrcode.update'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
,
})
}
export
default
{
getUserInfoApi
,
getCountNoDataApi
,
getListApi
,
getMerchantApi
,
getExportApi
,
getPriteApi
,
getCarBrandListApi
,
getCarChildListApi
,
getCarTypeListApi
,
getCarSeriesListApi
,
getHotlineApi
,
getDefaultCarbrandApi
,
updateHotlineApi
,
updateCarBrandApi
,
getProListApi
,
getPackageListApi
,
getEquityApi
,
updateEquityApi
,
createCodeApi
,
getOrderAttrApi
,
getAllOrderValueApi
,
verifyOrderApi
,
checkOrderApi
,
updateOrderApi
,
uploadImgApi
,
backOrderApi
,
aduitOrderApi
,
judgeSetting
,
spaAgressData
,
merchantInfo
,
dateBycarNo
}
\ No newline at end of file
export
default
{
getUserInfoApi
,
getCountNoDataApi
,
getListApi
,
getMerchantApi
,
getExportApi
,
getPriteApi
,
getCarBrandListApi
,
getCarChildListApi
,
getCarTypeListApi
,
getCarSeriesListApi
,
getHotlineApi
,
getDefaultCarbrandApi
,
updateHotlineApi
,
updateCarBrandApi
,
getProListApi
,
getPackageListApi
,
getEquityApi
,
updateEquityApi
,
createCodeApi
,
getOrderAttrApi
,
getAllOrderValueApi
,
verifyOrderApi
,
checkOrderApi
,
updateOrderApi
,
uploadImgApi
,
backOrderApi
,
aduitOrderApi
,
judgeSetting
,
spaAgressData
,
merchantInfo
,
dateBycarNo
,
activeCodeList
,
updateActiveCode
}
\ No newline at end of file
src/components/qr-code/index.vue
View file @
0b3c293
...
...
@@ -6,7 +6,7 @@
<div
v-if=
"show"
class=
"left_code flex_ccc"
>
<img
:src=
"codeUrl"
/>
<div
style=
"height: 16px"
></div>
<span
class=
"h18_title"
>
服务热线
</span>
<span
class=
"h18_title"
>
{{
phoneTitle
}}
</span>
<span
class=
"h18_title"
>
{{
phone
}}
</span>
</div>
</div>
...
...
@@ -28,6 +28,10 @@ export default {
phone
:
{
type
:
String
,
default
:
'189 0000 1234'
},
phoneTitle
:{
type
:
String
,
default
:
'服务热线'
}
},
data
()
{
...
...
src/setup/qiankun.js
View file @
0b3c293
...
...
@@ -22,8 +22,9 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue
.
prototype
.
$messageBox
=
messageBox
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: '
33c60c02-fbb9-480a-8b54-24b30fe30983
' } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: '
dj-wechat-47893a3d-f991-4de8-9761-748aed926815-rop
' } })
Vue
.
prototype
.
$http_brand
=
new
common
.
Http
({
response
,
request
:
request_brand
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
// Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: 'dj-wechat-47893a3d-f991-4de8-9761-748aed926815-rop' } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
const
routesData
=
common
.
utils
.
deepClone
(
globalState
.
routers
)
routes
=
getRoutes
(
routesData
)
...
...
src/views/beforeSale/editEquity.vue
View file @
0b3c293
...
...
@@ -209,7 +209,7 @@
</div>
<!-- 二维码 -->
<qrCode
:bottom=
"320"
phone=
"400 6123 886"
:codeUrl=
"qrcodUrl"
></qrCode>
<qrCode
:bottom=
"320"
phone=
"400 6123 886"
phoneTitle=
"提单及服务咨询"
:codeUrl=
"qrcodUrl"
></qrCode>
</div>
</template>
...
...
@@ -666,7 +666,7 @@ export default {
agreeList
:
[]
},
allCarChildList
:
[],
qrcodUrl
:
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/
beforesale_equity_code.png'
,
qrcodUrl
:
'https://img01.glsx.com.cn/weapp/resource/saas/scrm/
preSale_qrCode.png'
+
'?time='
+
new
Date
()
,
// 权益类型
equityRadio
:
1
,
// 自选权益产品属性传参数组
...
...
src/views/beforeSale/serviceSet.vue
View file @
0b3c293
This diff is collapsed.
Click to expand it.
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