diff --git a/src/views/system/studentInfo/index.vue b/src/views/system/studentInfo/index.vue index 8c0c3e6..3b161ec 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" >搜索 + 重置 @@ -215,14 +219,8 @@ /> - - + + + 选择完成 - - 选择完成 @@ -721,6 +716,8 @@ export default { return time.getTime() > Date.now(); }, }, + Data: "", + //查看家长 parentStudentInfoList: [], //民族 @@ -729,6 +726,7 @@ export default { male: "MALE", female: "FEMALE", // 遮罩层 + kindergartenshow: false, loading: true, innerVisible: false, innerVisible2: false, @@ -811,6 +809,7 @@ export default { // 是否显示弹出层 open: false, // 查询参数 + queryParams: { pageNum: 1, pageSize: 10, @@ -1319,6 +1318,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; @@ -1333,7 +1336,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(); + // this.reload(); }, /** 重置按钮操作 */ resetQuery3() {