|
|
@ -72,12 +72,21 @@ |
|
|
:show-overflow-tooltip="true" |
|
|
:show-overflow-tooltip="true" |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
<el-table-column |
|
|
<!-- <el-table-column |
|
|
prop="course_type" |
|
|
prop="course_type" |
|
|
:label="t('courseType')" |
|
|
:label="t('courseType')" |
|
|
min-width="120" |
|
|
min-width="120" |
|
|
:show-overflow-tooltip="true" |
|
|
:show-overflow-tooltip="true" |
|
|
/> |
|
|
/> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column :label="t('courseName')" min-width="120" align="center" :show-overflow-tooltip="true"> |
|
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
|
<div v-for="(item, index) in courseTypeList"> |
|
|
|
|
|
<div v-if="item.value == row.course_type">{{ item.name }}</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="duration" |
|
|
prop="duration" |
|
|
@ -207,6 +216,8 @@ const dictData = () => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const courseTypeList = ref([]) |
|
|
const courseTypeList = ref([]) |
|
|
const getcourseTypeList = async () => { |
|
|
const getcourseTypeList = async () => { |
|
|
courseTypeList.value = await ( |
|
|
courseTypeList.value = await ( |
|
|
|