diff --git a/pages/project/project.vue b/pages/project/project.vue index 17f624a..b59dde5 100644 --- a/pages/project/project.vue +++ b/pages/project/project.vue @@ -183,20 +183,7 @@ // this.getPolicy() }, onShow: function() { - switch (this.activeTab) { - case 0: - this.getNewList(); - break; - case 1: - this.getNearList(); - break; - case 2: - this.getPolicy(); - break; - default: - this.getNewList(); - break; - } + this.download(); if (this.$store.state.user.token) { this.$store.dispatch('refreshAuthState').then((e) => { @@ -295,6 +282,7 @@ changeTab: function(e) { this.isSearch = false; this.activeTab = e; + this.download(); }, goPolicyInfo(data) { diff --git a/pages/projectInfo/projectInfo.vue b/pages/projectInfo/projectInfo.vue index a4dadd0..3978e26 100644 --- a/pages/projectInfo/projectInfo.vue +++ b/pages/projectInfo/projectInfo.vue @@ -1,563 +1,614 @@ - - - - - + + + + + \ No newline at end of file diff --git a/pages/projectInfo/workInfo.vue b/pages/projectInfo/workInfo.vue index 57d408a..0fafd51 100644 --- a/pages/projectInfo/workInfo.vue +++ b/pages/projectInfo/workInfo.vue @@ -1,571 +1,624 @@ - - - - - + + + + + \ No newline at end of file