mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 06:16:44 +08:00
Merge branch 'case' into dev
# Conflicts: # .env.development # .gitignore # src/components/Course/weikeContent.vue # src/components/PdfPreview/view.vue # src/views/portal/case/Detail.vue # src/views/portal/case/Index.vue
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<!-- <el-option label="全部" :value="0"></el-option> -->
|
||||
<el-option label="文章" :value="2"></el-option>
|
||||
<!-- <el-option label="课程" :value="1"></el-option> -->
|
||||
<!-- <el-option label="问答" :value="4"></el-option> -->
|
||||
<el-option label="案例" :value="3"></el-option>
|
||||
<el-option label="问答" :value="4"></el-option>
|
||||
</el-select>
|
||||
<!-- <el-input style="width: 200px;margin-right: 10px" placeholder="请选择来源"></el-input> -->
|
||||
@@ -155,6 +155,8 @@ export default {
|
||||
|
||||
}else if(this.dataList.type == 4){
|
||||
this.$router.push({ path: '/qa/answer', query: { id: item.objId } });
|
||||
} else if(this.dataList.type == 3){
|
||||
this.$router.push({ path: '/case/detail', query: { id: item.objId } });
|
||||
}
|
||||
},
|
||||
|
||||
@@ -268,12 +270,11 @@ export default {
|
||||
toAname:this.replayContent.sysCreateBy,
|
||||
parentRead:true
|
||||
}
|
||||
if(this.dataList.type == 2) {
|
||||
apiComment.reply(replayInfo).then(res=>{
|
||||
if(this.dataList.type == 2 || this.dataList.type == 3) {
|
||||
apiComment.reply(replayInfo).then(res=>{
|
||||
if(res.status==200){
|
||||
this.$message.success("回复成功");
|
||||
this.shareShow = false;
|
||||
//this.getData();
|
||||
if(!this.replyItem.replys){
|
||||
this.replyItem.replys=[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user