提交 f11222ef authored 作者: matian's avatar matian

updates

上级 6893545a
......@@ -46,15 +46,15 @@ const listOptions = $computed(() => {
},
filters: [
{ type: 'select', prop: 'organ_id', slots: 'filter-department' },
{ type: 'select', prop: 'semester_id', slots: 'filter-semester' },
{ type: 'select', prop: 'class_id', slots: 'filter-class' },
{ type: 'select', prop: 'course_id', slots: 'filter-course' },
{ type: 'select', prop: 'chapter_id', slots: 'filter-chapter' },
{ type: 'select', label: '所属部门/学校:', prop: 'organ_id', slots: 'filter-department' },
{ type: 'select', label: '所属学期:', prop: 'semester_id', slots: 'filter-semester' },
{ type: 'select', label: '所属班级:', prop: 'class_id', slots: 'filter-class' },
{ type: 'select', label: '所属课程:', prop: 'course_id', slots: 'filter-course' },
{ type: 'select', label: '所属章节:', prop: 'chapter_id', slots: 'filter-chapter' },
{
type: 'select',
prop: 'type',
label: '帖子类型',
label: '帖子类型:',
placeholder: '帖子类型',
options: store.getMapValuesByKey('learning_discussion_type'),
labelKey: 'label',
......@@ -63,7 +63,7 @@ const listOptions = $computed(() => {
{
type: 'select',
prop: 'is_top',
label: '是否置顶',
label: '是否置顶:',
placeholder: '是否置顶',
options: [
{ label: '是', value: '1' },
......@@ -251,13 +251,11 @@ const handleReply = (row: any) => {
>新建帖子</el-button
>
<template #filter-department>
<div class="name" style="font-size: 14px; color: #606266; padding-right: 12px">所属部门/学校:</div>
<el-select @change="handleChangeOrgan" clearable v-model="organ_id" placeholder="请选择所属部门/学校">
<el-option v-for="item in departmentList" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
</template>
<template #filter-semester>
<div class="name" style="font-size: 14px; color: #606266; padding-right: 12px">所属学期:</div>
<el-select
@change="handleChangeSemester"
clearable
......@@ -269,7 +267,6 @@ const handleReply = (row: any) => {
</el-select>
</template>
<template #filter-class>
<div class="name" style="font-size: 14px; color: #606266; padding-right: 12px">所属班级:</div>
<el-select
@change="handleChangeClass"
clearable
......@@ -281,7 +278,6 @@ const handleReply = (row: any) => {
</el-select>
</template>
<template #filter-course>
<div class="name" style="font-size: 14px; color: #606266; padding-right: 12px">所属课程:</div>
<el-select
@change="handleChangeCourse"
clearable
......@@ -293,7 +289,6 @@ const handleReply = (row: any) => {
</el-select>
</template>
<template #filter-chapter>
<div class="name" style="font-size: 14px; color: #606266; padding-right: 12px">所属章节:</div>
<el-select
@change="handleRefresh"
clearable
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论