Q-ABAB 2 年之前
父节点
当前提交
19cdeb8364

+ 3 - 0
src/views/activityManage/components/NomMarkerWord.vue

@@ -424,6 +424,7 @@
               }
               :deep(.el-select .el-input .el-select__caret){
                 display: none;
+                font-family:Arial,"Microsoft Yahe","微软雅黑";
               }
               :deep(.el-textarea__inner){
                 // padding: 0;
@@ -431,9 +432,11 @@
                 border-radius: 0px;
                 text-align: center;
                 font-size: 16px;
+                font-family:Arial,"Microsoft Yahe","微软雅黑";
               }
               :deep(.el-input__inner){
                 border: none ;
+                font-family:Arial,"Microsoft Yahe","微软雅黑";
                 &::-webkit-outer-spin-button,&::-webkit-inner-spin-button{
                   -webkit-appearance: none !important;
                 }

+ 3 - 0
src/views/activityManage/components/markeractivityWord.vue

@@ -549,6 +549,7 @@
               }
               :deep(.el-select .el-input .el-select__caret){
                 display: none;
+                font-family:Arial,"Microsoft Yahe","微软雅黑";
               }
               :deep(.el-textarea__inner){
                 // padding: 0;
@@ -556,9 +557,11 @@
                 border-radius: 0px;
                 text-align: center;
                 font-size: 16px;
+                font-family:Arial,"Microsoft Yahe","微软雅黑";
               }
               :deep(.el-input__inner){
                 border: none ;
+                font-family:Arial,"Microsoft Yahe","微软雅黑";
                 &::-webkit-outer-spin-button,&::-webkit-inner-spin-button{
                   -webkit-appearance: none !important;
                 }

+ 34 - 33
src/views/activityManage/makerActivityWordDetail.vue

@@ -167,11 +167,12 @@
                     case "member":
                         let num = 0;
                         this.wordData[i].forEach(item=>{
-                          for(let j in item){
-                            if(cEmpty.test(item[j])){
-                              num++;
-                            }
-                          }
+                          if(cEmpty.test(item['name']))num++;
+                          // for(let j in item){
+                          //   if(cEmpty.test(item[j])){
+                          //     num++;
+                          //   }
+                          // }
                         
                         })
                         if(num>0){
@@ -180,34 +181,34 @@
                           return false;
                         }
                       break;
-                    case "activityPlan":
-                      if(cEmpty.test(this.wordData[i][0])){
-                        this.$message.error("请输入活动计划");
-                        document.querySelector('#six').scrollIntoView({ behavior: "smooth" });
-                        return false;
-                      }
-                      break;
-                    case "expectations":
-                      if(cEmpty.test(this.wordData[i][0])){
-                        this.$message.error("预期目标");
-                        document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
-                        return false;
-                      }
-                      break;
-                    case "eventAudience":
-                      if(cEmpty.test(this.wordData[i][0])){
-                        this.$message.error("活动受众面")
-                        document.querySelector('#nine').scrollIntoView({ behavior: "smooth" });
-                        return false;
-                      }
-                      break;
-                    case "fundingPlan":
-                      if(cEmpty.test(this.wordData[i][0])){
-                        this.$message.error("经费支出计划")
-                        document.querySelector('#ten').scrollIntoView({ behavior: "smooth" });
-                        return false;
-                      }
-                      break;
+                    // case "activityPlan":
+                    //   if(cEmpty.test(this.wordData[i][0])){
+                    //     this.$message.error("请输入活动计划");
+                    //     document.querySelector('#six').scrollIntoView({ behavior: "smooth" });
+                    //     return false;
+                    //   }
+                    //   break;
+                    // case "expectations":
+                    //   if(cEmpty.test(this.wordData[i][0])){
+                    //     this.$message.error("预期目标");
+                    //     document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
+                    //     return false;
+                    //   }
+                    //   break;
+                    // case "eventAudience":
+                    //   if(cEmpty.test(this.wordData[i][0])){
+                    //     this.$message.error("活动受众面")
+                    //     document.querySelector('#nine').scrollIntoView({ behavior: "smooth" });
+                    //     return false;
+                    //   }
+                    //   break;
+                    // case "fundingPlan":
+                    //   if(cEmpty.test(this.wordData[i][0])){
+                    //     this.$message.error("经费支出计划")
+                    //     document.querySelector('#ten').scrollIntoView({ behavior: "smooth" });
+                    //     return false;
+                    //   }
+                    //   break;
                   }
                 }
                 this.submitHint = true;

+ 36 - 35
src/views/activityManage/newMarkerActivity.vue

@@ -42,7 +42,7 @@
           pro_leader:"",//活动负责人
           college: '',//所在学院
           tel:'',//联系电话
-          activityTime:"",//活动时间
+          activityTime:[],//活动时间
           student:0,//参与学生人数
           member:[
             {name:"",collage:"",work:""},
@@ -132,47 +132,48 @@
               case "member":
                   let num = 0;
                   this.wordData[i].forEach(item=>{
-                    for(let j in item){
-                      if(cEmpty.test(item[j])){
-                        num++;
-                      }
-                    }
+                    if(cEmpty.test(item['name']))num++;
+                    // for(let j in item){
+                    //   if(cEmpty.test(item[j])){
+                    //     num++;
+                    //   }
+                    // }
                   
                   })
                   if(num>0){
-                    this.$message.error("请填完指导老师信息");
+                    this.$message.error("指导老师姓名不能为空");
                     document.querySelector('#five').scrollIntoView({ behavior: "smooth" });
                     return false;
                   }
                 break;
-              case "activityPlan":
-                if(cEmpty.test(this.wordData[i][0])){
-                  this.$message.error("请输入活动计划");
-                  document.querySelector('#six').scrollIntoView({ behavior: "smooth" });
-                  return false;
-                }
-                break;
-              case "expectations":
-                if(cEmpty.test(this.wordData[i][0])){
-                  this.$message.error("预期目标");
-                  document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
-                  return false;
-                }
-                break;
-              case "eventAudience":
-                if(cEmpty.test(this.wordData[i][0])){
-                  this.$message.error("活动受众面")
-                  document.querySelector('#nine').scrollIntoView({ behavior: "smooth" });
-                  return false;
-                }
-                break;
-              case "fundingPlan":
-                if(cEmpty.test(this.wordData[i][0])){
-                  this.$message.error("经费支出计划")
-                  document.querySelector('#ten').scrollIntoView({ behavior: "smooth" });
-                  return false;
-                }
-                break;
+              // case "activityPlan":
+              //   if(cEmpty.test(this.wordData[i][0])){
+              //     this.$message.error("请输入活动计划");
+              //     document.querySelector('#six').scrollIntoView({ behavior: "smooth" });
+              //     return false;
+              //   }
+              //   break;
+              // case "expectations":
+              //   if(cEmpty.test(this.wordData[i][0])){
+              //     this.$message.error("预期目标");
+              //     document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
+              //     return false;
+              //   }
+              //   break;
+              // case "eventAudience":
+              //   if(cEmpty.test(this.wordData[i][0])){
+              //     this.$message.error("活动受众面")
+              //     document.querySelector('#nine').scrollIntoView({ behavior: "smooth" });
+              //     return false;
+              //   }
+              //   break;
+              // case "fundingPlan":
+              //   if(cEmpty.test(this.wordData[i][0])){
+              //     this.$message.error("经费支出计划")
+              //     document.querySelector('#ten').scrollIntoView({ behavior: "smooth" });
+              //     return false;
+              //   }
+              //   break;
             }
           }
           this.submitHint = true;

+ 35 - 34
src/views/activityManage/newNomMarkerActivity.vue

@@ -42,7 +42,7 @@ export default {
         pro_leader:"",//活动负责人
         college: '',//所在学院
         tel:'',//联系电话
-        activityTime:"",//活动时间
+        activityTime:[],//活动时间
         student:0,//参与学生人数
         member:[
           {name:"",collage:"",work:""},
@@ -125,11 +125,12 @@ export default {
             case "member":
                 let num = 0;
                 this.wordData[i].forEach(item=>{
-                  for(let j in item){
-                    if(cEmpty.test(item[j])){
-                      num++;
-                    }
-                  }
+                  if(cEmpty.test(item['name']))num++;
+                  // for(let j in item){
+                  //   if(cEmpty.test(item[j])){
+                  //     num++;
+                  //   }
+                  // }
                 
                 })
                 if(num>0){
@@ -138,34 +139,34 @@ export default {
                   return false;
                 }
               break;
-            case "activityPlan":
-              if(cEmpty.test(this.wordData[i][0])){
-                this.$message.error("请输入活动计划");
-                document.querySelector('#six').scrollIntoView({ behavior: "smooth" });
-                return false;
-              }
-              break;
-            case "expectations":
-              if(cEmpty.test(this.wordData[i][0])){
-                this.$message.error("预期目标");
-                document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
-                return false;
-              }
-              break;
-            case "eventAudience":
-              if(cEmpty.test(this.wordData[i][0])){
-                this.$message.error("活动受众面")
-                document.querySelector('#nine').scrollIntoView({ behavior: "smooth" });
-                return false;
-              }
-              break;
-            case "fundingPlan":
-              if(cEmpty.test(this.wordData[i][0])){
-                this.$message.error("经费支出计划")
-                document.querySelector('#ten').scrollIntoView({ behavior: "smooth" });
-                return false;
-              }
-              break;
+            // case "activityPlan":
+            //   if(cEmpty.test(this.wordData[i][0])){
+            //     this.$message.error("请输入活动计划");
+            //     document.querySelector('#six').scrollIntoView({ behavior: "smooth" });
+            //     return false;
+            //   }
+            //   break;
+            // case "expectations":
+            //   if(cEmpty.test(this.wordData[i][0])){
+            //     this.$message.error("预期目标");
+            //     document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
+            //     return false;
+            //   }
+            //   break;
+            // case "eventAudience":
+            //   if(cEmpty.test(this.wordData[i][0])){
+            //     this.$message.error("活动受众面")
+            //     document.querySelector('#nine').scrollIntoView({ behavior: "smooth" });
+            //     return false;
+            //   }
+            //   break;
+            // case "fundingPlan":
+            //   if(cEmpty.test(this.wordData[i][0])){
+            //     this.$message.error("经费支出计划")
+            //     document.querySelector('#ten').scrollIntoView({ behavior: "smooth" });
+            //     return false;
+            //   }
+            //   break;
           }
         }
         this.submitHint = true;

+ 90 - 81
src/views/projectApply/MakerSpaceApply.vue

@@ -2,7 +2,7 @@
     <!-- 项目立项申请 -->
     <div id="MakerSpaceApply" v-loading="loading">
       <div class="pAHeader">
-        <div class="pAHeader1">创客空间项目申请</div>
+        <div class="pAHeader1">创客空间申请</div>
       </div>
       <hr>
       <MakerSpaceWord :wordData="wordData"/>
@@ -148,15 +148,16 @@
                     }else{
                       let num = 0;
                       this.wordData[i].forEach(item=>{
-                        for(let j in item){
-                          if(cEmpty.test(item[j])){
-                            num++;
-                          }
-                        }
+                        if(cEmpty.test(item['name']))num++;
+                        // for(let j in item){
+                        //   if(cEmpty.test(item[j])){
+                        //     num++;
+                        //   }
+                        // }
                     
                       })
                       if(num>0){
-                        this.$message.error("请填完教师信息");
+                        this.$message.error("教师姓名请不要留空");
                         document.querySelector('#five').scrollIntoView({ behavior: "smooth" });
                         return false;
                       }
@@ -171,88 +172,96 @@
                     }else{
                       let num = 0;
                       this.wordData[i].forEach(item=>{
-                        for(let j in item){
-                          if(cEmpty.test(item[j])){
-                            num++;
-                          }
-                        }
+                        if(cEmpty.test(item['name']))num++;
+                        // for(let j in item){
+                        //   if(cEmpty.test(item[j])){
+                        //     num++;
+                        //   }
+                        // }
                       })
                       if(num>0){
-                        this.$message.error("请填完学生信息");
+                        this.$message.error("学生姓名请不要留空");
                         document.querySelector('#six').scrollIntoView({ behavior: "smooth" });
                         return false;
                       }
                     }
                     break;
-                  case "brief":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写项目简介");
-                      document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }else{
-                      if(this.wordData[i].length<200||this.wordData>300){
-                        this.$message.error("项目简介需要200-300字")
-                        document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
-                        return false;
+                    case 'fund':
+                      if(this.wordData['fund']['total']==0){
+                        // console.log(document.querySelector('#fund'))
+                        document.querySelector('#fund').scrollIntoView({ behavior: "smooth" });
+                        return this.$message.error('请输入预算经费');
                       }
-                    }
-                    break;
-                  case "Construction":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写建设内容");
-                      document.querySelector('#eight').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "ProjectBasis":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写立项依据");
-                      document.querySelector('#nine').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "development":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写创客空间物理环境、制度建设及软件设施建设情况");
-                      document.querySelector('#ten').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "studio":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写学生创客工作室建设情况");
-                      document.querySelector('#eleven').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "studentTeam":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写学生创客团队(人才)培养预期成果、数量");
-                      document.querySelector('#twelve').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "studentActivities":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写学生创客活动组织实施情况");
-                      document.querySelector('#thirteen').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "Transforming":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写学生创客团队孵化、转化创业项目情况");
-                      document.querySelector('#fourteen').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "condition":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写基础条件");
-                      document.querySelector('#fifteen').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break
+                      break;
+                  // case "brief":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写项目简介");
+                  //     document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }else{
+                  //     if(this.wordData[i].length<200||this.wordData>300){
+                  //       this.$message.error("项目简介需要200-300字")
+                  //       document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
+                  //       return false;
+                  //     }
+                  //   }
+                  //   break;
+                  // case "Construction":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写建设内容");
+                  //     document.querySelector('#eight').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "ProjectBasis":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写立项依据");
+                  //     document.querySelector('#nine').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "development":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写创客空间物理环境、制度建设及软件设施建设情况");
+                  //     document.querySelector('#ten').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "studio":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写学生创客工作室建设情况");
+                  //     document.querySelector('#eleven').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "studentTeam":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写学生创客团队(人才)培养预期成果、数量");
+                  //     document.querySelector('#twelve').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "studentActivities":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写学生创客活动组织实施情况");
+                  //     document.querySelector('#thirteen').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "Transforming":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写学生创客团队孵化、转化创业项目情况");
+                  //     document.querySelector('#fourteen').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "condition":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写基础条件");
+                  //     document.querySelector('#fifteen').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break
                 }
               }
               this.submitHint = true;

+ 7 - 1
src/views/projectApply/components/MakerSpaceWord.vue

@@ -376,7 +376,7 @@
         </div>
 
         <div class="fund">
-          <div class="fundTitle">
+          <div class="fundTitle" id="fund">
             预算<br/>经费
           </div>
           <div class="fundTable">
@@ -962,6 +962,8 @@
     box-sizing: border-box;
     border: none;
     outline: none;
+    font-family:Arial,"Microsoft Yahe","微软雅黑";
+    // font-family: '微软雅黑';
     &::-webkit-outer-spin-button,&::-webkit-inner-spin-button{
       -webkit-appearance: none !important;
     }
@@ -980,6 +982,7 @@
     box-sizing: border-box;
     border: none;
     overflow: hidden;
+    font-family:Arial,"Microsoft Yahe","微软雅黑";
   }
   .noCenter{
     :deep(.el-textarea__inner ){
@@ -989,9 +992,11 @@
   :deep(.el-date-editor){
     width: 100%;
     height: 100%;
+    font-family:Arial,"Microsoft Yahe","微软雅黑";
   }
   :deep(.el-input__suffix){
     display:none;
+    font-family:Arial,"Microsoft Yahe","微软雅黑";
   }
   //去除input number样式
   input::-webkit-outer-spin-button,
@@ -1002,6 +1007,7 @@
     -moz-appearance: textfield;
   }
   .fontBold{
+    font-family:Arial,"Microsoft Yahe","微软雅黑";
     font-weight:bold;
   }
 }

+ 84 - 81
src/views/projectApply/components/MakerSpaceWordDetail.vue

@@ -214,15 +214,10 @@
                     }else{
                       let num = 0;
                       this.wordData[i].forEach(item=>{
-                        for(let j in item){
-                          if(cEmpty.test(item[j])){
-                            num++;
-                          }
-                        }
-                    
+                        if(cEmpty.test(item['name']))num++;
                       })
                       if(num>0){
-                        this.$message.error("请填完教师信息");
+                        this.$message.error("教师姓名请不要留空");
                         document.querySelector('#five').scrollIntoView({ behavior: "smooth" });
                         return false;
                       }
@@ -237,88 +232,96 @@
                     }else{
                       let num = 0;
                       this.wordData[i].forEach(item=>{
-                        for(let j in item){
-                          if(cEmpty.test(item[j])){
-                            num++;
-                          }
-                        }
+                        if(cEmpty.test(item['name']))num++;
+                        // for(let j in item){
+                        //   if(cEmpty.test(item[j])){
+                        //     num++;
+                        //   }
+                        // }
                       })
                       if(num>0){
-                        this.$message.error("请填完学生信息");
+                        this.$message.error("学生姓名请不要留空");
                         document.querySelector('#six').scrollIntoView({ behavior: "smooth" });
                         return false;
                       }
                     }
                     break;
-                  case "brief":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写项目简介");
-                      document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }else{
-                      if(this.wordData[i].length<200||this.wordData>300){
-                        this.$message.error("项目简介需要200-300字")
-                        document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
-                        return false;
+                    case 'fund':
+                      if(this.wordData['fund']['total']==0){
+                        // console.log(document.querySelector('#fund'))
+                        document.querySelector('#fund').scrollIntoView({ behavior: "smooth" });
+                        return this.$message.error('请输入预算经费');
                       }
-                    }
-                    break;
-                  case "Construction":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写建设内容");
-                      document.querySelector('#eight').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "ProjectBasis":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写立项依据");
-                      document.querySelector('#nine').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "development":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写创客空间物理环境、制度建设及软件设施建设情况");
-                      document.querySelector('#ten').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "studio":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写学生创客工作室建设情况");
-                      document.querySelector('#eleven').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "studentTeam":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写学生创客团队(人才)培养预期成果、数量");
-                      document.querySelector('#twelve').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "studentActivities":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写学生创客活动组织实施情况");
-                      document.querySelector('#thirteen').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "Transforming":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写学生创客团队孵化、转化创业项目情况");
-                      document.querySelector('#fourteen').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break;
-                  case "condition":
-                    if(cEmpty.test(this.wordData[i])){
-                      this.$message.error("请填写基础条件");
-                      document.querySelector('#fifteen').scrollIntoView({ behavior: "smooth" });
-                      return false;
-                    }
-                    break
+                      break;
+                  // case "brief":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写项目简介");
+                  //     document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }else{
+                  //     if(this.wordData[i].length<200||this.wordData>300){
+                  //       this.$message.error("项目简介需要200-300字")
+                  //       document.querySelector('#seven').scrollIntoView({ behavior: "smooth" });
+                  //       return false;
+                  //     }
+                  //   }
+                  //   break;
+                  // case "Construction":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写建设内容");
+                  //     document.querySelector('#eight').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "ProjectBasis":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写立项依据");
+                  //     document.querySelector('#nine').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "development":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写创客空间物理环境、制度建设及软件设施建设情况");
+                  //     document.querySelector('#ten').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "studio":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写学生创客工作室建设情况");
+                  //     document.querySelector('#eleven').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "studentTeam":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写学生创客团队(人才)培养预期成果、数量");
+                  //     document.querySelector('#twelve').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "studentActivities":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写学生创客活动组织实施情况");
+                  //     document.querySelector('#thirteen').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "Transforming":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写学生创客团队孵化、转化创业项目情况");
+                  //     document.querySelector('#fourteen').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break;
+                  // case "condition":
+                  //   if(cEmpty.test(this.wordData[i])){
+                  //     this.$message.error("请填写基础条件");
+                  //     document.querySelector('#fifteen').scrollIntoView({ behavior: "smooth" });
+                  //     return false;
+                  //   }
+                  //   break
                 }
               }
               this.submitHint = true;

+ 3 - 0
src/views/projectApply/components/studentProjectWord.vue

@@ -614,6 +614,7 @@
               }
               :deep(.el-select .el-input .el-select__caret){
                 display: none;
+                font-family:Arial,"Microsoft Yahe","微软雅黑";
               }
               :deep(.el-textarea__inner){
                 // padding: 0;
@@ -621,12 +622,14 @@
                 border-radius: 0px;
                 text-align: center;
                 font-size: 16px;
+                font-family:Arial,"Microsoft Yahe","微软雅黑";
               }
               :deep(.el-input__inner){
                 border: none ;
                 border-radius: 0px;
                 text-align: center;
                 font-size: 16px;
+                font-family:Arial,"Microsoft Yahe","微软雅黑";
               }
               :deep(input)::-webkit-outer-spin-button,
               :deep(input)::-webkit-inner-spin-button {

+ 28 - 22
src/views/projectApply/components/studentProjectWordDetail.vue

@@ -166,7 +166,7 @@
                     console.log(err);
                 })
             },
-          test(){
+            test(){    //验证
             const cEmpty = /^\s*$/g;
             for (let i in this.wordData){
               // console.log(this.wordData[i],i);
@@ -248,14 +248,15 @@
                 case 'studentS':
                       let snum = 0;
                       this.wordData[i].forEach(item=>{
-                        for(let j in item){
-                          if(cEmpty.test(item[j])){
-                            snum++;
-                          }
-                        }
+                        if(cEmpty.test(item['name']))snum++;
+                        // for(let j in item){
+                        //   if(cEmpty.test(item[j])){
+                        //     snum++;
+                        //   }
+                        // }
                       })
                       if(snum>0){
-                        this.$message.error("请填完学生信息");
+                        this.$message.error("学生姓名请不要留空");
                         document.querySelector('#studentS').scrollIntoView({ behavior: "smooth" });
                         return false;
                       }
@@ -264,25 +265,30 @@
                 case 'teacherS':
                       let num = 0;
                       this.wordData[i].forEach(item=>{
-                        for(let j in item){
-                          if(cEmpty.test(item[j])){
-                            num++;
-                          }
-                        }
+                        if(cEmpty.test(item['name']))num++;
+                        // for(let j in item){
+                        //   if(cEmpty.test(item[j])){
+                        //     num++;
+                        //   }
+                        // }
                       })
                       if(num>0){
-                        this.$message.error("请填完老师信息");
+                        this.$message.error("老师姓名请不要留空");
                         document.querySelector('#teacherS').scrollIntoView({ behavior: "smooth" });
                         return false;
                       }
                 break;
-                case 'brief':
-                    if (cEmpty.test(this.wordData[i])) {
-                      this.$message.error('请填写项目简介')
-                      document.querySelector('#brief').scrollIntoView({ behavior: "smooth" });
-                      return false
-                    }
-                break;
+                // case 'brief':
+                //     if (cEmpty.test(this.wordData[i])) {
+                //       this.$message.error('请填写项目简介')
+                //       // this.$refs.brief.style.background='rgb(236, 141, 141)'
+                //       // setTimeout(() => {
+                //       //   this.$refs.brief.style.background='#ffffff'
+                //       // }, 2000);
+                //       document.querySelector('#brief').scrollIntoView({ behavior: "smooth" });
+                //       return false
+                //     }
+                // break;
                 case 'fund':
                     let mon=this.wordData.fund.facility*1 + this.wordData.fund.materials*1+this.wordData.fund.process*1+ this.wordData.fund.assist*1+this.wordData.fund.authenticate*1+ this.wordData.fund.match*1+this.wordData.fund.activity*1+this.wordData.fund.affair*1
                     if(mon==0){
@@ -293,8 +299,8 @@
               }
             }
             this.wordData['total']=this.wordData.fund.facility*1 + this.wordData.fund.materials*1+this.wordData.fund.process*1+ this.wordData.fund.assist*1+this.wordData.fund.authenticate*1+ this.wordData.fund.match*1+this.wordData.fund.activity*1+this.wordData.fund.affair*1
-            this.updatedWordDig=true
-
+          
+            this.updatedWordDig=true;
           },
           updatedWord(){
             let param={

+ 25 - 23
src/views/projectApply/newStudentProjectApply.vue

@@ -185,14 +185,15 @@
             case 'studentS':
                   let snum = 0;
                   this.wordData[i].forEach(item=>{
-                    for(let j in item){
-                      if(cEmpty.test(item[j])){
-                        snum++;
-                      }
-                    }
+                    if(cEmpty.test(item['name']))snum++;
+                    // for(let j in item){
+                    //   if(cEmpty.test(item[j])){
+                    //     snum++;
+                    //   }
+                    // }
                   })
                   if(snum>0){
-                    this.$message.error("请填完学生信息");
+                    this.$message.error("学生姓名请不要留空");
                     document.querySelector('#studentS').scrollIntoView({ behavior: "smooth" });
                     return false;
                   }
@@ -201,29 +202,30 @@
             case 'teacherS':
                   let num = 0;
                   this.wordData[i].forEach(item=>{
-                    for(let j in item){
-                      if(cEmpty.test(item[j])){
-                        num++;
-                      }
-                    }
+                    if(cEmpty.test(item['name']))num++;
+                    // for(let j in item){
+                    //   if(cEmpty.test(item[j])){
+                    //     num++;
+                    //   }
+                    // }
                   })
                   if(num>0){
-                    this.$message.error("请填完老师信息");
+                    this.$message.error("老师姓名请不要留空");
                     document.querySelector('#teacherS').scrollIntoView({ behavior: "smooth" });
                     return false;
                   }
             break;
-            case 'brief':
-                if (cEmpty.test(this.wordData[i])) {
-                  this.$message.error('请填写项目简介')
-                  // this.$refs.brief.style.background='rgb(236, 141, 141)'
-                  // setTimeout(() => {
-                  //   this.$refs.brief.style.background='#ffffff'
-                  // }, 2000);
-                  document.querySelector('#brief').scrollIntoView({ behavior: "smooth" });
-                  return false
-                }
-            break;
+            // case 'brief':
+            //     if (cEmpty.test(this.wordData[i])) {
+            //       this.$message.error('请填写项目简介')
+            //       // this.$refs.brief.style.background='rgb(236, 141, 141)'
+            //       // setTimeout(() => {
+            //       //   this.$refs.brief.style.background='#ffffff'
+            //       // }, 2000);
+            //       document.querySelector('#brief').scrollIntoView({ behavior: "smooth" });
+            //       return false
+            //     }
+            // break;
             case 'fund':
                 let mon=this.wordData.fund.facility*1 + this.wordData.fund.materials*1+this.wordData.fund.process*1+ this.wordData.fund.assist*1+this.wordData.fund.authenticate*1+ this.wordData.fund.match*1+this.wordData.fund.activity*1+this.wordData.fund.affair*1
                 if(mon==0){