|
@@ -19,14 +19,6 @@
|
|
<input type="text" name="interfaceName"/>
|
|
<input type="text" name="interfaceName"/>
|
|
</li>
|
|
</li>
|
|
<li>
|
|
<li>
|
|
- <label>共享方式:</label>
|
|
|
|
- <select name="shareType" th:with="type=${@dict.getType('share_type')}">
|
|
|
|
- <option value="">所有</option>
|
|
|
|
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
|
|
|
- th:value="${dict.dictValue}"></option>
|
|
|
|
- </select>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
<label>请求方式:</label>
|
|
<label>请求方式:</label>
|
|
<select name="interfaceType" th:with="type=${@dict.getType('interface_type')}">
|
|
<select name="interfaceType" th:with="type=${@dict.getType('interface_type')}">
|
|
<option value="">所有</option>
|
|
<option value="">所有</option>
|
|
@@ -85,18 +77,18 @@
|
|
</div>
|
|
</div>
|
|
<th:block th:include="include :: footer"/>
|
|
<th:block th:include="include :: footer"/>
|
|
<script th:inline="javascript">
|
|
<script th:inline="javascript">
|
|
- var editFlag = [[${@permission.hasPermi('system:interfaceinfo:edit')}]];
|
|
|
|
- var removeFlag = [[${@permission.hasPermi('system:interfaceinfo:remove')}]];
|
|
|
|
- var prefix = ctx + "system/interfaceinfo";
|
|
|
|
- var shareType_datas = [[${@dict.getType('share_type')}]];
|
|
|
|
- var interfaceType_datas = [[${@dict.getType('interface_type')}]];
|
|
|
|
- console.log(interfaceType_datas)
|
|
|
|
|
|
+ let editFlag = [[${@permission.hasPermi('system:interfaceinfo:edit')}]];
|
|
|
|
+ let removeFlag = [[${@permission.hasPermi('system:interfaceinfo:remove')}]];
|
|
|
|
+ let prefix = ctx + "system/interfaceinfo";
|
|
|
|
+ let shareType_datas = [[${@dict.getType('share_type')}]];
|
|
|
|
+ let interfaceType_datas = [[${@dict.getType('interface_type')}]];
|
|
|
|
+ let shareType = [[${shareType}]];
|
|
|
|
|
|
|
|
|
|
$(function () {
|
|
$(function () {
|
|
var options = {
|
|
var options = {
|
|
- url: prefix + "/list",
|
|
|
|
- createUrl: prefix + "/add",
|
|
|
|
|
|
+ url: prefix + "/list/" + shareType,
|
|
|
|
+ createUrl: prefix + "/add/" + shareType,
|
|
updateUrl: prefix + "/edit/{id}",
|
|
updateUrl: prefix + "/edit/{id}",
|
|
removeUrl: prefix + "/remove",
|
|
removeUrl: prefix + "/remove",
|
|
exportUrl: prefix + "/export",
|
|
exportUrl: prefix + "/export",
|