Browse Source

学生创客项目修改功能

yuanyiming 2 years ago
parent
commit
c2b4086fdc

+ 7 - 7
src/router/index.js

@@ -17,13 +17,13 @@ const routes = [{
             import ('@/views/login.vue'),
         meta: { isAuth: false }
     },
-    { //项目立项申请
-        name: "projectApplicationApplyMain",
-        path: "/projectApplicationApplyMain",
-        component: () =>
-            import ('@/views/projectApply/projectApplicationApplyMain.vue'),
-        meta: { isAuth: true }
-    },
+    // { //项目立项申请
+    //     name: "projectApplicationApplyMain",
+    //     path: "/projectApplicationApplyMain",
+    //     component: () =>
+    //         import ('@/views/projectApply/projectApplicationApplyMain.vue'),
+    //     meta: { isAuth: true }
+    // },
     { //活动管理
         name: "makerActvityApplyMain",
         path: "/makerActvityApplyMain",

+ 1 - 1
src/views/home.vue

@@ -87,7 +87,7 @@
                 {label:"创客活动",icon:"iconfont icon-shuben",goto:"/newMarkerActivity"},
                 {label:"个人创客",icon:"iconfont icon-shuben",goto:"/newNomMarker"},
               ]}]},
-            {id:2,label:"事后汇总",goto:"/newMarkerfundApply",icon:"iconfont icon-zijinguanli",group:[
+            {id:2,label:"事后汇总",goto:"/makerfund",icon:"iconfont icon-zijinguanli",group:[
               {label:"创客活动资金申请",goto:"/newMarkerfundApply"},
               {label:"个人创客资金申请",goto:"/newNomMarkerFundApply"}
             ]},

+ 0 - 820
src/views/projectApply/components/projectApplicationApply.vue

@@ -1,820 +0,0 @@
-<template>
-  <!-- 项目立项申请立项检查消息表达 -->
-    <div class="projectApplicationApply">
-  <!-- 左边导航区开始 -->
-        <div class="left">
-          <div class="sx">
-            <div class="qiu"></div>
-          </div>
-          <div class="leftTits">
-            <div  @click="toPage(1)">基本信息填写</div>
-            <div @click="toPage(2)">封面上传</div>
-            <div @click="toPage(3)">教师项目成员</div>
-            <div @click="toPage(4)">学生项目成员</div>
-            <div @click="toPage(5)">简介</div>
-            <div @click="toPage(6)">下一步</div>
-          </div>
-        </div>
-  <!-- 左边导航区结束 -->
-        
-
-  <!-- 右边填写信息区域开始 -->
-        <div id="one" class="right">
-            <div  class="vfpHeader">
-              <div class="titleOne">项目立项申请</div>
-              <div class="smallTitle">申请开放时间为2023年4月4日9:00 &nbsp;  截止时间为2023年12月31日18:00</div>
-              <el-button @click="backBtn1" type="primary" size="mini">返回</el-button>
-            </div>
-            <hr>
-
-                <!-- 活动申请填写信息区域开始 -->
-                <div id="1" class="select">
-                    <div class="selectTop">
-                      <div class="label">项目名称</div>
-                      <el-input v-model="data.select.projectName" placeholder="请输入内容"></el-input>
-                    </div>
-                    <div class="selectMid">
-                      <div class="selectLeft">
-                          <div class="inpBlock">
-                              <div class="label" style="width: 50px;font-size: 14px;">项目申请人姓名</div>
-                              <el-input v-model="data.select.leader" placeholder="请输入内容"></el-input>
-                          </div>
-                          <div class="inpBlock">
-                              <div class="label">所在部门</div>
-                              <el-select v-model="data.select.department" style="width: 100%;" placeholder="请选择">
-                                <el-option
-                                  v-for="item in data.departmentOptions"
-                                  :key="item.id"
-                                  :label="item.name"
-                                  :value="item.id">
-                                </el-option>
-                              </el-select>
-                          </div>
-                          <div class="inpBlock">
-                              <div class="label" style="width: 50px;font-size: 14px;position: relative;top: -8px;">优先支持项目(可多选)</div>
-                              <el-select style="width: 100%;" v-model="data.select.MultiSelectProjectNameS" multiple placeholder="请选择">
-                                <el-option
-                                  v-for="item in MultiSelectProject"
-                                  :key="item.value"
-                                  :label="item.label"
-                                  :value="item.value">
-                                </el-option>
-                              </el-select>
-                          </div>
-                          <div class="inpBlock">
-                              <div class="label">联系电话</div>
-                              <el-input type="number" v-model="data.select.tel"  @blur="getText(data.select.tel)" placeholder="请输入联系方式"></el-input>
-                          </div>
-                          <div class="inpBlock">
-                              <div class="label">选择分类</div>
-                              <el-cascader v-model="pageType" style="width: 100%;" disabled :options="data.sortOptions" clearable></el-cascader>
-                          </div>
-                      </div>
-
-                      <div class="selectRight">
-                        <div class="inpBlock">
-                              <div class="label">项目开始时间</div>
-                              <el-date-picker
-                                v-model="data.select.projectDate"
-                                type="daterange"
-                                value-format="yyyy-MM-dd HH:mm:ss"
-                                range-separator="至"
-                                start-placeholder="开始日期"
-                                end-placeholder="结束日期">
-                              </el-date-picker>
-                          </div>
-                          <div class="inpBlock" style="position: relative;">
-                              <div class="label">预算总经费</div>
-                              <el-input type="number"  v-model="data.select.fund" placeholder="请输入内容"></el-input>
-                              <div style="position: absolute;right: -30px;top: 10px;">(万)</div>
-                          </div>
-                          <div class="inpBlock">
-                              <div class="label" style="font-size: 14px;max-width: 50px;position: relative;top: -8px;">美丽校园改造项目(特色项目)</div>
-                              <el-select v-model="data.select.schoolRemould" style="width: 100%;" placeholder="请选择">
-                                <el-option
-                                  v-for="item in schoolRemouldOptions"
-                                  :key="item.value"
-                                  :label="item.label"
-                                  :value="item.value">
-                                </el-option>
-                              </el-select>
-                          </div>
-                          <div class="inpBlock">
-                              <div class="label">项目申请人</div>
-                              <el-select v-model="data.select.projectApplyPerson" style="width: 100%;" placeholder="请选择">
-                                <el-option
-                                  v-for="item in personType"
-                                  :key="item.value"
-                                  :label="item.label"
-                                  :value="item.value">
-                                </el-option>
-                              </el-select>
-                          </div>
-                          <!-- <div class="inpBlock">
-                              <div class="label">选择分类</div>
-                              <el-cascader v-model="data.select.sort" :options="data.sortOptions" clearable></el-cascader>
-                          </div> -->
-                      </div>
-                    </div>
-                   
-              </div>
-              <!-- 活动申请填写信息区域结束 -->
-
-          <!-- 项目封面上传开始 -->
-          <div id="2" style="height: 260px;">
-              <div id="two" class="tabTit">
-                <div><p>封面上传</p></div>
-              </div>
-              <hr>
-              <div style="margin-bottom: 10px;">项目封面</div>
-              <el-progress v-show="progress.show" :percentage="progress.value" :format="ProgressFormat"></el-progress>
-
-              <el-upload
-                class="avatar-uploader"
-                action="#"
-                disabled
-                style="position: relative;"
-                :show-file-list="false"
-                >
-                <img v-if="data.dialogImageUrl" :src="data.dialogImageUrl" class="avatar">
-                <i v-else class="el-icon-plus avatar-uploader-icon"></i>
-                <BeUpload :progress="progress" style="position: absolute;width: 301px;height: 180px; opacity: 0;z-index: 333;left: 0;top: 0;" @getFile="getFile" class="uploadPic" :navName="'上传封面'" :accept="accept"></BeUpload>
-              </el-upload>
-            </div>
-
-          <!-- 项目封面上传开始结束 -->
-
-
-  <!-- 老师项目成员表格开始 -->
-              <div id="3" class="tabTit">
-                <div><p>项目组-老师成员<span>(2个学院以上,团队2-3人)</span> </p></div>
-                <el-button type="primary" @click="addTeacherMember"  size="mini">添加成员</el-button>
-              </div>
-              <hr>
-              <el-table
-                :data="data.tableTeacherData"
-                tooltip-effect="dark"
-                stripe
-                :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
-                class="fontSize"
-                >
-              
-                <el-table-column
-                  prop="name"
-                  label="姓名"
-                  align="center"
-                  >
-                </el-table-column>
-                <el-table-column
-                  prop="class"
-                  label="所在学院/部门/专业"
-                  align="center"
-                  >
-                </el-table-column>
-
-                <el-table-column
-                  prop="division"
-                  label="项目组角色分工"
-                  align="center"
-                  >
-                </el-table-column>
-
-              
-                
-                <el-table-column
-                  align="center"
-                  prop="operation"
-                  label="操作"
-                  >
-                  <template #default="scope">
-                      <div class="operations">
-                          <!-- <el-button type="primary" > -->
-                              <el-button type="primary" @click="amendTeacherDialogData(scope.$index)" size="mini">修改</el-button>
-                              <el-button type="primary" @click="DelTeacher(scope.$index)" size="mini">删除</el-button>
-                          <!-- </el-button> -->
-                      </div>
-                  </template>
-                </el-table-column>
-              </el-table>
-
-          <!--添加修改老师成员dialog对话框开始 -->
-            <el-dialog
-                :title= "isAddMember==1?'添加老师成员':'修改老师成员'"
-                :visible.sync="addTeacherMemberDialog"
-                :modal="true"
-                :close-on-click-modal="true"
-                class="AddMember"
-                :before-close="init">
-                  <div class="littleBlock">
-                    <div class="dialogLabel">姓名</div>
-                    <div>
-                      <el-input v-model="Member.name"></el-input>
-                    </div>
-                  </div>
-
-                  <div class="littleBlock">
-                    <div class="dialogLabel">所在学院/部门/专业</div>
-                    <div>
-                      <el-input v-model="Member.class"></el-input>
-                    </div>
-                  </div>
-
-                  <div class="littleBlock">
-                    <div class="dialogLabel">项目组角色分工</div>
-                    <div>
-                      <el-input  v-model="Member.division" ></el-input>
-                    </div>
-                  </div>
-                  <div slot="footer" class="footer">
-                    <el-button v-show="isAddMember==1" type="primary" @click="commitAddTeacher" class="AllDialogBtn" >确认提交</el-button>
-                    <el-button v-show="isAddMember==2" type="primary" @click="commitAmendTeacher" class="AllDialogBtn" >确认修改</el-button>
-
-                    <el-button @click="init" class="AllDialogBtn">取消</el-button>
-                  </div>
-            </el-dialog>
-          <!--添加修改老师成员dialog对话框结束 -->
-
-          <!-- 删除老师成员对话框开始 -->
-          <el-dialog
-              title="删除成员"
-              :visible.sync="delTeacherMember"
-              width="600px"
-              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>
-              </span>
-            </el-dialog>
-          <!-- 删除老师成员对话框结束 -->
-  <!-- 老师项目成员表格结束 -->
-
-
-
-
-
-
-  <!-- 学生项目成员表格开始 -->
-              <div id="4" class="tabTit">
-                <div><p>项目组-学生成员<span>(至少2个学院以上学生构成,团队5人以上)</span> </p></div>
-                <el-button type="primary" @click="addStudentMember"  size="mini">添加成员</el-button>
-              </div>
-              <hr>
-              <el-table
-                :data="data.tableStudentData"
-                tooltip-effect="dark"
-                stripe
-                :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
-                class="fontSize"
-                >
-              
-                <el-table-column
-                  prop="name"
-                  label="姓名"
-                  align="center"
-                  >
-                </el-table-column>
-                <el-table-column
-                  prop="class"
-                  label="所在学院/部门/专业"
-                  align="center"
-                  >
-                </el-table-column>
-
-                <el-table-column
-                  prop="division"
-                  label="项目组角色分工"
-                  align="center"
-                  >
-                </el-table-column>
-
-              
-                
-                <el-table-column
-                  align="center"
-                  prop="operation"
-                  label="操作"
-                  >
-                  <template #default="scope">
-                      <div class="operations">
-                          <!-- <el-button type="primary" > -->
-                              <el-button type="primary" @click="amendStudentDialogData(scope.$index)" size="mini">修改</el-button>
-                              <el-button type="primary" @click="DelStudent(scope.$index)" size="mini">删除</el-button>
-                          <!-- </el-button> -->
-                      </div>
-                  </template>
-                </el-table-column>
-              </el-table>
-
-          <!--添加修改学生成员dialog对话框开始 -->
-            <el-dialog
-                :title= "isAddMember==1?'添加学生成员':'修改学生成员'"
-                :visible.sync="addStudentMemberDialog"
-                :modal="true"
-                :close-on-click-modal="true"
-                class="AddMember"
-                :before-close="init">
-                  <div class="littleBlock">
-                    <div class="dialogLabel">姓名</div>
-                    <div>
-                      <el-input v-model="Member.name"></el-input>
-                    </div>
-                  </div>
-
-                  <div class="littleBlock">
-                    <div class="dialogLabel">所在学院/部门/专业</div>
-                    <div>
-                      <el-input v-model="Member.class"></el-input>
-                    </div>
-                  </div>
-
-                  <div class="littleBlock">
-                    <div class="dialogLabel">项目组角色分工</div>
-                    <div>
-                      <el-input v-model="Member.division"></el-input>
-                    </div>
-                  </div>
-                  <div slot="footer" class="footer">
-                    <el-button v-show="isAddMember==1" type="primary" @click="commitAddStudent" class="AllDialogBtn" >确认提交</el-button>
-                    <el-button v-show="isAddMember==2" type="primary" @click="commitAmendStudent" class="AllDialogBtn" >确认修改</el-button>
-
-                    <el-button @click="init" class="AllDialogBtn">取消</el-button>
-                  </div>
-            </el-dialog>
-          <!--添加修改学生成员dialog对话框结束 -->
-
-          <!-- 删除学生成员对话框开始 -->
-          <el-dialog
-              title="删除成员"
-              :visible.sync="delStudentMember"
-              width="600px"
-              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>
-              </span>
-            </el-dialog>
-          <!-- 删除学生成员对话框结束 -->
-  <!-- 学生项目成员表格结束 -->
-
-
-  <!-- 项目简介开始 -->
-            <div id="5" class="tabTit">
-                <div><p>项目简介<span>(200-300字)</span></p></div>
-            </div>
-            <hr>
-              <el-input
-                type="textarea"
-                :rows="6"
-                resize="none"
-                class="textArea"
-                placeholder="请输入内容"
-                v-model="data.textarea">
-              </el-input>
-  <!-- 项目简介结束 -->
- <!-- 结束按钮开始 -->
-         <div id="6" class="baseBtn">
-              <div class="blockWidth">
-                <el-button type="primary"  @click="backBtn1" size:small>上一步</el-button>
-                <el-button type="primary"  @click="backBtn" size:small>下一步</el-button>
-              </div>
-            </div>
-  <!-- 结束按钮结束 -->
-
-        </div>
-  <!-- 右边填写信息区域结束 -->
-    </div>
-  
-</template>
-
-<script>
-    import BeUpload from "@/components/tool/beUpload.vue";
-    export default { 
-      props:["data","next",'pageType','addPerson'],
-      components: {
-        BeUpload,
-      },
-      data() {
-        return {
-          // dialogImageUrl: '',
-          accept:"image/*",
-          isAddMember:1,   //判断是添加成员还是修改成员
-          progress:{   //进度条
-                value:0,
-                show:false
-            },  
-          // fileList: [],
-          // dialogVisible: false,
-          addStudentMemberDialog:false,   //添加修改学生对话框
-          addTeacherMemberDialog:false,   //添加修改老师对话框
-          delStudentMember:false,         //删除学生对话框
-          delTeacherMember:false,         //删除老师对话框
-          index:'',
-          Member:{    //添加、修改成员
-              name:'',
-              class:'',
-              division:'',
-              score:'0'
-          },
-          MultiSelectProject:[   //优先支持项目下拉框数据
-                    {
-                      value: 1,
-                      label: '大赛选拔项目'
-                    }, {
-                      value: 2,
-                      label: '落地注册项目'
-                    }, {
-                      value: 3,
-                      label: '社会征集项目'
-                    }, {
-                      value: 4,
-                      label: '产业命题项目'
-                    }
-          ],
-          schoolRemouldOptions:[   //美丽校园下拉框数据
-                    {
-                      value: 1,
-                      label: '校园安全项目'
-                    }, {
-                      value: 2,
-                      label: '环境治理项目'
-                    }, {
-                      value: 3,
-                      label: '校园服务项目'
-                    }, {
-                      value: 4,
-                      label: '文创装置项目'
-                    }
-          ],
-          personType:[     //项目申请人下拉框数据
-                    {
-                      value: 1,
-                      label: '在校学生'
-                    }, {
-                      value: 2,
-                      label: '入驻学校孵化基地的初创企业法人'
-                    }
-          ],
-          // sortOptions: [      //选择分类下拉框数据
-          //           {
-          //             value:"",
-          //             label: '',
-          //             children: [{
-          //               value: 0,
-          //               label: '创意组',
-          //             },
-          //              {
-          //               value: 1,
-          //               label: '初创组',
-          //             }
-          //           ]}, 
-          //           {
-          //           value:"",
-          //           label: '',
-          //           children: [{
-          //             value: 0,
-          //             label: '已建设',
-          //           }, {
-          //             value: 1,
-          //             label: '待建设',
-          //           }]
-          //         }],
-        }
-      },
-      
-      methods:{
-        getFile(val) {       //上传封面
-            // console.log(val);
-            this.progress.show = false;
-            this.data.dialogImageUrl=val.url
-            this.$message.success('封面上传成功')
-        },
-        ProgressFormat(value){        //进度条
-          return value ==100?'100%':`${value}%`
-        },
-        // submitUpload() {
-        //   this.$refs.upload.submit();
-        // },
-        // handleRemove(file, fileList) {
-        //   console.log(file, fileList);
-        // },
-        // handlePictureCardPreview(file) {
-        //     this.dialogImageUrl = file.url;
-        //     this.dialogVisible = true;
-        // },
-        getText(value) {     //电话验证
-          let verify = /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[189]))\d{8}$/; //获取正则表达式 存放到verify变量中
-          let result = verify.test(value.trim()); //判断输入框内容是否符合 正则表达式
-          // if(!result && value != "") {
-            // debugger
-          if(!result) {
-            if (value == this.data.select.tel) {
-                this.$message.error('请输入正确联系号码格式')
-                return  this.data.telVerify=false;
-            }
-          }else{
-            if (value == this.data.select.tel) {
-                 this.data.telVerify=true;
-            }
-          }
-        },
-        
-        init(){
-          this.addStudentMemberDialog=false;
-          // this.data.amendMemberDialog=false
-          this.delStudentMember=false
-          this.addTeacherMemberDialog=false
-        },
-
-        // 项目组学生成员方法开始
-                  addStudentMember(){   //添加项目成员对话框显示
-                    this.addStudentMemberDialog=true
-                    for(let i in this.Member){
-                      if(i=='score')this.Member[i] = "0"
-                      else this.Member[i] = "";
-                    }
-                    this.isAddMember=1;
-                  },
-                  DelStudent(val){    //删除对话框显示
-                    this.delStudentMember=true;
-                    this.index=val
-                  },
-                  amendStudentDialogData(val){   //修改项目成员信息对话框显示
-                    Object.assign(this.Member,this.data.tableStudentData[val])
-                    this.isAddMember=2;
-                    this.Member['index']=val    //为下面修改提供下标
-                    // console.log(this.Member['index']);
-                    this.addStudentMemberDialog=true
-                  },
-                  commitAddStudent(){   //确定添加成员  
-                        // console.log(this.Member.name);
-                        if (this.Member.name =="" ||this.Member.name==undefined) return this.$message.error('请输入姓名')
-                        if (this.Member.class=="" ||this.Member.class==undefined) return this.$message.error('请输入所在学院/部门/专业')
-                        if (this.Member.class=="" ||this.Member.class==undefined) return this.$message.error('请输入项目组角色分工')
-
-                        // this.addPerson();
-                        let newData = {};
-                        for(let j in this.Member)newData[j] = this.Member[j];
-                        this.data.tableStudentData.push(newData);
-                        this.$message.success('添加成功')
-                        for(let i in this.Member){      
-                          if(i=='score')this.Member[i] = "0"
-                          else this.Member[i] = "";
-                        }
-                        console.log(this.data.tableStudentData)
-                        this.init()
-                  },
-
-                  commitAmendStudent(){   //确定修改成员
-                        Object.assign(this.data.tableStudentData[this.Member['index']],this.Member)
-                        for(let k in this.Member) this.Member[k]=''
-                        this.addStudentMemberDialog=false;
-                        this.$message.success('修改成功')
-
-                        console.log(this.data.tableData);
-                  },
-
-                  commitDelStudentMember(){   //对话框确定删除成员
-                    let a=this.index;
-                    this.data.tableStudentData.splice(a,1);
-                    this.$message.success('删除成功');
-                    this.delStudentMember=false;
-                  },
-        // 项目组学生成员方法开始
-
-
-        // 项目组老师成员方法开始
-                addTeacherMember(){   //添加项目成员对话框显示
-                    this.addTeacherMemberDialog=true
-                    for(let i in this.Member){
-                      if(i=='score')this.Member[i] = "0"
-                      else this.Member[i] = "";
-                    }
-                    this.isAddMember=1;
-                  },
-                  DelTeacher(val){    //删除对话框显示
-                    this.delTeacherMember=true;
-                    this.index=val
-                  },
-                  amendTeacherDialogData(val){   //修改项目成员信息对话框显示
-                    Object.assign(this.Member,this.data.tableTeacherData[val])
-                    this.isAddMember=2;
-                    this.Member['index']=val    //为下面修改提供下标
-                    // console.log(this.Member['index']);
-                    this.addTeacherMemberDialog=true
-                  },
-                  commitAddTeacher(){   //确定添加成员  
-                        // console.log(this.Member.name);
-                        if (this.Member.name =="" ||this.Member.name==undefined) return this.$message.error('请输入姓名')
-                        if (this.Member.class=="" ||this.Member.class==undefined) return this.$message.error('请输入所在学院/部门/专业')
-                        if (this.Member.class=="" ||this.Member.class==undefined) return this.$message.error('请输入项目组角色分工')
-                        // this.addPerson();
-                        let newData = {};
-                        for(let j in this.Member)newData[j] = this.Member[j];
-                        this.data.tableTeacherData.push(newData);
-                        this.$message.success('添加成功')
-                        for(let i in this.Member){      
-                          if(i=='score')this.Member[i] = "0"
-                          else this.Member[i] = "";
-                        }
-                        console.log(this.data.tableTeacherData)
-                        this.init()
-                  },
-
-                  commitAmendTeacher(){   //确定修改成员
-                        Object.assign(this.data.tableTeacherData[this.Member['index']],this.Member)
-                        for(let k in this.Member) this.Member[k]=''
-                        this.addTeacherMemberDialog=false;
-                        this.$message.success('修改成功')
-
-                        console.log(this.data.tableTeacherData);
-                  },
-
-                  commitDelTeacherMember(){   //对话框确定删除成员
-                    let a=this.index;
-                    this.data.tableTeacherData.splice(a,1);
-                    this.$message.success('删除成功');
-                    this.delTeacherMember=false;
-                  },
-        // 项目组老师成员方法开始
-
-        backBtn1(){  // 上一步
-          this.$router.push('/projectApplication')
-        },
-         
-        backBtn(){   // 下一步
-            this.next();
-        },
-
-        // getProjectTypeData(){  //获取项目立项申请基础信息页面分类数据
-        //       let param={
-        //         uid:this.$store.state.userInfo.userid
-        //       }
-        //         this.ajax
-        //               .get(this.$store.state.api+'/SelectAllType',param)
-        //               .then(res=>{
-        //                 // console.log(res.data[0]);
-        //                 let p=res.data[0]
-        //                 this.sortOptions[0].value=p[0].id
-        //                 this.sortOptions[0].label=p[0].name
-        //                 this.sortOptions[1].value=p[1].id
-        //                 this.sortOptions[1].label=p[1].name
-        //                 // console.log(pageType);
-        //               },err=>{
-        //                 console.log(err);
-        //               })
-        //     },
-            //立项基础信息页面删除功能在它自己页面人员信息
-        toPage(val){
-            if (val==1) {
-              document.getElementById("1").scrollIntoView({ behavior: "smooth" });
-            }else if(val==2){
-              document.getElementById("2").scrollIntoView({ behavior: "smooth" });
-            }else if(val==3){
-              document.getElementById("3").scrollIntoView({ behavior: "smooth" });
-            }else if(val==4){
-              document.getElementById("4").scrollIntoView({ behavior: "smooth" });
-            }else if(val==5){
-              document.getElementById("5").scrollIntoView({ behavior: "smooth" });
-            }else if(val==6){
-              document.getElementById("6").scrollIntoView({ behavior: "smooth" });
-            }
-        }
-      },
-      mounted(){
-        // this.getProjectTypeData()
-      }
-    }
-</script>
-
-<style lang="less">
-
-
-.avatar-uploader .el-upload {
-    border: 1px dashed #d9d9d9;
-    border-radius: 6px;
-    cursor: pointer;
-    z-index: -10;
-    // position: relative;
-    overflow: hidden;
-  }
-  .avatar-uploader .el-upload:hover {
-    border-color: #409EFF;
-  }
-  .avatar-uploader-icon {
-    font-size: 28px;
-    color: #8c939d;
-    width: 300px;
-    // height: 50%;
-    line-height: 178px;
-    text-align: center;
-  }
-  .avatar {
-    width: 300px;
-    height:180px !important;
-    display: block;
-  }
-.projectApplicationApply{
-    margin-top: 30px;
-    width: 100%;
-    display: flex;
-    justify-content: center;
-    .uploadPic{
-      position: absolute;
-      top: -8px;right: 0;
-      width: 100px;
-      box-sizing: border-box;
-      padding: 9px 0;
-      font-size: 16px;
-      background-color: #0e72e6;
-      border-radius:5px
-    }
-        // 右边栏标题
-        .projectApplicationApplypAHeader{
-            width: 100%;
-            display: flex;
-            justify-content:flex-start;
-            position: relative;
-            margin-bottom: 15px;
-            .pAHeader1{
-              font-weight: 600;
-              font-size: 22px;
-              flex-shrink: 0;
-            }
-            .pAHeader2{
-              position: absolute;
-              top:8px;
-              left: 160px;
-              font-size: 16px;
-              background: repeating-linear-gradient();
-            }
-            .pAHeader3{
-              background: #0e72e6 !important;
-              color: #fff !important;
-              display: flex;
-              position: absolute;
-              right: 0;
-              justify-content: center;
-              font-size: 16px;
-              width: 100px;
-              height: 30px;
-              align-items: center;
-            }
-        }
-
-
-
-        .delMemberDialog{
-            font-size: 18px;
-            .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;
-            }
-            // .addDialogMid{
-            //   box-sizing: border-box;
-            //   padding:0 60px 0 10px;
-            //   .addDialogTit{
-            //     display: flex;
-            //     span{
-            //       width: 80px;
-            //       font-size: 16px;
-            //       line-height: 40px;
-            //       text-align: left;
-                  
-            //     }
-            //   }
- 
-            // }
-            .dialog-footer{
-              display: flex;
-              justify-content: center;
-              box-sizing: border-box;
-            }
-          }
-}
-</style>

+ 0 - 284
src/views/projectApply/components/projectApplicationApply2.vue

@@ -1,284 +0,0 @@
-<template>
-  <!-- 项目立项申请项目内容表达 -->
-      <div class="projectApplicationApply2">
-        <div class="left">
-          <div class="sx">
-            <div class="qiu"></div>
-          </div>
-          <div class="leftTits">
-            <div @click="toPage(1)">研发内容</div>
-            <div @click="toPage(2)" style="position: relative;right: 5px;">
-              <el-tooltip class="item" effect="light" content="预期取得的成果" placement="bottom-start">
-                <p>商业模式及社会价值</p>
-              </el-tooltip>
-            </div>
-            <!-- <div @click="toPage(3)">商业模式及社会价值</div> -->
-            <div @click="toPage(3)">团队优势</div>
-            <div @click="toPage(4)">研发成本</div>
-            <div @click="toPage(5)">预期成果</div>
-            <div @click="toPage(6)">预期成果</div>
-            <div @click="toPage(7)">下一步</div>
-          </div>
-        </div>
-        <div class="right">
-            <div class="vfpHeader">
-              <div class="titleOne">项目立项申请</div>
-              <el-button @click="backBtn1" type="primary" size="mini">返回</el-button>
-            </div>
-            <hr>
-            <div id="1">
-              <p class="pTit">研发内容</p>
-              <div>
-                <p class="pTit2">一、项目研发背景</p>
-                <div class="editor">
-                  <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.back">
-                  </el-input>
-                  <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.back"></vue-editor> -->
-                </div>
-              </div>
-              <div>
-                <p class="pTit2">二、项目创新点</p>
-                <div class="editor">
-                  <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.innovate">
-                  </el-input>
-                  <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.innovate"></vue-editor> -->
-                </div>
-              </div>
-              <div>
-                <p class="pTit2">三、技术研发路线</p>
-                <div class="editor">
-                  <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.path">
-                  </el-input>
-                  <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.path"></vue-editor> -->
-                </div>
-              </div>
-              <div>
-                <p class="pTit2">四、项目应用场景</p>
-                <div class="editor">
-                  <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.scene">
-                  </el-input>
-                  <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.scene"></vue-editor> -->
-                </div>
-              </div>
-              <!-- <div class="editor">
-                <vue-editor  :editorToolbar="customToolbar" v-model="data.contentOne"></vue-editor>
-              </div> -->
-            </div>
-            <div id="2">
-              <p class="pTit">商业模式及社会价值</p>
-              <div>
-                <p class="pTit2">一、项目商业模式/社会价值</p>
-                <div class="editor">
-                  <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.worth">
-                  </el-input>
-                  <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.worth"></vue-editor> -->
-                </div>
-              </div>
-            </div>
-            <div id="3">
-              <p class="pTit">团队优势</p>
-              <div>
-                <p class="pTit2">一、团队构成及优势</p>
-                <div class="editor">
-                  <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.team">
-                  </el-input>
-                  <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.team"></vue-editor> -->
-                </div>
-              </div>
-            </div>
-
-            <div id="4">
-              <p class="pTit">研发成本</p>
-              <div>
-                <p class="pTit2">一、研发成本来源及构成</p>
-                <div class="editor">
-                  <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.cost">
-                  </el-input>
-                  <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.cost"></vue-editor> -->
-                </div>
-              </div>
-            </div>
-            <div id="5">
-              <p class="pTit">预期成果</p>
-              <div>
-                <p class="pTit2">一、项目预期成果、数量及形式(产品原型/发明专利/双创竞赛/成果转化/社会效益)</p>
-                <div class="editor">
-                  <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.expectResults">
-                  </el-input>
-                  <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.expectResults"></vue-editor> -->
-                </div>
-              </div>
-              <div>
-                <p class="pTit2">二、学生创客人才培养预期成果、数量(教师填写)</p>
-                <div class="editor">
-                  <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.expectResultsTeacher">
-                  </el-input>
-                  <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.expectResultsTeacher"></vue-editor> -->
-                </div>
-              </div>
-              <div>
-                <p class="pTit2">三、项目预期孵化、转化创业项目情况</p>
-                <div class="editor">
-                  <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.expectConversion">
-                  </el-input>
-                  <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.expectConversion"></vue-editor> -->
-                </div>
-              </div>
-            </div>
-            <div id="6">
-              <p class="pTit">实施计划</p>
-              <div class="editor">
-                <el-input
-                    type="textarea"
-                    :rows="6"
-                    resize="none"
-                    class="textArea"
-                    placeholder="请输入内容"
-                    v-model="data.plan">
-                  </el-input>
-                <!-- <vue-editor  :editorToolbar="customToolbar" v-model="data.plan"></vue-editor> -->
-              </div>
-            </div>
-            <div id="7" class="baseBtn">
-              <div class="blockWidth">
-                <el-button type="primary" class="backBtn" @click="backBtn1" size:small>上一步</el-button>
-                <el-button type="primary" class="backBtn" @click="backBtn" size:small>下一步</el-button>
-              </div>
-            </div>
-        </div>
-      </div>
-  </template>
-  
-  <script>
-  import { VueEditor } from "vue2-editor";
-      export default {
-        props:["data","next",'back'],
-        components:{
-          VueEditor
-        },
-        data() {
-          return {
-            content:'',
-            customToolbar: [
-              ["bold", "italic", "underline"], [{ list: "ordered" }, { list: "bullet" }],
-              [{ align: "" }, { align: "center" }, { align: "right"}, { align: "justify"}],
-              [{header:[false,1,2,3,4]}]
-            ],
-          }
-        },
-        methods:{
-          backBtn(){
-            this.next();
-          },
-          backBtn1(){
-            this.back();
-          },
-          toPage(val){
-            if (val==1) {
-              document.getElementById("1").scrollIntoView({ behavior: "smooth" });
-            }else if(val==2){
-              document.getElementById("2").scrollIntoView({ behavior: "smooth" });
-            }else if(val==3){
-              document.getElementById("3").scrollIntoView({ behavior: "smooth" });
-            }else if(val==4){
-              document.getElementById("4").scrollIntoView({ behavior: "smooth" });
-            }else if(val==5){
-              document.getElementById("5").scrollIntoView({ behavior: "smooth" });
-            }else if(val==6){
-              document.getElementById("6").scrollIntoView({ behavior: "smooth" });
-            }else if(val==7){
-              document.getElementById("7").scrollIntoView({ behavior: "smooth" });
-            }
-          }
-        }
-      }
-  </script>
-  
-  <style lang="less">
-  .projectApplicationApply2{
-    margin-top: 30px;
-    width: 100%;
-    display: flex;
-    justify-content: center;
-    // margin-bottom: 100px;
-
-    .item {
-      margin: 4px;
-    }
-    
-  }
-
-
-    .pTit{
-      color: #3994ff;
-      font-weight: 550;
-      font-size: 18px;
-    }
-    .pTit2{
-      margin-top: 15px;
-      color: #3994ff;
-      font-weight: 550;
-      font-size: 16px;
-    }
-
-  </style>

+ 0 - 874
src/views/projectApply/components/projectApplicationApply3.vue

@@ -1,874 +0,0 @@
-<template>
-  <!-- 项目立项申请预算经费表单 -->
-    <div class="proBudgetFund">
-      <!-- 左边栏 -->
-      <div class="left">
-        <div class="sx"> <!--圆球和竖线 -->
-          <div class="qiu"></div>
-        </div>
-      <!-- 左边栏内容开始 -->
-        <div class="leftTits">
-          <div>月支出计划</div>
-          <div>支出明细</div>
-          <div>完成</div>
-        </div>
-      <!-- 左边栏内容结束 -->
-      </div>
-
-      <!-- 右边栏 -->
-      <div class="right">
-
-          <!-- 预算经费金额开始 -->
-          <div class="vfpHeader">
-            <div class="titleOne">预算经费</div>
-            <el-button @click="back()" type="primary" size="mini">返回</el-button>
-          </div>
-          <hr>
-          <div class="totalFund">
-            <div class="totalFundLabel">预算总经费</div>
-            <el-input type="number" class="inputNumber" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))" v-model.number="data2.select.fund" style="width: 180px;" placeholder="请输入内容"></el-input>
-            <div style="line-height: 38px;margin-left: 5px;">(万)</div>
-          </div>
-          <!-- 预算经费金额结束 -->
-
-          <!-- 设置经费和表格开始 -->
-            <div class="tabTit">
-              <div><p>经费月支出计划(元)</p></div>
-              <el-button @click="setFundBtn" type="primary">设置经费</el-button>
-            </div>
-            <div class="monthFund">
-            <el-table
-              :data="data.tableData"
-              tooltip-effect="dark"
-              stripe
-              show-overflow-tooltip="true"
-              :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
-              >             
-              <el-table-column
-                v-for="(item,index) in mouthItems"
-                :key="index"
-                :prop="item.prop"
-                :label="item.label"
-                align="center"
-                min-width="8%"
-                >
-              </el-table-column>
-            </el-table>
-          </div>
-
-          <!-- 设置经费和表格结束 -->
-
-
-
-          <!-- 经费明细和表格开始 -->
-            <div class="tabTit">
-              <div><p>经费明细</p></div>
-              <el-button type="primary" @click="addBtn">添加</el-button>
-            </div>
-            <el-table
-              :data="data.tableData2"
-              tooltip-effect="dark"
-              stripe
-              class="fontSize"
-              :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
-              >
-              <el-table-column
-                prop="type"
-                label="支出类别"
-                align="center"
-                >
-                <template #default="scope">
-                  <div v-if=" scope.row.type==1">直接经费</div>
-                  <div v-if=" scope.row.type==2">间接经费</div>
-
-                </template>
-              </el-table-column>
-              <el-table-column
-                prop="disburseProject"
-                label="支出项目"
-                align="center"
-                >
-                <template #default="scope">
-                  <div v-if="scope.row.disburseProject==1 && scope.row.type==1">小型仪器设备费</div>
-                  <div v-if="scope.row.disburseProject==2 && scope.row.type==1">材料费</div>
-                  <div v-if="scope.row.disburseProject==3 && scope.row.type==1">测试化验加工费</div>
-                  <div v-if="scope.row.disburseProject==4 && scope.row.type==1">项目协作费</div>
-
-                  <div v-if="scope.row.disburseProject==1 && scope.row.type==2">小型仪器设备费</div>
-                  <div v-if="scope.row.disburseProject==2 && scope.row.type==2">材料费</div>
-                  <div v-if="scope.row.disburseProject==3 && scope.row.type==2">测试化验加工费</div>
-                  <div v-if="scope.row.disburseProject==4 && scope.row.type==2">项目协作费</div>
-                </template>
-              </el-table-column>
-              <el-table-column
-                prop="fund"
-                label="金额(元)"
-                align="center"
-                >
-              </el-table-column>
-              <el-table-column
-                prop="textarea"
-                label="备注"
-                align="center"
-                width="150">
-              </el-table-column>
-              <el-table-column
-                  align="center"
-                  prop="operation"
-                  width="200"
-                  label="操作"
-                  >
-                  <template #default="scope">
-                      <div class="operations">
-                              <el-button type="primary" @click="amendDialogData(scope.$index)" size="mini">修改</el-button>
-                              <el-button type="primary" @click="del(scope.$index)"  size="mini">删除</el-button>
-                      </div>
-                  </template>
-              </el-table-column>
-            </el-table>
-          <!-- 经费明细和表格结束 -->
-
-
-          <div class="baseBtn">
-            <div class="blockWidth">
-              <el-button type="primary" class="backBtn" @click="back()">上一步</el-button>
-              <el-button type="primary" class="backBtn"  @click="submit" >提交</el-button>
-            </div>
-          </div>
-      </div>
-
-
-    <!-- 经费明细添加按钮开始 -->
-    <el-dialog
-      title="经费明细"
-      :visible.sync="addFundDialog"
-      width="950px"
-      class="fundDetail"
-      :before-close="init">
-
-      <div class="dialogTop">
-          <div class="dagSpan">项目名称</div>
-          <el-select v-model="data2.select.projectName" disabled style="width: 100%;" placeholder="请选择">
-            <el-option
-              v-for="item in data2.options"
-              :key="item.id"
-              :label="item.name"
-              :value="item.id">
-            </el-option>
-          </el-select>
-      </div>
-      <div class="dialogTop">
-          <div class="dagSpan">项目类型</div>
-          <el-select v-model="data2.select.sort"  disabled style="width: 30%;" placeholder="请选择">
-            <el-option
-              v-for="item in data2.sortOptions"
-              :key="item.id"
-              :label="item.name"
-              :value="item.id">
-            </el-option>
-          </el-select>
-      </div>
-
-
-      <div class="tabTit">
-        <div><p>添加经费明细</p></div>
-      </div>
-      <div class="dagInpS">
-        <div class="dagInpS1">
-          <div class="dagSpan">支出类别</div>
-          <!-- <el-input v-model="data.dialog.type"  placeholder="请输入内容"></el-input> -->
-          <el-select v-model="data.dialog.type"  placeholder="请选择">
-              <el-option
-              v-for="item in expendType"
-              :key="item.value"
-              :label="item.label"
-              :value="item.value">
-              </el-option>
-          </el-select>
-        </div>
-        <div class="dagInpS1">
-          <div class="dagSpan">支出项目</div>
-          <!-- <el-input v-model="data.dialog.disburseProject" placeholder="请输入内容"></el-input> -->
-          <el-select v-model="data.dialog.disburseProject"  placeholder="请选择">
-              <el-option
-              v-for="item in data.dialog.type==1?expendProject:expendProject2"
-              :key="item.value"
-              :label="item.label"
-              :value="item.value">
-              </el-option>
-          </el-select>
-        </div>
-        <div class="dagInpS1">
-          <div class="dagSpan">金额(元)</div>
-          <el-input type="number" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))" class="inputNumber" v-model.number="data.dialog.fund" placeholder="请输入内容"></el-input>
-        </div>
-      </div>
-
-      <div class="dagInpS1">
-          <div class="dagSpan" style="position:relative;top: -90px;">备注</div>
-          <el-input
-            type="textarea"
-            :rows="5"
-            resize="none"
-            style="width: 80%;"
-            placeholder="请输入内容"
-            v-model="data.dialog.textarea">
-          </el-input>
-      </div>
-
-      <div slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="finish" class="AllDialogBtn">完成</el-button>
-      </div>
-    </el-dialog>
-    <!-- 经费明细添加按钮结束 -->
-
-      <!--设置经费dialog对话框开始 -->
-      <el-dialog
-          title="设置经费"
-          :visible.sync="setFund"
-          :modal="true"
-          :close-on-click-modal="true"
-          class="AddFund"
-          :before-close="init">
-          <div style="position: absolute;top:10px;font-size: 18px;left: 95px;">经费月支出计划(元)</div>
-            <div class="littleBlock">
-              <div class="dialogLabel">一月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"   class="inputNumber" v-model.number="data.items.one"></el-input>
-                <span class="yuan">(元)</span>
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">二月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.two"></el-input>
-                <span class="yuan">(元)</span>
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">三月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.three"></el-input>
-                <span class="yuan">(元)</span>
-
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">四月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.four"></el-input>
-                <span class="yuan">(元)</span>
-
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">五月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.five"></el-input>
-                <span class="yuan">(元)</span>
-
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">六月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.six"></el-input>
-                <span class="yuan">(元)</span>
-
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">七月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.seven"></el-input>
-                <span class="yuan">(元)</span>
-
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">八月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.eight"></el-input>
-                <span class="yuan">(元)</span>
-
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">九月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.nine"></el-input>
-                <span class="yuan">(元)</span>
-
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">十月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.ten"></el-input>
-                <span class="yuan">(元)</span>
-
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">十一月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.eleven"></el-input>
-                <span class="yuan">(元)</span>
-
-              </div>
-            </div>
-            <div class="littleBlock">
-              <div class="dialogLabel">十二月</div>
-              <div class="littleBlockInp">
-                <el-input type="number"  v-model="data.items.twelve"></el-input>
-                <span class="yuan">(元)</span>
-
-              </div>
-            </div>
-            <div class="littleBlock" style="width: 100%;position: relative;left: -5px;">
-              <div class="dialogLabel" style="position: relative;top: -20px;">备注</div>
-              <div style="width: 86%;">
-                <!-- <el-input type="textarea" :row="6" resize="none" v-model="data.items.remark" style="width: 100%;"></el-input> -->
-                <el-input
-                  type="textarea"
-                  :rows="3"
-                  resize="none"
-                  v-model="data.items.remark">
-                </el-input>
-
-              </div>
-            </div>
-            <div slot="footer" class="footer">
-              <el-button type="primary" @click="commit" class="AllDialogBtn" >确认提交</el-button>
-              <el-button @click="init" class="AllDialogBtn">取消</el-button>
-            </div>
-      </el-dialog>
-      <!--设置经费dialog对话框结束 -->
-
-      <!-- 删除成员对话框开始 -->
-      <el-dialog
-              title="删除"
-              :visible.sync="delFundDetail"
-              width="600px"
-              class="delMemberDialog">
-              <span class="deleteContent">确定删除此经费明细?</span>
-              <span slot="footer" class="dialog-footer">
-                <el-button type="primary" @click="commitDel" class="AllDialogBtn">确认删除</el-button>
-                <el-button @click="init" class="AllDialogBtn" >取消</el-button>
-              </span>
-            </el-dialog>
-      <!-- 删除成员对话框结束 -->
-  </div>
-    
-</template>
-
-<script>
-import { VueEditor } from "vue2-editor";
-    export default {
-      // 接收父组件传递回来的方法
-      props:["data","next",'back','submitBtn','data2','confirmSetFund'],
-      components:{
-        VueEditor
-      },
-      data() {
-        return {
-          iid:'',
-          delFundDetail:false,   //删除经费明细对话框
-          addFundDialog:false,       //经费明细对话框
-          setFund:false,         //设置月支出计划
-          recompose:0,             //判断是否是修改  0 修改  1 添加
-          projectFundDetailInput:{
-                fund:'',
-                type:'',
-                disburseProject:'',
-                textarea:''
-          },
-          mouthItems:[      //表格基础
-            {prop:'one',label:'一月'},
-            {prop:'two',label:'二月'},
-            {prop:'three',label:'三月'},
-            {prop:'four',label:'四月'},
-            {prop:'five',label:'五月'},
-            {prop:'six',label:'六月'},
-            {prop:'seven',label:'七月'},
-            {prop:'eight',label:'八月'},
-            {prop:'nine',label:'九月'},
-            {prop:'ten',label:'十月'},
-            {prop:'eleven',label:'十一月'},
-            {prop:'twelve',label:'十二月'},
-            {prop:'remark',label:'备注'},
-          ],
-          
-          // 经费明细添加按钮对话框下拉框
-          expendType:[
-              {
-                  value:1,
-                  label:'直接费用'
-              },
-              {
-                  value:2,
-                  label:'间接费用'
-              },
-          ],
-          expendProject:[
-              {
-                  value:1,
-                  label:'小型仪器设备费'
-              },
-              {
-                  value:2,
-                  label:'材料费'
-              },
-              {
-                  value:3,
-                  label:'测试化验加工费'
-              },
-              {
-                  value:4,
-                  label:'项目协作费'
-              },
-              // {
-              //     value:5,
-              //     label:'其他支出'
-              // },
-          ],
-          expendProject2:[
-              {
-                  value:1,
-                  label:'项目成果鉴定费'
-              },
-              {
-                  value:2,
-                  label:'参展参赛费'
-              },
-              {
-                  value:3,
-                  label:'创客交流活动费'
-              },
-              {
-                  value:4,
-                  label:'知识产权事务费'
-              },
-              // {
-              //     value:5,
-              //     label:'其他支出'
-              // },
-          ],
-        }
-      },
-      methods:{
-        directFundDataSelectChange(){//直接经费全部下拉框
-          
-          
-            let directFundBlockSelect = [
-                    {
-                        value:1,
-                        label:'小型仪器设备费'
-                    },
-                    {
-                        value:2,
-                        label:'材料费'
-                    },
-                    {
-                        value:3,
-                        label:'测试化验加工费'
-                    },
-                    {
-                        value:4,
-                        label:'项目协作费'
-                    },
-                    // {
-                    //     value:5,
-                    //     label:'其他支出'
-                    // },
-                ]
-            let oneself=[];
-            this.data.tableData2.forEach(item=>{
-                //获取他本身自己的下拉框
-                oneself.push(directFundBlockSelect.filter(sItem=>sItem.value==item.disburseProject)[0])  //filter返的是数组所以用[0]
-                //获取未选择的
-                directFundBlockSelect = directFundBlockSelect.filter(sItem=>sItem.value!=item.disburseProject)
-                console.log(directFundBlockSelect);
-                this.expendProject=directFundBlockSelect
-                // Object.assign(this.expendProject,directFundBlockSelect)
-
-            })
-
-            // console.log(this.expendProject);
-            //再遍历一遍
-            // this.data.tableData2.forEach((item,index)=>{
-            //     let oneSelect = [];
-            //     directFundBlockSelect.forEach(item=>oneSelect.push(item));
-            //     if(oneself[index]!=undefined)oneSelect.push(oneself[index])
-            //     item.directFundSelects = oneSelect;
-            //     console.log(item.directFundSelects);
-            // })
-            //遍历所有的直接经费
-
-        },
-        indirectFundSelectChange(){//间接经费全部下拉框
-            
-            let indirectFundSelect = [
-                    {
-                        value:1,
-                        label:'项目成功鉴定费'
-                    },
-                    {
-                        value:2,
-                        label:'参展参赛费'
-                    },
-                    {
-                        value:3,
-                        label:'创客交流活动费'
-                    },
-                    {
-                        value:4,
-                        label:'知识产权事务费'
-                    },
-                    {
-                        value:5,
-                        label:'其他支出'
-                    },
-            ];
-            let oneself=[];
-            this.indirectFundBlock.forEach(item=>{
-                //获取他本身自己的下拉框
-                oneself.push(indirectFundSelect.filter(sItem=>sItem.value==item.indirectFundData)[0])
-                //获取未选择的
-                indirectFundSelect = indirectFundSelect.filter(sItem=>sItem.value!=item.indirectFundData)
-            })
-            //再遍历一遍
-            this.indirectFundBlock.forEach((item,index)=>{
-                let oneSelect = [];
-                indirectFundSelect.forEach(item=>oneSelect.push(item));
-                if(oneself[index]!=undefined)oneSelect.push(oneself[index])
-                item.directFundSelects = oneSelect;
-            })
-            //遍历所有的直接经费
-
-        },
-        judge(event){
-          console.log(event);
-          // console.log(111);
-          // return (/[\d]/.test(String.fromCharCode(event.keyCode)));
-        },
-        init(){
-          this.addFundDialog=false
-          this.setFund=false;
-          this.delFundDetail=false;
-        },
-        
-        backBtn1(){    //上一步
-          this.back();
-        },
-        submit(){    //提交按钮
-          this.submitBtn();
-        },
-        addBtn(){    //经费明细添加对话框显示
-          this.addFundDialog=true;
-        },
-        amendDialogData(val){   //修改经费明细数据对话框显示
-          this.recompose=1   
-          Object.assign(this.data.dialog,this.data.tableData2[val])
-          this.data.dialog['index']=val
-          this.addFundDialog=true;      
-          // this.data.dialog=val
-          // this.iid=val
-        },
-        finish(){    //添加经费明细对话框完成按钮
-            if(this.recompose){                //修改
-              if (this.data.dialog.type=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入支类别')
-              if (this.data.dialog.disburseProject=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入支出项目')
-              if (this.data.dialog.fund=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入金额')
-              let oldMoney = this.data.tableData2.reduce((prev,cur)=>{   //默认第一次为0,
-                console.log(prev,cur["fund"]);
-                return prev+cur["fund"]
-              },0);  //默认值第一次运算为0
-              // console.log(oldMoney);     第一次0  
-              oldMoney+=this.data.dialog.fund;   //因为本次的数据还未添加到列表中,所以直接在这里进行相加判断
-              if(oldMoney>(this.data2.select.fund)*10000) return this.$message.error('经费明细超出预算总金额');
-              Object.assign(this.data.tableData2[this.data.dialog['index']],this.data.dialog)
-              for(let k in this.data.dialog) this.data.dialog[k]=''
-              return this.addFundDialog=false;
-            }
-            let oldDia={}   //添加数据防止污染
-            // 添加
-            if(this.data2.select.fund == '' || this.data2.select.fund==undefined )return this.$message.error('请输入项目预算总经费')
-            if (this.data.dialog.type=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入支类别')
-            if (this.data.dialog.disburseProject=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入支出项目')
-            if (this.data.dialog.fund=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入金额')
-
-
-            let oldMoney = this.data.tableData2.reduce((prev,cur)=>{   //默认第一次为0,
-              // console.log(prev,cur["fund"]);
-              return prev+cur["fund"]
-            },0);  //默认值第一次运算为0
-            // console.log(oldMoney);
-
-            oldMoney+=this.data.dialog.fund;   //因为本次的数据还未添加到列表中,所以直接在这里进行相加判断
-
-            if(oldMoney>(this.data2.select.fund)*10000)return this.$message.error('经费明细超出预算总金额');
-           
-            Object.assign(oldDia,this.data.dialog)
-            this.data.tableData2.push(oldDia);
-            for(let k in this.data.dialog) this.data.dialog[k]='';
-            this.addFundDialog=false;
-            if (!this.data.tableData2.length){
-              return console.log(1);
-            }else{
-              console.log(2);
-            }
-            // this.data.dialog.type==1?this.directFundDataSelectChange():this.indirectFundSelectChange()
-
-        },
-        setFundBtn(){    //经费月支出计划设置经费对话框显示
-          // console.log(this.data2.value);
-            this.setFund=true
-        },
-        commit(){  //经费月支出计划设置经费对话框确定按钮
-          let p=0
-          for(let key in this.data.items){
-              if ( this.data.items[key] !== '' && this.data.items[key]!='-') {
-                  if (key != 'remark') {
-                    // console.log(this.data.items[key])
-                    p+=Number(this.data.items[key])
-                  }
-                }
-          }
-          // console.log(p)
-          // console.log(this.data2.select.fund);
-          if(p > this.data2.select.fund*10000) return this.$message.error('金额大于总预算')
-          this.confirmSetFund()
-          this.init()
-        },
-       
-        del(val){                     //删除经费明细对话框显示
-          this.delFundDetail=true;
-          this.iid=val
-        },
-        commitDel(){      //确定删除
-          this.data.tableData2.splice(this.iid,1)
-          this.delFundDetail=false;
-
-          // this.data.tableData2.forEach((e,i,arr)=>{
-          //       if (e.id == this.iid.id) {
-          //           arr.splice(i,1)
-          //           this.delFundDetail=false;
-          //       }
-          //   })
-        }
-      }
-    }
-</script>
-
-<style lang="less">
-//对话框样式
-
-  // .el-input__inner{
-  //   color: #000;
-  //   font-size: 16px;
-  // }
-  // .el-textarea__inner{
-  //   color: #000;
-  //   font-size: 16px;
-  // }
-  // .el-input.is-disabled .el-input__inner{
-  //   color: #3a3838;
-  // }
-  .totalFundLabel{
-    width:90px;
-    line-height: 38px;
-    margin-right: 10px;
-    text-justify:distribute-all-lines;
-    text-align-last: justify;
-  }
-  .proBudgetFund{
-    margin-top: 30px;
-    width: 100%;
-    display: flex;
-    justify-content: center;
-    box-sizing: border-box;
-    .totalFund{   //预算总经费金额填写
-      display: flex;
-      width: 400px;
-      line-height: 25px;
-      margin: 15px 5px 30px;
-    }
-
-
-
-    .fundDetail{ //经费明细添加对话框,防止冲突
-        .el-dialog__title{    
-          font-size: 18px;
-          font-weight: 600;
-        }
-        .el-dialog__body{
-          padding-top: 0px;
-        }
-        .dialogTop{   //对话框,名称、类型
-            margin: 15px 0;
-            display: flex;
-            width: 80%;
-        }
-        .dagSpan{     // 对话框label
-          min-width: 84px;
-          font-size: 16px;
-          margin-right: 10px;
-          display: inline-block;
-          text-align: justify;
-          text-justify:distribute-all-lines;
-          text-align-last: justify;
-          transform: translate(0,22%);
-          margin-bottom: 10px;
-        }
-          //经费明细dialog的样式
-        .dagInpS{
-            display: flex;
-            width: 90%;
-            margin-top: 20px;
-          .dagInpS1{
-            font-size: 16px;
-            display: flex;
-            margin-right: 25px;
-            margin-bottom: 20px;
-          }
-        }
-        
-        // .btn5{
-        //   width: 130px;
-        //   margin-right: 50px;
-        // }
-    }
-
-
-    .AddFund{    //月支出计划添加对话框
-      .el-input__inner{
-          width: 100%;
-      }
-      .el-dialog{
-          width: 700px;
-          border-radius: 5px;
-          overflow: hidden;
-        }
-
-        .el-dialog__body{
-          display: flex;
-          align-items: center;
-          position: relative;
-          justify-content: space-between;
-          flex-wrap: wrap;
-          align-items: center;
-          margin-top: 30px;
-          box-sizing: border-box;
-          padding-right: 10%;
-          padding-left: 10%;
-        }
-        
-        .el-dialog__header{
-          background: #32455b;
-          text-align: center;
-        }
-        .el-dialog__title{
-          color: #fff;
-          position: relative;
-          top: -2px;
-          font-size: 18px;
-        }
-        .littleBlock{   //添加对话框 label和input框
-            display: flex;
-            margin-top: 20px;
-            box-sizing: border-box;
-            padding: 0 5%;
-            flex-shrink: 0;
-            width: 45%;
-            display: flex;
-            justify-content: flex-end;
-            .littleBlockInp{
-              position: relative;
-              box-sizing: border-box;
-              padding-right: 30px;
-              .yuan{
-                position: absolute;
-                top: 7px;
-                right: 0px;
-                font-size: 16px;
-              }
-            }
-            .dialogLabel{     //label
-              min-width: 55px;
-              font-size: 16px;
-              margin-right: 10px;
-              display: inline-block;
-              text-align: justify;
-              text-justify:distribute-all-lines;
-              text-align-last: justify;
-              transform: translate(0,22%);
-            }
-            input::-webkit-outer-spin-button,
-            input::-webkit-inner-spin-button {
-              -webkit-appearance: none !important;
-            }
-            input[type='number'] {
-              -moz-appearance: textfield;
-            }
-          .el-input__inner{
-              line-height: 1px!important;
-            }
-          }
-        .footer{
-          width: 100%;
-          display: flex;
-          justify-content: center;
-          [type="button"]{
-            font-size: 16px;
-          }
-
-        }
-    }
-  }
-
-
-  .delMemberDialog{    //删除经费明细对话框样式
-            font-size: 18px;
-            .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;
-            }
-            .el-dialog__body{
-              padding: 0;
-            }
-            .dialog-footer{
-              display: flex;
-              justify-content: center;
-              box-sizing: border-box;
-            }
-          }
-.monthFund{
-  .el-table .cell{
-        // 不换行
-        white-space:nowrap !important;
-    }
-  }
-</style>

+ 13 - 6
src/views/projectApply/components/studentProjectWordDetail.vue

@@ -90,7 +90,7 @@
                   type="date"
                   placeholder="请选择项目计划完成时间"
                   prefix-icon="none"
-                  value-format="yyyy-MM-dd">
+                  value-format="yyyy-MM-dd HH:mm:ss">
                   <!-- value-format="yyyy-MM-dd HH:mm:ss"> -->
     
                 </el-date-picker></td>
@@ -101,7 +101,7 @@
                     type="date"
                     placeholder="请选择项目计划完成时间"
                     prefix-icon="none"
-                    value-format="yyyy-MM-dd">
+                    value-format="yyyy-MM-dd HH:mm:ss">
                     <!-- value-format="yyyy-MM-dd HH:mm:ss"> -->
     
                   </el-date-picker>
@@ -672,7 +672,7 @@
                 .get(this.$store.state.api+'/studentProjectData',param)
                 .then(res=>{
                     let data=res.data[0][0];
-                    // console.log(data);
+                    console.log(data);
                     this.wordData.projectName=data.title;
                     this.wordData.radio=data.typeName;
                     this.wordData.checkList=JSON.parse(data.multiSelectProject);
@@ -681,14 +681,15 @@
                     this.wordData.applyParsonName=data.pro_leader;
                     this.wordData.college=data.classid;
                     this.wordData.tel=data.phone;
-                    this.wordData.beginTime=data.begin_at;
-                    this.wordData.endTime=data.plannedEnd_at;
+                    this.wordData.beginTime=data.bTime;
+                    this.wordData.endTime=data.eTime;
                     this.wordData.studentS=JSON.parse(data.course_student);
                     this.wordData.teacherS=JSON.parse(data.course_teacher);
                     this.wordData.brief=data.brief;
                     this.wordData.introduce=JSON.parse(data.chapters)
                     this.wordData.fund=JSON.parse(data.money)
                     this.downWordData={...this.wordData,...{etime:data.eTime,btime:data.bTime,dp:data.className}}
+                    console.log(this.wordData)
                 },err=>{
                     console.log(err);
                 })
@@ -851,7 +852,13 @@
                 this.ajax
                 .post(this.$store.state.api+'/updateStudentProjectData',param)
                 .then(res=>{
-                    console.log(res);
+                    // console.log(res.data);
+                    if (res.data) {
+                      this.updatedWordDig=false
+                      return this.$message.success('修改成功')
+                    }else{
+                      this.$message.error('修改失败')
+                    }
                 },err=>{
                     console.log(err);
                 })

+ 0 - 659
src/views/projectApply/projectApplicationApplyMain.vue

@@ -1,659 +0,0 @@
-<template>
-  <!-- 项目立项申请表单区域 -->
-    <div class="projectApplicationApplyPAapply">
-      
-      <!-- 上方导航区开始 -->
-      <div class="PAheader">   
-          <div class="PAheaderBlock" :style="{opacity: status!=0?0.8:1}" @click="status=0">
-            <img src="@/assets/vector/first.png" class="vector" alt="">
-            立项基础信息
-          </div>
-          <div class="PAheaderBlock" :style="{opacity: status!=1?0.8:1}" @click="status=1">
-            <img src="@/assets/vector/second.png" class="vector" alt="">
-            项目内容
-          </div>
-          <div class="PAheaderBlock" :style="{opacity: status!=2?0.8:1}" @click="status=2">
-            <img src="@/assets/vector/fouth.png" class="vector" alt="">
-            预算经费
-          </div>
-      </div>
-      <!-- 上方导航区结束-->
-
-      <!--下方内容区开始-->
-      <div class="Main_area">
-        <!-- 学生创客项目 5e21b204-c206-11ed-a4cd-509a4c5b67cf -->
-        <!-- 特色创客空间建设项目 5f7a66d5-c206-11ed-a4cd-509a4c5b67cf -->
-        <!-- <projectApplicationApply :data="projectApplicationApply1" :next="next"  :back="back"/> -->
-        <projectApplicationApply :data="projectApplicationApply1" :next="next"  :pageType="pageType" v-if="status==0 && pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'"/>
-        <projectApplicationApply2 :data="projectApplicationApply2" :next="next" :back="back" v-if="status==1 && pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'"/>
-        <projectApplicationApply3 :data="projectApplicationApply3" :confirmSetFund="confirmSetFund" :data2="pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'?projectApplicationApply1:MakerSpace" :next="next" :back="back" :submitBtn="submitBtn" v-show="status==2"/> 
-
-        <!-- 特色创客空间建设项目 -->
-        <projectApplicationApplyMakerSpace :data="MakerSpace" :type="pageType" :option="projectApplicationApply1.sortOptions" :next="next" :back="back" v-if="status==0 && pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'"/>
-        <projectApplicationApplyMakerSpace2 :data="MakerSpace2" :next="next" :back="back" v-if="status==1 && pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'"/>
-        <!-- <projectApplicationApply :data="projectApplicationApply1" :next="next"  :back="back" v-if="status==0 && pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'"/> -->
-        <!-- <projectApplicationApplyMakerSpace :data="MakerSpace" :next="next"  :back="back" v-if="status==0 && pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'"/> -->
-      </div>
-       <!--下方内容区结束-->
-
-      <!-- 提交对话框开始 -->
-        <el-dialog
-          title="提示"
-          :visible.sync="submitHint"
-          width="600px"
-          class="pageSubmitData"
-          :before-close="init">
-          <div class="addDialogLogo">LOGO</div>
-          <div class="deleteContent">确定提交“{{pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'?projectApplicationApply1.select.projectName:MakerSpace.select.projectName}}”项目立项?</div>
-          <span slot="footer" class="dialog-footer">
-            <el-button type="primary" @click="submitAll" class="AllDialogBtn">确认提交</el-button>
-            <el-button @click="init" class="AllDialogBtn">取消</el-button>
-          </span>
-        </el-dialog>
-      <!-- 提交对话框结束 -->
-
-      <!-- 选择分类开始 -->
-      <el-dialog
-          title="选择分类"
-          :visible.sync="selectType"
-          width="600px"
-          class="pageSubmitData"
-          :close-on-click-modal='false'
-          :close-on-press-escape="false"
-          :show-close="false"
-          >
-          <!-- <div class="addDialogLogo">LOGO</div> -->
-          <div class="TypeBox">
-            <div class="selectType" v-for="(item,index) in projectApplicationApply1.sortOptions" :key="index">
-              <el-tooltip class="item" v-for="(item2,index2) in item['children']" :key="index2" effect="dark" :content="item.label+'('+item2.label+')'" placement="top">
-              <div class="TypeCard" @click="changeType(item.value,item2.value)">
-                <img src="@/assets/img/file.png" alt="">
-                <span>{{item.label}}</span>
-                <span>({{ item2.label }})</span>
-              </div>
-              </el-tooltip>
-         
-            </div>
-              <!-- <div style="margin-right: 10px;">选择分类</div> -->
-              <!-- <el-cascader v-model="pageType" :options="projectApplicationApply1.sortOptions" clearable></el-cascader> -->
-          </div>
-
-          <span slot="footer" class="dialog-footer">
-            <!-- <el-button type="primary" @click="selectTypeButton" class="AllDialogBtn">确定</el-button> -->
-            <el-button @click="$router.back()" class="AllDialogBtn">取消</el-button>
-          </span>
-        </el-dialog>
-      <!-- 选择分类结束 -->
-  </div>
-  </template>
-  
-  <script>
-  // 引入项目详情三个页面
-  // import { uuid } from 'vue-uuid';
-  //学生创业项目
-  import projectApplicationApply from './components/projectApplicationApply.vue';
-  import projectApplicationApply2 from './components/projectApplicationApply2.vue';
-  import projectApplicationApply3 from './components/projectApplicationApply3.vue';
-  //创客空间建设项目立项申报
-  import projectApplicationApplyMakerSpace from './components/projectApplicationApplyMakerSpace.vue';
-  import projectApplicationApplyMakerSpace2 from './components/projectApplicationApplyMakerSpace2.vue'
-      export default {
-        // 进行注册使用
-        components:{
-          projectApplicationApply,
-          projectApplicationApply2,
-          projectApplicationApply3,
-          projectApplicationApplyMakerSpace,
-          projectApplicationApplyMakerSpace2,
-        },
-        data() {
-          return {
-            // selectType:true,     //选择分类对话框
-            selectType:true,     //选择分类对话框
-            pageType:[],         //判断页面显示分类   学生创客项目    学院特色创客空间   
-            status:0,   //判断顶部导航跳转
-            submitHint:false,   //提交按钮
-
-            //创客空间建设项目立项申报数据
-            MakerSpace:{
-                dialogImageUrl:"",  //封面
-                select:{    //基本信息数据框
-                  projectName:'', //项目名称
-                  person:'',  //项目负责人
-                  Data:[],  //项目时间
-                  value:"",   //部门
-                  fund:0,  //预算总经费
-                  leader:"",//学院牵头领导
-                },
-                options: [],  //部门下拉框
-                textarea:'',   //项目简介
-                teacherData:[],//教师组
-                studentData:[],//学生组
-            },
-            //创客空间建设项目立项申报项目内容数据
-            MakerSpace2:{
-                Construction:"",//建设内容
-                ProjectBasis:"",//立项依据
-                development:"",//创客空间物理环境、制度建设及软件设施建设情况
-                studio:"",//学生创客工作室建设情况
-                studentTeam:"",//学生创客团队(人才)培养预期成果、数量
-                studentActivities:"",//学生创客活动组织实施情况
-                Transforming:"",//学生创客团队孵化、转化创业项目情况
-                condition:"",//立 项基 础及条 件
-
-            },
-
-            projectApplicationApply1:{   //立项基础信息页面
-                amendMemberDialog:false,  //修改人员对话框显示判断
-                telVerify:true,    //判断基础信息里联系电话
-
-                dialogImageUrl:"",  //封面!!!!!!!!
-                tableStudentData:[],  //学生成员成员列表!!!!!!!!
-                tableTeacherData:[],  //老师成员成员列表!!!!!!!
-                textarea:'',   //项目简介!!!!!!!
-                select:{    //要提交的数据!!!!!!!!!!!!!!!!!!!!!!!
-                  projectName:'',     //项目名称
-                  leader:'',          //项目负责人
-                  projectDate:'',   //开始结束日期
-                  department:"",   //部门
-                  fund:'',         //资金
-                  MultiSelectProjectNameS:[],   //优先支持项目
-                  schoolRemould:'',        //校园改造项目
-                  tel:'',  //电话
-                  projectApplyPerson:'',  //项目申请人
-                },
-                departmentOptions: [],  //部门下拉框
-                sortOptions: []//分类下拉框,
-
-            },
-
-            projectApplicationApply2:{  //项目内容页面
-                  back:'',
-                  innovate:'',
-                  path:'',
-                  scene:'',
-                  worth:'',
-                  team:'',
-                  cost:'',
-                  expectResults:'',
-                  expectResultsTeacher:'',
-                  expectConversion:'',
-                  plan:''
-            },
-            projectApplicationApply3:{  //预算经费页面
-                tableData:  // 经费月支出计划列表数据默认显示数据
-                [
-                  {
-                    one:'-',
-                    two:'-',
-                    three:'-',
-                    four:'-',
-                    five:'-',
-                    six:'-',
-                    seven:'-',
-                    eight:'-',
-                    nine:'-',
-                    ten:'-',
-                    eleven:'-',
-                    twelve:'-',
-                    remark:'-'
-                  }
-                ],
-                items:{   //经费月支出计划dialog对话框要提交的数据
-                    one:'',
-                    two:'',
-                    three:'',
-                    four:'',
-                    five:'',
-                    six:'',
-                    seven:'',
-                    eight:'',
-                    nine:'',
-                    ten:'',
-                    eleven:'',
-                    twelve:'',
-                    remark:''
-                },
-                items2:{}, //复制items,可以确定后清除数据
-                tableData2:[],// 经费明细列表数据
-               
-                dialog:{     //经费明细添加对话框
-                  // id:'',
-                  fund:'',  //金额
-                  type:'',  //支出类别
-                  disburseProject:'',  //支出项目
-                  textarea:'',  //备注
-                  isOk:''
-                },
-            }
-          }
-        },
-        methods:{ 
-          
-          selectTypeButton(){            //分类选项 学生 学校
-            // this.$message.error('请选择分类')
-            // console.log(this.pageType[0]==false);
-            if (!this.pageType[0]) return this.$message.error('请选择分类')
-            this.selectType=false
-          },
-          next(){   //顶部导航栏页面下一条跳转
-                if(this.status>=2)return;
-                this.status++;
-            },
-            back(){  //顶部导航栏页面上一条
-                if(this.status==0)return;
-                this.status--;
-            },
-            getProjectDepartmentData(){  //获取项目立项申请基础信息页面所在部门数据
-              let param={
-                uid:this.$store.state.userInfo.userid
-              }
-                this.ajax
-                      .get(this.$store.state.api+'/SelectAllDepartment',param)
-                      .then(res=>{
-                        console.log(res.data[0]);
-                        let p=res.data[0]
-                        let a=this.projectApplicationApply1
-                        a.options=p
-                        this.MakerSpace.options = p;
-                        this.projectApplicationApply1.departmentOptions=p;
-                      },err=>{
-                        console.log(err);
-                      })
-            },
-            getProjectTypeData(){  //获取项目立项申请基础信息页面分类数据
-              let TypeList = [];
-              let param={
-                uid:this.$store.state.userInfo.userid
-              }
-                this.ajax
-                      .get(this.$store.state.api+'/SelectAllType',param)
-                      .then(res=>{
-                        console.log(res.data);
-                        //获取主分类
-                        let master = res.data[0].filter(item=>item['pid']=='');
-                        //获取子分类
-                        let minion = res.data[0].filter(item=>item['pid']!='');
-                        master.forEach(item=>{
-                          let type = {
-                            value:item['id'],
-                            label:item['name'],
-                            children:[],
-                          }
-                        // console.log(master);
-                          minion.forEach(min=>{
-                            if(min['pid']==item['id']){
-                              let minType = {
-                                value:min['id'],
-                                label:min['name']
-                              }
-                              type['children'].push(minType);
-                            }
-                          })
-                          TypeList.push(type);
-                        })
-                        // console.log(TypeList);
-                        this.projectApplicationApply1.sortOptions = TypeList;
-                        
-                      },err=>{
-                        console.log(err);
-                      })
-            },
-            //立项基础信息页面删除功能在它自己页面人员信息
-            changeType(type1,type2){//修改分类信息
-              this.pageType = [type1,type2];
-              this.selectType = false;
-            },
-
-            init(){
-                //重置
-                this.submitHint=false;
-                // this.selectType=false
-                
-            },
-            confirmSetFund(){   //预算经费经费月支出计划对话框提交
-              let data=this.projectApplicationApply3;
-              for(let key in data.items){
-                if (data.items[key]=='') {
-                  data.items[key]='-'
-                }
-              }
-               Object.assign(data.tableData[0],data.items) 
-               this.$message.success('设置经费成功')             
-              },
-
-            submitBtn(){   //预算经费页面提交显示对话框
-                //先判断项目名称是否为空
-                if(this.pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'){//学生创客项目
-                    if(this.projectApplicationApply1.select.projectName=='')return this.$message.error("请先输入项目名称")
-                    this.submitHint = true;
-                }else if(this.pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'){//特色创客空间建设项目
-                  if(this.MakerSpace.select.projectName=="")return this.$message.error("请先输入项目名称");
-                    this.submitHint = true;
-                }else{
-                  return this.$message.error("项目分类错误")
-                }
-            },
-            submitAll(){
-              if(this.pageType[0]=='5e21b204-c206-11ed-a4cd-509a4c5b67cf'){//学生创客项目
-                //在这里判断数据
-              this.submitData()
-
-              }else if(this.pageType[0]=='5f7a66d5-c206-11ed-a4cd-509a4c5b67cf'){//特色创客空间建设项目
-                //在这里判断项目
-                this.InsertProjectMakerSpace();
-              }
-            },
-            submitData(){  //提交学生创业项目
-
-              let a=this.projectApplicationApply1;
-              let b=this.projectApplicationApply2;
-              let c=this.projectApplicationApply3
-
-              let param={
-                uid:this.$store.state.userInfo.userid,
-                tit:a.select.projectName,
-                leader:a.select.leader,
-                begDate:a.select.projectDate[0],
-                endDate:a.select.projectDate[1],
-                department:a.select.department,
-                fund:a.select.fund,
-                imgsrc:a.dialogImageUrl,
-                teacher:JSON.stringify(a.tableTeacherData),
-                student:JSON.stringify(a.tableStudentData),
-                con:a.textarea,
-                chapters:JSON.stringify(b),
-                tid:this.pageType[0],
-                tName:this.pageType[1],
-                // message:JSON.stringify([d,[newData1,c.tableData2]]),
-                mon:JSON.stringify(this.projectApplicationApply3),//预算经费,
-                tel:a.select.tel,
-                Mul:JSON.stringify(a.select.MultiSelectProjectNameS),
-                schoolRemould:a.select.schoolRemould,
-                person:a.select.projectApplyPerson,
-              }
-              const cEmpty = /^\s*$/g;
-              for(let i in param){
-                switch(i){
-                  case 'leader':
-                    if(cEmpty.test(param[i]))return this.$message.error("项目负责人不能为空")
-                    break;
-                  case 'begDate':
-                    if(!param[i])return this.$message.error("请选择项目开始时间")
-                    break;
-                  case 'department':
-                    if(cEmpty.test(param[i]))return this.$message.error("请选择项目所属部门")
-                    break;
-                  case "fund":
-                    if(cEmpty.test(param[i]))return this.$message.error("请输入预算经费")
-                    break;
-                  case 'Mul':
-                    if(!JSON.parse(param[i]).length) return this.$message.error("请选择优先支持项目")
-                    break;
-                  case 'schoolRemould':
-                    if(!param[i])return this.$message.error("请选择美丽校园改造项目")
-                    break;
-                  case "tel":
-                    if(cEmpty.test(param[i]))return this.$message.error("请输入联系方式")
-                    break;
-                  case 'person':
-                    if(cEmpty.test(param[i]))return this.$message.error("请选择项目申请人")
-                    break;
-                  case 'imgsrc':
-                    if(cEmpty.test(param[i]))return this.$message.error("请选择项目封面图片")
-                    break;
-                  case 'teacher':
-                    if(JSON.parse(param[i]).length<2 || JSON.parse(param[i]).length>3)return this.$message.error("需要教师团队2-3人,至少应包含1名教研室主任")
-                    break;
-                  case 'student':
-                    if(JSON.parse(param[i]).length<5)return this.$message.error("需要学生团队5人以上")
-                    break;
-                  case 'con':
-                    console.log(param[i].length);
-                    if(param[i].length<200 || param[i].length>=300)return this.$message.error("项目简介需要200-300字")
-                    break;
-                }
-              }
-              // return console.log(param);
-                this.ajax
-                      .post(this.$store.state.api+'/InsertProjectStudent',param)
-                      .then(res=>{
-                        console.log(res)
-                        if(res.data==1){
-                          this.$message.success("创建成功")
-                          this.$router.push('projectApplication')
-                        }else{
-                          this.$message.error("创建失败")
-                        }
-                      },err=>{
-                        console.log(err);
-                      })
-            },
-            //添加特色创客空间建设项目立项申报
-            InsertProjectMakerSpace(){
-              let param = {
-                uid:this.$store.state.userInfo.userid,//用户ID,
-                title:this.MakerSpace.select.projectName,//项目名称
-                pro_leader:this.MakerSpace.select.person,//项目负责人
-                startTime:this.MakerSpace.select.Data[0],//项目开始时间
-                endTime:this.MakerSpace.select.Data[1],//项目结束时间
-                classid:this.MakerSpace.select.value,//部门ID
-                fund:this.MakerSpace.select.fund,//预算总经费
-                lead_leader:this.MakerSpace.select.leader,//学院牵头领导
-                image:this.MakerSpace.dialogImageUrl,//项目封面
-                course_teacher:JSON.stringify(this.MakerSpace.teacherData),//教师团队
-                course_student:JSON.stringify(this.MakerSpace.studentData),//学生团队
-                brief:this.MakerSpace.textarea,//项目简介
-                chapters:JSON.stringify(this.MakerSpace2),//项目内容
-                typeid:this.pageType[0],//分类一级ID
-                typeName:this.pageType[1],//分类二级
-                mon:JSON.stringify(this.projectApplicationApply3),//预算经费,
-              }
-              //判断数据
-              const cEmpty = /^\s*$/g;
-              for(let i in param){
-                switch(i){
-                  case 'pro_leader':
-                    if(cEmpty.test(param[i]))return this.$message.error("项目负责人不能为空")
-                    break;
-                  case 'startTime':
-                    if(cEmpty.test(param[i]))return this.$message.error("请选择项目开始时间")
-                    break;
-                  case 'endTime':
-                    if(cEmpty.test(param[i]))return this.$message.error("请选择项目计划结束时间")
-                    break
-                  case 'classid':
-                    if(cEmpty.test(param[i]))return this.$message.error("请选择项目所属部门")
-                    break;
-                  case "lead_leader":
-                    if(cEmpty.test(param[i]))return this.$message.error("请输入学院牵头领导")
-                    break;
-                  case 'image':
-                    if(cEmpty.test(param[i]))return this.$message.error("请选择项目封面图片")
-                    break;
-                  case 'course_teacher':
-                    if(JSON.parse(param[i]).length<3)return this.$message.error("需要教师团队3人以上,至少应包含1名教研室主任")
-                    break;
-                  case 'course_student':
-                    if(JSON.parse(param[i]).length<5)return this.$message.error("需要学生团队5人以上")
-                    break;
-                  case 'brief':
-                    if(param[i].length<200&&param[i]<=300)return this.$message.error("项目简介需要200-300字")
-                    break;
-                }
-              }
-              this.ajax.post(this.$store.state.api+"/InsertProjectMakerSpace",param).then(res=>{
-                if(res.data==1){
-                  this.$message.success("提交成功")
-                  this.$router.push('/projectApplication')
-                }else{
-                  this.$message.error("提交失败")
-                }
-              }).catch(err=>{
-                console.log(err)
-              })
-            }
-           
-        },
-        created(){      //实例初始化完成后调用
-            this.getProjectDepartmentData()   //获取项目立项申请基础信息页面所在部门数据
-            this.getProjectTypeData()   //获取项目立项申请基础信息页面分类数据
-            // this.submitData()
-            // if(this.$route.query["id"]){
-            //   //弹窗
-            // }else{
-            //   // this.$route.push(`/projectApplicationApplyMain?id=`)
-            // }
-        }
-      }
-  </script>
-  
-  <style lang="less">
-  .projectApplicationApplyPAapply{
-      width: 100%;
-      background: #e6eaf0;
-      display: flex;
-      flex-direction: column;
-      align-items: center;
-
-
-
-  // 顶部导航区开始
-      .PAheader{
-        width: 71.4%;
-        height: 70px;
-        position: relative;
-        top: 15px;
-        border-radius: 5px;
-        background: #ffffff;
-        display: flex;
-        justify-content: center;
-        align-items: center;
-    
-          .PAheaderBlock{
-            background: #4a83d0;
-            width: 13%;
-            height: 70%;
-            border-radius: 10px;
-            display: flex;
-            justify-content: center;
-            align-items: center;
-            color: #fff;
-            font-size: 16px;
-            cursor: pointer;
-          }
-          .PAheaderBlock:nth-of-type(2){
-            margin: 10%;
-          }
-      }  
-      .vector{  //矢量图大小
-          height: 50%;
-          margin-top: 5px;
-        }
-        .Main_area{  //宽度
-          width: 75%;
-          min-height: 80%;
-          margin-bottom: 20px;
-        }
-  // 顶部导航区结束
-
-
-
-   .right{
-        width: 83%;
-        background: #fff;
-        box-sizing: border-box;
-        padding: 15px 30px;
-        min-height: 740px;
-        // margin-bottom: 60px;
-        border-radius: 5px;
-   }
-
-  // 左边栏开始
-  .left{
-      width: 10%;
-      min-width: 110px;
-      height: 740px;
-      background: #32455b;
-      display: flex;
-      justify-content: center;
-      margin-right: 2%;
-      box-sizing: border-box;
-      padding: 0 10px;
-      border-radius: 5px;
-      .leftTits{
-        display: flex;
-        flex-direction: column;
-        margin: 50px 0 0 10px;
-        div{
-          width: 97px;
-          color: #fff;
-          cursor: pointer;
-          margin-bottom: 30px;
-          p{
-            white-space: nowrap;
-            overflow: hidden;
-            text-overflow:ellipsis;
-          }
-        }
-      }
-      div:hover{
-        color: #ccc;
-      }
-      .sx{
-        margin-top: 53.5px;
-        margin-left: 8px;
-        width: 1px;
-        height: 400px;
-        background: #84888d;
-        .qiu{
-          width: 10px;
-          height: 10px;
-          background: #fff;
-          border-radius: 50px;
-          margin-left: -4.5px;
-        }
-      }
-    }
-  // 左边栏结束
-  .TypeBox{
-    display: flex;
-    align-items: flex-start;
-    .selectType{
-      display: flex;
-      justify-content: center;
-      align-items: center;
-      .TypeCard{
-        display: flex;
-        flex-direction: column;
-        justify-content: center;
-        align-items: center;
-        width: 90px;
-        padding: 10px;
-        cursor: pointer;
-        span{
-          width: 100%;
-          display: block;
-          overflow: hidden;
-          text-overflow: ellipsis;
-          white-space: nowrap;
-          &:nth-child(3){
-            display: flex;
-            justify-content: center;
-          }
-        }
-        img{
-          width: 50px;
-          height: 50px;
-        }
-        &:hover{
-          background-color: #d4dde1;
-        }
-      }
-    }
-  }
-
-}
-
-
-  </style>