Merge branch 'dev'
This commit is contained in:
@@ -13,6 +13,10 @@
|
|||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-config</artifactId>
|
<artifactId>zlt-config</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.zlt</groupId>
|
||||||
|
<artifactId>zlt-log-spring-boot-starter</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
||||||
|
|||||||
@@ -14,6 +14,10 @@
|
|||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-config</artifactId>
|
<artifactId>zlt-config</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.zlt</groupId>
|
||||||
|
<artifactId>zlt-log-spring-boot-starter</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
||||||
|
|||||||
@@ -15,6 +15,10 @@
|
|||||||
<artifactId>zlt-config</artifactId>
|
<artifactId>zlt-config</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.zlt</groupId>
|
||||||
|
<artifactId>zlt-log-spring-boot-starter</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
||||||
|
|||||||
@@ -14,6 +14,10 @@
|
|||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-config</artifactId>
|
<artifactId>zlt-config</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.zlt</groupId>
|
||||||
|
<artifactId>zlt-log-spring-boot-starter</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
||||||
|
|||||||
-1
@@ -12,7 +12,6 @@ import com.central.common.annotation.LoginUser;
|
|||||||
import com.central.common.constant.CommonConstant;
|
import com.central.common.constant.CommonConstant;
|
||||||
import com.central.common.model.*;
|
import com.central.common.model.*;
|
||||||
import com.central.common.utils.ExcelUtil;
|
import com.central.common.utils.ExcelUtil;
|
||||||
//import com.central.log.annotation.AuditLog;
|
|
||||||
import com.central.log.annotation.AuditLog;
|
import com.central.log.annotation.AuditLog;
|
||||||
import com.central.search.client.service.IQueryService;
|
import com.central.search.client.service.IQueryService;
|
||||||
import com.central.search.model.LogicDelDto;
|
import com.central.search.model.LogicDelDto;
|
||||||
|
|||||||
@@ -10,10 +10,6 @@
|
|||||||
<description>公共通用组件</description>
|
<description>公共通用组件</description>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>com.zlt</groupId>
|
|
||||||
<artifactId>zlt-log-spring-boot-starter</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.baomidou</groupId>
|
<groupId>com.baomidou</groupId>
|
||||||
<artifactId>mybatis-plus-extension</artifactId>
|
<artifactId>mybatis-plus-extension</artifactId>
|
||||||
@@ -97,5 +93,10 @@
|
|||||||
<groupId>com.fasterxml.jackson.core</groupId>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
<artifactId>jackson-core</artifactId>
|
<artifactId>jackson-core</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.alibaba</groupId>
|
||||||
|
<artifactId>transmittable-thread-local</artifactId>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
@@ -14,6 +14,10 @@
|
|||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-config</artifactId>
|
<artifactId>zlt-config</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.zlt</groupId>
|
||||||
|
<artifactId>zlt-log-spring-boot-starter</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-loadbalancer-spring-boot-starter</artifactId>
|
<artifactId>zlt-loadbalancer-spring-boot-starter</artifactId>
|
||||||
|
|||||||
@@ -13,6 +13,10 @@
|
|||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-config</artifactId>
|
<artifactId>zlt-config</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.zlt</groupId>
|
||||||
|
<artifactId>zlt-log-spring-boot-starter</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zlt</groupId>
|
<groupId>com.zlt</groupId>
|
||||||
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
<!-- 数据表格 -->
|
||||||
|
<table class="layui-table" id="trace-table" lay-filter="trace-table"></table>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
layui.use(['config', 'admin', 'table', 'treetable'],function () {
|
||||||
|
let layer = layui.layer;
|
||||||
|
let treetable = layui.treetable;
|
||||||
|
let config = layui.config;
|
||||||
|
let admin = layui.admin;
|
||||||
|
|
||||||
|
let traceId = admin.getTempData('traceId');
|
||||||
|
// 渲染表格
|
||||||
|
let renderTable = function () {
|
||||||
|
layer.load(2);
|
||||||
|
treetable.render({
|
||||||
|
treeColIndex: 1,
|
||||||
|
treeSpid: '-1',
|
||||||
|
treeIdName: 'spanId',
|
||||||
|
treePidName: 'parentId',
|
||||||
|
elem: '#trace-table',
|
||||||
|
url: config.base_server + 'api-log/traceLog',
|
||||||
|
where: {
|
||||||
|
access_token: config.getToken().access_token,
|
||||||
|
queryStr: 'traceId:'+traceId,
|
||||||
|
sortCol: 'timestamp',
|
||||||
|
sortOrder: 'ASC'
|
||||||
|
},
|
||||||
|
page: false,
|
||||||
|
cols: [[
|
||||||
|
{type: 'numbers'},
|
||||||
|
{field: 'appName', sort: true, title: '应用名', width: 220},
|
||||||
|
{field: 'spanId', sort: false, title: 'spanId', width: 130},
|
||||||
|
{field: 'serverIp', sort: true, title: '服务ip', width: 150},
|
||||||
|
{field: 'serverPort', sort: true, title: '服务端口', width: 120}
|
||||||
|
]],
|
||||||
|
done: function() {
|
||||||
|
layer.closeAll('loading');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
if (traceId) {
|
||||||
|
renderTable();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user