Conformance Filter: done.
This commit is contained in:
@@ -19,7 +19,6 @@ export default {
|
||||
watch: {
|
||||
timeResultData: {
|
||||
handler(newValue) {
|
||||
// console.log(newValue);
|
||||
this.data = newValue;
|
||||
},
|
||||
immediate: true,
|
||||
|
||||
@@ -91,9 +91,9 @@ import getMoment from 'moment';
|
||||
export default {
|
||||
setup() {
|
||||
const allMapDataStore = AllMapDataStore();
|
||||
const { logId, stats } = storeToRefs(allMapDataStore);
|
||||
const { logId, stats, createFilterId } = storeToRefs(allMapDataStore);
|
||||
|
||||
return { logId, stats, allMapDataStore };
|
||||
return { logId, stats, createFilterId, allMapDataStore };
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -149,6 +149,16 @@ export default {
|
||||
},
|
||||
async mounted() {
|
||||
if(this.$route.params.type === 'log') this.logId = this.$route.params.fileId;
|
||||
switch (this.$route.params.type) {
|
||||
case 'log':
|
||||
this.logId = this.$route.params.fileId;
|
||||
break;
|
||||
case 'filter':
|
||||
this.createFilterId = this.$route.params.fileId;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
await this.allMapDataStore.getAllMapData();
|
||||
await this.getStatData();
|
||||
this.isPanel = false; // 預設不打開
|
||||
|
||||
Reference in New Issue
Block a user