feat: Performance conformance page to performance page done.

This commit is contained in:
chiayin
2024-02-07 11:37:53 +08:00
parent 2258f0e7b0
commit 8ce668f471
2 changed files with 6 additions and 1 deletions

View File

@@ -147,7 +147,11 @@ export default {
else this.$router.push({name: 'Conformance', params: { type: type, fileId: fileId }}); else this.$router.push({name: 'Conformance', params: { type: type, fileId: fileId }});
break break
case 'PERFORMANCE': case 'PERFORMANCE':
this.$router.push({name: 'Performance'}); if(type === 'rule') {
type = this.$route.params.checkType;
fileId = this.$route.params.checkFileId;
}
this.$router.push({name: 'Performance', params: { type: type, fileId: fileId }});
break; break;
} }
// if(event.target.innerText === 'MAP') { // if(event.target.innerText === 'MAP') {

View File

@@ -542,6 +542,7 @@ export default {
async created() { async created() {
this.isLoading = true; // moubeted 才停止 loading this.isLoading = true; // moubeted 才停止 loading
const routeParams = this.$route.params; const routeParams = this.$route.params;
console.log(routeParams);
let id = routeParams.fileId; let id = routeParams.fileId;
let type = routeParams.type; let type = routeParams.type;