From 6b3289b23955690abbf3bb4b7f530b34c74f697b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Mon, 17 Apr 2023 10:34:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/AppletAccessLog.js | 4 ++-- src/views/assembly/classe.vue | 21 ++++++++++++++------- src/views/system/AppletAccessLog/index.vue | 22 ++++++++++++---------- 3 files changed, 28 insertions(+), 19 deletions(-) diff --git a/src/api/system/AppletAccessLog.js b/src/api/system/AppletAccessLog.js index ab5b367..97591f2 100644 --- a/src/api/system/AppletAccessLog.js +++ b/src/api/system/AppletAccessLog.js @@ -1,9 +1,9 @@ import request from '@/utils/request' // 查询 -export function appletVisitRecord(pageNum, pageSize, parentInfoId, kindergartenId, startDate, endDate, loginType) { +export function appletVisitRecord(pageNum, pageSize, parentInfoId, classId, startDate, endDate, loginType) { return request({ - url: `/system/appLogManage/appletVisitRecord?pageNum=${pageNum}&pageSize=${pageSize}&parentInfoId=${parentInfoId}&kindergartenId=${kindergartenId}&startDate=${startDate}&endDate=${endDate}&loginType=${loginType}`, + url: `/system/appLogManage/appletVisitRecord?pageNum=${pageNum}&pageSize=${pageSize}&parentInfoId=${parentInfoId}&classId=${classId}&startDate=${startDate}&endDate=${endDate}&loginType=${loginType}`, method: 'post', }) } \ No newline at end of file diff --git a/src/views/assembly/classe.vue b/src/views/assembly/classe.vue index 1759125..fe9939c 100644 --- a/src/views/assembly/classe.vue +++ b/src/views/assembly/classe.vue @@ -1,6 +1,6 @@ - + - + + + @@ -119,11 +126,11 @@ export default { }, methods: { onshow() { - this.classId = localStorage.getItem("classId"); + // this.classId = localStorage.getItem("classId"); if (localStorage.getItem("className") == null) { this.className = "请选择班级"; } else { - this.className = localStorage.getItem("className"); + // this.className = localStorage.getItem("className"); } this.$emit("classelist", this.classId); }, @@ -165,8 +172,8 @@ export default { }, // 表单重置 reset() { - this.form = {}; - this.resetForm("form"); + this.className = "请选择班级"; + this.classId = ""; } } }; diff --git a/src/views/system/AppletAccessLog/index.vue b/src/views/system/AppletAccessLog/index.vue index f3eacb7..e7ffbf6 100644 --- a/src/views/system/AppletAccessLog/index.vue +++ b/src/views/system/AppletAccessLog/index.vue @@ -1,6 +1,7 @@