Commit d9db0d95 authored by 黄奎's avatar 黄奎

页面修改

parent 7e270283
......@@ -93,12 +93,12 @@
align: 'left',
field: row => row.CourseName
},
{
name: 'CateName',
label: '所属分类',
field: 'CateName',
align: 'left'
},
// {
// name: 'CateName',
// label: '所属分类',
// field: 'CateName',
// align: 'left'
// },
{
name: 'CoverImg',
label: '课程封面',
......
......@@ -9,7 +9,7 @@
overflow: hidden;
white-space: nowrap;
width: 280px;
}
</style>
......@@ -18,20 +18,20 @@
<div class="page-search row items-center">
<div class="col row wrap q-mr-lg q-col-gutter-md">
<div class="col-3">
<q-input @change="getQuestionList" clearable standout="bg-primary text-white" v-model="msg.Title" label="关键字"
@clear="getQuestionList" maxlength="20" />
<q-input @change="research" clearable standout="bg-primary text-white" v-model="msg.Title" label="关键字"
@clear="research" maxlength="20" />
</div>
<div class="col-3">
<q-select @input="getQuestionList" standout="bg-primary text-white" option-value="QId" option-label="Name"
<q-select @input="research" standout="bg-primary text-white" option-value="QId" option-label="Name"
v-model="msg.QuestionTypeId" :options="questionTypeList" emit-value map-options label="题型" multiple
clearable />
</div>
<div class="col-3">
<q-input @change="getQuestionList" clearable standout="bg-primary text-white" v-model="msg.PointName"
label="知识点" @clear="getQuestionList" maxlength="20" />
<q-input @change="research" clearable standout="bg-primary text-white" v-model="msg.PointName" label="知识点"
@clear="research" maxlength="20" />
</div>
<div class="col-3">
<q-select @input="getQuestionList" standout="bg-primary text-white" option-value="Id" option-label="Name"
<q-select @input="research" standout="bg-primary text-white" option-value="Id" option-label="Name"
v-model="msg.DifficultyType" :options="questionDifficultyTypeList" emit-value map-options label="难度"
multiple clearable />
</div>
......@@ -180,6 +180,10 @@
this.getQuestionList();
},
methods: {
research() {
this.msg.pageIndex = 1;
this.getQuestionList();
},
importQuestion(type) {
this.importType = type;
this.isShowImportUpload = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment