feat: Performance conformance page to performance page done.
This commit is contained in:
@@ -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') {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user