feat: Conformance Save Log Done.
This commit is contained in:
@@ -148,15 +148,23 @@ export default {
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
if(this.$route.params.type === 'log') this.logId = this.$route.params.fileId;
|
||||
switch (this.$route.params.type) {
|
||||
let params = this.$route.params;
|
||||
|
||||
switch (params.type) {
|
||||
case 'log':
|
||||
this.logId = this.$route.params.fileId;
|
||||
this.logId = params.fileId;
|
||||
break;
|
||||
case 'filter':
|
||||
this.createFilterId = this.$route.params.fileId;
|
||||
break;
|
||||
default:
|
||||
this.createFilterId = params.fileId;
|
||||
break;
|
||||
case 'rule':
|
||||
switch (params.checkType) {
|
||||
case 'log':
|
||||
this.logId = params.checkFileId;
|
||||
break;
|
||||
case 'filter':
|
||||
this.createFilterId = params.checkFileId;
|
||||
}
|
||||
break;
|
||||
}
|
||||
await this.allMapDataStore.getAllMapData();
|
||||
|
||||
Reference in New Issue
Block a user