diff --git a/src/views/course/TeacherList.vue b/src/views/course/TeacherList.vue
index 790705cf..96e159c5 100644
--- a/src/views/course/TeacherList.vue
+++ b/src/views/course/TeacherList.vue
@@ -257,8 +257,23 @@ export default {
const { status } = await apiCourse.del(params);
if (status === 200) {
this.$message.success('操作成功!');
- //发送自己删除课程的事件
-
+ //发送自己删除课程的事件,审核通过的,自己不能删除了
+ // if(!row.erasable){
+ // let event = {
+ // key: "DeleteCourse",//被管理员删除
+ // title: '自己删除课程',//事件的标题
+ // parameters:"author:"+this.userInfo.aid,//自己删除自己的课程,作者就是当前人
+ // content: '自己删除课程',//事件的内容
+ // objId: row.id,//关联的id
+ // objType: "1",//关联的类型
+ // objInfo:row.name,
+ // aid: this.userInfo.aid, //当前登录人的id
+ // aname: this.userInfo.name,//当前人的姓名
+ // status: 1 //状态,直接写1
+ // }
+ // this.$store.dispatch("userTrigger", event);
+ // }
+
this.getList();
}
} catch (error) {
diff --git a/src/views/portal/qa/Answer.vue b/src/views/portal/qa/Answer.vue
index 93c6bcc4..13fb0874 100644
--- a/src/views/portal/qa/Answer.vue
+++ b/src/views/portal/qa/Answer.vue
@@ -228,7 +228,7 @@
提问题
-
+
贡献榜
@@ -817,6 +817,20 @@ export default {
res.result.sex = null;
res.result.isAll = false;
this.$message.success("回复成功");
+ //发送回复事件
+ let event = {
+ key: "ReplyAnswer",//
+ title: '回复回答',//
+ parameters:"",//作者
+ content: '回复回答',//
+ objId: replyData.commentId,//关联的id
+ objType: "5",//关联的类型
+ objInfo:'',
+ aid: this.userInfo.aid, //当前登录人的id
+ aname: this.userInfo.name,//当前人的姓名
+ status: 1 //
+ }
+ this.$store.dispatch("userTrigger", event);
this.getUserInfoList([res.result], [res.result.sysCreateAid]);
this.curParentId = '';
this.curParent = {};
diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue
index eb6f2be5..760b7e50 100644
--- a/src/views/study/coursenew.vue
+++ b/src/views/study/coursenew.vue
@@ -451,11 +451,11 @@
"key": "StudyCourseOther",//课程学习的key
"title": "非音视频课内容",//事件的标题
"parameters":"second:60",//second:value 本次的学习时长
- "content": "学习课程【"+this.courseInfo.name+"】",//事件的内容
- "objId": this.contentData.id,//课程的内容id
+ "content": "学习课程",//事件的内容
+ "objId": this.courseInfo.id,//课程的id
"objType": "1",//类型
"source":"page",
- "objInfo": ""+this.contentData.contentName,
+ "objInfo": ""+this.courseInfo.name,
"aid":this.userInfo.aid, //当前登录人的id
"aname":this.userInfo.name,//当前人的姓名
"status": 1 //状态