Issue #164: Done.
This commit is contained in:
@@ -508,6 +508,7 @@ export default {
|
|||||||
this.$emitter.emit('reset', null);
|
this.$emitter.emit('reset', null);
|
||||||
// reset 成功訊息
|
// reset 成功訊息
|
||||||
this.$toast.success('Rule cleared.');
|
this.$toast.success('Rule cleared.');
|
||||||
|
this.isShowBar = true;
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 設定 Start & End Data 連動資料
|
* 設定 Start & End Data 連動資料
|
||||||
@@ -900,7 +901,6 @@ export default {
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
console.log(data);
|
|
||||||
if(data.min > data.max) return this.$toast.error('Please check time range setting.');
|
if(data.min > data.max) return this.$toast.error('Please check time range setting.');
|
||||||
if(JSON.stringify(data) === JSON.stringify(this.isSubmitData)) return this.$toast.error('Please set the new rule.');
|
if(JSON.stringify(data) === JSON.stringify(this.isSubmitData)) return this.$toast.error('Please set the new rule.');
|
||||||
|
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ export default {
|
|||||||
if(this.$route.params.type === 'log') this.logId = this.$route.params.fileId;
|
if(this.$route.params.type === 'log') this.logId = this.$route.params.fileId;
|
||||||
await this.allMapDataStore.getAllMapData();
|
await this.allMapDataStore.getAllMapData();
|
||||||
await this.getStatData();
|
await this.getStatData();
|
||||||
this.isPanel = true;
|
this.isPanel = false; // 預設不打開
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -31,11 +31,11 @@ export default {
|
|||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
// let logId;
|
// let logId;
|
||||||
|
this.isLoading = true;
|
||||||
if(this.$route.params.type === 'log') this.conformanceLogId = this.$route.params.fileId;
|
if(this.$route.params.type === 'log') this.conformanceLogId = this.$route.params.fileId;
|
||||||
|
|
||||||
await this.conformanceStore.getLogConformanceParams();
|
await this.conformanceStore.getLogConformanceParams();
|
||||||
|
|
||||||
// this.isLoading = true;
|
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
Reference in New Issue
Block a user