CRM_26-03-31#story#8372,服务商KPI看板设置埋点及支持数据导出需求--中心组(log)

This commit is contained in:
2026-03-26 14:54:14 +08:00
parent 030417ba9c
commit b6491a21d1
2 changed files with 7 additions and 2 deletions

View File

@@ -31,14 +31,14 @@
}
</script>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.AutoComplete,AMap.PlaceSearch,AMap.Geolocation,AMap.Geocoder,AMap.Marker,AMap.Driving"></script>
<!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>-->
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<script>
window.selfLink = window.location.href;
window.selfSearch = window.location.search;
</script>
<script>
// VConsole 默认会挂载到 `window.VConsole` 上
// let vConsole = new window.VConsole();
let vConsole = new window.VConsole();
(function (doc, win) {
// console.log("==window.location.pathname===",window.location.pathname)
let docEl = doc.documentElement

View File

@@ -352,8 +352,13 @@ export default {
await this.getUserInfo();
this.enterTime = dayjs().format('YYYY-MM-DD HH:mm:ss');
},
beforeMount() {
console.log('beforeMount')
},
beforeDestroy() {
console.log('beforeDestroy')
if( this.source == 'App' ) {
console.log('beforeDestroy---AAAA')
this.setLogHandler({
supplierId: this.currentSupplierId, // 服务商 id
userId: this.userId, // userId