|
@@ -5,7 +5,6 @@
|
|
|
:visible.sync="drawerFlag"
|
|
|
direction="rtl"
|
|
|
size="70%"
|
|
|
- :wrapper-closable="false"
|
|
|
:before-close="handleClose"
|
|
|
>
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick" class="customdrawer">
|
|
@@ -23,11 +22,21 @@
|
|
|
import TopologyOverview from './topologyOverview/index.vue'
|
|
|
import JVM from './jvm/index.vue'
|
|
|
import ServiceRelationship from './serviceRelationship/index.vue'
|
|
|
+import CallChain from './callChain/index.vue'
|
|
|
+import Log from './log/index.vue'
|
|
|
+import Abnormal from './abnormal/index.vue'
|
|
|
+import SQLCall from './SQLCall/index.vue'
|
|
|
+import NoSQLCall from './noSQLCall/index.vue'
|
|
|
export default {
|
|
|
components: {
|
|
|
TopologyOverview,
|
|
|
JVM,
|
|
|
- ServiceRelationship
|
|
|
+ ServiceRelationship,
|
|
|
+ CallChain,
|
|
|
+ Log,
|
|
|
+ Abnormal,
|
|
|
+ SQLCall,
|
|
|
+ NoSQLCall
|
|
|
},
|
|
|
props: {
|
|
|
drawerFlag: {
|
|
@@ -80,7 +89,12 @@ export default {
|
|
|
const obj = {
|
|
|
'概览': 'TopologyOverview',
|
|
|
'JVM/GC': 'JVM',
|
|
|
- '服务关系': 'ServiceRelationship'
|
|
|
+ '服务关系': 'ServiceRelationship',
|
|
|
+ '调用链(业务)': 'CallChain',
|
|
|
+ '日志': 'Log',
|
|
|
+ '异常': 'Abnormal',
|
|
|
+ 'SQL调用': 'SQLCall',
|
|
|
+ 'NoSQL调用': 'NoSQLCall'
|
|
|
}
|
|
|
this.currentComponent = obj[this.activeName]
|
|
|
}
|