This commit is contained in:
Cindy Chang
2024-08-02 13:24:15 +08:00
parent 86cfb409c3
commit 4ba7961a5a
6 changed files with 12 additions and 17 deletions

View File

@@ -402,17 +402,14 @@
this.$router.push({name: 'Map', params: params});
break;
case 'log-check':
fileId = file.id;
type = file.parent.type;
params = { type: type, fileId: fileId };
this.$router.push({name: 'CheckConformance', params: params});
break
case 'filter-check':
fileId = file.id;
type = file.parent.type;
params = { type: type, fileId: fileId };
this.$router.push({name: 'CheckConformance', params: params});
break;
default:
break;
}
},
/**
@@ -486,10 +483,11 @@
switch (i.type) {
case 'log-check':
i.type = 'rule';
break;
case 'filter-check':
i.type = 'rule';
break;
default:
break;
}
let content = `<li>[${i.type}] ${i.name}</li>`;
srt += content;
@@ -508,9 +506,8 @@
this.reallyDeldetData.forEach(file => {
switch (file.type) {
case 'log-check':
file.type = 'rule';
break;
case 'filter-check':
default:
file.type = 'rule';
break;
}