yuanyiming před 2 roky
rodič
revize
5f749f76ff
1 změnil soubory, kde provedl 8 přidání a 4 odebrání
  1. 8 4
      src/views/projectManage/ProjectManagement.vue

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

@@ -289,18 +289,22 @@ import beUpload from '../../components/tool/beUpload'
           // console.log(this.file);
           this.progress.show = false;
         },
-        amendFinish(val,tit){
+        amendFinish(val,tit){         //修改结项
+          this.checkFundEndData=[];
+
           this.ajax.post(this.$store.state.api+"/UpdateAmendFinish",{
             uid:this.$store.state.userInfo.userid,
             pid:val
           }).then(res=>{
-            console.log(res);
+            console.log(res.data[1]);
+            this.checkFundEndData=res.data[1]
+
             let data=JSON.parse(res.data[0][0].endFile)
             this.file=data;
             this.tit=tit;
             this.iid=val;
             this.endDialog=true;
-            console.log(this.file);
+            // console.log(this.file);
           }).catch(err=>{
             console.log(err)
           })
@@ -392,7 +396,7 @@ import beUpload from '../../components/tool/beUpload'
           this.ajax    
             .get(this.$store.state.api+'/SelectAllProject',param)
               .then(res=>{
-                console.log(res.data);
+                // console.log(res.data);
                 let data=res.data;
                 let a=this.options;
                 this.items=data[0];