474 lines
22 KiB
Plaintext
474 lines
22 KiB
Plaintext
|
|
<%@ page language="java" pageEncoding="UTF-8" %>
|
|||
|
|
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
|
|||
|
|
<%@page import="com.sipai.entity.maintenance.Maintenance" %>
|
|||
|
|
<%request.setAttribute("Status_Launch", Maintenance.Status_Launch);%>
|
|||
|
|
|
|||
|
|
<%@page import="com.sipai.entity.scada.MPoint" %>
|
|||
|
|
<%request.setAttribute("Flag_Type_KPI", MPoint.Flag_Type_KPI);%>
|
|||
|
|
<%request.setAttribute("Flag_Type_Hand", MPoint.Flag_Type_Hand);%>
|
|||
|
|
<%request.setAttribute("Flag_Type_Data", MPoint.Flag_Type_Data);%>
|
|||
|
|
|
|||
|
|
<style type="text/css">
|
|||
|
|
.select2-container .select2-selection--single {
|
|||
|
|
height: 34px;
|
|||
|
|
line-height: 34px;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
.select2-selection__arrow {
|
|||
|
|
margin-top: 3px;
|
|||
|
|
}
|
|||
|
|
</style>
|
|||
|
|
<script type="text/javascript">
|
|||
|
|
function doupdate() {
|
|||
|
|
$.post(ext.contextPath + "/timeEfficiency/patrolPoint/update.do", $("#subForm").serialize(), function (data) {
|
|||
|
|
if (data.res == 1) {
|
|||
|
|
$(".modal").modal("hide");
|
|||
|
|
$("#table").bootstrapTable('refresh');
|
|||
|
|
} else if (data.res == 0) {
|
|||
|
|
showAlert('d', '保存失败');
|
|||
|
|
} else {
|
|||
|
|
showAlert('d', data.res);
|
|||
|
|
}
|
|||
|
|
}, 'json');
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
//初始化工艺段
|
|||
|
|
var refreshSelect = function (companyId) {
|
|||
|
|
$.post(ext.contextPath + "/user/processSection/getProcessSection4Select.do", {companyId: companyId}, function (data) {
|
|||
|
|
$("#processSectionId").empty();
|
|||
|
|
var selelct_ = $("#processSectionId").select2({
|
|||
|
|
data: data,
|
|||
|
|
placeholder: '请选择',//默认文字提示
|
|||
|
|
allowClear: false,//允许清空
|
|||
|
|
escapeMarkup: function (markup) {
|
|||
|
|
return markup;
|
|||
|
|
}, // 自定义格式化防止xss注入
|
|||
|
|
language: "zh-CN",
|
|||
|
|
minimumInputLength: 0,
|
|||
|
|
minimumResultsForSearch: 10,//数据超过十个启用搜索框
|
|||
|
|
formatResult: function formatRepo(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
}, // 函数用来渲染结果
|
|||
|
|
formatSelection: function formatRepoSelection(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
} // 函数用于呈现当前的选择
|
|||
|
|
});
|
|||
|
|
selelct_.val('${patrolPoint.processSectionId}').trigger("change");
|
|||
|
|
}, 'json');
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
$(function () {
|
|||
|
|
//日期格式需对齐,不然会不准
|
|||
|
|
$("#table_equipmentCard").bootstrapTable({ // 对应table标签的id
|
|||
|
|
url: ext.contextPath + '/timeEfficiency/patrolPoint/getEquipmentCards.do', // 获取表格数据的url
|
|||
|
|
cache: false, // 设置为 false 禁用 AJAX 数据缓存, 默认为true
|
|||
|
|
striped: true, //表格显示条纹,默认为false
|
|||
|
|
pagination: true, // 在表格底部显示分页组件,默认false
|
|||
|
|
pageList: [10, 20, 50], // 设置页面可以显示的数据条数
|
|||
|
|
pageSize: 50, // 页面数据条数
|
|||
|
|
pageNumber: 1, // 首页页码
|
|||
|
|
sidePagination: 'server', // 设置为服务器端分页
|
|||
|
|
queryParams: function (params) { // 请求服务器数据时发送的参数,可以在这里添加额外的查询参数,返回false则终止请求
|
|||
|
|
return {
|
|||
|
|
rows: params.limit, // 每页要显示的数据条数
|
|||
|
|
page: params.offset / params.limit + 1, // 每页显示数据的开始页码
|
|||
|
|
sort: params.sort, // 要排序的字段
|
|||
|
|
order: params.order,
|
|||
|
|
patrolPointId: '${patrolPoint.id}',
|
|||
|
|
bizId: '${param.bizId}'
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
sortName: 'id', // 要排序的字段
|
|||
|
|
sortOrder: 'desc', // 排序规则
|
|||
|
|
columns: [
|
|||
|
|
{
|
|||
|
|
field: 'id', // 返回json数据中的name
|
|||
|
|
title: '设备编号', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle',
|
|||
|
|
width: '50%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
if (row.equipmentCard != null && row.equipmentCard != '') {
|
|||
|
|
return row.equipmentCard.equipmentcardid;
|
|||
|
|
} else {
|
|||
|
|
return '该设备已删除';
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}, {
|
|||
|
|
field: 'equipmentname', // 返回json数据中的name
|
|||
|
|
title: '设备名称', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle',
|
|||
|
|
width: '50%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
if (row.equipmentCard != null && row.equipmentCard != '') {
|
|||
|
|
return row.equipmentCard.equipmentname;
|
|||
|
|
} else {
|
|||
|
|
return '';
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
onLoadSuccess: function () { //加载成功时执行
|
|||
|
|
adjustBootstrapTableView("table_equipmentCard");
|
|||
|
|
},
|
|||
|
|
onLoadError: function () { //加载失败时执行
|
|||
|
|
console.info("加载数据失败");
|
|||
|
|
}
|
|||
|
|
})
|
|||
|
|
|
|||
|
|
//日期格式需对齐,不然会不准
|
|||
|
|
$("#table_mPoint").bootstrapTable({ // 对应table标签的id
|
|||
|
|
url: ext.contextPath + '/timeEfficiency/patrolPoint/getMPoints.do', // 获取表格数据的url
|
|||
|
|
cache: false, // 设置为 false 禁用 AJAX 数据缓存, 默认为true
|
|||
|
|
striped: true, //表格显示条纹,默认为false
|
|||
|
|
pagination: true, // 在表格底部显示分页组件,默认false
|
|||
|
|
pageList: [10, 20, 50], // 设置页面可以显示的数据条数
|
|||
|
|
pageSize: 50, // 页面数据条数
|
|||
|
|
pageNumber: 1, // 首页页码
|
|||
|
|
sidePagination: 'server', // 设置为服务器端分页
|
|||
|
|
queryParams: function (params) { // 请求服务器数据时发送的参数,可以在这里添加额外的查询参数,返回false则终止请求
|
|||
|
|
return {
|
|||
|
|
rows: params.limit, // 每页要显示的数据条数
|
|||
|
|
page: params.offset / params.limit + 1, // 每页显示数据的开始页码
|
|||
|
|
sort: params.sort, // 要排序的字段
|
|||
|
|
order: params.order,
|
|||
|
|
patrolPointId: '${patrolPoint.id}',
|
|||
|
|
bizId: '${patrolPoint.unitId}',
|
|||
|
|
unitId: '${patrolPoint.unitId}'
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
sortName: 'id', // 要排序的字段
|
|||
|
|
sortOrder: 'desc', // 排序规则
|
|||
|
|
columns: [
|
|||
|
|
{
|
|||
|
|
field: 'parmname', // 返回json数据中的name
|
|||
|
|
title: '测量点名称', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle',
|
|||
|
|
width: '45%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
if (row.mPoint != null && row.mPoint != '') {//避免因测量点删除 无法加载
|
|||
|
|
return row.mPoint.parmname;
|
|||
|
|
} else {
|
|||
|
|
return '该点位已删除';
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'mpointcode', // 返回json数据中的name
|
|||
|
|
title: '测量点Code', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle',
|
|||
|
|
width: '45%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
if (row.mPoint != null && row.mPoint != '') {//避免因测量点删除 无法加载
|
|||
|
|
return row.mPoint.mpointcode;
|
|||
|
|
} else {
|
|||
|
|
return '';
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
field: 'type', // 返回json数据中的name
|
|||
|
|
title: '类型', // 表格表头显示文字
|
|||
|
|
align: 'center', // 左右居中
|
|||
|
|
valign: 'middle',
|
|||
|
|
width: '10%',
|
|||
|
|
formatter: function (value, row, index) {
|
|||
|
|
if (row.mPoint != null && row.mPoint != '') {//避免因测量点删除 无法加载
|
|||
|
|
if (row.mPoint.sourceType == '${Flag_Type_Data}') {
|
|||
|
|
return '采集点';
|
|||
|
|
}
|
|||
|
|
if (row.mPoint.sourceType == '${Flag_Type_Hand}') {
|
|||
|
|
return '手动点';
|
|||
|
|
}
|
|||
|
|
if (row.mPoint.sourceType == '${Flag_Type_KPI}') {
|
|||
|
|
return '计算点';
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
return '';
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
onLoadSuccess: function () { //加载成功时执行
|
|||
|
|
adjustBootstrapTableView("table_mPoint");
|
|||
|
|
},
|
|||
|
|
onLoadError: function () { //加载失败时执行
|
|||
|
|
console.info("加载数据失败");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
})
|
|||
|
|
//选择厂区
|
|||
|
|
$.post(ext.contextPath + "/user/getSearchBizsByUserId4Select.do", {}, function (data) {
|
|||
|
|
//选择厂区为一个厂时隐藏选择框
|
|||
|
|
if (data.length == 1) {
|
|||
|
|
$("#bizId").css("display", "none");
|
|||
|
|
$("#input_bizid").val(data[0].text);
|
|||
|
|
$("#hidden_bizid").val(data[0].id);
|
|||
|
|
var companyId = data[0].id;
|
|||
|
|
$.post(ext.contextPath + "/user/processSection/getProcessSection4Select.do", {companyId: companyId}, function (data) {
|
|||
|
|
$("#processSectionId").empty();
|
|||
|
|
var selelct_ = $("#processSectionId").select2({
|
|||
|
|
data: data,
|
|||
|
|
cache: false,
|
|||
|
|
placeholder: '请选择',//默认文字提示
|
|||
|
|
allowClear: false,//允许清空
|
|||
|
|
escapeMarkup: function (markup) {
|
|||
|
|
return markup;
|
|||
|
|
}, // 自定义格式化防止xss注入
|
|||
|
|
language: "zh-CN",
|
|||
|
|
minimumInputLength: 0,
|
|||
|
|
minimumResultsForSearch: 10,//数据超过十个启用搜索框
|
|||
|
|
formatResult: function formatRepo(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
}, // 函数用来渲染结果
|
|||
|
|
formatSelection: function formatRepoSelection(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
} // 函数用于呈现当前的选择
|
|||
|
|
});
|
|||
|
|
selelct_.val('${patrolPoint.processSectionId}').trigger("change");
|
|||
|
|
}, 'json');
|
|||
|
|
} else {
|
|||
|
|
$("#hidden_bizid").attr("disabled", "disabled");
|
|||
|
|
$("#input_bizid").css("display", "none");
|
|||
|
|
refreshSelect('${patrolPoint.bizId}');
|
|||
|
|
var selelct = $("#bizId").select2({
|
|||
|
|
data: data,
|
|||
|
|
placeholder: '请选择',//默认文字提示
|
|||
|
|
allowClear: false,//允许清空
|
|||
|
|
escapeMarkup: function (markup) {
|
|||
|
|
return markup;
|
|||
|
|
}, // 自定义格式化防止xss注入
|
|||
|
|
language: "zh-CN",
|
|||
|
|
minimumInputLength: 0,
|
|||
|
|
minimumResultsForSearch: 10,//数据超过十个启用搜索框
|
|||
|
|
formatResult: function formatRepo(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
}, // 函数用来渲染结果
|
|||
|
|
formatSelection: function formatRepoSelection(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
} // 函数用于呈现当前的选择
|
|||
|
|
});
|
|||
|
|
selelct.val('${patrolPoint.bizId}').trigger("change");
|
|||
|
|
selelct.on("change", function (e) {
|
|||
|
|
var companyId = $(this).val();
|
|||
|
|
$.post(ext.contextPath + "/user/processSection/getProcessSection4Select.do", {companyId: companyId}, function (data) {
|
|||
|
|
$("#processSectionId").empty();
|
|||
|
|
var selelct_ = $("#processSectionId").select2({
|
|||
|
|
data: data,
|
|||
|
|
placeholder: '请选择',//默认文字提示
|
|||
|
|
allowClear: false,//允许清空
|
|||
|
|
escapeMarkup: function (markup) {
|
|||
|
|
return markup;
|
|||
|
|
}, // 自定义格式化防止xss注入
|
|||
|
|
language: "zh-CN",
|
|||
|
|
minimumInputLength: 0,
|
|||
|
|
minimumResultsForSearch: 10,//数据超过十个启用搜索框
|
|||
|
|
formatResult: function formatRepo(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
}, // 函数用来渲染结果
|
|||
|
|
formatSelection: function formatRepoSelection(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
} // 函数用于呈现当前的选择
|
|||
|
|
});
|
|||
|
|
selelct_.val('').trigger("change");
|
|||
|
|
}, 'json');
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
}, 'json');
|
|||
|
|
|
|||
|
|
//选择modbus
|
|||
|
|
$.post(ext.contextPath + "/work/modbusfig/getModbusFig4Select.do", {}, function (data) {
|
|||
|
|
var selelct = $("#modbusFigId").select2({
|
|||
|
|
data: data,
|
|||
|
|
placeholder: '请选择',//默认文字提示
|
|||
|
|
allowClear: false,//允许清空
|
|||
|
|
escapeMarkup: function (markup) {
|
|||
|
|
return markup;
|
|||
|
|
}, // 自定义格式化防止xss注入
|
|||
|
|
language: "zh-CN",
|
|||
|
|
minimumInputLength: 0,
|
|||
|
|
minimumResultsForSearch: 10,//数据超过十个启用搜索框
|
|||
|
|
formatResult: function formatRepo(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
}, // 函数用来渲染结果
|
|||
|
|
formatSelection: function formatRepoSelection(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
} // 函数用于呈现当前的选择
|
|||
|
|
});
|
|||
|
|
selelct.val('${patrolPoint.modbusFigId}').trigger("change");
|
|||
|
|
}, 'json');
|
|||
|
|
|
|||
|
|
|
|||
|
|
//巡检楼层下拉数据
|
|||
|
|
var selectType = $("#floorName").select2({minimumResultsForSearch: 10})
|
|||
|
|
$.post(ext.contextPath + "/timeEfficiency/patrolArea/getPatrolAreaFloor4Select.do", {unitId: '${patrolPoint.unitId}'}, function (data) {
|
|||
|
|
$("#floorName").empty();
|
|||
|
|
var selelct_ = $("#floorName").select2({
|
|||
|
|
data: data,
|
|||
|
|
placeholder: '请选择',//默认文字提示
|
|||
|
|
allowClear: false,//允许清空
|
|||
|
|
escapeMarkup: function (markup) {
|
|||
|
|
return markup;
|
|||
|
|
}, // 自定义格式化防止xss注入
|
|||
|
|
language: "zh-CN",
|
|||
|
|
minimumInputLength: 0,
|
|||
|
|
minimumResultsForSearch: 10,//数据超过10个启用搜索框
|
|||
|
|
formatResult: function formatRepo(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
}, // 函数用来渲染结果
|
|||
|
|
formatSelection: function formatRepoSelection(repo) {
|
|||
|
|
return repo.text;
|
|||
|
|
} // 函数用于呈现当前的选择
|
|||
|
|
});
|
|||
|
|
selelct_.val('${patrolPoint.floorId}').trigger("change");
|
|||
|
|
selelct_.on('change', function (e) {
|
|||
|
|
$('#floorId').val(e.target.value);
|
|||
|
|
})
|
|||
|
|
}, 'json');
|
|||
|
|
})
|
|||
|
|
</script>
|
|||
|
|
<div class="modal fade" id="subModal">
|
|||
|
|
<div class="modal-dialog modal-lg">
|
|||
|
|
<div class="modal-content">
|
|||
|
|
<div class="modal-header">
|
|||
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|||
|
|
<span aria-hidden="true">×</span></button>
|
|||
|
|
<h4 class="modal-title">查看巡检点</h4>
|
|||
|
|
</div>
|
|||
|
|
<div class="modal-body">
|
|||
|
|
<!-- 新增界面formid强制为subForm -->
|
|||
|
|
<form class="form-horizontal" id="subForm" enctype="multipart/form-data">
|
|||
|
|
<!-- 界面提醒div强制id为alertDiv -->
|
|||
|
|
<div id="alertDiv"></div>
|
|||
|
|
<input type="hidden" class="form-control" id="id" name="id" value="${patrolPoint.id}">
|
|||
|
|
<input type="hidden" class="form-control" name="unitId" value="${patrolPoint.unitId}">
|
|||
|
|
<div class="form-group">
|
|||
|
|
<label class="col-sm-2 control-label">名称</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<input type="text" id="name" name="name" class="form-control pull-right" placeholder="名称"
|
|||
|
|
value="${patrolPoint.name}" readonly="true"></input>
|
|||
|
|
</div>
|
|||
|
|
<label class="col-sm-2 control-label">所属工艺段</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<select class="form-control select2" id="processSectionId" name="processSectionId"
|
|||
|
|
style="width: 100%" readonly="readonly" disabled="disabled">
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="form-group">
|
|||
|
|
<label class="col-sm-2 control-label">所属厂区</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<input type="text" id="companyName" name="companyName" class="form-control pull-right"
|
|||
|
|
placeholder="所属厂区"
|
|||
|
|
value="${companyName}" readonly="true"></input>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<label class="col-sm-2 control-label">所属楼层</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<select class="form-control select2" id="floorName" name="floorName"
|
|||
|
|
style="width: 100%" readonly="readonly" disabled="disabled"></select>
|
|||
|
|
<input type="hidden" class="form-control" id="floorId" name="floorId"
|
|||
|
|
value="${patrolPoint.floorId}"/>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="form-group">
|
|||
|
|
<label class="col-sm-2 control-label">纬度</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<input type="text" id="latitude" name="latitude" class="form-control pull-right"
|
|||
|
|
placeholder="纬度"
|
|||
|
|
value="${patrolPoint.latitude}" readonly="true"></input>
|
|||
|
|
</div>
|
|||
|
|
<label class="col-sm-2 control-label">经度</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<input type="text" id="longitude" name="longitude" class="form-control pull-right"
|
|||
|
|
placeholder="经度"
|
|||
|
|
value="${patrolPoint.longitude}" readonly="true"></input>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="form-group">
|
|||
|
|
<label class="col-sm-2 control-label">顺序</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<input type="text" id="morder" name="morder" class="form-control pull-right"
|
|||
|
|
placeholder="顺序"
|
|||
|
|
value="${patrolPoint.morder}" readonly="true"></input>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
<div class="form-group">
|
|||
|
|
<label class="col-sm-2 control-label">modbus配置</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<select class="form-control select2" id="modbusFigId" name="modbusFigId"
|
|||
|
|
style="width: 100%" readonly="readonly" disabled="disabled">
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
<label class="col-sm-2 control-label">寄存器</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<input type="text" id="register" name="register" class="form-control pull-right"
|
|||
|
|
placeholder="寄存器"
|
|||
|
|
value="${patrolPoint.register}" readonly="true"></input>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="form-group">
|
|||
|
|
<label class="col-sm-2 control-label">读写方式</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<select type="text" id="readOrWrite" class="form-control select2 pull-right"
|
|||
|
|
name="readOrWrite"
|
|||
|
|
style="width: 100%" readonly="readonly" disabled="disabled">
|
|||
|
|
<option value="1">只读</option>
|
|||
|
|
<option value="0">只写</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
<label class="col-sm-2 control-label">启用状态</label>
|
|||
|
|
<div class="col-sm-4">
|
|||
|
|
<select type="text" id="active" class="form-control select2 pull-right" name="active"
|
|||
|
|
style="width: 100%" readonly="readonly" disabled="disabled">
|
|||
|
|
<option value="1">启用</option>
|
|||
|
|
<option value="0">禁用</option>
|
|||
|
|
</select>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="form-group">
|
|||
|
|
<label class="col-sm-2 control-label">巡检内容</label>
|
|||
|
|
<div class="col-sm-10">
|
|||
|
|
<textarea class="form-control" rows="3" id="patrolContent" name="patrolContent"
|
|||
|
|
placeholder="巡检内容..." readonly="true">${patrolPoint.patrolContent}</textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="form-group">
|
|||
|
|
<label class="col-sm-2 control-label">备注</label>
|
|||
|
|
<div class="col-sm-10">
|
|||
|
|
<textarea class="form-control" rows="3" id="remark" name="remark"
|
|||
|
|
placeholder="备注..." readonly="true">${patrolPoint.remark}</textarea>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</form>
|
|||
|
|
<div class="box box-primary">
|
|||
|
|
<div class="box-header with-border">
|
|||
|
|
<h3 class="box-title">关联测量点</h3>
|
|||
|
|
</div>
|
|||
|
|
<div class="box-body ">
|
|||
|
|
<table id="table_mPoint"></table>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="box box-primary">
|
|||
|
|
<div class="box-header with-border">
|
|||
|
|
<h3 class="box-title">关联设备</h3>
|
|||
|
|
</div>
|
|||
|
|
<div class="box-body ">
|
|||
|
|
<table id="table_equipmentCard"></table>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="modal-footer">
|
|||
|
|
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">关闭</button>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<!-- /.modal-content -->
|
|||
|
|
</div>
|
|||
|
|
<!-- /.modal-dialog -->
|
|||
|
|
</div>
|