|
|
|
@ -11,17 +11,13 @@
|
|
|
|
|
<div class="select-list">
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<label>网络编号:</label>
|
|
|
|
|
<input type="text" name="netId"/>
|
|
|
|
|
<label>设备编号:</label>
|
|
|
|
|
<input type="text" name="id"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>网络设备品牌:</label>
|
|
|
|
|
<input type="text" name="netBrand"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>IP地址:</label>
|
|
|
|
|
<input type="text" name="netIp"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>设备型号:</label>
|
|
|
|
|
<input type="text" name="netNo"/>
|
|
|
|
@ -33,40 +29,6 @@
|
|
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
|
|
|
</select>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>序列号:</label>
|
|
|
|
|
<input type="text" name="netSn"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>登记人员:</label>
|
|
|
|
|
<input type="text" name="netname"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>责任人:</label>
|
|
|
|
|
<input type="text" name="netManager"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>密级:</label>
|
|
|
|
|
<select name="netMiji" th:with="type=${@dict.getType('sys_file_miji')}">
|
|
|
|
|
<option value="">所有</option>
|
|
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
|
|
|
</select>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>涉密网络名称:</label>
|
|
|
|
|
<input type="text" name="netsmname"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>是否属于要害部门部位:</label>
|
|
|
|
|
<select name="isCurcial" th:with="type=${@dict.getType('sys_yes_no')}">
|
|
|
|
|
<option value="">所有</option>
|
|
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
|
|
|
</select>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>单位名称:</label>
|
|
|
|
|
<input type="text" name="depart"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
|
|
|
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
|
|
|
@ -106,18 +68,19 @@
|
|
|
|
|
var netMijiDatas = [[${@dict.getType('sys_file_miji')}]];
|
|
|
|
|
var isCurcialDatas = [[${@dict.getType('sys_yes_no')}]];
|
|
|
|
|
var prefix = ctx + "system/network/netinfo";
|
|
|
|
|
var obj = {id:''};
|
|
|
|
|
obj.id = [[${id}]] + ''
|
|
|
|
|
var obj = {netId:''};
|
|
|
|
|
obj.netId = [[${netId}]] + ''
|
|
|
|
|
// 添加信息
|
|
|
|
|
function hanldAdd() {
|
|
|
|
|
table.set();
|
|
|
|
|
$.modal.open("添加" + table.options.modalName, $.operate.addUrl(obj.id));
|
|
|
|
|
$.modal.open("添加" + table.options.modalName, $.operate.addUrl(obj.netId));
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
|
var options = {
|
|
|
|
|
url: prefix + "/list",
|
|
|
|
|
createUrl: prefix + "/add/{id}",
|
|
|
|
|
queryParams:obj,
|
|
|
|
|
createUrl: prefix + "/add/{netId}",
|
|
|
|
|
updateUrl: prefix + "/edit/{id}",
|
|
|
|
|
removeUrl: prefix + "/remove",
|
|
|
|
|
exportUrl: prefix + "/export",
|
|
|
|
@ -152,24 +115,13 @@
|
|
|
|
|
field: 'netSn',
|
|
|
|
|
title: '序列号'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'remark',
|
|
|
|
|
title: '备注'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'netname',
|
|
|
|
|
title: '登记人员'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'netManager',
|
|
|
|
|
title: '责任人'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'netMiji',
|
|
|
|
|
title: '密级',
|
|
|
|
|
formatter: function(value, row, index) {
|
|
|
|
|
return $.table.selectDictLabel(netMijiDatas, value);
|
|
|
|
|
}
|
|
|
|
|
field: 'depart',
|
|
|
|
|
title: '单位名称'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'netsmname',
|
|
|
|
@ -183,8 +135,11 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'depart',
|
|
|
|
|
title: '单位名称'
|
|
|
|
|
field: 'netMiji',
|
|
|
|
|
title: '密级',
|
|
|
|
|
formatter: function(value, row, index) {
|
|
|
|
|
return $.table.selectDictLabel(netMijiDatas, value);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '操作',
|
|
|
|
|