|
@@ -10,13 +10,6 @@
|
|
|
<form id="formId">
|
|
|
<div class="select-list">
|
|
|
<ul>
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>状态:</label>-->
|
|
|
- <!--<select name="status">-->
|
|
|
- <!--<option value="">所有</option>-->
|
|
|
- <!--<option value="-1">代码生成请选择字典属性</option>-->
|
|
|
- <!--</select>-->
|
|
|
- <!--</li>-->
|
|
|
<li>
|
|
|
<label>登录人:</label>
|
|
|
<input type="text" name="loginUser"/>
|
|
@@ -25,22 +18,6 @@
|
|
|
<label>登录名:</label>
|
|
|
<input type="text" name="loginName"/>
|
|
|
</li>
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>调用接口id:</label>-->
|
|
|
- <!--<input type="text" name="interfaceinfoId"/>-->
|
|
|
- <!--</li>-->
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>调用接口名:</label>-->
|
|
|
- <!--<input type="text" name="interfaceinfoName"/>-->
|
|
|
- <!--</li>-->
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>ip地址:</label>-->
|
|
|
- <!--<input type="text" name="ipaddress"/>-->
|
|
|
- <!--</li>-->
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>操作系统:</label>-->
|
|
|
- <!--<input type="text" name="os"/>-->
|
|
|
- <!--</li>-->
|
|
|
<li>
|
|
|
<label>平台接口类型:</label>
|
|
|
<select name="platformInterfacetype"
|
|
@@ -50,33 +27,6 @@
|
|
|
th:value="${dict.dictValue}"></option>
|
|
|
</select>
|
|
|
</li>
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>访问浏览器:</label>-->
|
|
|
- <!--<input type="text" name="browser"/>-->
|
|
|
- <!--</li>-->
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>参数条件:</label>-->
|
|
|
- <!--<input type="text" name="param"/>-->
|
|
|
- <!--</li>-->
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>返回结果:</label>-->
|
|
|
- <!--<input type="text" name="results"/>-->
|
|
|
- <!--</li>-->
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>操作数量:</label>-->
|
|
|
- <!--<input type="text" name="operationQuantity"/>-->
|
|
|
- <!--</li>-->
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>操作状态:</label>-->
|
|
|
- <!--<select name="operationStatus">-->
|
|
|
- <!--<option value="">所有</option>-->
|
|
|
- <!--<option value="-1">代码生成请选择字典属性</option>-->
|
|
|
- <!--</select>-->
|
|
|
- <!--</li>-->
|
|
|
- <!--<li>-->
|
|
|
- <!--<label>异常记录:</label>-->
|
|
|
- <!--<input type="text" name="exceptionLog"/>-->
|
|
|
- <!--</li>-->
|
|
|
<li>
|
|
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i
|
|
|
class="fa fa-search"></i> 搜索</a>
|
|
@@ -134,7 +84,8 @@
|
|
|
},
|
|
|
{
|
|
|
field: 'loginUser',
|
|
|
- title: '登录人'
|
|
|
+ title: '登录人',
|
|
|
+ visible: false
|
|
|
},
|
|
|
{
|
|
|
field: 'loginName',
|
|
@@ -159,7 +110,10 @@
|
|
|
},
|
|
|
{
|
|
|
field: 'os',
|
|
|
- title: '操作系统'
|
|
|
+ title: '操作系统',
|
|
|
+ cellStyle:formatTableUnit,
|
|
|
+ formatter :paramsMatter
|
|
|
+
|
|
|
},
|
|
|
{
|
|
|
field: 'platformInterfacetype',
|
|
@@ -184,7 +138,8 @@
|
|
|
},
|
|
|
{
|
|
|
field: 'operationQuantity',
|
|
|
- title: '操作数量'
|
|
|
+ title: '操作数量',
|
|
|
+ visible: false
|
|
|
},
|
|
|
{
|
|
|
field: 'operationStatus',
|
|
@@ -196,20 +151,38 @@
|
|
|
title: '异常记录',
|
|
|
visible: false
|
|
|
},
|
|
|
- // {
|
|
|
- // title: '操作',
|
|
|
- // align: 'center',
|
|
|
- // formatter: function(value, row, index) {
|
|
|
- // var actions = [];
|
|
|
- // actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
|
|
- // actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
|
|
- // return actions.join('');
|
|
|
- // }
|
|
|
- // }
|
|
|
+ {
|
|
|
+ title: '操作',
|
|
|
+ align: 'center',
|
|
|
+ formatter: function(value, row, index) {
|
|
|
+ var actions = [];
|
|
|
+ actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-search"></i>详情</a> ');
|
|
|
+ return actions.join('');
|
|
|
+ }
|
|
|
+ }
|
|
|
]
|
|
|
};
|
|
|
$.table.init(options);
|
|
|
});
|
|
|
+
|
|
|
+ //表格超出宽度鼠标悬停显示td内容
|
|
|
+ function paramsMatter(value,row,index) {
|
|
|
+ let span=document.createElement("span");
|
|
|
+ span.setAttribute("title",value);
|
|
|
+ span.innerHTML = value;
|
|
|
+ return span.outerHTML;
|
|
|
+ }
|
|
|
+ //td宽度以及内容超过宽度隐藏
|
|
|
+ function formatTableUnit(value, row, index) {
|
|
|
+ return {
|
|
|
+ css: {
|
|
|
+ "white-space": "nowrap",
|
|
|
+ "text-overflow": "ellipsis",
|
|
|
+ "overflow": "hidden",
|
|
|
+ "max-width":"150px"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|