提交 2e0db2aa authored 作者: matian's avatar matian

fix:课程详情新增负责人字段

上级 76c1a81e
...@@ -49,13 +49,19 @@ const basicInfo = computed((): IBasicInfo[] => { ...@@ -49,13 +49,19 @@ const basicInfo = computed((): IBasicInfo[] => {
key: 'created_operator_name' key: 'created_operator_name'
}, },
{ {
icon: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon5.png', icon: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon6.png',
label: '负责人', label: '更新人',
value: '', value: '',
key: 'updated_operator_name' key: 'updated_operator_name'
}, },
{ {
icon: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon6.png', icon: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon6.png',
label: '负责人',
value: '',
key: 'belong_operator_name'
},
{
icon: 'https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/course-view-icon7.png',
label: '选课类型', label: '选课类型',
value: '', value: '',
key: 'elective_type_name' key: 'elective_type_name'
...@@ -260,6 +266,7 @@ const liveOptions = computed(() => { ...@@ -260,6 +266,7 @@ const liveOptions = computed(() => {
display: flex; display: flex;
align-items: center; align-items: center;
height: fit-content; height: fit-content;
margin: 10px 0 0;
.item-right { .item-right {
margin-left: 15px; margin-left: 15px;
.label { .label {
......
...@@ -57,7 +57,7 @@ const listOptions = computed(() => { ...@@ -57,7 +57,7 @@ const listOptions = computed(() => {
params: { tab: tabValue, status: '', authorized: '', name: '' } params: { tab: tabValue, status: '', authorized: '', name: '' }
}, },
filters: [ filters: [
{ type: 'input', prop: 'name', label: '名称' }, { type: 'input', prop: 'name', label: '名称:' },
{ {
prop: 'authorized', prop: 'authorized',
slots: 'filter-department' slots: 'filter-department'
...@@ -112,7 +112,7 @@ const changeCard = () => { ...@@ -112,7 +112,7 @@ const changeCard = () => {
</div> </div>
</template> </template>
<template v-if="tabValue == '3' && isAdmin" #filter-department="{ params }"> <template v-if="tabValue == '3' && isAdmin" #filter-department="{ params }">
<div class="name" style="font-size: 14px; color: #606266; padding-right: 12px">部门</div> <div class="name" style="font-size: 14px; color: #606266; padding-right: 12px">部门:</div>
<el-select @change="typeFilter" clearable v-model="params.authorized"> <el-select @change="typeFilter" clearable v-model="params.authorized">
<el-option v-for="item in departmentList" :key="item.id" :label="item.name" :value="item.id" /> <el-option v-for="item in departmentList" :key="item.id" :label="item.name" :value="item.id" />
</el-select> </el-select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论