|
|
@ -77,7 +77,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="btn-group-sm" id="toolbar" role="group">
|
|
|
|
<div class="btn-group-sm" id="toolbar" role="group">
|
|
|
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:netinfo:add">
|
|
|
|
<a class="btn btn-success" onclick="hanldAdd()" shiro:hasPermission="system:netinfo:add">
|
|
|
|
<i class="fa fa-plus"></i> 添加
|
|
|
|
<i class="fa fa-plus"></i> 添加
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:netinfo:edit">
|
|
|
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:netinfo:edit">
|
|
|
@ -106,11 +106,18 @@
|
|
|
|
var netMijiDatas = [[${@dict.getType('sys_file_miji')}]];
|
|
|
|
var netMijiDatas = [[${@dict.getType('sys_file_miji')}]];
|
|
|
|
var isCurcialDatas = [[${@dict.getType('sys_yes_no')}]];
|
|
|
|
var isCurcialDatas = [[${@dict.getType('sys_yes_no')}]];
|
|
|
|
var prefix = ctx + "system/network/netinfo";
|
|
|
|
var prefix = ctx + "system/network/netinfo";
|
|
|
|
|
|
|
|
var obj = {id:''};
|
|
|
|
|
|
|
|
obj.id = [[${id}]] + ''
|
|
|
|
|
|
|
|
// 添加信息
|
|
|
|
|
|
|
|
function hanldAdd() {
|
|
|
|
|
|
|
|
table.set();
|
|
|
|
|
|
|
|
$.modal.open("添加" + table.options.modalName, $.operate.addUrl(obj.id));
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
$(function() {
|
|
|
|
var options = {
|
|
|
|
var options = {
|
|
|
|
url: prefix + "/list",
|
|
|
|
url: prefix + "/list",
|
|
|
|
createUrl: prefix + "/add",
|
|
|
|
createUrl: prefix + "/add/{id}",
|
|
|
|
updateUrl: prefix + "/edit/{id}",
|
|
|
|
updateUrl: prefix + "/edit/{id}",
|
|
|
|
removeUrl: prefix + "/remove",
|
|
|
|
removeUrl: prefix + "/remove",
|
|
|
|
exportUrl: prefix + "/export",
|
|
|
|
exportUrl: prefix + "/export",
|
|
|
|