|
|
|
@ -5,36 +5,250 @@
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<title></title>
|
|
|
|
|
<link rel="stylesheet" href="../../../../component/layui/css/layui.css" />
|
|
|
|
|
<style>
|
|
|
|
|
.text {
|
|
|
|
|
display: block;
|
|
|
|
|
padding: 9px 15px;
|
|
|
|
|
width: 230px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.jcxx-layui-row {
|
|
|
|
|
width: 800px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top {
|
|
|
|
|
margin: 10px;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
background-color: #FDF6EC;
|
|
|
|
|
color: orange;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
th {
|
|
|
|
|
color: #303133;
|
|
|
|
|
background-color: #f5f7fa;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.xxhxbfl {
|
|
|
|
|
background-color: #F2F2F2;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.xxhxbfl-activate {
|
|
|
|
|
background-color: #33CABB;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body class="layui-form">
|
|
|
|
|
|
|
|
|
|
<button class="layui-btn layui-btn-primary layui-border-green layui-btn-sm"
|
|
|
|
|
style="position: absolute;top: 62px;right: 10px;z-index: 999;"><i class="layui-icon layui-icon-return"> </i>返
|
|
|
|
|
回</button>
|
|
|
|
|
|
|
|
|
|
<div class="layui-tab layui-tab-brief">
|
|
|
|
|
<div class="top" id="top_bureau_name"></div>
|
|
|
|
|
<ul class="layui-tab-title">
|
|
|
|
|
<li class="layui-this">标签1</li>
|
|
|
|
|
<li>标签2</li>
|
|
|
|
|
<li>标签3</li>
|
|
|
|
|
<li>标签4</li>
|
|
|
|
|
<li class="layui-this">基础信息</li>
|
|
|
|
|
<li>常规装备</li>
|
|
|
|
|
<li>仪器设备</li>
|
|
|
|
|
<li>信息化设备</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="layui-tab-content">
|
|
|
|
|
<div class="layui-tab-item layui-show">
|
|
|
|
|
<div class="layui-row jcxx-layui-row">
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">单位名称:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="bureau_name"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">单位类型:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="school_type_name"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-row jcxx-layui-row">
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">小学部学生数:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="xx_student_count"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">初中部学生数:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="cz_student_count"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-row jcxx-layui-row">
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">高中部学生数:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="gz_student_count"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">小学部班级数:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="xx_class_count"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-row jcxx-layui-row">
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">初中部班级数:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="cz_class_count"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">高中部班级数:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="gz_class_count"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-row jcxx-layui-row">
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">小学部教职工数:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="xx_teacher_count"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">初中部教职工数:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="cz_teacher_count"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-row jcxx-layui-row">
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
<div class="layui-form-item">
|
|
|
|
|
<label class="layui-form-label" style="width: 115px !important;">高中部教职工数:</label>
|
|
|
|
|
<div class="layui-input-block">
|
|
|
|
|
<span class="text" id="gz_teacher_count"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-col-xs6">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-tab-item">
|
|
|
|
|
内容-2
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-tab-item">
|
|
|
|
|
内容-3
|
|
|
|
|
<div class="layui-form-item layui-inline">
|
|
|
|
|
<label class="layui-form-label" style="width: auto;">学科:</label>
|
|
|
|
|
<div class="layui-input-inline" id="kmView">
|
|
|
|
|
</div>
|
|
|
|
|
<script id="kmScript" type="text/html">
|
|
|
|
|
<select id="kmId" lay-filter="km">
|
|
|
|
|
{{# layui.each(d, function(index, item){ }}
|
|
|
|
|
<option value="{{item.km_code}}">{{item.km_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="fenlei" style="width: 241px;">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<table class="layui-table" id="yqsbTable" style="margin: 0 !important;"></table>
|
|
|
|
|
<script type="text/html" id="pbyq_templet">
|
|
|
|
|
{{# if(d.bp_xp > 0){ }}
|
|
|
|
|
<span class="bp">必配</span>
|
|
|
|
|
{{# } else { }}
|
|
|
|
|
<span class="xp">选配</span>
|
|
|
|
|
{{# } }}
|
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layui-tab-item">
|
|
|
|
|
内容-4
|
|
|
|
|
</div>
|
|
|
|
|
<span style="margin-left: 10px;" class="xxhxbfl-activate" id="1">基础环境</span>
|
|
|
|
|
<span class="xxhxbfl" id="2">数字终端</span>
|
|
|
|
|
<span class="xxhxbfl" id="3">数字化教学空间(一)</span>
|
|
|
|
|
<span class="xxhxbfl" id="4">数字化教学空间(二)</span>
|
|
|
|
|
<span class="xxhxbfl" id="5">文化生活空间(一)</span>
|
|
|
|
|
<span class="xxhxbfl" id="6">文化生活空间(二)</span>
|
|
|
|
|
<span class="xxhxbfl" id="7">文化生活空间(三)</span>
|
|
|
|
|
<span class="xxhxbfl" id="8">网络安全</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="../../../../component/layui/layui.js"></script>
|
|
|
|
|
<script src="../../../../component/pear/xm-select.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
@ -42,6 +256,442 @@
|
|
|
|
|
var $ = layui.jquery;
|
|
|
|
|
var table = layui.table;
|
|
|
|
|
var form = layui.form;
|
|
|
|
|
var laytpl = layui.laytpl;
|
|
|
|
|
|
|
|
|
|
var bureauId = "C0B7CFE8-3BB2-4131-B2C0-0552256E0E9B";
|
|
|
|
|
|
|
|
|
|
/**********基础信息**********/
|
|
|
|
|
//获取基础信息数据
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "GET",
|
|
|
|
|
async: false,
|
|
|
|
|
url: "/QingLong/zbdc/getSchoolBase?bureau_id=" + bureauId,
|
|
|
|
|
success: function (res) {
|
|
|
|
|
|
|
|
|
|
$("#top_bureau_name").html(res.bureau_name);
|
|
|
|
|
|
|
|
|
|
$("#bureau_name").html(res.bureau_name);
|
|
|
|
|
$("#school_type_name").html(res.school_type_name);
|
|
|
|
|
$("#xx_student_count").html(res.xx_student_count);
|
|
|
|
|
$("#cz_student_count").html(res.cz_student_count);
|
|
|
|
|
$("#gz_student_count").html(res.gz_student_count);
|
|
|
|
|
$("#xx_class_count").html(res.xx_class_count);
|
|
|
|
|
$("#cz_class_count").html(res.cz_class_count);
|
|
|
|
|
$("#gz_class_count").html(res.gz_class_count);
|
|
|
|
|
$("#xx_teacher_count").html(res.xx_teacher_count);
|
|
|
|
|
$("#cz_teacher_count").html(res.cz_teacher_count);
|
|
|
|
|
$("#gz_teacher_count").html(res.gz_teacher_count);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/**********仪器设备**********/
|
|
|
|
|
|
|
|
|
|
//获取学科信息
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "GET",
|
|
|
|
|
async: false,
|
|
|
|
|
url: "/QingLong/zbdc/getKm?bureau_id=" + bureauId,
|
|
|
|
|
success: function (res) {
|
|
|
|
|
var kmTpl = kmScript.innerHTML,
|
|
|
|
|
kmView = document.getElementById('kmView');
|
|
|
|
|
laytpl(kmTpl).render(res.data, function (html) {
|
|
|
|
|
kmView.innerHTML = html;
|
|
|
|
|
});
|
|
|
|
|
form.render();
|
|
|
|
|
getXmSelect();
|
|
|
|
|
tableRender("");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
form.on('select(km)', function (data) {
|
|
|
|
|
var selectArr = fenleiSelect.getValue();
|
|
|
|
|
if (selectArr.length > 0) {
|
|
|
|
|
const levelName = selectArr[0].level_name;
|
|
|
|
|
const result = findNodeAndParents(levelName);
|
|
|
|
|
tableRender(result.join(','));
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
tableRender("");
|
|
|
|
|
}
|
|
|
|
|
getXmSelect();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function getXmSelect() {
|
|
|
|
|
fenleiSelect = xmSelect.render({
|
|
|
|
|
el: '#fenlei',
|
|
|
|
|
clickClose: true,
|
|
|
|
|
radio: true,
|
|
|
|
|
autoRow: true,
|
|
|
|
|
model: {
|
|
|
|
|
icon: 'hidden'
|
|
|
|
|
},
|
|
|
|
|
tree: {
|
|
|
|
|
show: true,
|
|
|
|
|
showFolderIcon: true,
|
|
|
|
|
showLine: true,
|
|
|
|
|
indent: 20,
|
|
|
|
|
strict: false,
|
|
|
|
|
simple: true,
|
|
|
|
|
expandedKeys: [-3],
|
|
|
|
|
clickCheck: true,
|
|
|
|
|
clickExpand: false,
|
|
|
|
|
},
|
|
|
|
|
data: [],
|
|
|
|
|
prop: {
|
|
|
|
|
value: "id",
|
|
|
|
|
name: "level_name"
|
|
|
|
|
},
|
|
|
|
|
on: function (data) {
|
|
|
|
|
var selectArr = data.arr;
|
|
|
|
|
if (selectArr.length > 0) {
|
|
|
|
|
const levelName = selectArr[0].level_name;
|
|
|
|
|
const result = findNodeAndParents(levelName);
|
|
|
|
|
tableRender(result.join(','));
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
tableRender("");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: 'GET',
|
|
|
|
|
async: false,
|
|
|
|
|
url: '/QingLong/zbdc/getKmFeiLeiTree?km_code=' + $("#kmId").val(),
|
|
|
|
|
success: function (res) {
|
|
|
|
|
xmSelectData = res.data;
|
|
|
|
|
fenleiSelect.update({
|
|
|
|
|
data: res.data
|
|
|
|
|
});
|
|
|
|
|
fenleiSelect.changeExpandedKeys(true);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function findNodeAndParents(levelName) {
|
|
|
|
|
function search(node, path) {
|
|
|
|
|
const newPath = [...path, node.level_name];
|
|
|
|
|
if (node.level_name === levelName) {
|
|
|
|
|
return newPath;
|
|
|
|
|
}
|
|
|
|
|
if (node.children) {
|
|
|
|
|
for (const child of node.children) {
|
|
|
|
|
const result = search(child, newPath);
|
|
|
|
|
if (result) {
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
for (const root of xmSelectData) {
|
|
|
|
|
const result = search(root, []);
|
|
|
|
|
if (result) {
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function tableRender(fenlei_name) {
|
|
|
|
|
table.render({
|
|
|
|
|
elem: '#yqsbTable',
|
|
|
|
|
url: '/QingLong/zbdc/getFill',
|
|
|
|
|
where: {
|
|
|
|
|
km_code: $("#kmId").val(),
|
|
|
|
|
level_filter: fenlei_name
|
|
|
|
|
},
|
|
|
|
|
cellExpandedMode: "tips",
|
|
|
|
|
height: 'full-195',
|
|
|
|
|
page: {
|
|
|
|
|
limit: 20
|
|
|
|
|
, layout: ['count', 'prev', 'page', 'next', 'skip']
|
|
|
|
|
, prev: "上一页"
|
|
|
|
|
, next: "下一页"
|
|
|
|
|
},
|
|
|
|
|
cols: [[
|
|
|
|
|
{ title: '序号', align: 'center', width: "5%", type: 'numbers' },
|
|
|
|
|
{ title: '分类', field: 'level', align: 'center', width: "12%" },
|
|
|
|
|
{ title: '名称', field: 'mc', align: 'center', width: "15%" },
|
|
|
|
|
{ title: '规格型号功能', field: 'ggxhgn', align: 'center', width: "29%" },
|
|
|
|
|
{ title: '单位', field: 'dw', align: 'center', width: "5%" },
|
|
|
|
|
{ title: '应配数量', field: 'ypsl', align: 'center', width: "5%" },
|
|
|
|
|
{ title: '配备要求', align: 'center', width: "5%", templet: '#pbyq_templet' },
|
|
|
|
|
{ title: '备注', field: 'bz', align: 'center', width: "15%" },
|
|
|
|
|
{ title: '现有数量', fixed: 'right', field: 'xysl', align: 'center', width: "8%" }
|
|
|
|
|
|
|
|
|
|
]],
|
|
|
|
|
// skin: 'line',
|
|
|
|
|
defaultToolbar: []
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********信息化设备**********/
|
|
|
|
|
$('span').on('click', function () {
|
|
|
|
|
$('span').removeClass('xxhxbfl-activate').addClass('xxhxbfl');
|
|
|
|
|
$(this).removeClass('xxhxbfl').addClass('xxhxbfl-activate');
|
|
|
|
|
|
|
|
|
|
var flId = $(this).attr('id');
|
|
|
|
|
|
|
|
|
|
switch (flId) {
|
|
|
|
|
case '1':
|
|
|
|
|
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: "100", rowspan: 2 },
|
|
|
|
|
{ title: '类别', field: 'lb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '主要设备', field: 'lb_sb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '品牌', field: 'pinpai', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '型号', field: 'xinghao', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '现状', align: 'center', colspan: 3 },
|
|
|
|
|
{ title: '工作状态', align: 'center', colspan: 6 },
|
|
|
|
|
{ title: '网络带宽(MB)', field: 'wangluodaikuan', align: 'center', width: "135", rowspan: 2 },
|
|
|
|
|
{ title: '网络服务供应商', field: 'wangluofuwushang', align: 'center', width: "135", rowspan: 2 },
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{ title: '具体装备情况', field: 'jtzbqk', align: 'center', width: "115" },
|
|
|
|
|
{ title: '台数', field: 'taishu', align: 'center', width: "60" },
|
|
|
|
|
{ title: '启用日期', field: 'qiyongriqi', align: 'center', width: "110" },
|
|
|
|
|
{ title: '正常使用(台)', field: 'zhengchang', align: 'center', width: "110" },
|
|
|
|
|
{ title: '待修(台)', field: 'daixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '在修(台)', field: 'zaixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '闲置(台)', field: 'xianzhi', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其他(台)', field: 'qita', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其它(说明原因)', field: 'yuanyin', align: 'center', width: "125" },
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
break;
|
|
|
|
|
case '2':
|
|
|
|
|
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: "100", rowspan: 2 },
|
|
|
|
|
{ title: '类别', field: 'lb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '主要设备', field: 'lb_sb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '品牌', field: 'pinpai', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '型号', field: 'xinghao', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '现状', align: 'center', colspan: 3 },
|
|
|
|
|
{ title: '工作状态', align: 'center', colspan: 6 },
|
|
|
|
|
{ title: '备注', field: 'beizhu', align: 'center', width: "135", rowspan: 2 }
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{ title: '配置(如计算机请标明:处理器/内存/硬盘/显示器等)', field: 'peizhi', align: 'center', width: "305" },
|
|
|
|
|
{ title: '台数', field: 'taishu', align: 'center', width: "60" },
|
|
|
|
|
{ title: '启用日期', field: 'qiyongriqi', align: 'center', width: "110" },
|
|
|
|
|
{ title: '正常使用(台)', field: 'zhengchang', align: 'center', width: "110" },
|
|
|
|
|
{ title: '待修(台)', field: 'daixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '在修(台)', field: 'zaixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '闲置(台)', field: 'xianzhi', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其他(台)', field: 'qita', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其它(说明原因)', field: 'yuanyin', align: 'center', width: "125" }
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
break;
|
|
|
|
|
case '3':
|
|
|
|
|
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: "100", rowspan: 2 },
|
|
|
|
|
{ title: '类别', field: 'lb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '主要设备', field: 'lb_sb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '品牌', field: 'pinpai', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '型号', field: 'xinghao', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '现状', align: 'center', colspan: 3 },
|
|
|
|
|
{ title: '工作状态', align: 'center', colspan: 6 },
|
|
|
|
|
{ title: '备注', field: 'beizhu', align: 'center', width: "135", rowspan: 2 }
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{ title: '配置(如交互式白板标明尺寸,如计算机标明处理器/内存/硬盘等)', field: 'peizhi', align: 'center', width: "360" },
|
|
|
|
|
{ title: '台数', field: 'taishu', align: 'center', width: "60" },
|
|
|
|
|
{ title: '启用日期', field: 'qiyongriqi', align: 'center', width: "110" },
|
|
|
|
|
{ title: '正常使用(台)', field: 'zhengchang', align: 'center', width: "110" },
|
|
|
|
|
{ title: '待修(台)', field: 'daixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '在修(台)', field: 'zaixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '闲置(台)', field: 'xianzhi', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其他(台)', field: 'qita', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其它(说明原因)', field: 'yuanyin', align: 'center', width: "125" }
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
break;
|
|
|
|
|
case '4':
|
|
|
|
|
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: "100", rowspan: 2 },
|
|
|
|
|
{ title: '类别', field: 'lb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '主要设备', field: 'lb_sb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '品牌', field: 'pinpai', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '型号', field: 'xinghao', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '现状', align: 'center', colspan: 4 },
|
|
|
|
|
{ title: '工作状态', align: 'center', colspan: 6 },
|
|
|
|
|
{ title: '备注', field: 'beizhu', align: 'center', width: "135", rowspan: 2 }
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{ title: '主要设备情况(如尺寸等)', field: 'zhuyaoshebeiqingkuang', align: 'center', width: "175" },
|
|
|
|
|
{ title: '数量', field: 'shuliang', align: 'center', width: "60" },
|
|
|
|
|
{ title: '座位数', field: 'zuoweishu', align: 'center', width: "80" },
|
|
|
|
|
{ title: '启用日期', field: 'qiyongriqi', align: 'center', width: "110" },
|
|
|
|
|
{ title: '正常使用(台)', field: 'zhengchang', align: 'center', width: "110" },
|
|
|
|
|
{ title: '待修(台)', field: 'daixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '在修(台)', field: 'zaixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '闲置(台)', field: 'xianzhi', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其他(台)', field: 'qita', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其它(说明原因)', field: 'yuanyin', align: 'center', width: "125" }
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
break;
|
|
|
|
|
case '5':
|
|
|
|
|
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: "100", rowspan: 2 },
|
|
|
|
|
{ title: '类别', field: 'lb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '主要设备', field: 'lb_sb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '品牌', field: 'pinpai', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '型号', field: 'xinghao', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '现状', align: 'center', colspan: 5 },
|
|
|
|
|
{ title: '工作状态', align: 'center', colspan: 6 },
|
|
|
|
|
{ title: '备注', field: 'beizhu', align: 'center', width: "135", rowspan: 2 }
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{ title: '教室内音箱(对)', field: 'jsnyxs', align: 'center', width: "125" },
|
|
|
|
|
{ title: '走廊音箱(只)', field: 'zlyxs', align: 'center', width: "115" },
|
|
|
|
|
{ title: '室外音柱(个)', field: 'swyzs', align: 'center', width: "115" },
|
|
|
|
|
{ title: '合计点数', field: 'jsds', align: 'center', width: "115" },
|
|
|
|
|
{ title: '启用日期', field: 'qiyongriqi', align: 'center', width: "110" },
|
|
|
|
|
{ title: '正常使用(台)', field: 'zhengchang', align: 'center', width: "110" },
|
|
|
|
|
{ title: '待修(台)', field: 'daixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '在修(台)', field: 'zaixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '闲置(台)', field: 'xianzhi', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其他(台)', field: 'qita', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其它(说明原因)', field: 'yuanyin', align: 'center', width: "125" }
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
break;
|
|
|
|
|
case '6':
|
|
|
|
|
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: "100", rowspan: 2 },
|
|
|
|
|
{ title: '类别', field: 'lb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '主要设备', field: 'lb_sb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '品牌', field: 'pinpai', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '型号', field: 'xinghao', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '现状', align: 'center', colspan: 8 },
|
|
|
|
|
{ title: '工作状态', align: 'center', colspan: 6 },
|
|
|
|
|
{ title: '备注', field: 'beizhu', align: 'center', width: "135", rowspan: 2 }
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{ title: '摄像机数量', field: 'sxjs', align: 'center', width: "100" },
|
|
|
|
|
{ title: '提词器', field: 'tcqs', align: 'center', width: "80" },
|
|
|
|
|
{ title: '效果监视屏', field: 'xgjsps', align: 'center', width: "100" },
|
|
|
|
|
{ title: '计算机数量', field: 'jsjs', align: 'center', width: "100" },
|
|
|
|
|
{ title: '非编', field: 'fbs', align: 'center', width: "75" },
|
|
|
|
|
{ title: '蓝箱系统', field: 'xinghao', field: 'lxxts', align: 'center', width: "110" },
|
|
|
|
|
{ title: '面积(平方米)', field: 'mj', align: 'center', width: "110" },
|
|
|
|
|
|
|
|
|
|
{ title: '启用日期', field: 'qiyongriqi', align: 'center', width: "110" },
|
|
|
|
|
{ title: '正常使用(台)', field: 'zhengchang', align: 'center', width: "110" },
|
|
|
|
|
{ title: '待修(台)', field: 'daixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '在修(台)', field: 'zaixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '闲置(台)', field: 'xianzhi', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其他(台)', field: 'qita', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其它(说明原因)', field: 'yuanyin', align: 'center', width: "125" }
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
break;
|
|
|
|
|
case '7':
|
|
|
|
|
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: "100", rowspan: 2 },
|
|
|
|
|
{ title: '类别', field: 'lb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '主要设备', field: 'lb_sb_name', align: 'center', width: "160", rowspan: 2 },
|
|
|
|
|
{ title: '品牌', field: 'pinpai', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '型号', field: 'xinghao', align: 'center', width: "110", rowspan: 2 },
|
|
|
|
|
{ title: '现状', align: 'center', colspan: 3 },
|
|
|
|
|
{ title: '工作状态', align: 'center', colspan: 6 },
|
|
|
|
|
{ title: '备注', field: 'beizhu', align: 'center', width: "135", rowspan: 2 }
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
{ title: '主要设备情况', field: 'zysbqk', align: 'center', width: "150" },
|
|
|
|
|
{ title: '面积(平方米)', field: 'mj', align: 'center', width: "110" },
|
|
|
|
|
|
|
|
|
|
{ title: '启用日期', field: 'qiyongriqi', align: 'center', width: "110" },
|
|
|
|
|
{ title: '正常使用(台)', field: 'zhengchang', align: 'center', width: "110" },
|
|
|
|
|
{ title: '待修(台)', field: 'daixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '在修(台)', field: 'zaixiu', align: 'center', width: "90" },
|
|
|
|
|
{ title: '闲置(台)', field: 'xianzhi', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其他(台)', field: 'qita', align: 'center', width: "90" },
|
|
|
|
|
{ title: '其它(说明原因)', field: 'yuanyin', align: 'center', width: "125" }
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
break;
|
|
|
|
|
case '8':
|
|
|
|
|
customCols = [
|
|
|
|
|
[
|
|
|
|
|
{ title: '序号', align: 'center', width: "5%", type: 'numbers' },
|
|
|
|
|
{ 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: "100", rowspan: 2 },
|
|
|
|
|
{ title: '互联网带宽(MB)', field: 'hlwdk', align: 'center', width: "150" },
|
|
|
|
|
{ title: '接入IP', field: 'jrip', align: 'center', width: "100" },
|
|
|
|
|
{ title: '服务商(联通,电信,移动等)', field: 'wfs', align: 'center', width: "180" },
|
|
|
|
|
{ title: '合同年均费用(万元)', field: 'htnjfy', align: 'center', width: "150" },
|
|
|
|
|
{ title: '合同服务期', field: 'htfwq', align: 'center', width: "100" },
|
|
|
|
|
{ title: '班级数', field: 'bjs', align: 'center', width: "100" },
|
|
|
|
|
{ title: '是否有防火墙', field: 'fhq', align: 'center', width: "125", },
|
|
|
|
|
{ title: '内部主干网络是否为光纤', field: 'zgwgx', align: 'center', width: "165" },
|
|
|
|
|
{ title: '带宽(MB)', field: 'dk', align: 'center', width: "100" }
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
table.render({
|
|
|
|
|
elem: '#myTable',
|
|
|
|
|
url: '/QingLong/zbdc/getQueryXxhsb',
|
|
|
|
|
where: {
|
|
|
|
|
area_id: $("#xzqhId").val(),
|
|
|
|
|
school_type_id: $("#xxlxId").val(),
|
|
|
|
|
dcb_id: $("#flId").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: []
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|