黄海 1 year ago
commit 794e79eaf2

@ -107,8 +107,21 @@
<div class="layui-tab-item layui-show">
<div class="layui-card">
<div class="layui-card-body">
<div class="layui-form-item layui-inline">
<label class="layui-form-label" style="width: auto;">状态:</label>
<div class="layui-input-inline">
<select id="statusId" lay-filter="status">
<option value="-2">全部</option>
<option value="0">未提交</option>
<option value="2">待审核</option>
<option value="1">已通过</option>
<option value="-1">已退回</option>
</select>
</div>
</div>
<table class="layui-table" id="myTable"></table>
<table class="layui-table" id="myTable" style="margin-top: 10px !important;"></table>
<script type="text/html" id="table-bar">
{{# if(d.check_type_id === 2) { }}
@ -135,6 +148,20 @@
<div class="layui-card">
<div class="layui-card-body">
<div class="layui-form-item layui-inline">
<label class="layui-form-label" style="width: auto;">状态:</label>
<div class="layui-input-inline">
<select id="statusId1" lay-filter="status1">
<option value="-2">全部</option>
<option value="0">未提交</option>
<option value="2">待审核</option>
<option value="1">已通过</option>
<option value="-1">已退回</option>
</select>
</div>
</div>
<div class="layui-form-item layui-inline">
<label class="layui-form-label" style="width: auto;">学校类型:</label>
<div class="layui-input-inline" id="xxlxView"></div>
@ -216,8 +243,11 @@
table.render({
elem: '#myTable',
url: '/QingLong/zbdc/getQueryXzqh',
where: {
check_type_id: $("#statusId").val()
},
cellExpandedMode: "tips",
height: 'full-85',
height: 'full-135',
cols: [[
{ title: '序号', align: 'center', width: "10%", type: 'numbers' },
{ title: '行政区划', field: 'area_name', align: 'center', width: "40%" },
@ -230,6 +260,11 @@
});
}
form.on('select(status)', function () {
tableRender();
return false;
});
$.ajax({
type: "GET",
@ -255,7 +290,7 @@
where: {
page: 1,
limit: 100,
check_type_id: -2,
check_type_id: $("#statusId1").val(),
school_type_id: $("#xxlxId").val(),
keyword: $("#xxmc").val()
},
@ -283,6 +318,11 @@
return false;
});
form.on('select(status1)', function () {
tableRender1();
return false;
});
table.on('tool(myTable1)', function (obj) {
console.log(obj.data)
if (obj.event === 'view') {

@ -199,21 +199,27 @@
{ title: '学生总数', field: 'student_count', align: 'center', width: "100", rowspan: 2 },
{ title: '班级总数', field: 'class_count', align: 'center', width: "100", rowspan: 2 },
{ title: '教职工总数', field: 'teacher_count', align: 'center', width: "100", rowspan: 2 },
{ title: '专任教师总数', field: 'zhuanren_count', align: 'center', width: "115", rowspan: 2 },
{ title: '小学部', align: 'center', colspan: 3 },
{ title: '初中部', align: 'center', colspan: 3 },
{ title: '高中部', align: 'center', colspan: 3 }
{ title: '小学部', align: 'center', colspan: 4 },
{ title: '初中部', align: 'center', colspan: 4 },
{ title: '高中部', align: 'center', colspan: 4 }
],
[
{ title: '班级数', field: 'xx_class_count', align: 'center', width: "100" },
{ title: '学生数', field: 'xx_student_count', align: 'center', width: "100" },
{ title: '教职工数', field: 'xx_teacher_count', align: 'center', width: "100" },
{ title: '专任教师数', field: 'xx_zhuanren_count', align: 'center', width: "105"},
{ title: '班级数', field: 'cz_class_count', align: 'center', width: "100" },
{ title: '学生数', field: 'cz_student_count', align: 'center', width: "100" },
{ title: '教职工数', field: 'cz_teacher_count', align: 'center', width: "100" },
{ title: '专任教师数', field: 'cz_zhuanren_count', align: 'center', width: "105"},
{ title: '班级数', field: 'gz_class_count', align: 'center', width: "100" },
{ title: '学生数', field: 'gz_student_count', align: 'center', width: "100" },
{ title: '教职工数', field: 'gz_teacher_count', align: 'center', width: "100" }
{ title: '教职工数', field: 'gz_teacher_count', align: 'center', width: "100" },
{ title: '专任教师数', field: 'gz_zhuanren_count', align: 'center', width: "105"}
]
],

Loading…
Cancel
Save