Commit 664c861c authored by FangYuePeng's avatar FangYuePeng

课程管理查看评论列表

parent 72eccaf5
......@@ -269,7 +269,7 @@ export function downloadZip(params) {
// 分页查询课程评分
export function queryPcLessonEvaluationByPagination(query) {
return request({
url: '/pclessonevaluation/list',
url: '/pclessonevaluation/evaluationList',
method: 'get',
params: query
})
......
......@@ -547,8 +547,8 @@
>
<div style="padding: 50px">
<div class="scoreTitle">
综合评分:<span style="color: red; margin: 0 50px 0 30px" >{{ scoreAvg}}分</span>
评价总数:<span style="color: red"> {{ scoreTotal }}条</span>
综合评分:<span style="color: red; margin: 0 50px 0 30px; font-size: 20px">{{ scoreAvg}}分</span>
评价总数:<span style="color: red;margin-left: 30px;font-size: 20px"> {{ scoreTotal }}条</span>
</div>
<el-table
v-loading="scoreLoading"
......@@ -560,9 +560,18 @@
>
<el-table-column label="序号" type="index" width="60px" />
<el-table-column label="提交用户" prop="userId" width="200px" :show-overflow-tooltip="true">
<el-table-column label="提交用户" prop="userId" width="250px" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.userId || '-' }}
<div v-if="scope.row.anonymousFlag=='1'">
匿名用户
</div>
<div v-else-if="scope.row.unitName===''">
{{ scope.row.userName}}
</div>
<div v-else>
{{ scope.row.userName+'-'+scope.row.unitName}}
</div>
</template>
</el-table-column>
<el-table-column label="提交时间" prop="submissionTime" width="250px" :show-overflow-tooltip="true">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment