Commit 9d2a41e9 by wangzhihui

```

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

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