|
@@ -4,14 +4,12 @@
|
|
<slot name="prefix"></slot>
|
|
<slot name="prefix"></slot>
|
|
<mx-condition ref="condition" :query-params="queryParams" :require-fields="requireFields" @query="handleQuery"
|
|
<mx-condition ref="condition" :query-params="queryParams" :require-fields="requireFields" @query="handleQuery"
|
|
@invalid="handleInvalidQuery"></mx-condition>
|
|
@invalid="handleInvalidQuery"></mx-condition>
|
|
|
|
+ <mx-search-group justify="end" placeholder="请输入内容" v-model="form.paperName" class="mt8" @search="clickSuffix">
|
|
|
|
+ <el-col v-if="isFrontTeacher" :span="16" style="margin-bottom: 0"><span class="f-warning">*收藏后方可发布作业</span>
|
|
|
|
+ </el-col>
|
|
|
|
+ </mx-search-group>
|
|
</el-card>
|
|
</el-card>
|
|
<el-card class="main" v-if="papersList.length">
|
|
<el-card class="main" v-if="papersList.length">
|
|
- <div slot="header">
|
|
|
|
- <mx-search-group justify="end" placeholder="请输入内容" v-model="form.paperName" @search="clickSuffix">
|
|
|
|
- <el-col v-if="isFrontTeacher" :span="16" style="margin-bottom: 0"><span class="f-warning">*收藏后方可发布作业</span>
|
|
|
|
- </el-col>
|
|
|
|
- </mx-search-group>
|
|
|
|
- </div>
|
|
|
|
<!-- 试卷整体-----名校试卷名校试卷 -->
|
|
<!-- 试卷整体-----名校试卷名校试卷 -->
|
|
<div class="paper_container">
|
|
<div class="paper_container">
|
|
<div class="paper_item" v-for="item in papersList" :key="item.id">
|
|
<div class="paper_item" v-for="item in papersList" :key="item.id">
|
|
@@ -75,10 +73,9 @@ export default {
|
|
paperSubject: '',
|
|
paperSubject: '',
|
|
paperGrade: '',
|
|
paperGrade: '',
|
|
paperType: '',
|
|
paperType: '',
|
|
- paperArea: '',
|
|
|
|
- paperYear: ''
|
|
|
|
|
|
+ paperArea: ''
|
|
},
|
|
},
|
|
- requireFields: ['paperSubject', 'paperGrade', 'paperType', 'paperArea', 'paperYear'],
|
|
|
|
|
|
+ requireFields: ['paperSubject', 'paperGrade', 'paperType', 'paperArea'],
|
|
form: {
|
|
form: {
|
|
paperName: ''
|
|
paperName: ''
|
|
},
|
|
},
|