Ver código fonte

项目进展获取活动信息

Q-ABAB 2 anos atrás
pai
commit
0dd730725b

+ 1 - 0
src/components/tool/beUpload.vue

@@ -81,6 +81,7 @@ export default {
             if (err) {
               _this.$message.error("上传失败");
             } else {
+              console.log(file)
                 _this.$emit('getFile',{fileName:file.name,url:data.Location})
               console.log(data.Location);
             }

+ 4 - 4
src/views/projectManage/ProjectManagement.vue

@@ -175,12 +175,12 @@
       },
       methods:{
         scheduleDetail(val){      //进度详情
-          // console.log(val);
-          // localStorage.setItem('pid',JSON.stringify(val))
-          this.$router.push(`/ProjectManagement1?Id=${val}`)
+          console.log(val);
+          localStorage.setItem('pid',JSON.stringify(val))
+          this.$router.push(`/ProjectManagement1`)
         },
         fundStatus(Id){     //资金情况
-          this.$router.push(`/ProjectManagementFund1?Id=${Id}`)
+          this.$router.push(`/ProjectManagementFund1`)
         },
         init(){       //对话框重置
           

+ 1 - 0
src/views/projectManage/ProjectManagement3.vue

@@ -122,6 +122,7 @@
         },
         methods:{
           getData(){
+            console.log(localStorage.getItem('pid'))
             let param={
               uid:this.$store.state.userInfo.userid,
               pid:JSON.parse(localStorage.getItem('pid')),