Commit 0b3c2936 by 杨北旺

v1.1.1版本

1 parent 4375ba95
...@@ -107,7 +107,8 @@ const getCarTypeListApi = params => { ...@@ -107,7 +107,8 @@ const getCarTypeListApi = params => {
} }
const getHotlineApi = 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({ return http({
url: 'rop-scrm-equity/router', url: 'rop-scrm-equity/router',
method: 'POST', method: 'POST',
...@@ -348,6 +349,26 @@ const dateBycarNo = params => { ...@@ -348,6 +349,26 @@ const dateBycarNo = params => {
sign: true, 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 \ 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 \ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div v-if="show" class="left_code flex_ccc"> <div v-if="show" class="left_code flex_ccc">
<img :src="codeUrl" /> <img :src="codeUrl" />
<div style="height: 16px"></div> <div style="height: 16px"></div>
<span class="h18_title">服务热线</span> <span class="h18_title">{{phoneTitle}}</span>
<span class="h18_title">{{ phone }}</span> <span class="h18_title">{{ phone }}</span>
</div> </div>
</div> </div>
...@@ -28,6 +28,10 @@ export default { ...@@ -28,6 +28,10 @@ export default {
phone: { phone: {
type: String, type: String,
default: '189 0000 1234' default: '189 0000 1234'
},
phoneTitle:{
type:String,
default:'服务热线'
} }
}, },
data() { data() {
......
...@@ -22,8 +22,9 @@ export async function bootstrap({ history, common, messenger, globalState, route ...@@ -22,8 +22,9 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue.prototype.$messageBox = messageBox Vue.prototype.$messageBox = messageBox
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.$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: 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 // Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
const routesData = common.utils.deepClone(globalState.routers) const routesData = common.utils.deepClone(globalState.routers)
routes = getRoutes(routesData) routes = getRoutes(routesData)
......
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
</div> </div>
<!-- 二维码 --> <!-- 二维码 -->
<qrCode :bottom="320" phone="400 6123 886" :codeUrl="qrcodUrl"></qrCode> <qrCode :bottom="320" phone="400 6123 886" phoneTitle="提单及服务咨询" :codeUrl="qrcodUrl"></qrCode>
</div> </div>
</template> </template>
...@@ -666,7 +666,7 @@ export default { ...@@ -666,7 +666,7 @@ export default {
agreeList: [] agreeList: []
}, },
allCarChildList: [], 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, equityRadio: 1,
// 自选权益产品属性传参数组 // 自选权益产品属性传参数组
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!