Commit 9d2a41e9 by wangzhihui

```

fix(longCourse): 修复课程分配界面显示问题

- 将时间单位从 "min" 改为 "分钟",提升中文显示体验
- 注释掉不必要的 justify-content 样式,调整时间文本间距
- 添加 margin-left: 10px 样式以改善布局
- 调整课程名称显示长度限制从19到17个字符
- 移除课程过滤条件,允许所有课程正常显示
```
1 parent ae55b70f
......@@ -124,7 +124,7 @@
<div class="title-type">
<div class="select">已选课程</div>
<div class="time">
共{{ selectObj.count }}节 {{ selectObj.courseTotalDuration }}min
共{{ selectObj.count }}节 {{ selectObj.courseTotalDuration }}分钟
</div>
</div>
<div class="reminder">
......@@ -592,7 +592,7 @@ export default {
.title-type {
display: flex;
align-items: center;
justify-content: space-between;
// justify-content: space-between;
height: 40px;
box-sizing: border-box;
padding: 10px 16px;
......@@ -603,6 +603,7 @@ export default {
font-size: 14px;
}
.time {
margin-left: 10px;
color: #666666;
font-size: 14px;
}
......
......@@ -35,8 +35,8 @@
<!-- 课程名称 -->
<div slot="courseName" slot-scope="scope">
<template v-if="scope.scope.courseName">
<span v-if="scope.scope.courseName.length < 19">{{
scope.scope.courseName.slice(0, 19)
<span v-if="scope.scope.courseName.length < 17">{{
scope.scope.courseName.slice(0, 17)
}}</span>
<div v-else>
<el-tooltip
......@@ -46,7 +46,7 @@
placement="top-start"
>
<span>
{{ scope.scope.courseName.slice(0, 19) }}...</span
{{ scope.scope.courseName.slice(0, 17) }}...</span
>
</el-tooltip>
</div>
......
......@@ -132,9 +132,7 @@ export default {
filterStaffList(val) {
this.selectStaffList = []
val.forEach((item) => {
if (item.courseConfigFlag != 1) {
this.selectStaffList.push(item)
}
this.selectStaffList.push(item)
})
this.checkAll = this.selectStaffList.every((item) => item.active)
if (
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!