This commit is contained in:
2024-10-14 18:03:14 +08:00
parent 6d86045a40
commit cd13e8635a

View File

@@ -174,16 +174,17 @@
>
<template slot-scope="scope">
<div>
<el-button
type="text"
size="small"
@click="addOrUpdateHandle(scope.row)"
>修改</el-button
>
<router-link
:to="{
path: 'course-courseCatalogue',
query: { id: scope.row.id, pageIndex }
}"
><el-button
type="text"
size="small"
@click="addOrUpdateHandle(scope.row)"
>修改</el-button
>
<el-button type="text" size="small">目录管理</el-button>
</router-link>
@@ -193,10 +194,13 @@
size="small"
@click="handleQuestionBank(scope.row)"
>题库管理</el-button
> <el-button type="text" size="small" @click="showLinkComment(scope.row)"
>评论管理<i class="el-icon-s-comment" ></i
></el-button
>
<el-button
type="text"
size="small"
@click="showLinkComment(scope.row)"
>评论管理<i class="el-icon-s-comment"></i
></el-button>
<el-button type="text" size="small" @click="showLinkTags(scope.row)"
>查看引用</el-button
>
@@ -309,8 +313,14 @@
size="60%"
@close="closeCommontLink"
>
<div style="padding:0 20px;box-sizing: border-box;height:calc(100% - 120px);">
<common-commont ref="commonCommont" :courseId="courseId" v-if="commontListVisible"></common-commont>
<div
style="padding:0 20px;box-sizing: border-box;height:calc(100% - 120px);"
>
<common-commont
ref="commonCommont"
:courseId="courseId"
v-if="commontListVisible"
></common-commont>
</div>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="closeLink"> </el-button>
@@ -376,16 +386,17 @@
</span>
</el-dialog>
<el-drawer title="" size="80%" :visible.sync="showQuestionBank" destroy-on-close>
<div slot="title">
<p
style="margin: 0;font-size: 18px;"
<el-drawer
title=""
size="80%"
:visible.sync="showQuestionBank"
destroy-on-close
>
<div slot="title">
<p style="margin: 0;font-size: 18px;">
<span style="font-weight: bold;">题库管理</span
><span style="margin-left: 20px;">[ {{ selectCourse.title }} ]</span>
</p>
</div>
<div style="padding:0 20px;box-sizing: border-box;">
<question-bank
@@ -661,7 +672,6 @@ export default {
},
closeCommontLink() {
this.commontListVisible = false;
},
showLinkTags(row) {
this.$http({
@@ -679,11 +689,11 @@ export default {
});
},
showLinkComment(row) {
this.courseId=row.id
this.courseId = row.id;
this.commontListVisible = true;
this.$nextTick(() => {
this.$refs.commonCommont.init()
})
this.$refs.commonCommont.init();
});
// this.$http({
// url: this.$http.adornUrl("/master/courseGuestbook/getCourseGuestbookList"),
@@ -950,5 +960,6 @@ export default {
display: flex;
}
/deep/.el-drawer__header {
background-color: #f0f0f0 !important;}
background-color: #f0f0f0 !important;
}
</style>