Compare commits
18 Commits
066cb05797
...
dev-2026
| Author | SHA1 | Date | |
|---|---|---|---|
| 4b94c614ad | |||
| b39ae0bdf1 | |||
| 709f125c42 | |||
| a0c1a2700a | |||
| 8c25f5a195 | |||
| ee50c3ba19 | |||
| 1477f94774 | |||
| 35fd987f00 | |||
| b6491a21d1 | |||
| 030417ba9c | |||
| c05bdb361b | |||
| e288d1e180 | |||
| a48e73bdb5 | |||
| 56a8ba66b7 | |||
| 8c62b8e704 | |||
| f1a3f7b45b | |||
| e7344a1f16 | |||
| 75dd0b9740 |
@@ -177,3 +177,23 @@ export function getNewVersion(key){
|
||||
params: key
|
||||
})
|
||||
}
|
||||
|
||||
export function getLog(data){
|
||||
// 添加log
|
||||
return request({
|
||||
url: '/ureport/pageView/save',
|
||||
method:'POST',
|
||||
contentType:'application/json',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//获取最新版本
|
||||
export function getUserBO(){
|
||||
return request({
|
||||
url: '/base/user/getUserBO',
|
||||
method:'POST',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ service.interceptors.request.use(
|
||||
// let token='eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBTkNIQU5HIiwidXNlcklkIjo0NTY3MSwibmFtZSI6IuWuieeVhSIsInVzZXJOYW1lIjoiQU5DSEFORyIsInN1cHBsaWVySWQiOjExMjgsImlzWmQiOjAsImV4cCI6MTc1NTQyMjUyNX0.xzDZhaANJFnbeViIHJA0SEtOyTv7Ja3rKmXqRKRuFkc'
|
||||
// let token='eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJTSEhQWEIiLCJ1c2VySWQiOjU0NzI2LCJuYW1lIjoiI-a1i-ivleWwj-eZveeZvSIsInVzZXJOYW1lIjoiU0hIUFhCIiwic3VwcGxpZXJJZCI6MTAwMDE2NSwiZXhwIjoxNzQ0NTEwNzkwfQ.JPk0OA7slYJN3FIi_uhW4Y0CiWRvl6R1dK8MRTbyhD8'
|
||||
// if(!(reqUrl=='/supplier/supplierTraining/trainingTask' || reqUrl=='/supplier/supplierTraining/normalList' || reqUrl=='/supplier/supplierTraining/trainingList')){
|
||||
if (reqUrl=='/supplier/supplierTraining/trainingList' && config?.params?.type==1){
|
||||
if ((reqUrl=='/supplier/supplierTraining/trainingList' || reqUrl=='/supplier/supplierTraining/normalList') && config?.params?.type==1){
|
||||
console.log('司机app使用该请求不挂token')
|
||||
} else {
|
||||
if(token) {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
import { getLog } from "@/api/order"
|
||||
|
||||
let _setLogTimer = null
|
||||
|
||||
export const myMixins = {
|
||||
data() {
|
||||
@@ -5,6 +8,11 @@ export const myMixins = {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
setLogHandler(data) {
|
||||
if (_setLogTimer) return
|
||||
_setLogTimer = setTimeout(() => { _setLogTimer = null }, 1000)
|
||||
getLog(data)
|
||||
},
|
||||
showFun() {
|
||||
if( localStorage.getItem('infoVerify') == 8 || localStorage.getItem('infoVerify') == 12 ) {
|
||||
return false
|
||||
|
||||
@@ -154,7 +154,7 @@ export default {
|
||||
this.isLoading = false
|
||||
},
|
||||
initShow(){
|
||||
this.keyword= '',
|
||||
this.keyword= ''
|
||||
this.getNormalList()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
<span v-if="orderDetailInfo.driverName && orderDetailInfo.proprietary?.code==1" class="driverPoiBtn" @click="noMultipleClicks(createDriverInfo)">生成司机信息</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="item" v-if="queryType == 9 || queryType ==11 || queryType ==12">
|
||||
<div class="item" v-if="queryType == 9 || queryType ==11 || queryType ==12 || queryType ==5">
|
||||
<span class="leftTitle fontColor">工单照片:</span><span class="rightContent">
|
||||
<span class="driverPoiBtn" @click="checkPhoto">查看照片</span>
|
||||
</span>
|
||||
@@ -184,19 +184,15 @@ export default {
|
||||
})
|
||||
if(result.data){
|
||||
// console.log('--result--',result.data)
|
||||
let params={
|
||||
'姓名:':this.orderDetailInfo.driverName,
|
||||
'身份证:':result.data.identityCardNumber,
|
||||
'车牌:':this.orderDetailInfo.vehiclePlateNumber,
|
||||
'手机:':this.orderDetailInfo.driverPhone,
|
||||
}
|
||||
let data = {"action":"copyToClipboard","params":JSON.stringify(params)}
|
||||
let params=`姓名:${this.orderDetailInfo.driverName}\n身份证:${result.data.identityCardNumber}\n车牌:${this.orderDetailInfo.vehiclePlateNumber}\n手机:${this.orderDetailInfo.driverPhone}`
|
||||
// console.log('params',params)
|
||||
let data = {"action":"copyToClipboard","params":params}
|
||||
var u = navigator.userAgent;
|
||||
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
||||
if(isiOS){
|
||||
window.webkit.messageHandlers.nativeObject.postMessage(data);
|
||||
}else {
|
||||
window.android.copyToClipboard(JSON.stringify(params));
|
||||
window.android.copyToClipboard(params);
|
||||
}
|
||||
}else {
|
||||
this.$toast('未获取到司机信息')
|
||||
|
||||
@@ -263,6 +263,7 @@ import {
|
||||
getDriverName,getDriverStatisticsKpi,
|
||||
getRecentSupplierKpi,
|
||||
} from "@/api/kpi.js"
|
||||
import { getUserBO } from "@/api/order"
|
||||
// querySupplierDriverStatisticsScore
|
||||
import {myMixins} from "@/utils/myMixins"
|
||||
import CircleChar from "@/views/kpi/components/circleChar.vue";
|
||||
@@ -330,6 +331,10 @@ export default {
|
||||
showScoreChart:true,
|
||||
continueMonthKpi:[],
|
||||
isBtn:false,//是否有信息变更申请按钮权限
|
||||
source: 'App',
|
||||
currentSupplierId: '',
|
||||
userId: '',
|
||||
enterTime: dayjs().format('YYYY-MM-DD HH:mm:ss'),
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -338,13 +343,41 @@ export default {
|
||||
this.isZd = urlParams?.get('isZd') || ''
|
||||
this.supplierId = urlParams?.get('supplierId') || ''
|
||||
this.isBtn= Number(urlParams?.get('isBtn'))
|
||||
this.source = urlParams?.get('source') || 'App'
|
||||
},
|
||||
async mounted() {
|
||||
await this.checkMobile();
|
||||
await this.initDate();
|
||||
await this.selectSupplierNameHandle();
|
||||
await this.getUserInfo();
|
||||
document.addEventListener('visibilitychange', async ( ) => {
|
||||
let state = document.visibilityState
|
||||
if (state == 'hidden') { // 用户离开了
|
||||
if( this.source == 'App' ) {
|
||||
this.setLogHandler({
|
||||
supplierId: this.currentSupplierId, // 服务商 id
|
||||
userId: this.userId, // userId
|
||||
source: '服务商KPI',
|
||||
event: this.source, // 区分 App 还是 system
|
||||
openTime: this.enterTime, // log 时间,其中 阅读时长是由 enter 和 leave 的时间计算而来
|
||||
leaveTime: dayjs().format('YYYY-MM-DD HH:mm:ss'),
|
||||
});
|
||||
}
|
||||
}
|
||||
if (state == 'visible') {
|
||||
this.enterTime = dayjs().format('YYYY-MM-DD HH:mm:ss');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
},
|
||||
methods: {
|
||||
async getUserInfo() {
|
||||
let res = await getUserBO();
|
||||
this.userId = res.data.id;
|
||||
this.currentSupplierId = res.data.supplierId
|
||||
console.log('getUserBO', res)
|
||||
},
|
||||
applicateHandle() {
|
||||
if (window.parent) {
|
||||
const hasListener = window.parent.dispatchEvent(new Event('checkCloseDialog'));
|
||||
|
||||
@@ -13,23 +13,20 @@
|
||||
</div>
|
||||
<div class="contentWrap">
|
||||
<div>
|
||||
为降低日常救援工作中的不可预期的车损赔付带来的运营风险和资金压力,减少由此衍生而来的可能投诉,顺应行业服务标准不断增长的局势,中道救援自有车辆已全部投保了救援职业责任险。
|
||||
为降低日常救援工作中的不可预期的车损赔付带来的运营风险和资金压力,减少由此衍生而来的投诉,顺应行业服务标准不断增长的局势,中道救援自有车辆已全部投保了救援职业责任险。
|
||||
</div>
|
||||
<div>
|
||||
通过日常的交流了解,此险种对于服务商而言,投保相对较难,很多服务商在无投保渠道的情况下选择了对于我们救援场景保障能力稍弱、不太匹配的货物险,从而从形成了现在很多救援车无保障、或者特殊场景货物险理赔难的局面。
|
||||
</div>
|
||||
<div>
|
||||
为此中道救援经过与保司沟通协调,特为与中道救援合作紧密的服务商,提供救援职业责任险参保渠道,提升服务商服务能力,降低运营风险,实现共同进步。
|
||||
通过交流了解,我们的合作服务商日常运营中会遇到责任险或者货物险的“投保难、理赔难”的问题,为此我们与保司沟通协调,特为与中道救援合作紧密的服务商,提供救援职业责任险参保渠道,解决大家的实际困难,实现共同进步。
|
||||
</div>
|
||||
<div>一、救援职业责任险简介:</div>
|
||||
<div> 1、综合保额100万元(其中救援责任50万元,物流责任50万元),可全方位覆盖我们日常的经营活动。</div>
|
||||
<div> 1、保额有50万和100万两套方案可选。</div>
|
||||
<div> 2、保费支付可采用救援服务费抵扣的方式,降低资金压力。</div>
|
||||
<div> 3、详细保险条款、保费和其他问题,如需了解,请与辖区区域经理联系。</div>
|
||||
<div> 二、其他意见建议如需交流,请与18621558505曲仁杰联系。</div>
|
||||
<div> 三、如确认参保,请点击下方“参保”按钮,会有专人与贵司联系。</div>
|
||||
<div> 3、其他详情如需了解,请与辖区区域经理联系。</div>
|
||||
<div> 二、如有好的建议需要交流,请与18621558505曲仁杰联系。</div>
|
||||
<div> 三、如有参保需要,请点击下方“参保”按钮,我们会与您联系。</div>
|
||||
</div>
|
||||
<div class="upload_btn_wrap">
|
||||
<div class="btn_save" :style="{'backgroundColor':used ? '#cccccc' : '#354D93'}" @click="showPoup = true">参保</div>
|
||||
<div class="btn_save" :style="{'backgroundColor':used ? '#cccccc' : '#354D93'}" @click="showPoup = true">我想咨询</div>
|
||||
</div>
|
||||
<div class="poupCommon" v-if="showPoup">
|
||||
<div class="showPoupContainer">
|
||||
@@ -37,12 +34,10 @@
|
||||
<img class="insure" src="@/assets/insured.png">
|
||||
<div class="con">
|
||||
<template v-if="used">
|
||||
<div class="title">您已成功申请参保,请等待</div>
|
||||
<div class="title">专人与贵司联系。</div>
|
||||
<div class="title">咨询已收到,我们会与您联系。</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div class="title">请确认</div>
|
||||
<div class="title">是否参保救援职业责任险</div>
|
||||
<div class="title">请确认咨询</div>
|
||||
</template>
|
||||
<div class="btnWrap">
|
||||
<div v-if="used" class="btn confirmBtn" @click="showPoup = false">确认</div>
|
||||
|
||||
Reference in New Issue
Block a user