parent
c529e4e5cd
commit
387049fc5c
@ -0,0 +1,662 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<link rel="stylesheet" href="../../../component/layui/css/layui.css" />
|
||||
<link rel="stylesheet" href="../../../component/pear/css/module/toast.css" />
|
||||
|
||||
<style>
|
||||
th {
|
||||
color: #303133;
|
||||
background-color: #f5f7fa;
|
||||
}
|
||||
|
||||
.layui-card {
|
||||
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.layui-form-item {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.layui-table td,
|
||||
.layui-table th {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.bp {
|
||||
background-color: rgba(23, 179, 163, .1);
|
||||
padding: 5px 10px;
|
||||
height: 32px;
|
||||
line-height: 30px;
|
||||
font-size: 12px;
|
||||
color: #17b3a3;
|
||||
border-radius: 4px;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid rgba(23, 179, 163, .2);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.xp {
|
||||
background-color: rgba(144, 147, 153, .1);
|
||||
padding: 5px 10px;
|
||||
height: 32px;
|
||||
line-height: 30px;
|
||||
font-size: 12px;
|
||||
color: #909399;
|
||||
border-radius: 4px;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid rgba(144, 147, 153, .2);
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="layui-form">
|
||||
|
||||
<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" id="xzqhView"></div>
|
||||
|
||||
<script id="xzqhScript" type="text/html">
|
||||
<select id="xzqhId" lay-filter="xzqh">
|
||||
<option value="">全部</option>
|
||||
{{# layui.each(d, function(index, item){ }}
|
||||
<option value="{{item.id}}">{{item.area_name}}</option>
|
||||
{{# }); }}
|
||||
</select>
|
||||
</script>
|
||||
</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>
|
||||
|
||||
<script id="xxlxScript" type="text/html">
|
||||
<select id="xxlxId" lay-filter="xxlx">
|
||||
{{# layui.each(d, function(index, item){ }}
|
||||
<option value="{{item.school_type_id}}">{{item.school_type_name}}</option>
|
||||
{{# }); }}
|
||||
</select>
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item layui-inline">
|
||||
<label class="layui-form-label" style="width: auto;">学校名称:</label>
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" lay-affix="clear" id="xxmc" placeholder="请输入学校名称" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="layui-form-item layui-inline">
|
||||
<button class="layui-btn layui-btn-sm" lay-submit lay-filter="user-query">
|
||||
<i class="layui-icon layui-icon-search"></i>
|
||||
查询
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<table class="layui-table" id="myTable"></table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="../../../component/layui/layui.js"></script>
|
||||
<script src="../../../component/pear/xm-select.js"></script>
|
||||
|
||||
<script>
|
||||
layui.extend({
|
||||
toast: '../../../component/pear/module/toast' // {/}的意思即代表采用自有路径,即不跟随 base 路径
|
||||
}).use(['toast'], function () {
|
||||
var $ = layui.jquery;
|
||||
var table = layui.table;
|
||||
var toast = layui.toast;
|
||||
var form = layui.form;
|
||||
var laytpl = layui.laytpl;
|
||||
|
||||
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
async: false,
|
||||
url: "/QingLong/zbdc/getQueryXzqh",
|
||||
success: function (res) {
|
||||
var xzqhTpl = xzqhScript.innerHTML,
|
||||
xzqhView = document.getElementById('xzqhView');
|
||||
laytpl(xzqhTpl).render(res.data, function (html) {
|
||||
xzqhView.innerHTML = html;
|
||||
});
|
||||
form.render();
|
||||
}
|
||||
});
|
||||
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
async: false,
|
||||
url: "/QingLong/zbdc/getQuerySchoolType",
|
||||
success: function (res) {
|
||||
var xxlxTpl = xxlxScript.innerHTML,
|
||||
xxlxView = document.getElementById('xxlxView');
|
||||
laytpl(xxlxTpl).render(res.data, function (html) {
|
||||
xxlxView.innerHTML = html;
|
||||
});
|
||||
form.render();
|
||||
}
|
||||
});
|
||||
|
||||
tableRender();
|
||||
|
||||
function tableRender() {
|
||||
|
||||
var customCols;
|
||||
|
||||
console.log($("#xxlxId").val());
|
||||
|
||||
switch ($("#xxlxId").val()) {
|
||||
case '211':
|
||||
customCols = [
|
||||
[
|
||||
{ title: '序号', align: 'center', width: "60", type: 'numbers', rowspan: 2 },
|
||||
{ title: '行政区域', field: 'area_name', align: 'center', width: "150", rowspan: 2 },
|
||||
{ title: '学校名称', field: 'bureau_name', align: 'center', width: "300", rowspan: 2 },
|
||||
{ title: '学校类型', field: 'school_type_name', align: 'center', width: "115", rowspan: 2 },
|
||||
|
||||
{ title: '小学科学', align: 'center', colspan: 6 },
|
||||
{ title: '音乐', align: 'center', colspan: 5 },
|
||||
{ title: '体育', align: 'center', colspan: 4 },
|
||||
{ title: '美术', align: 'center', colspan: 4 },
|
||||
{ title: '劳技', align: 'center', colspan: 9 },
|
||||
{ title: '图书馆', align: 'center', colspan: 6 },
|
||||
{ title: '其他', align: 'center', colspan: 6 }
|
||||
],
|
||||
[
|
||||
{ title: '常规教室(室数)', field: 'xxkx_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'xxkx_cgmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'xxkx_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'xxkx_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'xxkx_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'xxkx_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '教室(室数)', field: 'yy_jssj', align: 'center', width: "90" },
|
||||
{ title: '教室面积(㎡)', field: 'yy_mj', align: 'center', width: "100" },
|
||||
{ title: '器材库(间数)', field: 'yy_qckjs', align: 'center', width: "100" },
|
||||
{ title: '器材已配品种(个)', field: 'yy_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'yy_qcypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '体育馆(数)', field: 'ty_gs', align: 'center', width: "90" },
|
||||
{ title: '器材库(间数)', field: 'ty_qckjs', align: 'center', width: "90" },
|
||||
{ title: '器材已配品种(个)', field: 'ty_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'ty_qcypj', align: 'center', width: "125" },
|
||||
|
||||
{ title: '教室(室数)', field: 'ms_jsss', align: 'center', width: "90" },
|
||||
{ title: '器材库(间数)', field: 'ms_qckjs', align: 'center', width: "90" },
|
||||
{ title: '器材已配品种(个)', field: 'ms_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'ms_qcypj', align: 'center', width: "125" },
|
||||
|
||||
{ title: '清洁与卫生(室数)', field: 'lj_qjywsss', align: 'center', width: "125" },
|
||||
{ title: '整理与收纳(室数)', field: 'lj_zlysnss', align: 'center', width: "125" },
|
||||
{ title: '烹饪与营养(室数)', field: 'lj_pryyyss', align: 'center', width: "125" },
|
||||
{ title: '家用器具使用与维护(室数)', field: 'lj_jyqjsyywhss', align: 'center', width: "175" },
|
||||
{ title: '农业生产劳动(室数)', field: 'lj_nyscldss', align: 'center', width: "140" },
|
||||
{ title: '传统工艺制作(室数)', field: 'lj_ctgyzzss', align: 'center', width: "140" },
|
||||
{ title: '工业生产劳动(室数)', field: 'lj_gyscldss', align: 'center', width: "140" },
|
||||
{ title: '新技术体验与应用(室数)', field: 'lj_xjstyyyyss', align: 'center', width: "165" },
|
||||
{ title: '现代服务业劳动(室数)', field: 'lj_xdfwyldss', align: 'center', width: "160" },
|
||||
|
||||
{ title: '藏书室(室数)', field: 'tsg_cssss', align: 'center', width: "100" },
|
||||
{ title: '纸质图书册数', field: 'tsg_zztscs', align: 'center', width: "125" },
|
||||
{ title: '电子图书册数', field: 'tsg_dztscs', align: 'center', width: "125" },
|
||||
{ title: '教师阅览室(室数)', field: 'tsg_jsylsss', align: 'center', width: "135" },
|
||||
{ title: '学生阅览室(室数)', field: 'tsg_xsylsss', align: 'center', width: "135" },
|
||||
{ title: '电子阅览室(室数)', field: 'tsg_dzylsss', align: 'center', width: "135" },
|
||||
|
||||
{ title: '心理辅导室(室数)', field: 'xlfds', align: 'center', width: "135" },
|
||||
{ title: '安全体验教室(室数)', field: 'aqtyjs', align: 'center', width: "140" },
|
||||
{ title: '书法教室(室数)', field: 'sfjs', align: 'center', width: "135" },
|
||||
{ title: '卫生保健(室数)', field: 'wsbj', align: 'center', width: "135" },
|
||||
{ title: '已改造护眼灯教室(室数)', field: 'hyd_ygzjss', align: 'center', width: "165" },
|
||||
{ title: '未改造护眼灯教室(室数)', field: 'hyd_wgzjss', align: 'center', width: "165" }
|
||||
|
||||
|
||||
]
|
||||
];
|
||||
break;
|
||||
case '311':
|
||||
customCols = [
|
||||
[
|
||||
{ title: '序号', align: 'center', width: "60", type: 'numbers', rowspan: 2 },
|
||||
{ title: '行政区域', field: 'area_name', align: 'center', width: "150", rowspan: 2 },
|
||||
{ title: '学校名称', field: 'bureau_name', align: 'center', width: "300", rowspan: 2 },
|
||||
{ title: '学校类型', field: 'school_type_name', align: 'center', width: "115", rowspan: 2 },
|
||||
|
||||
{ title: '物理实验室', align: 'center', colspan: 8 },
|
||||
{ title: '化学实验室', align: 'center', colspan: 8 },
|
||||
{ title: '生物实验室', align: 'center', colspan: 8 },
|
||||
{ title: '音乐', align: 'center', colspan: 5 },
|
||||
{ title: '体育', align: 'center', colspan: 4 },
|
||||
{ title: '美术', align: 'center', colspan: 4 },
|
||||
{ title: '劳技', align: 'center', colspan: 9 },
|
||||
{ title: '图书馆', align: 'center', colspan: 6 },
|
||||
{ title: '其他', align: 'center', colspan: 8 }
|
||||
],
|
||||
[
|
||||
|
||||
{ title: '常规教室(室数)', field: 'wl_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'wl_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'wl_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'wl_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'wl_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'wl_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'wl_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'wl_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '常规教室(室数)', field: 'hx_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'hx_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'hx_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'hx_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'hx_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'hx_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'hx_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'hx_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '常规教室(室数)', field: 'sw_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'sw_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'sw_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'sw_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'sw_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'sw_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'sw_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'sw_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '教室(室数)', field: 'yy_jssj', align: 'center', width: "90" },
|
||||
{ title: '教室面积(㎡)', field: 'yy_mj', align: 'center', width: "100" },
|
||||
{ title: '器材库(间数)', field: 'yy_qckjs', align: 'center', width: "100" },
|
||||
{ title: '器材已配品种(个)', field: 'yy_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'yy_qcypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '体育馆(数)', field: 'ty_gs', align: 'center', width: "90" },
|
||||
{ title: '器材库(间数)', field: 'ty_qckjs', align: 'center', width: "90" },
|
||||
{ title: '器材已配品种(个)', field: 'ty_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'ty_qcypj', align: 'center', width: "125" },
|
||||
|
||||
{ title: '教室(室数)', field: 'ms_jsss', align: 'center', width: "90" },
|
||||
{ title: '器材库(间数)', field: 'ms_qckjs', align: 'center', width: "90" },
|
||||
{ title: '器材已配品种(个)', field: 'ms_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'ms_qcypj', align: 'center', width: "125" },
|
||||
|
||||
{ title: '清洁与卫生(室数)', field: 'lj_qjywsss', align: 'center', width: "125" },
|
||||
{ title: '整理与收纳(室数)', field: 'lj_zlysnss', align: 'center', width: "125" },
|
||||
{ title: '烹饪与营养(室数)', field: 'lj_pryyyss', align: 'center', width: "125" },
|
||||
{ title: '家用器具使用与维护(室数)', field: 'lj_jyqjsyywhss', align: 'center', width: "175" },
|
||||
{ title: '农业生产劳动(室数)', field: 'lj_nyscldss', align: 'center', width: "140" },
|
||||
{ title: '传统工艺制作(室数)', field: 'lj_ctgyzzss', align: 'center', width: "140" },
|
||||
{ title: '工业生产劳动(室数)', field: 'lj_gyscldss', align: 'center', width: "140" },
|
||||
{ title: '新技术体验与应用(室数)', field: 'lj_xjstyyyyss', align: 'center', width: "165" },
|
||||
{ title: '现代服务业劳动(室数)', field: 'lj_xdfwyldss', align: 'center', width: "160" },
|
||||
|
||||
{ title: '藏书室(室数)', field: 'tsg_cssss', align: 'center', width: "100" },
|
||||
{ title: '纸质图书册数', field: 'tsg_zztscs', align: 'center', width: "125" },
|
||||
{ title: '电子图书册数', field: 'tsg_dztscs', align: 'center', width: "125" },
|
||||
{ title: '教师阅览室(室数)', field: 'tsg_jsylsss', align: 'center', width: "135" },
|
||||
{ title: '学生阅览室(室数)', field: 'tsg_xsylsss', align: 'center', width: "135" },
|
||||
{ title: '电子阅览室(室数)', field: 'tsg_dzylsss', align: 'center', width: "135" },
|
||||
|
||||
{ title: '地理教室(室数)', field: 'dljs', align: 'center', width: "100" },
|
||||
{ title: '历史教室(室数)', field: 'lsjs', align: 'center', width: "100" },
|
||||
{ title: '心理辅导室(室数)', field: 'xlfds', align: 'center', width: "135" },
|
||||
{ title: '安全体验教室(室数)', field: 'aqtyjs', align: 'center', width: "140" },
|
||||
{ title: '书法教室(室数)', field: 'sfjs', align: 'center', width: "135" },
|
||||
{ title: '卫生保健(室数)', field: 'wsbj', align: 'center', width: "135" },
|
||||
{ title: '已改造护眼灯教室(室数)', field: 'hyd_ygzjss', align: 'center', width: "165" },
|
||||
{ title: '未改造护眼灯教室(室数)', field: 'hyd_wgzjss', align: 'center', width: "165" }
|
||||
|
||||
|
||||
]
|
||||
];
|
||||
break;
|
||||
case '312':
|
||||
customCols = [
|
||||
[
|
||||
{ title: '序号', align: 'center', width: "60", type: 'numbers', rowspan: 2 },
|
||||
{ title: '行政区域', field: 'area_name', align: 'center', width: "150", rowspan: 2 },
|
||||
{ title: '学校名称', field: 'bureau_name', align: 'center', width: "300", rowspan: 2 },
|
||||
{ title: '学校类型', field: 'school_type_name', align: 'center', width: "115", rowspan: 2 },
|
||||
|
||||
{ title: '小学科学', align: 'center', colspan: 6 },
|
||||
{ title: '物理实验室', align: 'center', colspan: 8 },
|
||||
{ title: '化学实验室', align: 'center', colspan: 8 },
|
||||
{ title: '生物实验室', align: 'center', colspan: 8 },
|
||||
{ title: '音乐', align: 'center', colspan: 5 },
|
||||
{ title: '体育', align: 'center', colspan: 4 },
|
||||
{ title: '美术', align: 'center', colspan: 4 },
|
||||
{ title: '劳技', align: 'center', colspan: 9 },
|
||||
{ title: '图书馆', align: 'center', colspan: 6 },
|
||||
{ title: '其他', align: 'center', colspan: 8 }
|
||||
],
|
||||
[
|
||||
{ title: '常规教室(室数)', field: 'xxkx_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'xxkx_cgmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'xxkx_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'xxkx_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'xxkx_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'xxkx_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '常规教室(室数)', field: 'wl_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'wl_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'wl_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'wl_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'wl_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'wl_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'wl_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'wl_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '常规教室(室数)', field: 'hx_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'hx_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'hx_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'hx_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'hx_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'hx_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'hx_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'hx_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '常规教室(室数)', field: 'sw_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'sw_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'sw_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'sw_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'sw_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'sw_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'sw_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'sw_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '教室(室数)', field: 'yy_jssj', align: 'center', width: "90" },
|
||||
{ title: '教室面积(㎡)', field: 'yy_mj', align: 'center', width: "100" },
|
||||
{ title: '器材库(间数)', field: 'yy_qckjs', align: 'center', width: "100" },
|
||||
{ title: '器材已配品种(个)', field: 'yy_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'yy_qcypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '体育馆(数)', field: 'ty_gs', align: 'center', width: "90" },
|
||||
{ title: '器材库(间数)', field: 'ty_qckjs', align: 'center', width: "90" },
|
||||
{ title: '器材已配品种(个)', field: 'ty_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'ty_qcypj', align: 'center', width: "125" },
|
||||
|
||||
{ title: '教室(室数)', field: 'ms_jsss', align: 'center', width: "90" },
|
||||
{ title: '器材库(间数)', field: 'ms_qckjs', align: 'center', width: "90" },
|
||||
{ title: '器材已配品种(个)', field: 'ms_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'ms_qcypj', align: 'center', width: "125" },
|
||||
|
||||
{ title: '清洁与卫生(室数)', field: 'lj_qjywsss', align: 'center', width: "125" },
|
||||
{ title: '整理与收纳(室数)', field: 'lj_zlysnss', align: 'center', width: "125" },
|
||||
{ title: '烹饪与营养(室数)', field: 'lj_pryyyss', align: 'center', width: "125" },
|
||||
{ title: '家用器具使用与维护(室数)', field: 'lj_jyqjsyywhss', align: 'center', width: "175" },
|
||||
{ title: '农业生产劳动(室数)', field: 'lj_nyscldss', align: 'center', width: "140" },
|
||||
{ title: '传统工艺制作(室数)', field: 'lj_ctgyzzss', align: 'center', width: "140" },
|
||||
{ title: '工业生产劳动(室数)', field: 'lj_gyscldss', align: 'center', width: "140" },
|
||||
{ title: '新技术体验与应用(室数)', field: 'lj_xjstyyyyss', align: 'center', width: "165" },
|
||||
{ title: '现代服务业劳动(室数)', field: 'lj_xdfwyldss', align: 'center', width: "160" },
|
||||
|
||||
{ title: '藏书室(室数)', field: 'tsg_cssss', align: 'center', width: "100" },
|
||||
{ title: '纸质图书册数', field: 'tsg_zztscs', align: 'center', width: "125" },
|
||||
{ title: '电子图书册数', field: 'tsg_dztscs', align: 'center', width: "125" },
|
||||
{ title: '教师阅览室(室数)', field: 'tsg_jsylsss', align: 'center', width: "135" },
|
||||
{ title: '学生阅览室(室数)', field: 'tsg_xsylsss', align: 'center', width: "135" },
|
||||
{ title: '电子阅览室(室数)', field: 'tsg_dzylsss', align: 'center', width: "135" },
|
||||
|
||||
{ title: '地理教室(室数)', field: 'dljs', align: 'center', width: "115" },
|
||||
{ title: '历史教室(室数)', field: 'lsjs', align: 'center', width: "115" },
|
||||
{ title: '心理辅导室(室数)', field: 'xlfds', align: 'center', width: "135" },
|
||||
{ title: '安全体验教室(室数)', field: 'aqtyjs', align: 'center', width: "140" },
|
||||
{ title: '书法教室(室数)', field: 'sfjs', align: 'center', width: "135" },
|
||||
{ title: '卫生保健(室数)', field: 'wsbj', align: 'center', width: "135" },
|
||||
{ title: '已改造护眼灯教室(室数)', field: 'hyd_ygzjss', align: 'center', width: "165" },
|
||||
{ title: '未改造护眼灯教室(室数)', field: 'hyd_wgzjss', align: 'center', width: "165" }
|
||||
]
|
||||
];
|
||||
break;
|
||||
case '341':
|
||||
customCols = [
|
||||
[
|
||||
{ title: '序号', align: 'center', width: "60", type: 'numbers', rowspan: 2 },
|
||||
{ title: '行政区域', field: 'area_name', align: 'center', width: "150", rowspan: 2 },
|
||||
{ title: '学校名称', field: 'bureau_name', align: 'center', width: "300", rowspan: 2 },
|
||||
{ title: '学校类型', field: 'school_type_name', align: 'center', width: "115", rowspan: 2 },
|
||||
|
||||
{ title: '物理实验室', align: 'center', colspan: 8 },
|
||||
{ title: '化学实验室', align: 'center', colspan: 8 },
|
||||
{ title: '生物实验室', align: 'center', colspan: 8 },
|
||||
{ title: '音乐', align: 'center', colspan: 5 },
|
||||
{ title: '体育', align: 'center', colspan: 4 },
|
||||
{ title: '美术', align: 'center', colspan: 4 },
|
||||
{ title: '劳技', align: 'center', colspan: 9 },
|
||||
{ title: '图书馆', align: 'center', colspan: 6 },
|
||||
{ title: '其他', align: 'center', colspan: 9 }
|
||||
],
|
||||
[
|
||||
{ title: '常规教室(室数)', field: 'wl_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'wl_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'wl_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'wl_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'wl_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'wl_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'wl_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'wl_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '常规教室(室数)', field: 'hx_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'hx_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'hx_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'hx_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'hx_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'hx_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'hx_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'hx_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '常规教室(室数)', field: 'sw_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'sw_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'sw_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'sw_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'sw_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'sw_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'sw_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'sw_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '教室(室数)', field: 'yy_jssj', align: 'center', width: "90" },
|
||||
{ title: '教室面积(㎡)', field: 'yy_mj', align: 'center', width: "100" },
|
||||
{ title: '器材库(间数)', field: 'yy_qckjs', align: 'center', width: "100" },
|
||||
{ title: '器材已配品种(个)', field: 'yy_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'yy_qcypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '体育馆(数)', field: 'ty_gs', align: 'center', width: "90" },
|
||||
{ title: '器材库(间数)', field: 'ty_qckjs', align: 'center', width: "90" },
|
||||
{ title: '器材已配品种(个)', field: 'ty_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'ty_qcypj', align: 'center', width: "125" },
|
||||
|
||||
{ title: '教室(室数)', field: 'ms_jsss', align: 'center', width: "90" },
|
||||
{ title: '器材库(间数)', field: 'ms_qckjs', align: 'center', width: "90" },
|
||||
{ title: '器材已配品种(个)', field: 'ms_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'ms_qcypj', align: 'center', width: "125" },
|
||||
|
||||
{ title: '清洁与卫生(室数)', field: 'lj_qjywsss', align: 'center', width: "125" },
|
||||
{ title: '整理与收纳(室数)', field: 'lj_zlysnss', align: 'center', width: "125" },
|
||||
{ title: '烹饪与营养(室数)', field: 'lj_pryyyss', align: 'center', width: "125" },
|
||||
{ title: '家用器具使用与维护(室数)', field: 'lj_jyqjsyywhss', align: 'center', width: "175" },
|
||||
{ title: '农业生产劳动(室数)', field: 'lj_nyscldss', align: 'center', width: "140" },
|
||||
{ title: '传统工艺制作(室数)', field: 'lj_ctgyzzss', align: 'center', width: "140" },
|
||||
{ title: '工业生产劳动(室数)', field: 'lj_gyscldss', align: 'center', width: "140" },
|
||||
{ title: '新技术体验与应用(室数)', field: 'lj_xjstyyyyss', align: 'center', width: "165" },
|
||||
{ title: '现代服务业劳动(室数)', field: 'lj_xdfwyldss', align: 'center', width: "160" },
|
||||
|
||||
{ title: '藏书室(室数)', field: 'tsg_cssss', align: 'center', width: "100" },
|
||||
{ title: '纸质图书册数', field: 'tsg_zztscs', align: 'center', width: "125" },
|
||||
{ title: '电子图书册数', field: 'tsg_dztscs', align: 'center', width: "125" },
|
||||
{ title: '教师阅览室(室数)', field: 'tsg_jsylsss', align: 'center', width: "135" },
|
||||
{ title: '学生阅览室(室数)', field: 'tsg_xsylsss', align: 'center', width: "135" },
|
||||
{ title: '电子阅览室(室数)', field: 'tsg_dzylsss', align: 'center', width: "135" },
|
||||
|
||||
{ title: '地理教室(室数)', field: 'dljs', align: 'center', width: "115" },
|
||||
{ title: '历史教室(室数)', field: 'lsjs', align: 'center', width: "115" },
|
||||
{ title: '通用技术教室(室数)', field: 'tyjsjs', align: 'center', width: "140" },
|
||||
{ title: '心理辅导室(室数)', field: 'xlfds', align: 'center', width: "135" },
|
||||
{ title: '安全体验教室(室数)', field: 'aqtyjs', align: 'center', width: "140" },
|
||||
{ title: '书法教室(室数)', field: 'sfjs', align: 'center', width: "135" },
|
||||
{ title: '卫生保健(室数)', field: 'wsbj', align: 'center', width: "135" },
|
||||
{ title: '已改造护眼灯教室(室数)', field: 'hyd_ygzjss', align: 'center', width: "165" },
|
||||
{ title: '未改造护眼灯教室(室数)', field: 'hyd_wgzjss', align: 'center', width: "165" }
|
||||
|
||||
|
||||
]
|
||||
];
|
||||
break;
|
||||
case '342':
|
||||
customCols = [
|
||||
[
|
||||
{ title: '序号', align: 'center', width: "60", type: 'numbers', rowspan: 2 },
|
||||
{ title: '行政区域', field: 'area_name', align: 'center', width: "150", rowspan: 2 },
|
||||
{ title: '学校名称', field: 'bureau_name', align: 'center', width: "300", rowspan: 2 },
|
||||
{ title: '学校类型', field: 'school_type_name', align: 'center', width: "115", rowspan: 2 },
|
||||
|
||||
|
||||
{ title: '物理实验室', align: 'center', colspan: 8 },
|
||||
{ title: '化学实验室', align: 'center', colspan: 8 },
|
||||
{ title: '生物实验室', align: 'center', colspan: 8 },
|
||||
{ title: '音乐', align: 'center', colspan: 5 },
|
||||
{ title: '体育', align: 'center', colspan: 4 },
|
||||
{ title: '美术', align: 'center', colspan: 4 },
|
||||
{ title: '劳技', align: 'center', colspan: 9 },
|
||||
{ title: '图书馆', align: 'center', colspan: 6 },
|
||||
{ title: '其他', align: 'center', colspan: 9 }
|
||||
],
|
||||
[
|
||||
{ title: '常规教室(室数)', field: 'wl_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'wl_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'wl_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'wl_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'wl_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'wl_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'wl_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'wl_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '常规教室(室数)', field: 'hx_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'hx_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'hx_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'hx_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'hx_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'hx_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'hx_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'hx_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '常规教室(室数)', field: 'sw_cgss', align: 'center', width: "115" },
|
||||
{ title: '常规教室面积(㎡)', field: 'sw_cgmj', align: 'center', width: "125" },
|
||||
{ title: '探究教室(室数)', field: 'sw_tjss', align: 'center', width: "115" },
|
||||
{ title: '探究教室面积(㎡)', field: 'sw_tjmj', align: 'center', width: "125" },
|
||||
{ title: '仪器室(室数)', field: 'sw_yqsss', align: 'center', width: "100" },
|
||||
{ title: '仪器室面积(㎡)', field: 'sw_yqsmj', align: 'center', width: "125" },
|
||||
{ title: '仪器已配品种(个)', field: 'sw_yqyppz', align: 'center', width: "125" },
|
||||
{ title: '仪器已配件数(件)', field: 'sw_yqypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '教室(室数)', field: 'yy_jssj', align: 'center', width: "90" },
|
||||
{ title: '教室面积(㎡)', field: 'yy_mj', align: 'center', width: "100" },
|
||||
{ title: '器材库(间数)', field: 'yy_qckjs', align: 'center', width: "100" },
|
||||
{ title: '器材已配品种(个)', field: 'yy_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'yy_qcypjs', align: 'center', width: "125" },
|
||||
|
||||
{ title: '体育馆(数)', field: 'ty_gs', align: 'center', width: "90" },
|
||||
{ title: '器材库(间数)', field: 'ty_qckjs', align: 'center', width: "90" },
|
||||
{ title: '器材已配品种(个)', field: 'ty_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'ty_qcypj', align: 'center', width: "125" },
|
||||
|
||||
{ title: '教室(室数)', field: 'ms_jsss', align: 'center', width: "90" },
|
||||
{ title: '器材库(间数)', field: 'ms_qckjs', align: 'center', width: "90" },
|
||||
{ title: '器材已配品种(个)', field: 'ms_qcyppz', align: 'center', width: "125" },
|
||||
{ title: '器材已配件数(件)', field: 'ms_qcypj', align: 'center', width: "125" },
|
||||
|
||||
{ title: '清洁与卫生(室数)', field: 'lj_qjywsss', align: 'center', width: "125" },
|
||||
{ title: '整理与收纳(室数)', field: 'lj_zlysnss', align: 'center', width: "125" },
|
||||
{ title: '烹饪与营养(室数)', field: 'lj_pryyyss', align: 'center', width: "125" },
|
||||
{ title: '家用器具使用与维护(室数)', field: 'lj_jyqjsyywhss', align: 'center', width: "175" },
|
||||
{ title: '农业生产劳动(室数)', field: 'lj_nyscldss', align: 'center', width: "140" },
|
||||
{ title: '传统工艺制作(室数)', field: 'lj_ctgyzzss', align: 'center', width: "140" },
|
||||
{ title: '工业生产劳动(室数)', field: 'lj_gyscldss', align: 'center', width: "140" },
|
||||
{ title: '新技术体验与应用(室数)', field: 'lj_xjstyyyyss', align: 'center', width: "165" },
|
||||
{ title: '现代服务业劳动(室数)', field: 'lj_xdfwyldss', align: 'center', width: "160" },
|
||||
|
||||
{ title: '藏书室(室数)', field: 'tsg_cssss', align: 'center', width: "100" },
|
||||
{ title: '纸质图书册数', field: 'tsg_zztscs', align: 'center', width: "125" },
|
||||
{ title: '电子图书册数', field: 'tsg_dztscs', align: 'center', width: "125" },
|
||||
{ title: '教师阅览室(室数)', field: 'tsg_jsylsss', align: 'center', width: "135" },
|
||||
{ title: '学生阅览室(室数)', field: 'tsg_xsylsss', align: 'center', width: "135" },
|
||||
{ title: '电子阅览室(室数)', field: 'tsg_dzylsss', align: 'center', width: "135" },
|
||||
|
||||
{ title: '地理教室(室数)', field: 'dljs', align: 'center', width: "115" },
|
||||
{ title: '历史教室(室数)', field: 'lsjs', align: 'center', width: "115" },
|
||||
{ title: '通用技术教室(室数)', field: 'tyjsjs', align: 'center', width: "140" },
|
||||
{ title: '心理辅导室(室数)', field: 'xlfds', align: 'center', width: "135" },
|
||||
{ title: '安全体验教室(室数)', field: 'aqtyjs', align: 'center', width: "140" },
|
||||
{ title: '书法教室(室数)', field: 'sfjs', align: 'center', width: "135" },
|
||||
{ title: '卫生保健(室数)', field: 'wsbj', align: 'center', width: "135" },
|
||||
{ title: '已改造护眼灯教室(室数)', field: 'hyd_ygzjss', align: 'center', width: "165" },
|
||||
{ title: '未改造护眼灯教室(室数)', field: 'hyd_wgzjss', align: 'center', width: "165" }
|
||||
|
||||
]
|
||||
];
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
table.render({
|
||||
elem: '#myTable',
|
||||
url: '/QingLong/zbdc/getQueryCgzb',
|
||||
where: {
|
||||
area_id: $("#xzqhId").val(),
|
||||
school_type_id: $("#xxlxId").val(),
|
||||
keyword: $("#xxmc").val()
|
||||
},
|
||||
cellExpandedMode: "tips",
|
||||
height: 'full-70',
|
||||
page: {
|
||||
limit: 15
|
||||
, layout: ['count', 'prev', 'page', 'next', 'skip']
|
||||
, prev: "上一页"
|
||||
, next: "下一页"
|
||||
},
|
||||
cols:
|
||||
customCols
|
||||
,
|
||||
// skin: 'line',
|
||||
defaultToolbar: []
|
||||
});
|
||||
}
|
||||
|
||||
form.on('submit(user-query)', function () {
|
||||
|
||||
tableRender()
|
||||
|
||||
// 阻止表单的默认提交行为
|
||||
return false;
|
||||
});
|
||||
|
||||
form.on('select(xzqh)', function () {
|
||||
tableRender();
|
||||
// 阻止表单的默认提交行为
|
||||
return false;
|
||||
});
|
||||
|
||||
form.on('select(xxlx)', function () {
|
||||
tableRender();
|
||||
// 阻止表单的默认提交行为
|
||||
return false;
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in new issue