diff --git a/src/views/system/studentInfo/index.vue b/src/views/system/studentInfo/index.vue index 34d9b4f..7d6a3bb 100644 --- a/src/views/system/studentInfo/index.vue +++ b/src/views/system/studentInfo/index.vue @@ -43,10 +43,13 @@ @@ -82,6 +85,7 @@ @click="handleQuery" >搜索 + 重置 @@ -329,7 +333,7 @@ :visible.sync="innerVisible2" append-to-body :before-close="prentclickok" - + > @@ -437,7 +441,7 @@ @pagination="getList" style="margin-top:40px" /> - + Date.now(); }, }, + Data: "", + //查看家长 parentStudentInfoList: [], //民族 @@ -730,6 +736,7 @@ export default { male: "MALE", female: "FEMALE", // 遮罩层 + kindergartenshow: false, loading: true, innerVisible: false, innerVisible2: false, @@ -1320,6 +1327,10 @@ export default { }, /** 搜索按钮操作 */ handleQuery() { + console.log(this.Data); + this.queryParams.startTime = this.Data[0]; + this.queryParams.endTime = this.Data[1]; + this.queryParams.pageNum = 1; listStudentInfo(this.queryParams).then((res) => { this.studentInfoList = res.rows; @@ -1334,8 +1345,23 @@ export default { /** 重置按钮操作 */ resetQuery1() { this.resetForm("queryForm"); + this.queryParams = { + pageNum: 1, + pageSize: 10, + classId: null, + nationDictId: null, + studentName: null, + studentSex: null, + studentNumber: null, + birthDate: null, + cardNumber: null, + onceName: null, + homeAddress: null, + }; + this.Data = []; + this.handleQuery(); - form.studentNumber=null; + this.form.studentNumber=null; }, /** 重置按钮操作 */ resetQuery3() { @@ -1446,7 +1472,3 @@ export default { }, }; - - \ No newline at end of file