feat: 课程列表添加搜索条件
This commit is contained in:
parent
a0b23df39d
commit
c37fd41bc6
|
@ -24,8 +24,8 @@
|
|||
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<!-- <a-col :md="6" :sm="24"> -->
|
||||
<a-col>
|
||||
<a-col :md="6" :sm="24">
|
||||
<!-- <a-col> -->
|
||||
<a-button type="primary" @click="handleQuery">查询</a-button>
|
||||
<a-button @click="resetQuery">重置</a-button>
|
||||
</a-col>
|
||||
|
|
|
@ -82,7 +82,18 @@ export default {
|
|||
},
|
||||
queryOptions: [
|
||||
{ type: 'input', placeholder: '课程名称', key: 'name' },
|
||||
{ type: 'select-dic-tree', placeholder: '课程类别', key: 'trainWay', options: [] }
|
||||
{ type: 'select-dic-tree', placeholder: '课程类别', key: 'trainWay', options: [] },
|
||||
{
|
||||
type: 'select',
|
||||
placeholder: '课程状态',
|
||||
key: 'status',
|
||||
options: [
|
||||
{ name: '未开始', value: 1, id: 1 },
|
||||
{ name: '进行中', value: 2, id: 2 },
|
||||
{ name: '已完成', value: 3, id: 3 },
|
||||
{ name: '已结束', value: 4, id: 4 }
|
||||
]
|
||||
}
|
||||
],
|
||||
// 表头
|
||||
columns: [
|
||||
|
|
Loading…
Reference in New Issue