Bladeren bron

应用日志管理-调用日志管理 1.调用日志数、2.操作 隐藏掉
接口管理 数据接口管理 操作区,设置参数按钮隐藏

liuhaonan 1 jaar geleden
bovenliggende
commit
f9095929c6

+ 6 - 15
leiSP-admin/target/classes/templates/monitor/operlog/operlog.html

@@ -42,7 +42,7 @@
 					</div>
 					</div>
 				</form>
 				</form>
 			</div>
 			</div>
-			
+
 			<div class="btn-group-sm" id="toolbar" role="group">
 			<div class="btn-group-sm" id="toolbar" role="group">
 				<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="monitor:operlog:remove">
 				<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="monitor:operlog:remove">
 		            <i class="fa fa-remove"></i> 删除
 		            <i class="fa fa-remove"></i> 删除
@@ -54,13 +54,13 @@
 		            <i class="fa fa-download"></i> 导出
 		            <i class="fa fa-download"></i> 导出
 		        </a>
 		        </a>
 	        </div>
 	        </div>
-	        
+
 			<div class="col-sm-12 select-table table-striped">
 			<div class="col-sm-12 select-table table-striped">
 				<table id="bootstrap-table"></table>
 				<table id="bootstrap-table"></table>
 			</div>
 			</div>
 		</div>
 		</div>
 	</div>
 	</div>
-	
+
 	<th:block th:include="include :: footer" />
 	<th:block th:include="include :: footer" />
 	<th:block th:include="include :: bootstrap-select-js" />
 	<th:block th:include="include :: bootstrap-select-js" />
 	<script th:inline="javascript">
 	<script th:inline="javascript">
@@ -134,26 +134,17 @@
 		            field: 'operTime',
 		            field: 'operTime',
 		            title: '操作时间',
 		            title: '操作时间',
 		            sortable: true
 		            sortable: true
-		        },
-		        {
-		            title: '操作',
-		            align: 'center',
-		            formatter: function(value, row, index) {
-		                var actions = [];
-		                actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.operId + '\')"><i class="fa fa-search"></i>详细</a>');
-		                return actions.join('');
-		            }
 		        }]
 		        }]
 		    };
 		    };
 		    $.table.init(options);
 		    $.table.init(options);
 		});
 		});
-		
+
 		function searchPre() {
 		function searchPre() {
 		    var data = {};
 		    var data = {};
 		    data.businessTypes = $.common.join($('#businessTypes').selectpicker('val'));
 		    data.businessTypes = $.common.join($('#businessTypes').selectpicker('val'));
 		    $.table.search('operlog-form', 'bootstrap-table', data);
 		    $.table.search('operlog-form', 'bootstrap-table', data);
 		}
 		}
-		
+
 		function resetPre() {
 		function resetPre() {
 			$("#operlog-form")[0].reset();
 			$("#operlog-form")[0].reset();
 			$("#businessTypes").selectpicker('refresh');
 			$("#businessTypes").selectpicker('refresh');
@@ -161,4 +152,4 @@
 		}
 		}
 	</script>
 	</script>
 </body>
 </body>
-</html>
+</html>

+ 2 - 1
leiSP-generator/target/classes/templates/tool/gen/gen.html

@@ -128,7 +128,8 @@
 		                actions.push('<a class="btn btn-primary btn-xs ' + codeFlag + '" href="javascript:void(0)" onclick="genCode(\'' + row.tableName + '\',\'' + row.genType + '\')"><i class="fa fa-bug"></i>生成代码</a> ');
 		                actions.push('<a class="btn btn-primary btn-xs ' + codeFlag + '" href="javascript:void(0)" onclick="genCode(\'' + row.tableName + '\',\'' + row.genType + '\')"><i class="fa fa-bug"></i>生成代码</a> ');
 		                return actions.join('');
 		                return actions.join('');
 		            }
 		            }
-		        }]
+		        }
+				]
 		    };
 		    };
 		    $.table.init(options);
 		    $.table.init(options);
 		});
 		});

+ 25 - 0
mybusiness/target/classes/templates/system/interfaceinfo/interfaceinfo.html

@@ -34,6 +34,16 @@
                             <label>接口地址:</label>
                             <label>接口地址:</label>
                             <input type="text" name="interfaceAddress"/>
                             <input type="text" name="interfaceAddress"/>
                         </li>
                         </li>
+
+                        <li>
+                            <label>接口状态:</label>
+                            <select name="status">
+                                <option value="">所有</option>
+                                <option value="0">启动</option>
+                                <option value="1">禁用</option>
+                            </select>
+
+                        </li>
                         <!--<li>
                         <!--<li>
                             <label>IAM方式:</label>
                             <label>IAM方式:</label>
                             <input type="text" name="typeIam"/>
                             <input type="text" name="typeIam"/>
@@ -152,6 +162,21 @@
                     title: '接口地址'
                     title: '接口地址'
                 },
                 },
                 {
                 {
+                    field: 'callsuccnum',
+                    title: '成功次数'
+                },
+                {
+                    field: 'callfailnum',
+                    title: '失败次数',
+                },
+                {
+                    // field: 'totalNum',
+                    title: '接口调用总次数',
+                    formatter: function (value, row, index) {
+                        return row.callsuccnum + row.callfailnum;
+                    }
+                },
+                {
                     visible: editFlag == 'hidden' ? false : true,
                     visible: editFlag == 'hidden' ? false : true,
                     title: '接口状态',
                     title: '接口状态',
                     align: 'center',
                     align: 'center',