mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
u币规则
This commit is contained in:
@@ -551,6 +551,19 @@ export default {
|
||||
this.messageSave(this.data.id,this.data.title,this.userInfo.name,curUser.name,curUser.aid,'分享给我的');
|
||||
}
|
||||
}
|
||||
let event = {
|
||||
key: "Share",//后台的事件key
|
||||
title: "被分享",//事件的标题
|
||||
parameters:"",//用户自定义参数 name:value,name:value
|
||||
content: '被分享',//事件的内容
|
||||
objId: this.data.id,//关联的id
|
||||
objType: this.type,//关联的类型
|
||||
objInfo: this.data.title,
|
||||
aid: this.data.sysCreateAid, //当前登录人的id
|
||||
aname: this.data.sysCreateBy,//当前人的姓名
|
||||
status: 1 //状态,直接写1
|
||||
}
|
||||
this.$store.dispatch("userTrigger", event);
|
||||
}else{
|
||||
this.$message.warning("您已分享给对方,分享失败")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user