From bd7605a8f9fb20e6ab491a4af2c37071d8d98bc6 Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Sun, 14 Apr 2024 17:47:21 +0800 Subject: [PATCH] =?UTF-8?q?flat:=20=E5=B2=97=E4=BD=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/project/project.vue | 16 +- pages/projectInfo/projectInfo.vue | 1177 ++++++++++++++-------------- pages/projectInfo/workInfo.vue | 1195 +++++++++++++++-------------- 3 files changed, 1240 insertions(+), 1148 deletions(-) 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