Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
tea-resources-web
Commits
664c861c
Commit
664c861c
authored
Apr 22, 2024
by
FangYuePeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
课程管理查看评论列表
parent
72eccaf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
indexApi.js
src/api/courseManagement/indexApi.js
+1
-1
index.vue
src/views/courseInformation/courseManagement/index.vue
+13
-4
No files found.
src/api/courseManagement/indexApi.js
View file @
664c861c
...
@@ -269,7 +269,7 @@ export function downloadZip(params) {
...
@@ -269,7 +269,7 @@ export function downloadZip(params) {
// 分页查询课程评分
// 分页查询课程评分
export
function
queryPcLessonEvaluationByPagination
(
query
)
{
export
function
queryPcLessonEvaluationByPagination
(
query
)
{
return
request
({
return
request
({
url
:
'/pclessonevaluation/
l
ist'
,
url
:
'/pclessonevaluation/
evaluationL
ist'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
})
})
...
...
src/views/courseInformation/courseManagement/index.vue
View file @
664c861c
...
@@ -547,8 +547,8 @@
...
@@ -547,8 +547,8 @@
>
>
<div
style=
"padding: 50px"
>
<div
style=
"padding: 50px"
>
<div
class=
"scoreTitle"
>
<div
class=
"scoreTitle"
>
综合评分:
<span
style=
"color: red; margin: 0 50px 0 30px
"
>
{{ scoreAvg}}分
</span>
综合评分:
<span
style=
"color: red; margin: 0 50px 0 30px
; font-size: 20px"
>
{{ scoreAvg}}分
</span>
评价总数:
<span
style=
"color: red"
>
{{ scoreTotal }}条
</span>
评价总数:
<span
style=
"color: red
;margin-left: 30px;font-size: 20px
"
>
{{ scoreTotal }}条
</span>
</div>
</div>
<el-table
<el-table
v-loading=
"scoreLoading"
v-loading=
"scoreLoading"
...
@@ -560,9 +560,18 @@
...
@@ -560,9 +560,18 @@
>
>
<el-table-column
label=
"序号"
type=
"index"
width=
"60px"
/>
<el-table-column
label=
"序号"
type=
"index"
width=
"60px"
/>
<el-table-column
label=
"提交用户"
prop=
"userId"
width=
"2
0
0px"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"提交用户"
prop=
"userId"
width=
"2
5
0px"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
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
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"提交时间"
prop=
"submissionTime"
width=
"250px"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"提交时间"
prop=
"submissionTime"
width=
"250px"
:show-overflow-tooltip=
"true"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment