CRM_26-07-09#story#8922,抢单链接页面更改及 BI 埋点新增需求

This commit is contained in:
2026-06-30 10:39:41 +08:00
parent da844d0e24
commit e7bb5a23be
3 changed files with 18 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 643 KiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@@ -353,7 +353,7 @@ const routes = [
name: 'goToApp',
component:()=>import('@/views/goToApp/goToApp.vue'),
meta: {
title:'中道小板运输'
title:'小板运输司机端'
}
},
...kpiRouter,

View File

@@ -3,8 +3,7 @@
<div class="content">
<div class="goToBtn" @click="goAppHandler">立即打开</div>
<div class="content_tip">
<div class="font_cls">如未安装请点击下载</div>
<div class="font_cls">如已安装未自动跳转 <span @click="downLoadHandler">立即下载</span></div>
<div class="font_cls">如未安装请点击 <span @click="downLoadHandler">立即下载</span></div>
</div>
</div>
@@ -17,7 +16,7 @@
</template>
<script>
import { getNewVersion } from "@/api/order"
import { getNewVersion, getLog } from "@/api/order"
export default {
name: "goToApp",
data() {
@@ -26,6 +25,11 @@ export default {
}
},
mounted() {
getLog({
source: 'App下载页',
event: '页面浏览',
page: '/h5/supplier/dispatch/goToApp'
})
this.showGuide = this.isWeixin()
},
methods: {
@@ -37,9 +41,19 @@ export default {
this.showGuide = false
},
goAppHandler() {
getLog({
source: 'App下载页',
event: '直接打开',
page: '/h5/supplier/dispatch/goToApp'
})
window.location.href = "rvdriver://page/pagesLogin/phoneLogin?source=h5Link";
},
async downLoadHandler() {
getLog({
source: 'App下载页',
event: '立即下载',
page: '/h5/supplier/dispatch/goToApp'
});
getNewVersion({
appType: 5
}).then((res) => {