|
@@ -76,13 +76,13 @@
|
|
|
<el-table-column label="包含的span数量" header-align="center" prop="span_num" align="center" />
|
|
|
</el-table>
|
|
|
|
|
|
- <pagination
|
|
|
+ <!-- <pagination
|
|
|
v-show="total>0"
|
|
|
:total="total"
|
|
|
:page.sync="queryTrace.pageIndex"
|
|
|
:limit.sync="queryTrace.pageSize"
|
|
|
@pagination="getTraceList"
|
|
|
- />
|
|
|
+ /> -->
|
|
|
|
|
|
<div style="margin-top:32px;">
|
|
|
<div class="css-container" style="margin-bottom:24px;">
|
|
@@ -831,7 +831,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { mapGetters } from 'vuex'
|
|
|
-import { traceList, traceDetail, traceGraph } from '@/api/trace'
|
|
|
+import { fetchTranceList, traceDetail, traceGraph } from '@/api/trace'
|
|
|
import Topo from './components/TopoTree'
|
|
|
import storage from '@/utils/storage'
|
|
|
import FlameGraph from './components/FlameGraph.vue'
|
|
@@ -909,7 +909,7 @@ export default {
|
|
|
min_duration: 0, // 单位 ms
|
|
|
max_duration: 0,
|
|
|
pageIndex: 1,
|
|
|
- pageSize: 10,
|
|
|
+ pageSize: 20,
|
|
|
trace_id: '',
|
|
|
app_alias: '',
|
|
|
failed: false
|
|
@@ -1015,7 +1015,7 @@ export default {
|
|
|
this.queryTrace.failed = JSON.parse(param.failed)
|
|
|
}
|
|
|
this.queryTrace.pageIndex = 1
|
|
|
- this.queryTrace.pageSize = 10
|
|
|
+ this.queryTrace.pageSize = 20
|
|
|
this.queryTrace.trace_id = ''
|
|
|
this.getTraceList()
|
|
|
}
|
|
@@ -1152,7 +1152,7 @@ export default {
|
|
|
// 获取trace table 数据
|
|
|
getTraceList() {
|
|
|
this.loading = true
|
|
|
- traceList(this.queryTrace).then(res => {
|
|
|
+ fetchTranceList(this.queryTrace).then(res => {
|
|
|
this.loading = false
|
|
|
this.graphData = {}
|
|
|
this.graphflag = false
|