yuanyiming 1 rok pred
rodič
commit
e8166fab0f

+ 2 - 1
src/views/projectManage/ProjectManagementMain.vue

@@ -21,7 +21,7 @@
         <!-- 活动开展 -->
         <ProjectManagementActivity :changeShow="goto" v-if="show==1"/>
         <!-- 活动开展详细 -->
-        <ProjectManagementActivityDetail :AidShow="AidShow" v-if="show==5 && $route.query['aid']"/>
+        <ProjectManagementActivityDetail :AidShow="AidShow" v-if="show==5 && $route.query['pid']"/>
         <!-- 项目结题文件 -->
         <ProjectManagementEndProjectFile v-if="show==2"/>
     </div>
@@ -63,6 +63,7 @@
             },
         },
         mounted(){
+            console.log(this.$route.query['Id']);
         }
     }
 </script>

+ 1 - 0
src/views/projectManage/components/ProjectManagementActivity.vue

@@ -165,6 +165,7 @@
           this.getData()
         },
           detail(Id){
+            // console.log(Id);
             // this.$router.push(`/ProjectManagementMain?Id=${this.$route.query['Id']}&pid=${this.$route.query['pid']}&aid=${Id}`);
             this.changeShow(5,Id)
           },    

+ 1 - 0
src/views/projectManage/components/ProjectManagementActivityDetail.vue

@@ -97,6 +97,7 @@
         },
         mounted(){
           this.getData();
+          console.log(555);
         }
       }
   </script>

+ 18 - 15
src/views/projectManage/components/ProjectManagementEndProjectFile.vue

@@ -223,6 +223,8 @@
               this.ajax
                     .get(this.$store.state.api+'/SelectProjectManageFile',param)
                     .then(res=>{
+                      console.log(res);
+                      
                       this.state=res.data[0][0].isupload;
                       let file = JSON.parse(res.data[0][0]['endFile']);
                       this.tableData=file
@@ -231,21 +233,21 @@
                       console.log(err);
                     })
           },
-          content(){
-            this.$router.push('/ProjectManagement1')
-          },
-          remark(){
-            this.$router.push('/ProjectManagement2')
-          },
-          remark2(){
-            this.$router.push('/ProjectManagement3')
-          },
-          remark4(){
-            this.$router.push('/ProjectManagement4')
-          },
-          remark5(){
-            this.$router.push('/ProjectManagement5')
-          },
+          // content(){
+          //   this.$router.push('/ProjectManagement1')
+          // },
+          // remark(){
+          //   this.$router.push('/ProjectManagement2')
+          // },
+          // remark2(){
+          //   this.$router.push('/ProjectManagement3')
+          // },
+          // remark4(){
+          //   this.$router.push('/ProjectManagement4')
+          // },
+          // remark5(){
+          //   this.$router.push('/ProjectManagement5')
+          // },
           
           // backBtn2(){
           //   this.$router.push('/ProjectManagement1')
@@ -259,6 +261,7 @@
         },
         mounted(){
           this.getData()
+          console.log(111);
         }
       }
   </script>