-
+
-
+
+ 选择
+
{{ item.name }}
@@ -112,20 +114,11 @@
-
+
选择
@@ -137,15 +130,14 @@
{{ scope.row.name }}
-
+
- {{ formatSysTypeChain(scope.row) }}
+ {{ formatSysTypeChain(scope.row) }}
-
+
- {{ scope.row.teacherName }}
+ {{ scope.row.teacherName }}
@@ -155,7 +147,7 @@
- {{ formatStudyCount(scope.row) }}
+ {{ scope.row.studys || '-' }}
@@ -165,10 +157,10 @@
- 无审核状态
- 审核中
- 审核通过
- 审核驳回
+ -
+ 审核中
+ 审核通过
+ 审核驳回
@@ -183,7 +175,7 @@
- {{ scope.row.openCourse == 1 ? '公开课' : '非公开课' }}
+ {{ scope.row.openCourse == 1 ? '是' : '否' }}
@@ -214,39 +206,56 @@
- 撤回
- 管理
- 编辑
- 删除
+
+
+ 撤回
+
+
+
+ 管理
+
+
+
+ 编辑
+
+
+
+ 删除
+
+
- 更多
+ style="margin-left:0px">
+ 更多
- 复制
- {{ scope.row.enabled ?
+ 复制
+ {{
+ scope.row.enabled ?
'停用' : '启用' }}
二维码
{{
- scope.row.isTop ? '取消置顶':'置顶'}}
+ scope.row.isTop ? '取消置顶' : '置顶' }}
+
-
+
@@ -384,6 +393,7 @@
+
@@ -395,6 +405,7 @@ import auditCourse1 from '@/components/Course/auditCourse1.vue';
import auditCourse2 from '@/components/Course/auditCourse2.vue';
import adminPage from '@/components/Administration/adminPage.vue';
import TopCourseSorter from '@/components/Course/TopCourseSorter.vue';
+import chooseOrg from '@/components/System/chooseOrg.vue';
import apiResowner from '../../api/modules/resowner.js';
import apiType from '../../api/modules/type.js'
import { courseType } from '../../utils/tools.js';
@@ -405,9 +416,9 @@ import apiUserbasic from "@/api/boe/userbasic.js"
import apiTeacher from '../../api/modules/teacher.js';
export default {
name: 'manageCourse',
- components: { courseForm, manager, auditCourse1, auditCourse2, adminPage, TopCourseSorter },
+ components: { courseForm, manager, auditCourse1, auditCourse2, adminPage, TopCourseSorter, chooseOrg },
computed: {
- ...mapGetters(['resOwnerMap', 'sysTypeMap', 'userInfo']),
+ ...mapGetters(['resOwnerMap', 'sysTypeMap', 'userInfo', 'identity']),
},
data() {
return {
@@ -434,6 +445,8 @@ export default {
exportLoading: false,
resOwner: [],
resOwnerFilterWarned: false,
+ orgId: '',
+ orgName: '',
defaultProps: {
value: 'code',
label: 'name',
@@ -577,6 +590,12 @@ export default {
border-radius: 4px;
background-color: #4284F7;
}
+ #app::-webkit-scrollbar {
+ width: 6px;
+ height: 6px;
+ background-color:rgba(0, 0, 0, .1);
+ border-radius: 4px;
+ }
`;
document.head.appendChild(style);
this.scrollbarStyleApplied = true;
@@ -767,14 +786,12 @@ export default {
return true;
},
formatCourseDuration(row) {
- if (row.durationDesc) {
- return row.durationDesc;
- }
- const duration = row.duration !== undefined
- ? row.duration
- : (row.studyDuration !== undefined ? row.studyDuration : row.totalDuration);
- if (duration === undefined || duration === null) {
- return '-';
+ // if (row.durationDesc) {
+ // return row.durationDesc;
+ // }
+ const duration = row.courseDuration
+ if (duration === undefined || duration === null || duration === 0) {
+ return '0分钟';
}
const minutes = Math.round(duration / 60);
if (minutes >= 60) {
@@ -793,13 +810,26 @@ export default {
return count;
},
formatScore(row) {
- if (row.score || row.score === 0) {
- return row.score;
+ let score;
+ // 优先取score,其次取avgScore
+ if (row.score !== undefined && (row.score || row.score === 0)) {
+ score = row.score;
+ } else if (row.avgScore !== undefined && (row.avgScore || row.avgScore === 0)) {
+ score = row.avgScore;
+ } else {
+ return '-';
}
- if (row.avgScore || row.avgScore === 0) {
- return row.avgScore;
+
+ // 处理数值,四舍五入保留1位小数
+ // 先转换为数字类型,避免字符串格式的数值问题
+ const numScore = Number(score);
+ // 检查是否为有效数字
+ if (isNaN(numScore)) {
+ return '-';
}
- return '-';
+
+ // 四舍五入保留1位小数
+ return numScore.toFixed(1);
},
getDurationNumber(row) {
const duration = row.duration !== undefined
@@ -889,14 +919,13 @@ export default {
delete query[key];
}
});
- const [resOne = '', resTwo = '', resThree = ''] = this.resOwner || [];
const [sysOne = '', sysTwo = '', sysThree = ''] = this.sysTypeList || [];
- query.orgld = resOne;
- query.orgName = resTwo;
- query.orgFullName = resThree;
query.sysType1 = sysOne;
query.sysType2 = sysTwo;
query.sysType3 = sysThree;
+ if (this.orgId) {
+ query.orgId = this.orgId;
+ }
if (this.params.name) {
query.keyword = this.params.name;
}
@@ -957,33 +986,28 @@ export default {
console.log(row.isTop);
if (row.isTop == false) {
// console.log('fa')
- this.$confirm('此操作将置顶此课程, 是否继续?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- apiCourse.setTop(params).then(res => {
- if (res.status === 200 && res.result === true) {
- this.$message.success('置顶成功!')
- this.searchData();
- } else {
- this.$message({
- type: 'error',
- message: res.message
- });
- }
- })
- }).catch(() => {
- this.$message({
- type: 'info',
- message: '置顶失败'
- });
- });
+ apiCourse.setTop(params).then(res => {
+ if (res.status === 200 && res.result === true) {
+ this.$message.success('置顶成功!')
+ this.searchData();
+ } else if (res.status === 500) {
+ this.$message({
+ type: 'error',
+ message: '已置顶10条课程,若需继续置顶,请对部分课程执行取消置顶操作'
+ });
+ } else {
+ this.$message({
+ type: 'error',
+ message: res.message
+ });
+ }
+ })
} else if (row.isTop == true) {
this.$confirm('此操作将取消置顶此课程, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'warning'
+ type: 'warning',
+ customClass: 'custom-confirm-dialog'
}).then(() => {
apiCourse.setTop(params).then(res => {
if (res.status === 200 && res.result === true) {
@@ -1013,10 +1037,11 @@ export default {
// 复制
copyCourse(item) {
const confirmText = `确认复制${item.name}吗?`;
- this.$confirm(confirmText, '提示', {
+ this.$confirm(confirmText, '复制确认', {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'warning'
+ type: 'warning',
+ customClass: 'custom-confirm-dialog'
}).then(() => {
const reqdata = {
id: item.id,
@@ -1037,10 +1062,11 @@ export default {
},
// 撤回接口
withdraw(row) {
- this.$confirm(`确定撤回${row.name}的审核申请吗?`, '提示', {
+ this.$confirm(`确定撤回${row.name}的审核申请吗?`, '撤回确认', {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'warning'
+ type: 'warning',
+ customClass: 'custom-confirm-dialog'
}).then(() => {
apiCourse.revokeSubmit(row.id).then((res) => {
if (res.status === 200 && res.result) {
@@ -1058,6 +1084,8 @@ export default {
this.resOwner = [];
this.sysTypeList = [];
this.learningTimeRange = [];
+ this.orgId = '';
+ this.orgName = '';
this.teacherFilterList = [];
this.teacherSelected = [];
this.teacherOptions = [];
@@ -1131,10 +1159,11 @@ export default {
const nextEnabled = !row.enabled;
const actionText = nextEnabled ? '启用' : '停用';
try {
- await this.$confirm(`确定${actionText}${row.name}吗?`, '提示', {
+ await this.$confirm(`确定${actionText}${row.name}吗?`, `${actionText}确认`, {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'warning'
+ type: 'warning',
+ customClass: 'custom-confirm-dialog'
});
} catch (error) {
return;
@@ -1181,6 +1210,14 @@ export default {
});
},
+ // 表格排序变化事件
+ handleSortChange({ column, prop, order }) {
+ // order: ascending(升序) | descending(降序) | null(取消排序)
+ console.log('排序变化:', { column, prop, order });
+ // TODO: 后续可以使用接口进行排序
+ // 如果需要接口排序,可以在这里调用 searchData 方法重新查询
+ // this.searchData(true);
+ },
viewTopic(row) {
if (row.status == 1) {
return this.$message.warning('请提交课程再预览!')
@@ -1284,6 +1321,19 @@ export default {
sessionStorage.setItem('courseDetail', JSON.stringify(row));
this.$router.push({ path: '/iframe/course/coursemanage-remote' });
},
+ showChooseOrg() {
+ if (this.$refs.refChooseOrg) {
+ this.$refs.refChooseOrg.dlgShow = true;
+ }
+ },
+ confirmChooseOrg(orgInfo) {
+ if (!orgInfo) return;
+ this.orgId = orgInfo.id || '';
+ this.orgName = orgInfo.name || '';
+ if (this.$refs.refChooseOrg) {
+ this.$refs.refChooseOrg.dlgShow = false;
+ }
+ },
showChooseCourse() {
this.courseChooseShow = true;
},
@@ -1319,10 +1369,14 @@ export default {
// this.$message({ message: msg, type: 'success', offset: 50 });
// },
delItem(row) {
- this.$confirm(`确认删除${row.name}吗?`, '提示', {
+ // this.$message({ type: 'success',customClass: 'custom-message-dialog', message: '删除成功', duration: 10000000 });
+ // return false
+ this.$confirm(`
确认删除${row.name}吗?`, '删除确认', {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'warning'
+ dangerouslyUseHTMLString: true,
+ type: 'warning',
+ customClass: 'custom-confirm-dialog'
}).then(async () => {
let params = {
id: row.id,
@@ -1357,7 +1411,7 @@ export default {
}
})
.catch((err) => {
- this.$message({ type: 'info', message: '已取消删除', duration: 5000 });
+ // this.$message({ type: 'info', message: '已取消删除', duration: 5000 });
});
},
showAddCatalogZhang(bal) {
@@ -1449,184 +1503,278 @@ export default {
margin-bottom: 0;
}
-.filter-row--primary .filter-actions {
-}
+.filter-row--primary .filter-actions {}
.filter-row--advanced {
margin-top: 10px;
}
-.filter-field--name ::v-deep .el-input__inner {
- width: 444px;
- height: 32px;
- background: #FFFFFF;
- border-radius: 6px;
- border: 1px solid rgba(0, 0, 0, .2);
- line-height: 32px;
- padding: 0 10px;
+.filter-field--name {
+ ::v-deep .el-input__inner {
+ width: 444px;
+ height: 32px;
+ background: #FFFFFF;
+ border-radius: 6px;
+ border: 1px solid rgba(0, 0, 0, .2);
+ line-height: 32px;
+ padding: 0 10px;
+ &:focus {
+ border: 1px solid #4284F7;
+ }
+ }
}
-.filter-field--category ::v-deep.el-cascader {
- line-height: 32px;
- .el-input__inner {
+.filter-field--category {
+ ::v-deep.el-cascader {
+ line-height: 32px;
+ .el-input__inner {
+ width: 180px;
+ height: 32px;
+ background: #FFFFFF;
+ border-radius: 6px;
+ border: 1px solid rgba(0, 0, 0, .2);
+ line-height: 32px;
+ padding: 0 10px;
+ color: #000000;
+ &:focus {
+ border: 1px solid #4284F7;
+ }
+ }
+
+ .el-input {
+ line-height: 32px;
+ }
+
+ .el-input__suffix {
+ line-height: 32px;
+ }
+
+ .el-input__icon {
+ line-height: 32px;
+ }
+ }
+
+
+}
+
+.filter-field--teacher {
+ ::v-deep.el-select {
+ .el-select__input {
+ margin-left: 10px;
+ }
+ .el-input {
+ &:focus {
+ border: 1px solid #4284F7;
+ }
+ }
+ .el-input__inner {
+ width: 180px;
+ height: 32px;
+ background: #FFFFFF;
+ border-radius: 6px;
+ border: 1px solid rgba(0, 0, 0, .2);
+ line-height: 32px;
+ padding: 0 10px;
+
+ }
+ }
+}
+
+.filter-field--status {
+ ::v-deep.el-select {
+ .el-select__input {
+ margin-left: 10px;
+ }
+
+ .el-input__inner {
+ width: 136px;
+ height: 32px;
+ background: #FFFFFF;
+ border-radius: 6px;
+ border: 1px solid rgba(0, 0, 0, .2);
+ line-height: 32px;
+ padding: 0 10px;
+ &:focus {
+ border: 1px solid #4284F7;
+ }
+ }
+
+ .el-input__icon {
+ line-height: 32px;
+ }
+ }
+}
+
+.filter-field--publish {
+ ::v-deep.el-select {
+ .el-select__input {
+ margin-left: 10px;
+ }
+
+ .el-input__inner {
+ width: 136px;
+ height: 32px;
+ background: #FFFFFF;
+ border-radius: 6px;
+ border: 1px solid rgba(0, 0, 0, .2);
+ line-height: 32px;
+ padding: 0 10px;
+ &:focus {
+ border: 1px solid #4284F7;
+ }
+ }
+
+ .el-input__icon {
+ line-height: 32px;
+ }
+ }
+}
+
+.filter-field--enabled {
+ ::v-deep.el-select {
+ .el-select__input {
+ margin-left: 10px;
+ }
+
+ .el-input__inner {
+ width: 136px;
+ height: 32px;
+ background: #FFFFFF;
+ border-radius: 6px;
+ border: 1px solid rgba(0, 0, 0, .2);
+ line-height: 32px;
+ padding: 0 10px;
+ &:focus {
+ border: 1px solid #4284F7;
+ }
+ }
+
+ .el-input__icon {
+ line-height: 32px;
+ }
+ }
+
+}
+
+.filter-field--open {
+ ::v-deep.el-select {
+ .el-select__input {
+ margin-left: 10px;
+ }
+
+ .el-input__inner {
+ width: 124px;
+ height: 32px;
+ background: #FFFFFF;
+ border-radius: 6px;
+ border: 1px solid rgba(0, 0, 0, .2);
+ line-height: 32px;
+ padding: 0 10px;
+ &:focus {
+ border: 1px solid #4284F7;
+ }
+ }
+
+ .el-input__icon {
+ line-height: 32px;
+ }
+ }
+
+}
+
+
+// .filter-field--resowner ::v-deep.el-cascader {
+// line-height: 32px;
+// .el-input__inner {
+// width: 180px;
+// height: 32px;
+// background: #FFFFFF;
+// border-radius: 6px;
+// border: 1px solid rgba(0, 0, 0, .2);
+// line-height: 32px;
+// padding: 0 10px;
+// }
+// .el-input {
+// line-height: 32px;
+// }
+// .el-input__suffix {
+// line-height: 32px;
+// }
+// .el-input__icon {
+// line-height: 32px;
+// }
+// }
+
+.filter-field--resowner {
+
+ // line-height: 32px;
+ ::v-deep .el-input__inner {
width: 180px;
height: 32px;
background: #FFFFFF;
- border-radius: 6px;
+ border-radius: 6px 0 0 6px;
border: 1px solid rgba(0, 0, 0, .2);
line-height: 32px;
padding: 0 10px;
}
- .el-input {
- line-height: 32px;
- }
- .el-input__suffix {
- line-height: 32px;
- }
- .el-input__icon {
- line-height: 32px;
- }
+
+ // .el-input {
+ // line-height: 32px;
+ // }
+ // .el-input__suffix {
+ // line-height: 32px;
+ // }
+ // .el-input__icon {
+ // line-height: 32px;
+ // }
}
-.filter-field--teacher ::v-deep.el-select {
- .el-select__input {
- margin-left: 10px;
- }
- .el-input__inner {
- width: 180px;
- height: 32px;
- background: #FFFFFF;
- border-radius: 6px;
- border: 1px solid rgba(0, 0, 0, .2);
- line-height: 32px;
- padding: 0 10px;
- }
-}
-.filter-field--status ::v-deep.el-select {
- .el-select__input {
- margin-left: 10px;
- }
- .el-input__inner {
- width: 136px;
- height: 32px;
- background: #FFFFFF;
- border-radius: 6px;
- border: 1px solid rgba(0, 0, 0, .2);
- line-height: 32px;
- padding: 0 10px;
- }
- .el-input__icon {
- line-height: 32px;
- }
-}
-.filter-field--publish ::v-deep.el-select {
- .el-select__input {
- margin-left: 10px;
- }
- .el-input__inner {
- width: 136px;
- height: 32px;
- background: #FFFFFF;
- border-radius: 6px;
- border: 1px solid rgba(0, 0, 0, .2);
- line-height: 32px;
- padding: 0 10px;
- }
- .el-input__icon {
- line-height: 32px;
+.filter-field--creator {
+ ::v-deep.el-select {
+ .el-select__input {
+ margin-left: 10px;
+ }
+
+ .el-input__inner {
+ width: 136px;
+ height: 32px;
+ background: #FFFFFF;
+ border-radius: 6px;
+ border: 1px solid rgba(0, 0, 0, .2);
+ line-height: 32px;
+ padding: 0 10px;
+ &:focus {
+ border: 1px solid #4284F7;
+ }
+ }
}
+
}
-.filter-field--enabled ::v-deep.el-select {
- .el-select__input {
- margin-left: 10px;
- }
- .el-input__inner {
- width: 136px;
- height: 32px;
- background: #FFFFFF;
- border-radius: 6px;
- border: 1px solid rgba(0, 0, 0, .2);
- line-height: 32px;
- padding: 0 10px;
- }
- .el-input__icon {
- line-height: 32px;
- }
-}
+.filter-field--create-from {
+ ::v-deep.el-select {
+ .el-select__input {
+ margin-left: 10px;
+ }
-.filter-field--open ::v-deep.el-select {
- .el-select__input {
- margin-left: 10px;
- }
- .el-input__inner {
- width: 124px;
- height: 32px;
- background: #FFFFFF;
- border-radius: 6px;
- border: 1px solid rgba(0, 0, 0, .2);
- line-height: 32px;
- padding: 0 10px;
- }
- .el-input__icon {
- line-height: 32px;
- }
-}
+ .el-input__inner {
+ width: 180px;
+ height: 32px;
+ background: #FFFFFF;
+ border-radius: 6px;
+ border: 1px solid rgba(0, 0, 0, .2);
+ line-height: 32px;
+ padding: 0 10px;
+ &:focus {
+ border: 1px solid #4284F7;
+ }
+ }
-
-.filter-field--resowner ::v-deep.el-cascader {
- line-height: 32px;
- .el-input__inner {
- width: 180px;
- height: 32px;
- background: #FFFFFF;
- border-radius: 6px;
- border: 1px solid rgba(0, 0, 0, .2);
- line-height: 32px;
- padding: 0 10px;
- }
- .el-input {
- line-height: 32px;
- }
- .el-input__suffix {
- line-height: 32px;
- }
- .el-input__icon {
- line-height: 32px;
- }
-}
-
-.filter-field--creator ::v-deep.el-select {
- .el-select__input {
- margin-left: 10px;
- }
- .el-input__inner {
- width: 136px;
- height: 32px !important;
- background: #FFFFFF;
- border-radius: 6px;
- border: 1px solid rgba(0, 0, 0, .2);
- line-height: 32px;
- padding: 0 10px;
- }
-}
-
-.filter-field--create-from ::v-deep.el-select {
- .el-select__input {
- margin-left: 10px;
- }
- .el-input__inner {
- width: 180px;
- height: 32px;
- background: #FFFFFF;
- border-radius: 6px;
- border: 1px solid rgba(0, 0, 0, .2);
- line-height: 32px;
- padding: 0 10px;
- }
- .el-input__icon {
- line-height: 32px;
+ .el-input__icon {
+ line-height: 32px;
+ }
}
+
}
.filter-field--time {
@@ -1638,28 +1786,37 @@ export default {
border: 1px solid rgba(0, 0, 0, .2);
line-height: 32px;
padding: 0 10px;
+ &:focus {
+ border: 1px solid #4284F7;
+ }
+
.el-input__icon {
line-height: 32px;
+
&.el-icon-date {
position: absolute;
right: 0;
}
+
&.el-icon-close {
margin-right: 8px;
}
}
+
.el-range-input {
text-align: left;
}
-
+
.el-range-separator {
line-height: 30px;
}
+
.el-range-input {
line-height: 30px;
}
}
}
+
.toggle-link {
padding: 0;
font-size: 14px;
@@ -1676,6 +1833,11 @@ export default {
width: 100%;
}
}
+.creator-filter {
+ ::v-deep .choice {
+ width: 100%;
+ }
+}
.filter-actions--inline {
padding-top: 0;
@@ -1695,7 +1857,6 @@ export default {
}
.filter-actions .toggle-link {
- margin-left: 12px;
margin-right: 10px;
}
@@ -1707,7 +1868,7 @@ export default {
background-position: center;
background-size: 32px 32px;
background-color: transparent;
- transition: all 0.2s ease;
+ // transition: all 0.2s ease;
}
.icon-btn:disabled {
@@ -1726,7 +1887,7 @@ export default {
.icon-btn--reset {
background-image: url('~@/assets/images/svg/reset.svg');
- background-size: 18px 18px;
+ background-size: 15px 15px;
}
.icon-btn--reset:hover,
@@ -1737,7 +1898,7 @@ export default {
.icon-btn--top {
background-image: url('~@/assets/images/svg/pintotop.svg');
- background-size: 16px 16px;
+ background-size: 14px 14px;
}
.icon-btn--top:hover,
@@ -1748,7 +1909,7 @@ export default {
.icon-btn--export {
background-image: url('~@/assets/images/svg/export.svg');
- background-size: 16px 16px;
+ background-size: 14px 14px;
}
.icon-btn--export:hover,
@@ -1787,7 +1948,7 @@ export default {
background-image: url('~@/assets/images/svg/createCourse.svg');
background-repeat: no-repeat;
background-position: 12px center;
- background-size: 16px 16px;
+ background-size: 14px 14px;
color: #4284F7;
font-weight: 400;
font-size: 14px;
@@ -1822,8 +1983,83 @@ export default {
// }
.pagination {
- text-align: center;
- padding: 40px 0 80px 0;
+ text-align: right;
+ padding-top: 20px;
+ ::v-deep .el-pagination {
+ .el-pagination__total {
+ font-size: 14px;
+ color: #000000;
+ }
+ .el-pagination__sizes {
+ margin-right: 4px;
+ .el-input{
+ margin: 0;
+ width: 89px;
+
+ }
+ .el-input__inner {
+ width: 89px;
+ background: #F5F9FF;
+ border-radius: 4px;
+ border: 1px solid #DFDFDF;
+ height: 28px;
+ font-size: 14px;
+ color: #000000;
+ }
+ }
+ .btn-prev, .btn-next {
+ width: 28px;
+ height: 28px;
+ background: #F5F9FF;
+ border-radius: 4px;
+ border: 1px solid #DFDFDF;
+ // &:hover {
+ // background: #4284F7;
+ // color: #FFFFFF;
+ // }
+ }
+ .btn-quicknext{
+ background: transparent;
+ border: none;
+ line-height: 44px;
+ &:before {
+ content: '......';
+ }
+
+ }
+ .el-pager {
+ .number {
+ min-width: 28px;
+ height: 28px;
+ background: #F5F9FF;
+ border-radius: 4px;
+ border: 1px solid #DFDFDF;
+ font-weight: normal;
+ color: #000000;
+ margin: 0 4px;
+ &.active {
+ background: #4284F7;
+ color: #FFFFFF;
+ border: none;
+ }
+ }
+ }
+ .el-pagination__jump {
+ font-size: 14px;
+ color: #000000;
+ margin-left: 4px;
+ .el-input__inner {
+ width: 28px;
+ height: 28px;
+ background: #F5F9FF;
+ border-radius: 4px;
+ border: 1px solid #DFDFDF;
+ font-size: 14px;
+ color: #000000;
+ }
+ }
+
+ }
}
.course-types {
@@ -1888,6 +2124,8 @@ export default {
::v-deep .el-table .el-table__body-wrapper::-webkit-scrollbar {
width: 6px;
height: 6px;
+ background-color:rgba(0, 0, 0, .1);
+ border-radius: 4px;
}
::v-deep .el-table .el-table__body-wrapper::-webkit-scrollbar-thumb {
@@ -1898,38 +2136,90 @@ export default {
::v-deep.el-table {
- th.el-table__cell{
+ border-radius: 6px 6px 0 0;
+ td.el-table__cell {
+ border-bottom: 1px solid rgba(0, 0, 0, .1);
+ }
+ th.el-table__cell {
background: rgba(66, 132, 247, 0.1);
padding: 3px 0;
+
.cell {
font-weight: bold;
font-size: 14px;
color: #60769D;
}
- &.el-table--medium .el-table__cell{
+ .caret-wrapper {
+ .sort-caret {
+ border: 4px solid transparent;
+ &.ascending {
+ border-bottom-color: #C0C4CC;
+ top: 8px;
+ }
+ &.descending {
+ border-top-color: #C0C4CC;
+ bottom: 8px;
+ }
+ }
+ }
+
+ &.el-table--medium .el-table__cell {
padding: 5px 0;
}
}
+
.course-name {
font-weight: 400;
font-size: 14px;
color: #000000;
line-height: 20px;
}
+
.common-cell {
font-weight: 400;
font-size: 14px;
color: #000000;
}
- .status--pass {
- color: #2EAD4D;
- }
- .status--reject {
- color: #F41228;
- }
- ::v-deep .el-table--medium .el-table__cell{
+
+ .single-line-ellipsis {
+ display: inline-block;
+ max-width: 100%;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ vertical-align: middle;
+ }
+
+ .status--pass {
+ color: #2EAD4D;
+ }
+
+ .status--reject {
+ color: #F41228;
+ }
+
+ .action-link--primary {
+ color: #4284F7;
+ font-weight: bold;
+ }
+
+ .action-link--danger {
+ color: #E32E2E;
+ font-weight: bold;
+ }
+
+ .action-link--more {
+ color: rgba(0, 0, 0, .2);
+ font-weight: bold;
+ }
+
+ .action-link--bold {
+ font-weight: bold;
+ }
+
+ ::v-deep .el-table--medium .el-table__cell {
padding: 5px 0;
}
}
-
+