You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SOP/sop-admin/sop-admin-front/pages/service/routeManager.html

184 lines
7.9 KiB

<!DOCTYPE html>
<html class="x-admin-sm">
<head>
<meta charset="UTF-8">
<title>SOP Admin</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
<link rel="stylesheet" href="../../assets/css/font.css">
<link rel="stylesheet" href="../../assets/css/xadmin.css">
</head>
<body>
<div class="x-nav">
<span class="layui-breadcrumb">
<a href="../welcome.html">首页</a>
<a><cite>服务管理</cite></a>
<a><cite>路由管理</cite></a>
</span>
<a class="layui-btn layui-btn-small layui-btn-normal" style="line-height:1.6em;margin-top:4px;float:right"
href="javascript:location.replace(location.href);" title="刷新">
<i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
</div>
<div class="x-body">
6 years ago
<div class="layui-row">
<div class="layui-col-md2">
<ul id="leftTree"></ul>
</div>
<div id="optTip" class="layui-col-md2" style="margin-top: 20px;">
<i class="layui-icon layui-icon-return"></i>点击树节点查看
</div>
6 years ago
<div id="rightPart" class="layui-col-md10" style="display: none;">
<div class="layui-row">
<form class="layui-form layui-col-md12 x-so" action="" lay-filter="searchFrm">
路由名称:
<input name="id" class="layui-input" style="width: 200px;" placeholder="输入接口名或版本号">
<button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="searchFilter">
<i class="layui-icon layui-icon-search"></i>搜索
</button>
</form>
</div>
<table class="layui-hide" id="routeTable" lay-filter="routeTableFilter"></table>
6 years ago
<script type="text/html" id="toolbar">
<div class="layui-btn-container">
<button class="layui-btn layui-btn-ms layui-btn-normal" lay-event="add">
<i class="layui-icon layui-icon-add-1"></i>添加路由
</button>
</div>
</script>
</div>
</div>
6 years ago
6 years ago
6 years ago
</div>
6 years ago
<div id="addWin" class="x-win">
6 years ago
<form id="addForm" class="layui-form" action="" lay-filter="addWinFilter">
<input type="hidden" name="serviceId" />
<div class="layui-form-item">
<label class="layui-form-label">id</label>
<div class="layui-input-block">
6 years ago
<input type="text" name="id" lay-verify="required" class="layui-input"/>
6 years ago
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">uri</label>
<div class="layui-input-block">
<input type="text" name="uri" lay-verify="required" class="layui-input"/>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">path</label>
<div class="layui-input-block">
<input type="text" name="path" class="layui-input"/>
</div>
</div>
6 years ago
<div class="layui-form-item">
<label class="layui-form-label">合并结果</label>
<div class="layui-input-block">
<input type="radio" name="mergeResult" value="1" title="合并">
<input type="radio" name="mergeResult" value="0" title="不合并">
</div>
</div>
6 years ago
<div class="layui-form-item">
<label class="layui-form-label">忽略验证</label>
<div class="layui-input-block">
6 years ago
<input type="radio" name="ignoreValidate" value="1" title="是">
<input type="radio" name="ignoreValidate" value="0" title="否">
6 years ago
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">状态</label>
<div class="layui-input-block">
6 years ago
<input type="radio" name="status" value="1" title="启用">
<input type="radio" name="status" value="2" title="<span class='x-red'>禁用</span>">
6 years ago
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="addWinSubmitFilter">保存</button>
<button type="button" class="layui-btn layui-btn-primary" onclick="layer.closeAll()">取消</button>
</div>
</div>
</form>
</div>
6 years ago
<div id="updateWin" class="x-win">
6 years ago
<form id="updateForm" class="layui-form" action="" lay-filter="updateWinFilter">
6 years ago
<input type="hidden" name="serviceId" />
6 years ago
<div class="layui-form-item">
<label class="layui-form-label">id</label>
<div class="layui-input-block">
<input type="text" name="id" readonly="readonly" class="layui-input"/>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">uri</label>
<div class="layui-input-block">
<input type="text" name="uri" lay-verify="required" class="layui-input"/>
</div>
</div>
6 years ago
<div class="layui-form-item">
<label class="layui-form-label">path</label>
<div class="layui-input-block">
<input type="text" name="path" class="layui-input"/>
</div>
</div>
6 years ago
<div class="layui-form-item">
<label class="layui-form-label">合并结果</label>
<div class="layui-input-block">
<input type="radio" name="mergeResult" value="1" title="合并">
<input type="radio" name="mergeResult" value="0" title="不合并">
</div>
</div>
6 years ago
<div class="layui-form-item">
<label class="layui-form-label">忽略验证</label>
<div class="layui-input-block">
6 years ago
<input type="radio" name="ignoreValidate" value="1" title="是">
<input type="radio" name="ignoreValidate" value="0" title="否">
6 years ago
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">状态</label>
<div class="layui-input-block">
6 years ago
<input type="radio" name="status" value="1" title="启用">
<input type="radio" name="status" value="2" title="<span class='x-red'>禁用</span>">
6 years ago
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="updateWinSubmitFilter">保存</button>
<button type="button" class="layui-btn layui-btn-primary" onclick="layer.closeAll()">取消</button>
6 years ago
</div>
</div>
</form>
</div>
6 years ago
<div id="authWin" class="x-win">
<form id="authForm" style="width: 400px" class="layui-form" action="">
<div class="layui-form-item">
<label class="layui-form-label">id</label>
<div class="layui-input-block">
<input type="text" name="routeId" class="layui-input" readonly="readonly"/>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">角色</label>
<div id="roleArea" class="layui-input-block">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="authFormSubmitFilter">保存</button>
<button type="button" class="layui-btn layui-btn-primary" onclick="layer.closeAll()">取消</button>
</div>
</div>
</form>
</div>
<script type="text/javascript" src="../../assets/js/lib.js"></script>
<script type="text/javascript" src="routeManager.js"></script>
</body>
</html>