涉密网络设备

master
20918 11 months ago
parent 21ceaeaabf
commit 50237d3e60

@ -37,14 +37,12 @@
<div class="logopanel m-b"> <div class="logopanel m-b">
</div> </div>
<div class="m-b"></div> <div class="m-b"></div>
<h4>欢迎使用 <strong>保密业务辅助后台管理系统</strong></h4>
<strong th:if="${isAllowRegister}">还没有账号? <a th:href="@{/register}">立即注册&raquo;</a></strong> <strong th:if="${isAllowRegister}">还没有账号? <a th:href="@{/register}">立即注册&raquo;</a></strong>
</div> </div>
</div> </div>
<div class="col-sm-5"> <div class="col-sm-5">
<form id="signupForm" autocomplete="off"> <form id="signupForm" autocomplete="off">
<h4 class="no-margins">登录:</h4> <h3><strong>保密业务辅助后台管理系统</strong></h3>
<input type="text" name="username" class="form-control uname" placeholder="用户名" value="admin" /> <input type="text" name="username" class="form-control uname" placeholder="用户名" value="admin" />
<input type="password" name="password" class="form-control pword" placeholder="密码" value="admin123" /> <input type="password" name="password" class="form-control pword" placeholder="密码" value="admin123" />
<div class="checkbox-custom m-t" th:if="${isRemembered}"> <div class="checkbox-custom m-t" th:if="${isRemembered}">

@ -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",

Loading…
Cancel
Save