CRM_26-07-09#story#8922,抢单链接页面更改及 BI 埋点新增需求
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 643 KiB After Width: | Height: | Size: 1.2 MiB |
@@ -353,7 +353,7 @@ const routes = [
|
|||||||
name: 'goToApp',
|
name: 'goToApp',
|
||||||
component:()=>import('@/views/goToApp/goToApp.vue'),
|
component:()=>import('@/views/goToApp/goToApp.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title:'中道小板运输'
|
title:'小板运输司机端'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
...kpiRouter,
|
...kpiRouter,
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="goToBtn" @click="goAppHandler">立即打开</div>
|
<div class="goToBtn" @click="goAppHandler">立即打开</div>
|
||||||
<div class="content_tip">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -17,7 +16,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getNewVersion } from "@/api/order"
|
import { getNewVersion, getLog } from "@/api/order"
|
||||||
export default {
|
export default {
|
||||||
name: "goToApp",
|
name: "goToApp",
|
||||||
data() {
|
data() {
|
||||||
@@ -26,6 +25,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
getLog({
|
||||||
|
source: 'App下载页',
|
||||||
|
event: '页面浏览',
|
||||||
|
page: '/h5/supplier/dispatch/goToApp'
|
||||||
|
})
|
||||||
this.showGuide = this.isWeixin()
|
this.showGuide = this.isWeixin()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -37,9 +41,19 @@ export default {
|
|||||||
this.showGuide = false
|
this.showGuide = false
|
||||||
},
|
},
|
||||||
goAppHandler() {
|
goAppHandler() {
|
||||||
|
getLog({
|
||||||
|
source: 'App下载页',
|
||||||
|
event: '直接打开',
|
||||||
|
page: '/h5/supplier/dispatch/goToApp'
|
||||||
|
})
|
||||||
window.location.href = "rvdriver://page/pagesLogin/phoneLogin?source=h5Link";
|
window.location.href = "rvdriver://page/pagesLogin/phoneLogin?source=h5Link";
|
||||||
},
|
},
|
||||||
async downLoadHandler() {
|
async downLoadHandler() {
|
||||||
|
getLog({
|
||||||
|
source: 'App下载页',
|
||||||
|
event: '立即下载',
|
||||||
|
page: '/h5/supplier/dispatch/goToApp'
|
||||||
|
});
|
||||||
getNewVersion({
|
getNewVersion({
|
||||||
appType: 5
|
appType: 5
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user