@@ -119,7 +119,7 @@ export default {
switchDialog: function(i) {
this.visible = i;
this.query = {
- name: this.$router.currentRoute.name?this.$router.currentRoute.name:this.reportName
+ name: this.reportName?this.reportName:this.$router.currentRoute.name
};
if (i) {
this.getList();