Skip to content

Commit 9a90817

Browse files
author
suyc
committed
Merge branch 'feature-sprint2' of https://10.30.90.89:39999/luban/dataspherestudio into feature-sprint2
2 parents befedfa + f466024 commit 9a90817

File tree

16 files changed

+740
-100
lines changed

16 files changed

+740
-100
lines changed

web/src/apps/dataGovernance/view/assetsInfo/components/lineage/index.vue

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,18 @@ export default {
4949
}
5050
const cur = this.lineageData.guidEntityMap[item]
5151
let icon
52-
if (cur.status !== 'ACTIVE') {
52+
if (cur.status !== 'ACTIVE' && cur.typeName === 'hive_table') {
5353
icon = 'icon-a-shanchudehivetable'
54-
} else if (cur.typeName === 'hive_table') {
54+
} else if (cur.status === 'ACTIVE' && cur.typeName === 'hive_table') {
5555
icon = 'icon-a-hivetable'
56-
} else if (cur.typeName === 'hive_process') {
56+
} else if (cur.status === 'ACTIVE' && cur.typeName === 'hive_process') {
5757
icon = 'icon-a-hiveprocess'
58-
} else if (cur.typeName === 'spark_process') {
58+
} else if (cur.status === 'ACTIVE' && cur.typeName === 'spark_process') {
5959
icon = 'icon-a-sparkprocess'
60+
} else if (cur.status === 'ACTIVE' && cur.typeName === 'hdfs_path') {
61+
icon = 'icon-hdfs'
62+
} else if (cur.status !== 'ACTIVE' && cur.typeName === 'hdfs_path') {
63+
icon = 'icon-hdfs-zhihui'
6064
}
6165
let className = isCurrent ? 'nodeBackground-color current-bg-color' : 'nodeBackground-color'
6266
data.nodes.push({

0 commit comments

Comments
 (0)