Commit d9db0d95 authored by 黄奎's avatar 黄奎

页面修改

parent 7e270283
...@@ -93,12 +93,12 @@ ...@@ -93,12 +93,12 @@
align: 'left', align: 'left',
field: row => row.CourseName field: row => row.CourseName
}, },
{ // {
name: 'CateName', // name: 'CateName',
label: '所属分类', // label: '所属分类',
field: 'CateName', // field: 'CateName',
align: 'left' // align: 'left'
}, // },
{ {
name: 'CoverImg', name: 'CoverImg',
label: '课程封面', label: '课程封面',
......
...@@ -18,20 +18,20 @@ ...@@ -18,20 +18,20 @@
<div class="page-search row items-center"> <div class="page-search row items-center">
<div class="col row wrap q-mr-lg q-col-gutter-md"> <div class="col row wrap q-mr-lg q-col-gutter-md">
<div class="col-3"> <div class="col-3">
<q-input @change="getQuestionList" clearable standout="bg-primary text-white" v-model="msg.Title" label="关键字" <q-input @change="research" clearable standout="bg-primary text-white" v-model="msg.Title" label="关键字"
@clear="getQuestionList" maxlength="20" /> @clear="research" maxlength="20" />
</div> </div>
<div class="col-3"> <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 v-model="msg.QuestionTypeId" :options="questionTypeList" emit-value map-options label="题型" multiple
clearable /> clearable />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-input @change="getQuestionList" clearable standout="bg-primary text-white" v-model="msg.PointName" <q-input @change="research" clearable standout="bg-primary text-white" v-model="msg.PointName" label="知识点"
label="知识点" @clear="getQuestionList" maxlength="20" /> @clear="research" maxlength="20" />
</div> </div>
<div class="col-3"> <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="难度" v-model="msg.DifficultyType" :options="questionDifficultyTypeList" emit-value map-options label="难度"
multiple clearable /> multiple clearable />
</div> </div>
...@@ -180,6 +180,10 @@ ...@@ -180,6 +180,10 @@
this.getQuestionList(); this.getQuestionList();
}, },
methods: { methods: {
research() {
this.msg.pageIndex = 1;
this.getQuestionList();
},
importQuestion(type) { importQuestion(type) {
this.importType = type; this.importType = type;
this.isShowImportUpload = true; 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