hanfucheng 1 rok temu
rodzic
commit
bcf88b7930

+ 3 - 2
data-ui/src/views/data/generalbusiness/keyProjects/index.vue

@@ -38,17 +38,18 @@
     </el-form>
 
     <el-row :gutter="10" class="mb8">
-      <el-col :span="1.5">
+     <!-- <el-col :span="1.5">
         <el-button
           type="primary"
           plain
           icon="el-icon-plus"
           size="mini"
+
           @click="handleAdd"
           v-hasPermi="['forest:keyProjects:add']"
         >新增
         </el-button>
-      </el-col>
+      </el-col>-->
       <el-col :span="1.5">
         <el-button
           type="success"

+ 1 - 1
src/main/java/com/sooka/sponest/data/generalbusiness/domain/CenterdataTKeyProjects.java

@@ -259,7 +259,7 @@ public class CenterdataTKeyProjects extends BaseBusinessEntity {
      */
     @ApiModelProperty(value = "所属部门", required = false)
     @Excel(name = "所属部门")
-    @NotBlank(message = "所属部门不能为空")
+//    @NotBlank(message = "所属部门不能为空")
     private String deptName;
 
     /**