CRM_26-03-31#story#8372,服务商KPI看板设置埋点及支持数据导出需求--中心组
This commit is contained in:
@@ -352,8 +352,9 @@ export default {
|
|||||||
await this.getUserInfo();
|
await this.getUserInfo();
|
||||||
this.enterTime = dayjs().format('YYYY-MM-DD HH:mm:ss');
|
this.enterTime = dayjs().format('YYYY-MM-DD HH:mm:ss');
|
||||||
},
|
},
|
||||||
async beforeDestroy() {
|
beforeDestroy() {
|
||||||
await this.setLogHandler({
|
if( this.source == 'App' ) {
|
||||||
|
this.setLogHandler({
|
||||||
supplierId: this.currentSupplierId, // 服务商 id
|
supplierId: this.currentSupplierId, // 服务商 id
|
||||||
userId: this.userId, // userId
|
userId: this.userId, // userId
|
||||||
source: '服务商KPI',
|
source: '服务商KPI',
|
||||||
@@ -361,6 +362,7 @@ export default {
|
|||||||
openTime: this.enterTime, // log 时间,其中 阅读时长是由 enter 和 leave 的时间计算而来
|
openTime: this.enterTime, // log 时间,其中 阅读时长是由 enter 和 leave 的时间计算而来
|
||||||
leaveTime: dayjs().format('YYYY-MM-DD HH:mm:ss'),
|
leaveTime: dayjs().format('YYYY-MM-DD HH:mm:ss'),
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getUserInfo() {
|
async getUserInfo() {
|
||||||
|
|||||||
Reference in New Issue
Block a user