【修改】maidian

This commit is contained in:
zhoulingpo
2023-05-26 12:29:18 +08:00
parent bd81dea4bb
commit e95d97c593
4 changed files with 46 additions and 4 deletions
+16
View File
@@ -6,6 +6,22 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico">-->
<title><%= htmlWebpackPlugin.options.title %></title>
<script>
(function(w, d, s, q) {
w[q] =w[q] || [];
var f=d.getElementsByTagName(s)[0],j=d.createElement(s);
j.async=true;
j.id='beacon-aplus';
j.src='https://o.alicdn.com/QTSDK/quicktracking-sdk/qt_web.umd.js';
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'aplus_queue');
//集成应用的appKey
aplus_queue.push({ action: 'aplus.setMetaInfo', arguments: ['appKey', '54x8kny36dp66gbiqngsdnmu'] })
//如果是私有云部署还需要在上面那段JS后面紧接着添加日志域名埋点
//通常私有云日志服务端域名类似于:xxx-web-api.xxx.com.cn, 具体域名在“管理控制台-采集信息”模块中获取
aplus_queue.push({ action: 'aplus.setMetaInfo', arguments: ['aplus-rhost-v', 'https://api-ubtas.faw-vw.com'] });
</script>
</head>
<body>
<noscript>
+8
View File
@@ -33,6 +33,14 @@ export default {
}
},
created () {
aplus_queue.push({
action: 'aplus.setMetaInfo',
arguments: ['aplus-autotrack-enabled', true]
})
aplus_queue.push({
action: 'aplus.setMetaInfo',
arguments: ['Info ', true]
});
const _that = this
// var path = window.location.search
// var ticket = this.getQueryVariable(path, 'ticket')
+12 -2
View File
@@ -39,7 +39,6 @@
<script>
import { Base64 } from 'js-base64'
import {basMessage} from '@/utils/Enum/enum'
import {init} from '@/utils/quickTracking';
export default {
name: 'Login',
data () {
@@ -152,7 +151,18 @@ export default {
params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
}
this.$message.success('登录成功')
init()
aplus_queue.push({
action: 'aplus.setMetaInfo',
arguments: ["_user_id", this.$store.getters.userInfo.usid]
});
aplus_queue.push({
'action':'aplus.record',
'arguments':['$$_user_profile', 'OTHER', {
name: this.$store.getters.userInfo.usname, //用户属性1
}]
});
this.getMarket().then((resx)=>{
this.$store.commit('setMarketpre', resx)
this.$router.push(params)
+10 -2
View File
@@ -3,7 +3,6 @@
</template>
<script>
import {init} from '@/utils/quickTracking';
export default {
name: "checkPage",
data(){
@@ -73,7 +72,16 @@ export default {
params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
}
this.$message.success('登录成功')
init()
aplus_queue.push({
action: 'aplus.setMetaInfo',
arguments: ["_user_id", this.$store.getters.userInfo.usid]
});
aplus_queue.push({
'action':'aplus.record',
'arguments':['$$_user_profile', 'OTHER', {
name: this.$store.getters.userInfo.usname, //用户属性1
}]
});
this.getMarket().then((resx)=>{
this.$store.commit('setMarketpre', resx)
this.$router.push(params)