Ver Fonte

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/ssti-CollegeManage

Q-ABAB há 2 anos atrás
pai
commit
82612a0875

+ 86 - 33
src/App.vue

@@ -145,7 +145,7 @@
         width: 100%;
         font-size: 18px;
         font-weight:bold;
-        margin-top: 20px;
+        margin-top: 40px;
         height: 29px;
         margin-bottom: 15px;
         display: flex;
@@ -176,9 +176,9 @@
           display: flex;
           position: absolute;
           right: 0;
-          top: -8px;
+          top: -4px;
           box-sizing: border-box;
-          padding: 9px 0;
+          padding: 7px 0;
           justify-content: center;
           font-size: 16px;
           width: 100px;
@@ -368,9 +368,10 @@
       display: flex;
       justify-content:space-between;
         [type='button']{
-          background: #409eff !important;
+          background: #409eff;
           color: #fff !important;
           display: flex;
+          border: none;
           justify-content: center;
           font-size: 16px;
           width: 120px;
@@ -548,6 +549,9 @@
       }
 
 
+      .disa{   //禁用按钮样式
+            background-color: #c8c9cc !important;border-color: #c8c9cc;cursor: no-drop;
+        }
       .fontSize{   //所有表格字体大小
         margin-top: 15px;
         // margin-bottom: 60px;
@@ -555,8 +559,12 @@
         .operations{   //所有表格按钮栏
           flex-shrink: 0;
           [type='button']{
+            width: 75px !important;
             font-size: 14px;
+            border: none;
             border-radius: 5px;
+            padding: 8px 0;
+            
           }
         }
       }
@@ -599,7 +607,7 @@
       padding: 15px 0px 10px 0px;
     }
 
-    .pageSubmitData{     //页面提交数据,删除成员,对话框样式
+    .pageSubmitData{     //页面提交数据,删除成员,审核对话框样式
         .el-dialog__header{
             display: flex;
             justify-content: center;
@@ -609,7 +617,12 @@
           overflow: hidden;
           top: 10%;
         }
-        
+        .el-dialog__body{
+          display: flex;
+          justify-content: center;
+          flex-wrap: wrap;
+          align-items: center;
+        }
         .deleteContent{
           width: 100%;
           text-align: center;
@@ -638,41 +651,81 @@
             position: relative;
             top: -2px;
         }
-        .addDialogMid{
-          box-sizing: border-box;
-          padding:0 60px 0 10px;
-          .addDialogTit{
+        .diaTit{     //项目名称、负责人
+            width: 100%;
             display: flex;
-            span{
-              width: 80px;
-              line-height: 40px;
-              text-align: left;
+            .spans{
+              width: auto;
+              font-size: 16px;
+              // margin-right: 10px;
+              display: inline-block;
+              text-align: justify;
+              color: #000;
+              font-size: 16px;
+              text-justify:distribute-all-lines;
+              text-align-last: justify;
+              transform: translate(0,22%);
+              margin-bottom: 10px;
             }
-          }
-          .addDialogTit1{
+            .spanCon{
+              font-size: 16px;
+              margin-top: 5px;
+              color: #a0a0a0;
+              width: 150px;
+              overflow: hidden;
+              white-space: nowrap;
+              text-overflow: ellipsis;
+            }
+        }
+  
+          .diaTit1{   //label和input框
             display: flex;
-            justify-content: space-between;
-            margin-bottom: 15px;
-          }
-          .addDialogTit2{
-            margin-top: 10px;
-            font-size: 18px;
-            color: #000;
-            text-indent: 2em;
-          }
-          .addDialogCon{
+            width: 80%;
             margin-top: 20px;
+            .inp{
+              width: 100%;
+            }
+            .spans1{      //label
+              min-width: 84px;
+              font-size: 16px;
+              color: #000;
+              margin-right: 10px;
+              display: inline-block;
+              text-align: justify;
+              text-justify:distribute-all-lines;
+              text-align-last: justify;
+              transform: translate(0,22%);
+            }
           }
-      }
+      //   .addDialogMid{
+      //     box-sizing: border-box;
+      //     padding:0 60px 0 10px;
+      //     .addDialogTit{
+      //       display: flex;
+      //       span{
+      //         width: 80px;
+      //         line-height: 40px;
+      //         text-align: left;
+      //       }
+      //     }
+      //     .addDialogTit1{
+      //       display: flex;
+      //       justify-content: space-between;
+      //       margin-bottom: 15px;
+      //     }
+      //     .addDialogTit2{
+      //       margin-top: 10px;
+      //       font-size: 18px;
+      //       color: #000;
+      //       text-indent: 2em;
+      //     }
+      //     .addDialogCon{
+      //       margin-top: 20px;
+      //     }
+      // }
       .dialog-footer{
         display: flex;
         justify-content: center;
-        // .btn5{
-        //   height: 40px;
-        //   font-size: 16px;
-        //   background: #0e72e6;
-        //   width: 200px;
-        // }
       }
     }
 

+ 0 - 1
src/views/fundManage/makerfund.vue

@@ -120,7 +120,6 @@
         </el-table-column>
         <el-table-column
           prop="name"
-          width="150"
           align="center"
           label="所在部门"
           >

+ 7 - 125
src/views/projectApply/components/projectApplication2.vue

@@ -89,9 +89,8 @@
             </div>
       <div class="baseBtn">
         <div class="blockWidth">
-          <el-button type="primary" v-show="isUpload==0"  @click="audit">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==1" disabled style="background-color: #c8c9cc !important;border-color: #c8c9cc;cursor: no-drop;">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==2" disabled style="background: #ccc !important;border: none;" >立即修改</el-button>
+          <el-button type="primary" v-show="apIsupload==0"  @click="audit">立即修改</el-button>
+          <el-button type="primary" v-show="apIsupload==1" class="disa">立即修改</el-button>
 
         </div>
       </div>
@@ -100,7 +99,7 @@
           title="提示"
           :visible.sync="submitHint"
           width="600px"
-          class="projectApplicationfundAddDialog"
+          class="pageSubmitData"
           :before-close="init">
           <div class="addDialogLogo">LOGO</div>
           <div class="deleteContent">确定修改项目基本信息?</div>
@@ -124,6 +123,7 @@ import { VueEditor } from "vue2-editor";
           return {
             isUpload:'',
             endProject:'',
+            apIsupload:0,
             data:[["","","","",""],[]],
             submitHint:false,
             customToolbar: [
@@ -135,13 +135,6 @@ import { VueEditor } from "vue2-editor";
           }
         },
         methods:{
-          // content(){      //导航栏项目详情跳转
-          //   this.$router.push('/projectApplicationDetails')
-          // },
-         
-          // backBtn(){
-          //   this.$router.push('/projectApplicationApply2')
-          // },
           audit(){   //立即修改按钮
             this.submitHint=true
           },
@@ -164,21 +157,7 @@ import { VueEditor } from "vue2-editor";
           init(){
             this.submitHint=false
           },
-          // getData(){   //初始化完成获取基本数据进行填充
-          //   let param={
-          //     uid:this.$store.state.userInfo.userid,
-          //     pid:JSON.parse(localStorage.getItem('pid'))
-          //   }
-          //     this.ajax
-          //           .get(this.$store.state.api+'/GetProjectDetailMessage',param)
-          //           .then(res=>{
-          //             this.isUpload=res.data[0][0].isupload;
-          //             let GetData=JSON.parse(res.data[0][0].chapters)
-          //             this.data=GetData;
-          //           },err=>{
-          //             console.log(err);
-          //           })
-          // },
+
           getData(){
                 let param={
                     uid:this.$store.state.userInfo.userid,
@@ -188,10 +167,11 @@ import { VueEditor } from "vue2-editor";
                     .get(this.$store.state.api+'/SelectProjectApplyDetailStudent',param)
                     .then(res=>{
                         let data=res.data[0][0]
-                        // console.log(data);
+                        console.log(data);
                         this.isUpload=data.isupload
                         this.endProject=data.endProject
                         this.content=JSON.parse(data.chapters)
+                        this.apIsupload=data.apIsupload
                         // console.log(this.content);
                     },err=>{
                         console.log(err);
@@ -205,103 +185,5 @@ import { VueEditor } from "vue2-editor";
   </script>
   
   <style lang="less">
-  // .projectApplication2{
- .projectApplicationfundAddDialog{    //项目修改对话框开始
- 
-
- .el-dialog{
-   border-radius:5px ;
-   overflow: hidden;
- }
- 
- .deleteContent{
-   width: 100%;
-   text-align: center;
-   font-size: 22px;
-   color: #000;
- }
- .addDialogLogo{
-  width: 60px;
-        height: 30px;
-        display: flex;
-        justify-content: center;
-        line-height: 30px;
-        border-radius: 5px;
-        background: #f2f2f2;
-        position: absolute;
-        left: 20px; top: 15px; 
- }
- .el-dialog__header{
- background: #32455b;
- }
- .el-dialog__title{
-  color:#fff;
-        display: flex;
-        justify-content: center;
-        font-size: 18px;
-        position: relative;
-        top: -2px;
- }
- .addDialogMid{
-   box-sizing: border-box;
-   padding:0 60px 0 10px;
-   .addDialogTit{
-     display: flex;
-     span{
-       width: 80px;
-       line-height: 40px;
-       text-align: left;
-     }
-   }
- .addDialogTit1{
-   display: flex;
-   justify-content: space-between;
-   margin-bottom: 15px;
- }
- .addDialogTit2{
-   margin-top: 10px;
-   font-size: 18px;
-   color: #000;
-   text-indent: 2em;
- }
- .addDialogCon{
-   margin-top: 20px;
- }
-}
-.dialog-footer{
- display: flex;
- justify-content: center;
-//  .btn5{
-//    height: 40px;
-//    font-size: 16px;
-//    background: #0e72e6;
-//    width: 200px;
-//  }
-}
-}
-
-    .PA2textArea{     //标题栏
-        margin: 15px 0;
-        .PA2textAreaTit{
-            width: 80%;
-            text-align: left;
-            font-size: 18px;
-            font-weight: 550;
-            margin-bottom: 15px;
-            color: #2387ff;
-        }
-        .ql-toolbar.ql-snow{
-          display: flex;
-        }
-        .PA2textAreaTit2{
-            font-size: 16px;
-        }
-        .el-textarea__inner{
-            background: #f2f2f2;
-        }
-    }
-    
-
 
-  // }
   </style>

+ 6 - 4
src/views/projectApply/components/projectApplicationApply.vue

@@ -239,8 +239,9 @@
               title="删除成员"
               :visible.sync="delTeacherMember"
               width="600px"
-              class="delMemberDialog">
-              <span class="deleteContent">确定删除老师成员?</span>
+              class="pageSubmitData">
+              <div class="addDialogLogo">LOGO</div>
+              <div class="deleteContent">确定删除老师成员?</div>
               <span slot="footer" class="dialog-footer">
                 <el-button type="primary" @click="commitDelTeacherMember" class="AllDialogBtn">确认删除</el-button>
                 <el-button @click="delTeacherMember=false" class="AllDialogBtn" >取消</el-button>
@@ -348,8 +349,9 @@
               title="删除成员"
               :visible.sync="delStudentMember"
               width="600px"
-              class="delMemberDialog">
-              <span class="deleteContent">确定删除学生成员?</span>
+              class="pageSubmitData">
+              <div class="addDialogLogo">LOGO</div>
+              <div class="deleteContent">确定删除学生成员?</div>
               <span slot="footer" class="dialog-footer">
                 <el-button type="primary" @click="commitDelStudentMember" class="AllDialogBtn">确认删除</el-button>
                 <el-button @click="delStudentMember=false" class="AllDialogBtn" >取消</el-button>

+ 42 - 113
src/views/projectApply/components/projectApplicationDetails.vue

@@ -155,8 +155,6 @@
                   align="center"
                   >
                 </el-table-column>
-
-              
                 
                 <el-table-column
                   align="center"
@@ -216,7 +214,8 @@
               title="删除成员"
               :visible.sync="delTeacherMember"
               width="600px"
-              class="delMemberDialog">
+              class="pageSubmitData">
+              <div class="addDialogLogo">LOGO</div>
               <span class="deleteContent">确定删除老师成员?</span>
               <span slot="footer" class="dialog-footer">
                 <el-button type="primary" @click="commitDelTeacherMember" class="AllDialogBtn">确认删除</el-button>
@@ -337,8 +336,9 @@
               title="删除成员"
               :visible.sync="delStudentMember"
               width="600px"
-              class="delMemberDialog">
-              <span class="deleteContent">确定删除学生成员?</span>
+              class="pageSubmitData">
+              <div class="addDialogLogo">LOGO</div>
+              <div class="deleteContent">确定删除学生成员?</div>
               <span slot="footer" class="dialog-footer">
                 <el-button type="primary" @click="commitDelStudentMember" class="AllDialogBtn">确认删除</el-button>
                 <el-button @click="delStudentMember=false" class="AllDialogBtn" >取消</el-button>
@@ -352,10 +352,8 @@
             
     <div class="baseBtn">
       <div class="blockWidth">
-        <el-button type="primary" class="backBtn" v-show="isupload==0" @click="audit">立即修改</el-button>
-        <el-button type="primary" class="backBtn" v-show="isupload==1" disabled style="background-color: #c8c9cc !important;border-color: #c8c9cc;cursor: no-drop;">立即修改</el-button>
-        <el-button type="primary" class="backBtn" v-show="isupload==2" disabled style="background-color: #c8c9cc !important;border-color: #c8c9cc;cursor: no-drop;">立即修改</el-button>
-
+        <el-button type="primary" v-show="apIsupload==0" @click="audit">立即修改</el-button>
+        <el-button type="primary" class="disa" v-show="apIsupload==1">立即修改</el-button>
       </div>
     </div>
 
@@ -394,6 +392,7 @@
         return {
           accept:"image/*",
           isAddMember:1,  //判断是添加学生还是修改学生
+          apIsupload:0,   //判断是否能修改 0可以 1不可以
           progress:{   //进度条
                 value:0,
                 show:false
@@ -661,9 +660,8 @@
                 this.ajax
                     .get(this.$store.state.api+'/SelectProjectApplyDetailStudent',param)
                     .then(res=>{
-                      // console.log(data.);
                         let data=res.data[0][0]
-                        // console.log(data);
+                        console.log(data);
                         // console.log(data.multiSelectProject);
                         this.content.select.projectName=data.title
                         this.content.select.leader=data.leader
@@ -682,7 +680,9 @@
                         this.pageType=[data.typeid,data.typeName]
                         this.isupload=data.isupload
                         this.endProject=data.endProject
+                        this.apIsupload=data.apIsupload
                         // console.log(this.content);
+                        // console.log(this.apIsupload);
                     },err=>{
                         console.log(err);
                     })
@@ -825,111 +825,40 @@
   }
 
 
-  .delMemberDialog{      //删除对话框
-      .el-dialog{
-        border-radius: 5px;
-        overflow: hidden;
-      }
-      .deleteContent{
-        margin: 30px 0;
-        font-size: 22px;
-        color: #000;
-      }
-      .el-dialog__header{
-        background: #32455b;
-        display: flex;
-        justify-content: center;
-      }
-      .el-dialog__title{
-        color:#fff;
-        display: flex;
-        justify-content: center;
-        font-size: 18px;
-        position: relative;
-        top: -2px;
-      }
-      .el-dialog__body{
-        display: flex;
-        justify-content: center;
-      }
-      .dialog-footer{
-        display: flex;
-        justify-content: center;
-        box-sizing: border-box;
-
-      }
-    }
-
-
-  //项目修改对话框开始
-  // .projectApplicationfundAddDialog{  
- 
-  //       .el-dialog__header{
-  //           background: #32455b;
-
-  //       }
-  //       .el-dialog{
-  //         border-radius:5px ;
-  //         overflow: hidden;
-  //       }
-        
-  //       .deleteContent{
-  //         width: 100%;
-  //         text-align: center;
-  //         font-size: 22px;
-  //         color: #000;
-  //       }
-  //       .addDialogLogo{
-  //               width: 60px;
-  //               height: 30px;
-  //               border-radius: 5px;
-  //               display: flex;
-  //               justify-content: center;
-  //               line-height: 30px;
-  //               background: #f2f2f2;
-  //               position: absolute;
-  //               left: 20px; top: 15px; 
-  //       }
-
-  //       .el-dialog__title{
-  //               color:#fff;
-  //               display: flex;
-  //               justify-content: center;
-  //               font-size: 18px;
-  //               position: relative;
-  //               top: -2px;
-  //       }
-  //       .addDialogMid{
-  //         box-sizing: border-box;
-  //         padding:0 60px 0 10px;
-  //         .addDialogTit{
-  //           display: flex;
-  //           span{
-  //             width: 80px;
-  //             line-height: 40px;
-  //             text-align: left;
-  //           }
-  //         }
-  //       .addDialogTit1{
-  //         display: flex;
-  //         justify-content: space-between;
-  //         margin-bottom: 15px;
-  //       }
-  //       .addDialogTit2{
-  //         margin-top: 10px;
-  //         font-size: 18px;
-  //         color: #000;
-  //         text-indent: 2em;
-  //       }
-  //       .addDialogCon{
-  //         margin-top: 20px;
-  //       }
-  //       }
-  //       .dialog-footer{
+  // .delMemberDialog{      //删除对话框
+  //     .el-dialog{
+  //       border-radius: 5px;
+  //       overflow: hidden;
+  //     }
+  //     .deleteContent{
+  //       margin: 30px 0;
+  //       font-size: 22px;
+  //       color: #000;
+  //     }
+  //     .el-dialog__header{
+  //       background: #32455b;
   //       display: flex;
   //       justify-content: center;
+  //     }
+  //     .el-dialog__title{
+  //       color:#fff;
+  //       display: flex;
+  //       justify-content: center;
+  //       font-size: 18px;
+  //       position: relative;
+  //       top: -2px;
+  //     }
+  //     .el-dialog__body{
+  //       display: flex;
+  //       justify-content: center;
+  //     }
+  //     .dialog-footer{
+  //       display: flex;
+  //       justify-content: center;
+  //       box-sizing: border-box;
 
-  //       }
+  //     }
   //   }
+
 }
 </style>

+ 162 - 117
src/views/projectApply/projectApplication.vue

@@ -166,26 +166,27 @@
         </el-table-column>
         <el-table-column
           prop="operation"
-          width="350"
+          width="550"
           align="center"
           label="操作"
           >
           <template #default="scope">
               <div class="operations">
-                  <!-- <el-button type="primary" > -->
-                    <!-- <el-link class="btt" type="primary" :underline="false"> -->
                         <el-button type="primary"  size="mini" @click="lookDetail(scope.row.courseId,scope.row.typeid)">查看详情</el-button>
-                        <!-- <el-button type="primary"  size="mini" @click="audit(scope.row)">{{(scope.row.data==1?"审核": scope.row.data==1?"正在审核":"审核")}}</el-button> -->
-                        <el-button v-show="scope.row.isupload==0" type="primary" style="width: 73.3px;" size="mini" @click="audit(scope.row)">审核</el-button>
-                        <el-button type="info" style="background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;" v-if="scope.row.isupload==1"  size="mini">审核中</el-button>
-                        <el-button type="info" style="background-color: #c8c9cc;border-color: #c8c9cc;cursor: no-drop;" v-if="scope.row.isupload==2"  size="mini">已审核</el-button>
+
+                        <el-button type="primary" v-show="scope.row.apIsupload==0" @click="audit(scope.row,0)"  size="mini" >审核0</el-button>
+                        <el-button type="primary" v-show="scope.row.apIsupload==1 && scope.row.isupload==0" class="disa" size="mini" >待审核0</el-button>
+                        <el-button type="primary" v-show="scope.row.apIsupload==1 && scope.row.isupload==1"  class="disa"  size="mini">审核中0</el-button>
+                        <el-button type="primary" v-show="scope.row.apIsupload==1 && scope.row.isupload==2" class="disa" size="mini">已审核0</el-button>
+                        
+                        <el-button  v-show="scope.row.isupload==0" type="primary" style="width: 73.3px;" size="mini" @click="audit(scope.row,1)">审核1</el-button>
+                        <!-- <el-button  v-show="scope.row.isupload==0 && scope.row.apIsupload==1" type="primary"  class="disa" size="mini" @click="audit(scope.row)">审核1</el-button> -->
+                        <el-button  v-show="scope.row.isupload==1" type="primary" style="width: 73.3px;" class="disa" size="mini">审核中1</el-button>
+                        <el-button  v-show="scope.row.isupload==2" type="primary" style="width: 73.3px;" class="disa" size="mini">已审核1</el-button>
 
                         <el-button type="primary"  size="mini" @click="appTable(scope.row.typeid,scope.row.courseId)" >申请表</el-button>
-                        <!-- <el-button type="primary"  size="mini"><a href="/file/附件 5 :学校创客专项资金使用申请表.xlsx" download="创客活动.doc">申请表</a> </el-button> -->
 
                         <el-button type="primary"  size="mini" @click="del(scope.row)">删除</el-button>
-                      <!-- </el-link> -->
-                  <!-- </el-button> -->
               </div>
           </template>
         </el-table-column>
@@ -205,7 +206,7 @@
         <!-- 分页结束 -->
 
 <!-- 立项撤回对话框开始 -->
-      <el-dialog
+      <!-- <el-dialog
         title="立项撤回提交"
         :visible.sync="dialogVisible1"
         width="700px"
@@ -255,14 +256,15 @@
             <el-button type="primary" @click="commit2" class="AllDialogBtn" >确认提交</el-button>
             <el-button @click="init" class="AllDialogBtn">取消</el-button>
           </div>
-      </el-dialog>
+      </el-dialog> -->
 <!-- 立项撤回对话框开始 -->
 
 <!-- 立项审核对话框开始 -->
       <el-dialog
           title="立项审核"
           :visible.sync="dialogVisible"
-          class="dialogWidth"
+          class="pageSubmitData"
+          width="600px"
           :before-close="init">
         
           <div class="diaTit">
@@ -275,26 +277,40 @@
 
             <div class="diaTit1">
               <div class="spans1">所在部门</div>
-              <div>
+              <div class="inp">
                 <el-input disabled v-model="auditDialog.department" placeholder="所在部门"></el-input>
               </div>
             </div>
 
             <div class="diaTit1">
               <div class="spans1">预算总经费</div>
-              <div>
+              <div class="inp">
                 <el-input disabled v-model="auditDialog.fund" placeholder="预算总经费"></el-input>
               </div>
             </div>
 
             <div class="diaTit1">
               <div class="spans1">联系电话</div>
-              <div>
+              <div class="inp">
                 <el-input disabled v-model="auditDialog.tel" placeholder="联系电话"></el-input>
               </div>
             </div>
+            <div class="diaTit1" v-show="isManager==1">
+              <div class="spans1" style="position: relative;top:-24px">驳回意见</div>
+              <div class="inp">
+                <el-input
+                  type="textarea"
+                  :rows="5"
+                  resize="none"
+                  placeholder="请输入修改建议等..."
+                  v-model="rejectApplyText">
+                </el-input>
+              </div>
+            </div>
             <div slot="footer" class="dialog-footer">
-              <el-button type="primary" @click="commit" class="AllDialogBtn" >确认提交</el-button>
+              <el-button type="primary" v-show="isManager==0" @click="ApplyPersonCommit" class="AllDialogBtn" >审核</el-button>
+              <el-button type="primary" v-show="isManager==1" @click="ManagerCommit" class="AllDialogBtn" >通过</el-button>
+              <el-button type="primary" v-show="isManager==1" @click="rejectApply" class="AllDialogBtn" >驳回</el-button>
               <el-button @click="init" class="AllDialogBtn">取消</el-button>
             </div>
       </el-dialog>
@@ -347,6 +363,9 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
           WordPreview:false,//文档预览
           PreviewTid:"",//预览分类ID
           PreviewData:"",//预览数据
+          rejectApplyText:'',  //驳回-修改建议
+
+          isManager:0,  //0申请人审核科-----  1管理员审核框
           // 分页数据
           table:{
             total:0,
@@ -391,7 +410,8 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
                 person:'',
                 department:'',
                 fund:'',
-                tel:''
+                tel:'',
+                // cid:''
           }
         }
       },
@@ -406,18 +426,8 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
           this.dialogVisible1=false;
           this.dialogVisible2=false;
         },
-        audit(val){      //审核按钮
-          // if(this.status==-1){
-          //   this.dialogVisible=true;
-          //   return
-          // }else if(this.status){
-          //   this.dialogVisible1=true;
-          //   return
-          // }else{
-          //   this.dialogVisible=true;
-          // }
-          // console.log(val);
-          // this.dialogVisible2=true
+        audit(val,num){      //审核按钮
+          this.isManager=num;
           this.iid=val   //将要删除的id进行存储供删除对话框使用
           if (val.isupload==0) {
             this.dialogVisible=true;
@@ -427,6 +437,7 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
             this.auditDialog.department=val.name;
             this.auditDialog.fund=val.fund;
             this.auditDialog.tel=val.phone || '-';
+            // this.auditDialog.cid=courseId
           }
             
             
@@ -461,7 +472,7 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
 
 
         },
-        commit(){    //立项审核对话框里面的确定提交按钮
+        ManagerCommit(){    //立项审核对话框里面的管理员通过按钮
           // console.log(this.iid);
             let param={
               uid:this.$store.state.userInfo.userid,
@@ -478,6 +489,35 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
                   console.log(err);
                 })
         },
+        ApplyPersonCommit(){  //立项审核对话框里面的申请人审核按钮
+          let param={
+              uid:this.$store.state.userInfo.userid,
+              pid:this.iid.courseId,
+              num:1
+            }
+          this.ajax
+              .post(this.$store.state.api+"/updateRejectProjectApply",param)
+              .then(res=>{
+                this.dialogVisible=false
+                this.$message.success('已提交')
+                this.getData()
+              })
+        },
+        rejectApply(){   //立项审核对话框里面的驳回申请
+          let param={
+              uid:this.$store.state.userInfo.userid,
+              pid:this.iid.courseId,
+              num:0
+            }
+          this.ajax
+              .post(this.$store.state.api+"/updateRejectProjectApply",param)
+              .then(res=>{
+                this.dialogVisible=false
+                this.$message.success('已驳回项目申请')
+                this.getData()
+              })
+              
+        },
 
         commit2(val){   //立项撤回对话框里面的确定撤回按钮
           this.dialogVisible1=false;
@@ -518,6 +558,7 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
             .get(this.$store.state.api+'/SelectAllProject',param)
               .then(res=>{
                 let data=res.data;
+                console.log(data);
                 if (data[0].length==0 && data[5][0]['total'] != 0) {
                   this.table.currentPage=1
                   return this.getData()
@@ -677,98 +718,102 @@ import MakerSpaceWordPreview from '@/components/MakerSpaceWordPreview.vue';
   }
 }
 
-  .dialogWidth{    //立项审核对话框
-      .el-input__inner{
-        width: 300px;
-      }
-      .el-textarea__inner{
-        width: 430px;
-      }
-      .el-dialog{
-          width: 600px;
-          border-radius: 5px;
-          overflow: hidden;
-        }
-        .el-dialog__body{
-          padding:30px 0px 30px 70px ;
-        }
+  // .dialogWidth{    //立项审核对话框
+  //     .el-input__inner{
+  //       width: 300px;
+  //     }
+  //     .el-textarea__inner{
+  //       width: 430px;
+  //     }
+  //     .el-dialog{
+  //         width: 600px;
+  //         border-radius: 5px;
+  //         overflow: hidden;
+  //       }
+  //       .el-dialog__body{
+  //         // padding:30px 0px 30px 70px ;
+  //         display: flex;
+  //         align-items: center;
+  //         justify-content: center;
+  //         flex-wrap: wrap;
+  //       }
         
-        .el-dialog__header{
-          background: #32455b;
-        }
-        .el-dialog__title{
-          color: #fff;
-          position: relative;
-          top: -2px;
-          display: flex;
-          justify-content: center;
-          font-size: 18px;
-        }
-        .addDialogLogo{
-          width: 60px;
-        height: 30px;
-        display: flex;
-        justify-content: center;
-        line-height: 30px;
-        border-radius: 5px;
-        background: #f2f2f2;
-        position: absolute;
-        left: 20px; top: 15px; 
-        }
-        .diaTit{     //项目名称、负责人
-            width: 100%;
-            display: flex;
-            .spans{
-              width: auto;
-              font-size: 16px;
-              // margin-right: 10px;
-              display: inline-block;
-              text-align: justify;
-              color: #000;
-              font-size: 16px;
-              text-justify:distribute-all-lines;
-              text-align-last: justify;
-              transform: translate(0,22%);
-              margin-bottom: 10px;
-            }
+  //       .el-dialog__header{
+  //         background: #32455b;
+  //       }
+  //       .el-dialog__title{
+  //         color: #fff;
+  //         position: relative;
+  //         top: -2px;
+  //         display: flex;
+  //         justify-content: center;
+  //         font-size: 18px;
+  //       }
+  //       .addDialogLogo{
+  //         width: 60px;
+  //         height: 30px;
+  //         display: flex;
+  //         justify-content: center;
+  //         line-height: 30px;
+  //         border-radius: 5px;
+  //         background: #f2f2f2;
+  //         position: absolute;
+  //         left: 20px; top: 15px; 
+  //       }
+  //       .diaTit{     //项目名称、负责人
+  //           width: 100%;
+  //           display: flex;
+  //           .spans{
+  //             width: auto;
+  //             font-size: 16px;
+  //             // margin-right: 10px;
+  //             display: inline-block;
+  //             text-align: justify;
+  //             color: #000;
+  //             font-size: 16px;
+  //             text-justify:distribute-all-lines;
+  //             text-align-last: justify;
+  //             transform: translate(0,22%);
+  //             margin-bottom: 10px;
+  //           }
             
-        }
-        .spanCon{
-              font-size: 16px;
-              margin-top: 5px;
-              color: #a0a0a0;
-              width: 150px;
-              overflow: hidden;
-              white-space: nowrap;
-              text-overflow: ellipsis;
-            }
-        .spans1{      //label
-              min-width: 84px;
-              font-size: 16px;
-              color: #000;
-              margin-right: 10px;
-              display: inline-block;
-              text-align: justify;
-              text-justify:distribute-all-lines;
-              text-align-last: justify;
-              transform: translate(0,22%);
-            }
+  //       }
+  //       .spanCon{
+  //             font-size: 16px;
+  //             margin-top: 5px;
+  //             color: #a0a0a0;
+  //             width: 150px;
+  //             overflow: hidden;
+  //             white-space: nowrap;
+  //             text-overflow: ellipsis;
+  //           }
+  //       .spans1{      //label
+  //             min-width: 84px;
+  //             font-size: 16px;
+  //             color: #000;
+  //             margin-right: 10px;
+  //             display: inline-block;
+  //             text-align: justify;
+  //             text-justify:distribute-all-lines;
+  //             text-align-last: justify;
+  //             transform: translate(0,22%);
+  //           }
           
-          .diaTit1{   //label和input框
-            display: flex;
-            width: 80%;
-            margin-top: 20px;
+  //         .diaTit1{   //label和input框
+  //           display: flex;
+  //           width: 80%;
+  //           margin-top: 20px;
             
-          }
+  //         }
           
-        .dialog-footer{
-            width: 100%;
-            display: flex;
-            justify-content: center;
-            margin-bottom: 10px;
+  //       .dialog-footer{
+  //           width: 100%;
+  //           display: flex;
+  //           justify-content: center;
+  //           margin-bottom: 10px;
            
-        }
-  }
+  //       }
+  // }
   
 }
 

+ 4 - 1
src/views/projectManage/ProjectManagementFund1.vue

@@ -10,7 +10,10 @@
 
           <!-- 跳转导航开始 -->
           <div class="AppBar">
-              <div @click="content" class="AppBarActive">项目资金使用详情</div>
+              <div @click="content" class="AppBarActive">
+                项目资金使用详情
+                <div class='pr1TitBass'></div>
+              </div>
               <div @click="remark">资金申报明细</div>
           </div>
 

+ 4 - 1
src/views/projectManage/ProjectManagementFund2.vue

@@ -9,7 +9,10 @@
          <!-- 跳转导航开始 -->
          <div class="AppBar">
               <div @click="content">项目资金使用详情</div>
-              <div @click="remark" class="AppBarActive">资金申报明细</div>
+              <div @click="remark" class="AppBarActive">
+                资金申报明细
+                <div class='pr1TitBass'></div>
+              </div>
           </div>
           <!-- 跳转导航结束 -->
               

+ 5 - 4
src/views/projectManage/components/ProjectManagement1.vue

@@ -352,9 +352,8 @@
             
     <div class="baseBtn">
       <div class="blockWidth">
-        <el-button type="primary" v-show="isUpload==0"  @click="audit">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==1" disabled style="background: #ccc !important;border: none;">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==2" disabled style="background: #ccc !important;border: none;" >立即修改</el-button>
+        <el-button type="primary" v-show="apIsupload==0"  @click="audit">立即修改</el-button>
+          <el-button type="primary" v-show="apIsupload==1" class="disa">立即修改</el-button>
       </div>
     </div>
 
@@ -389,6 +388,7 @@
         return {
           accept:"image/*",
           isAddMember:1,  //判断是添加学生还是修改学生
+          apIsupload:0,  //判断是否可以修改
           progress:{   //进度条
                 value:0,
                 show:false
@@ -686,6 +686,7 @@
                         this.isUpload=data.isupload
                         this.endProject=data.endProject
                         this.loading = false;
+                        this.apIsupload=data.apIsupload
                         // console.log(this.content);
                     },err=>{
                         console.log(err);
@@ -699,7 +700,7 @@
                 this.ajax
                       .get(this.$store.state.api+'/SelectAllType',param)
                       .then(res=>{
-                        console.log(res.data[0]);
+                        // console.log(res.data[0]);
                         let data=res.data[0]
                         this.sortOptions[0]['value']=data[0]['id']
                         this.sortOptions[0]['label']=data[0]['name']

+ 4 - 3
src/views/projectManage/components/ProjectManagement2.vue

@@ -89,9 +89,8 @@
             </div>
       <div class="baseBtn">
         <div class="blockWidth">
-          <el-button type="primary" v-show="isUpload==0"  @click="audit">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==1" disabled style="background: #ccc !important;border: none;">立即修改</el-button>
-          <el-button type="primary" v-show="isUpload==2" disabled style="background: #ccc !important;border: none;" >立即修改</el-button>
+          <el-button type="primary" v-show="apIsupload==0"  @click="audit">立即修改</el-button>
+          <el-button type="primary" v-show="apIsupload==1" class="disa">立即修改</el-button>
 
         </div>
       </div>
@@ -123,6 +122,7 @@ import { VueEditor } from "vue2-editor";
         data() {
           return {
             isUpload:'',
+            apIsupload:0,
             data:[["","","","",""],[]],
             submitHint:false,
             customToolbar: [
@@ -190,6 +190,7 @@ import { VueEditor } from "vue2-editor";
                         this.isUpload=data.isupload
                         // console.log(data.chapters);
                         this.content=JSON.parse(data.chapters)
+                        this.apIsupload=data.apIsupload
                         // console.log(this.content);
                     },err=>{
                         console.log(err);