|
|
<!DOCTYPE html>
|
|
|
<html>
|
|
|
|
|
|
<head>
|
|
|
<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;
|
|
|
}
|
|
|
|
|
|
.layui-card-header {
|
|
|
font-weight: bolder;
|
|
|
background-color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.top {
|
|
|
margin: 10px;
|
|
|
padding: 10px;
|
|
|
background-color: #FDF6EC;
|
|
|
color: #ffb800;
|
|
|
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;
|
|
|
}
|
|
|
|
|
|
.layui-table td,
|
|
|
.layui-table th {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.layui-form-label {
|
|
|
width: 196px
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
|
|
|
|
<body class="layui-form">
|
|
|
|
|
|
<button class="layui-btn layui-bg-orange layui-btn-sm" lay-submit lay-filter="submit"
|
|
|
style="position: absolute;top: 62px;right: 10px;z-index: 999;"><i class="layui-icon layui-icon-form"> </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">基础信息</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="cz_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_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_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_zhuanren_count"></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-tab-item">
|
|
|
<div style="margin-left: 10px;margin-right:10px;">
|
|
|
<div class="layui-card">
|
|
|
<div class="layui-card-header">物理</div>
|
|
|
<div class="layui-card-body" id="czwl">
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header">化学</div>
|
|
|
<div class="layui-card-body" id="czhx">
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header">生物</div>
|
|
|
<div class="layui-card-body" id="czsw">
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header header_top">音乐</div>
|
|
|
<div class="layui-card-body" id="czyy">
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header header_top">体育</div>
|
|
|
<div class="layui-card-body">
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>体育馆(数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tygyshshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>器材库(间数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tyqjkkjshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header header_top">美术</div>
|
|
|
<div class="layui-card-body" id="czms">
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header header_top">劳动教育</div>
|
|
|
<div class="layui-card-body">
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>清洁与卫生(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_ldjyqlhwsrshu">0</span>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>整理与收纳(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_ldjyzyhwsrshu">0</span>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>烹饪与营养(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_ldjyprwywsrshu">0</span>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>家用器具使用与维护(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_ldjyjyqyqsyyh">0</span>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>农业生产劳动(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_ldjynyscld">0</span>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>传统工艺制作(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_ldjyccgyz">0</span>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>工业生产劳动(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_ldjygyscld">0</span>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>新技术体验与应用(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_ldjyxjstyyyy">0</span>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>现代服务业劳动(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_ldjyxdfwyld">0</span>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header header_top">图书馆</div>
|
|
|
<div class="layui-card-body">
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>藏书室(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tsgcsshshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>藏书室面积(㎡):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tsgcssmj">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>纸质图书册数:
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tsgzjtsjcshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>电子图书册数:
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tsgdztsjcshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>教师阅览室(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tsglsyysrshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>教师阅览室面积(㎡):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tsglsyysmj">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<div class="layui-row">
|
|
|
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>学生阅览室(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tsgsyysrshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>学生阅览室面积(㎡):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tsgsyysmj">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>电子阅览室(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tsgdzyysrshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<div class="layui-row">
|
|
|
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>电子阅览室面积(㎡):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_tsgdzyysmj">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header header_top">心理辅导室</div>
|
|
|
<div class="layui-card-body">
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>心理辅导室(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_xldfshshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>心理辅导室总面积(㎡):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_xldfsmj">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header header_top">卫生室</div>
|
|
|
<div class="layui-card-body">
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>卫生室(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_wsrshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>卫生室面积(㎡):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_wsrmj">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header header_top">其他</div>
|
|
|
<div class="layui-card-body">
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>地理教室(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_qdljtrshshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>地理教室面积(㎡):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_qdljtrmj">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>历史教室(室数):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_lsjtrshshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-row">
|
|
|
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>历史教室面积(㎡):
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_lsjtrmj">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="layui-card-header header_top">护眼灯</div>
|
|
|
<div class="layui-card-body">
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>已改造教室数量:
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_hjddjzsks">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>未改造教室数量:
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_hjddwjzsks">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>已改造功能室数量:
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_hjddjzgnqshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<div class="layui-row">
|
|
|
<div class="layui-col-xs4">
|
|
|
<div class="layui-form-item">
|
|
|
<label class="layui-form-label"><span class="require-star"></span>未改造功能教室数量:
|
|
|
</label>
|
|
|
<div class="layui-input-block">
|
|
|
<span class="text" id="cz_hjddwjzgnqshu">0</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
|
|
|
</div>
|
|
|
<div class="layui-col-xs4">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-tab-item">
|
|
|
<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>
|
|
|
<div class="layui-form-item layui-inline">
|
|
|
<label class="layui-form-label" style="width: auto;">配备要求:</label>
|
|
|
<div class="layui-input-inline" style="width:125px">
|
|
|
<select id="pbyqId" lay-filter="pbyq">
|
|
|
<option value="0">全部</option>
|
|
|
<option value="1">必配</option>
|
|
|
<option value="2">选配</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="margin-left: 10px;margin-right:10px;">
|
|
|
<table class="layui-table" id="yqsbTable" style="margin: 0 !important;"></table>
|
|
|
</div>
|
|
|
<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">
|
|
|
<span style="margin-left: 10px;" class="xxhxbfl-activate span" id="1">基础环境</span>
|
|
|
<span class="xxhxbfl span" id="2">数字终端</span>
|
|
|
<span class="xxhxbfl span" id="3">数字化教学空间(一)</span>
|
|
|
<span class="xxhxbfl span" id="4">数字化教学空间(二)</span>
|
|
|
<span class="xxhxbfl span" id="5">文化生活空间(一)</span>
|
|
|
<span class="xxhxbfl span" id="6">文化生活空间(二)</span>
|
|
|
<span class="xxhxbfl span" id="7">文化生活空间(三)</span>
|
|
|
<span class="xxhxbfl span" id="8">网络安全</span>
|
|
|
<div style="margin-left: 10px;margin-right:10px;">
|
|
|
<table class="layui-table" id="xxhsbTable"></table>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<script src="../../../../component/layui/layui.js"></script>
|
|
|
<script src="../../../../component/pear/xm-select.js"></script>
|
|
|
<script src="./template.js"></script>
|
|
|
|
|
|
|
|
|
<script>
|
|
|
layui.use(function () {
|
|
|
var $ = layui.jquery;
|
|
|
var table = layui.table;
|
|
|
var form = layui.form;
|
|
|
var laytpl = layui.laytpl;
|
|
|
|
|
|
var bureauId;
|
|
|
|
|
|
var flag = GetQueryString("flag");
|
|
|
|
|
|
var areaId = GetQueryString("area_id");
|
|
|
|
|
|
var schoolTypeId = 0;
|
|
|
|
|
|
/**********基础信息**********/
|
|
|
//获取基础信息数据
|
|
|
$.ajax({
|
|
|
type: "GET",
|
|
|
async: false,
|
|
|
url: "/QingLong/zbdc/getSchoolBase",
|
|
|
success: function (res) {
|
|
|
bureauId = res.bureau_id;
|
|
|
|
|
|
schoolTypeId = res.school_type_id;
|
|
|
|
|
|
$("#top_bureau_name").html(res.bureau_name);
|
|
|
|
|
|
$("#bureau_name").html(res.bureau_name);
|
|
|
$("#school_type_name").html(res.school_type_name);
|
|
|
$("#cz_student_count").html(res.cz_student_count);
|
|
|
$("#cz_class_count").html(res.cz_class_count);
|
|
|
$("#cz_teacher_count").html(res.cz_teacher_count);
|
|
|
$("#cz_zhuanren_count").html(res.cz_zhuanren_count);
|
|
|
}
|
|
|
});
|
|
|
|
|
|
/**********常规装备**********/
|
|
|
|
|
|
$.ajax({
|
|
|
type: "GET",
|
|
|
async: false,
|
|
|
url: "/QingLong/zbdc/getSchoolCgzb?bureau_id=" + bureauId,
|
|
|
success: function (res) {
|
|
|
|
|
|
var _mjTitle = "面积(㎡)";
|
|
|
|
|
|
//初中物理
|
|
|
var _czwlHtml = "";
|
|
|
var _czwl = res.list_cz_wl;
|
|
|
for (var i = 0; i < _czwl.length; i++) {
|
|
|
if (_czwl[i].jsny == 0) {
|
|
|
_czwlHtml += getSingle(_czwl[i].lx_name + _mjTitle, _czwl[i].mj);
|
|
|
} else {
|
|
|
_czwlHtml += getDouble(_czwl[i].jsny, _czwl[i].mj);
|
|
|
}
|
|
|
}
|
|
|
$('#czwl').html(_czwlHtml);
|
|
|
|
|
|
//初中化学
|
|
|
var _czhxHtml = "";
|
|
|
var _czhx = res.list_cz_hx;
|
|
|
for (var i = 0; i < _czhx.length; i++) {
|
|
|
if (_czhx[i].jsny == 0) {
|
|
|
_czhxHtml += getSingle(_czhx[i].lx_name + _mjTitle, _czhx[i].mj);
|
|
|
} else {
|
|
|
_czhxHtml += getDouble(_czhx[i].jsny, _czhx[i].mj);
|
|
|
}
|
|
|
}
|
|
|
$('#czhx').html(_czhxHtml);
|
|
|
|
|
|
//初中生物
|
|
|
var _czswHtml = "";
|
|
|
var _czsw = res.list_cz_sw;
|
|
|
for (var i = 0; i < _czsw.length; i++) {
|
|
|
if (_czsw[i].jsny == 0) {
|
|
|
_czswHtml += getSingle(_czsw[i].lx_name + _mjTitle, _czsw[i].mj);
|
|
|
} else {
|
|
|
_czswHtml += getDouble(_czsw[i].jsny, _czsw[i].mj);
|
|
|
}
|
|
|
}
|
|
|
$('#czsw').html(_czswHtml);
|
|
|
|
|
|
|
|
|
|
|
|
//初中音乐
|
|
|
var _czyyHtml = "";
|
|
|
var _czyy = res.list_cz_yq;
|
|
|
for (var i = 0; i < _czyy.length; i++) {
|
|
|
if (_czyy[i].lx_name == '器材库') {
|
|
|
_czyyHtml += getSingle("器材库(间数)", _czyy[i].js);
|
|
|
} else {
|
|
|
_czyyHtml += getSingle("教室" + _mjTitle, _czyy[i].mj);
|
|
|
}
|
|
|
}
|
|
|
$('#czyy').html(_czyyHtml);
|
|
|
|
|
|
|
|
|
//初中美术
|
|
|
var _czmsHtml = "";
|
|
|
var _czms = res.list_cz_ms;
|
|
|
for (var i = 0; i < _czms.length; i++) {
|
|
|
if (_czms[i].lx_name == '器材库') {
|
|
|
_czmsHtml += getSingle("器材库(间数)", _czms[i].js);
|
|
|
} else if (_czms[i].lx_name == '教室') {
|
|
|
_czmsHtml += getSingle("美术教室" + _mjTitle, _czms[i].mj);
|
|
|
} else {
|
|
|
_czmsHtml += getSingle(_czms[i].lx_name + _mjTitle, _czms[i].mj);
|
|
|
}
|
|
|
}
|
|
|
$('#czms').html(_czmsHtml);
|
|
|
|
|
|
|
|
|
$("#cz_tygyshshu").html(res.cz_tygyshshu);
|
|
|
$("#cz_tyqjkkjshu").html(res.cz_tyqjkkjshu);
|
|
|
$("#cz_tsgcsshshu").html(res.cz_tsgcsshshu);
|
|
|
$("#cz_tsgcssmj").html(res.cz_tsgcssmj);
|
|
|
$("#cz_tsgzjtsjcshu").html(res.cz_tsgzjtsjcshu);
|
|
|
$("#cz_tsgdztsjcshu").html(res.cz_tsgdztsjcshu);
|
|
|
$("#cz_tsglsyysrshu").html(res.cz_tsglsyysrshu);
|
|
|
$("#cz_tsglsyysmj").html(res.cz_tsglsyysmj);
|
|
|
$("#cz_tsgsyysrshu").html(res.cz_tsgsyysrshu);
|
|
|
$("#cz_tsgsyysmj").html(res.cz_tsgsyysmj);
|
|
|
$("#cz_tsgdzyysrshu").html(res.cz_tsgdzyysrshu);
|
|
|
$("#cz_tsgdzyysmj").html(res.cz_tsgdzyysmj);
|
|
|
$("#cz_xldfshshu").html(res.cz_xldfshshu);
|
|
|
$("#cz_xldfsmj").html(res.cz_xldfsmj);
|
|
|
$("#cz_wsrshu").html(res.cz_wsrshu);
|
|
|
$("#cz_wsrmj").html(res.cz_wsrmj);
|
|
|
$("#cz_qdljtrshshu").html(res.cz_qdljtrshshu);
|
|
|
$("#cz_qdljtrmj").html(res.cz_qdljtrmj);
|
|
|
$("#cz_lsjtrshshu").html(res.cz_lsjtrshshu);
|
|
|
$("#cz_lsjtrmj").html(res.cz_lsjtrmj);
|
|
|
$("#cz_hjddjzsks").html(res.cz_hjddjzsks);
|
|
|
$("#cz_hjddwjzsks").html(res.cz_hjddwjzsks);
|
|
|
$("#cz_hjddjzgnqshu").html(res.cz_hjddjzgnqshu);
|
|
|
$("#cz_hjddwjzgnqshu").html(res.cz_hjddwjzgnqshu);
|
|
|
|
|
|
$("#cz_ldjyqlhwsrshu").html(res.cz_ldjyqlhwsrshu);
|
|
|
$("#cz_ldjyzyhwsrshu").html(res.cz_ldjyzyhwsrshu);
|
|
|
$("#cz_ldjyprwywsrshu").html(res.cz_ldjyprwywsrshu);
|
|
|
$("#cz_ldjyjyqyqsyyh").html(res.cz_ldjyjyqyqsyyh);
|
|
|
$("#cz_ldjynyscld").html(res.cz_ldjynyscld);
|
|
|
$("#cz_ldjyccgyz").html(res.cz_ldjyccgyz);
|
|
|
$("#cz_ldjygyscld").html(res.cz_ldjygyscld);
|
|
|
$("#cz_ldjyxjstyyyy").html(res.cz_ldjyxjstyyyy);
|
|
|
$("#cz_ldjyxdfwyld").html(res.cz_ldjyxdfwyld);
|
|
|
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
/**********仪器设备**********/
|
|
|
|
|
|
//获取学科信息
|
|
|
$.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();
|
|
|
});
|
|
|
|
|
|
form.on('select(pbyq)', 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("");
|
|
|
}
|
|
|
// 阻止表单的默认提交行为
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
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: {
|
|
|
bureau_id: bureauId,
|
|
|
km_code: $("#kmId").val(),
|
|
|
pbyq: $("#pbyqId").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: "30%" },
|
|
|
{ title: '单位', field: 'dw', align: 'center', width: "5%" },
|
|
|
{ title: '应配数量', field: 'ypsl', align: 'center', width: "7%" },
|
|
|
{ title: '配备要求', align: 'center', width: "8%", templet: '#pbyq_templet' },
|
|
|
{ title: '备注', field: 'bz', align: 'center', width: "10%" },
|
|
|
{ title: '现有数量', fixed: 'right', field: 'xysl', align: 'center', width: "6%" }
|
|
|
|
|
|
]],
|
|
|
// skin: 'line',
|
|
|
defaultToolbar: []
|
|
|
|
|
|
});
|
|
|
}
|
|
|
|
|
|
|
|
|
/**********信息化设备**********/
|
|
|
|
|
|
var customCols = [
|
|
|
[
|
|
|
{ title: '序号', align: 'center', width: "60", type: 'numbers', 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" },
|
|
|
]
|
|
|
];
|
|
|
|
|
|
xxhsbTableRender("1");
|
|
|
|
|
|
|
|
|
$('.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: '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: '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: '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: '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: '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: '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: '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: '互联网带宽(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;
|
|
|
}
|
|
|
|
|
|
xxhsbTableRender(flId);
|
|
|
|
|
|
});
|
|
|
|
|
|
function xxhsbTableRender(flId) {
|
|
|
table.render({
|
|
|
elem: '#xxhsbTable',
|
|
|
url: '/QingLong/zbdc/getQueryXxhsb',
|
|
|
where: {
|
|
|
school_id: bureauId,
|
|
|
dcb_id: flId
|
|
|
},
|
|
|
cellExpandedMode: "tips",
|
|
|
height: 'full-220',
|
|
|
page: {
|
|
|
limit: 15
|
|
|
, layout: ['count', 'prev', 'page', 'next', 'skip']
|
|
|
, prev: "上一页"
|
|
|
, next: "下一页"
|
|
|
},
|
|
|
cols: customCols,
|
|
|
defaultToolbar: []
|
|
|
});
|
|
|
}
|
|
|
|
|
|
form.on('submit(submit)', function () {
|
|
|
|
|
|
layer.confirm('确定要提交审核吗?', {
|
|
|
icon: 3,
|
|
|
title: '提示'
|
|
|
}, function (index) {
|
|
|
layer.close(index);
|
|
|
$.ajax({
|
|
|
type: "POST",
|
|
|
dataType: "json",
|
|
|
url: "/QingLong/zbdc/CheckReportSave",
|
|
|
async: false,
|
|
|
success: function (result) {
|
|
|
if (result.success) {
|
|
|
layer.msg('提交审核成功!', {
|
|
|
icon: 1,
|
|
|
time: 1500
|
|
|
});
|
|
|
} else {
|
|
|
layer.msg(result.message, {
|
|
|
icon: 2,
|
|
|
time: 2000
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
|
|
|
// 阻止表单的默认提交行为
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
function GetQueryString(name, istop) {
|
|
|
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
|
|
|
var r = window.location.search.substr(1).match(reg);
|
|
|
if (typeof (istop) != "undefined") r = top.location.search.substr(1).match(reg);
|
|
|
|
|
|
if (r != null) return unescape(r[2]);
|
|
|
return null;
|
|
|
}
|
|
|
});
|
|
|
</script>
|
|
|
|
|
|
</body>
|
|
|
|
|
|
</html> |