Commit 9d878729 authored by 黄奎's avatar 黄奎

页面修改

parent ad1e5e07
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
cursor: default !important; cursor: default !important;
pointer-events: none; pointer-events: none;
} }
.ExamPaper_Sysuser_Date .el-range-editor .el-range-input {
.ExamPaper_Sysuser_Date .el-range-editor .el-range-input {
background-color: transparent; background-color: transparent;
} }
...@@ -64,9 +65,9 @@ ...@@ -64,9 +65,9 @@
emit-value map-options label="审核状态" /> emit-value map-options label="审核状态" />
</div> </div>
<div class="col-3"> <div class="col-3">
<q-select v-model="msg.QCreateBy" <q-select v-model="msg.QCreateBy" :options="EmployeeList" filled use-input label="创建人" @input="refreshPage"
:options="EmployeeList" filled use-input label="创建人" @input="refreshPage" clearable option-label="EmployeeName" option-value="Id" clearable option-label="EmployeeName" option-value="Id" ref="EmployeeName" class="col-6" emit-value
ref="EmployeeName" class="col-6" emit-value map-options @filter="filterFn"> map-options @filter="filterFn">
<template v-slot:no-option> <template v-slot:no-option>
<q-item> <q-item>
<q-item-section class="text-grey"> <q-item-section class="text-grey">
...@@ -97,9 +98,10 @@ ...@@ -97,9 +98,10 @@
</div> </div>
</div> </div>
<div class="page-content examPaper"> <div class="page-content examPaper">
<exampaperlist :dataList="dataList" ref="examPaper" :msg="msg" :navList="navList" :loading="loading" @success="refreshPage"></exampaperlist> <exampaperlist :dataList="dataList" ref="examPaper" :msg="msg" :navList="navList" :loading="loading"
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount" @success="refreshPage"></exampaperlist>
:input="true" @input="changePage" /> <q-pagination class="full-width justify-end" :value="msg.pageIndex" color="primary" :max="pageCount" :input="true"
@input="changePage" />
</div> </div>
</div> </div>
</template> </template>
...@@ -107,7 +109,7 @@ ...@@ -107,7 +109,7 @@
import exampaperlist from '../../components/exam/exampaperlist' import exampaperlist from '../../components/exam/exampaperlist'
import { import {
GetPaperPage GetPaperPage
} from '../../api/teacher/index'; } from '../../api/teacher/index';
import { import {
queryEmployee queryEmployee
} from '../../api/users/user'; //获取员工 } from '../../api/users/user'; //获取员工
...@@ -131,7 +133,7 @@ ...@@ -131,7 +133,7 @@
QStartTime: "", //开始时间 QStartTime: "", //开始时间
QEndTime: "", //结束时间 QEndTime: "", //结束时间
QExamineStatus: '', //审核状态 QExamineStatus: '', //审核状态
QCreateBy:'' //创建人 QCreateBy: '' //创建人
}, },
pageCount: 0, pageCount: 0,
loading: false, loading: false,
...@@ -213,8 +215,10 @@ ...@@ -213,8 +215,10 @@
}, },
//翻页 //翻页
changePage(val) { changePage(val) {
this.msg.pageIndex = val; if (val != this.msg.pageIndex) {
this.getList() this.msg.pageIndex = val;
this.getList()
}
}, },
getPaperChild(Id) { getPaperChild(Id) {
this.msg.ParentId = Id; this.msg.ParentId = Id;
...@@ -232,7 +236,6 @@ ...@@ -232,7 +236,6 @@
this.loading = true; this.loading = true;
this.dataList = []; this.dataList = [];
GetPaperPage(this.msg).then(res => { GetPaperPage(this.msg).then(res => {
this.loading = false; this.loading = false;
if (res.Code == 1) { if (res.Code == 1) {
this.dataList = res.Data.pageModel.PageData; this.dataList = res.Data.pageModel.PageData;
......
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