修改
This commit is contained in:
parent
48679a94ba
commit
6b3289b239
@ -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',
|
||||
})
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="90px">
|
||||
<el-form ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="70px">
|
||||
<el-form-item label="所属班级" prop="className">
|
||||
<el-button
|
||||
@click="classshow = true"
|
||||
@ -65,9 +65,16 @@
|
||||
></el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column property="kindergartenName" label="所属幼儿园" align="center"></el-table-column>
|
||||
<el-table-column property="kindergartenName" label="幼儿园名称" align="center"></el-table-column>
|
||||
<el-table-column property="className" label="班级名称" align="center"></el-table-column>
|
||||
<el-table-column property="classType" label="班级类型" align="center"></el-table-column>
|
||||
<el-table-column property="classType" label="班级类型" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.classType == 'LARGE_CLASS' ? "大班" : "" }}
|
||||
{{ scope.row.classType == 'MIDDLE_CLASS' ? "中班" : "" }}
|
||||
{{ scope.row.classType == 'SMALL_CLASS' ? "小班" : "" }}
|
||||
{{ scope.row.classType == 'GRADUATE' ? "毕业" : "" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column property="classTeacher" label="班主任姓名" align="center"></el-table-column>
|
||||
<el-table-column property="phone" label="联系电话" align="center"></el-table-column>
|
||||
</el-table>
|
||||
@ -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 = "";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<kindergar @kinbatlist="kinbatlist" style="width: 500px; display: inline;" ref="kinresets"></kindergar>
|
||||
<!-- <kindergar @kinbatlist="kinbatlist" style="width: 500px; display: inline;" ref="kinresets"></kindergar> -->
|
||||
<classe @classelist="classelist" style="width: 500px; display: inline;" ref="classe"></classe>
|
||||
<parent @parentlist="parentlist" style="width: 500px; display: inline;" ref="resets"></parent>
|
||||
<el-form size="small" :inline="true" v-show="showSearch">
|
||||
<el-form-item label="日期" prop="orderStatus" label-width="60px">
|
||||
@ -17,7 +18,7 @@
|
||||
></el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="操作类型" prop="patientName" label-width="80px">
|
||||
<el-select v-model="loginType" placeholder="请选择订单状态">
|
||||
<el-select v-model="loginType" placeholder="请选择订单状态" clearable>
|
||||
<el-option
|
||||
v-for="item in loginTypelist"
|
||||
:key="item.value"
|
||||
@ -53,11 +54,11 @@
|
||||
</template>
|
||||
<script>
|
||||
import { appletVisitRecord } from "@/api/system/AppletAccessLog";
|
||||
import kindergar from "../../assembly/kindergarlog.vue";
|
||||
import classe from "../../assembly/classe.vue";
|
||||
import parent from "../../assembly/parent.vue";
|
||||
export default {
|
||||
name: "AppletAccessLog",
|
||||
components: { kindergar, parent },
|
||||
components: { classe, parent },
|
||||
data() {
|
||||
return {
|
||||
pickerOptions: {
|
||||
@ -111,7 +112,7 @@ export default {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
parentInfoId: "",
|
||||
kindergartenId: "",
|
||||
classId: "",
|
||||
startDate: null,
|
||||
endDate: null,
|
||||
loginType: "",
|
||||
@ -155,7 +156,7 @@ export default {
|
||||
this.pageNum,
|
||||
this.pageSize,
|
||||
this.parentInfoId,
|
||||
this.kindergartenId,
|
||||
this.classId,
|
||||
this.startDate,
|
||||
this.endDate,
|
||||
this.loginType
|
||||
@ -168,11 +169,12 @@ export default {
|
||||
resetQuery() {
|
||||
this.newtime();
|
||||
this.parentInfoId = "";
|
||||
this.kindergartenId = "";
|
||||
this.classId = "";
|
||||
this.loginType = "";
|
||||
this.valuetime = "";
|
||||
this.$refs.resets.reset();
|
||||
this.$refs.kinresets.reset();
|
||||
this.$refs.classe.reset();
|
||||
this.getlist();
|
||||
},
|
||||
//选择时期区间
|
||||
@ -184,9 +186,9 @@ export default {
|
||||
parentlist(e) {
|
||||
this.parentInfoId = e;
|
||||
},
|
||||
//所属幼儿园
|
||||
kinbatlist(kindergartenId) {
|
||||
this.kindergartenId = kindergartenId;
|
||||
//班级
|
||||
classelist(e) {
|
||||
this.classId = e;
|
||||
},
|
||||
formatDate(time, timetype) {
|
||||
let date = new Date(time); //13位时间戳
|
||||
|
||||
Loading…
Reference in New Issue
Block a user