【修改】maidian

This commit is contained in:
zhoulingpo
2023-05-26 13:00:15 +08:00
parent e95d97c593
commit 9171fb6edd
2 changed files with 30 additions and 2 deletions
+15 -2
View File
@@ -151,8 +151,18 @@ export default {
params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }} params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
} }
this.$message.success('登录成功') this.$message.success('登录成功')
let department
if(this.$store.getters.userInfo.orgEOList){
department= this.$store.getters.userInfo.orgEOList.map(item=>{
return item.longName
})
}
let roleName
if(this.$store.getters.userInfo.roleEOList){
roleName = this.$store.getters.userInfo.roleEOList.map(item=>{
return item.name
})
}
aplus_queue.push({ aplus_queue.push({
action: 'aplus.setMetaInfo', action: 'aplus.setMetaInfo',
arguments: ["_user_id", this.$store.getters.userInfo.usid] arguments: ["_user_id", this.$store.getters.userInfo.usid]
@@ -161,6 +171,9 @@ export default {
'action':'aplus.record', 'action':'aplus.record',
'arguments':['$$_user_profile', 'OTHER', { 'arguments':['$$_user_profile', 'OTHER', {
name: this.$store.getters.userInfo.usname, //用户属性1 name: this.$store.getters.userInfo.usname, //用户属性1
department:department.join(','),
roleName:roleName.join(','),
}] }]
}); });
this.getMarket().then((resx)=>{ this.getMarket().then((resx)=>{
+15
View File
@@ -72,6 +72,18 @@ export default {
params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }} params={ path: '/userCenter/processCenter', query: { id: 'AEHJB8YNJ3' }}
} }
this.$message.success('登录成功') this.$message.success('登录成功')
let department
if(this.$store.getters.userInfo.orgEOList){
department= this.$store.getters.userInfo.orgEOList.map(item=>{
return item.longName
})
}
let roleName
if(this.$store.getters.userInfo.roleEOList){
roleName = this.$store.getters.userInfo.roleEOList.map(item=>{
return item.name
})
}
aplus_queue.push({ aplus_queue.push({
action: 'aplus.setMetaInfo', action: 'aplus.setMetaInfo',
arguments: ["_user_id", this.$store.getters.userInfo.usid] arguments: ["_user_id", this.$store.getters.userInfo.usid]
@@ -80,6 +92,9 @@ export default {
'action':'aplus.record', 'action':'aplus.record',
'arguments':['$$_user_profile', 'OTHER', { 'arguments':['$$_user_profile', 'OTHER', {
name: this.$store.getters.userInfo.usname, //用户属性1 name: this.$store.getters.userInfo.usname, //用户属性1
department:department.join(','),
roleName:roleName.join(','),
}] }]
}); });
this.getMarket().then((resx)=>{ this.getMarket().then((resx)=>{