添加部门类型

This commit is contained in:
WenG 2021-06-25 09:40:05 +08:00
parent b7e6d988c3
commit b5aef1349e
8 changed files with 20 additions and 2 deletions

View File

@ -25,8 +25,8 @@ public class DepartmentVO {
private String departmentNameEn;
@ApiModelProperty(name = "departmentNameOther", value = "组织部门名称(其他类型)")
private String departmentNameOther;
@ApiModelProperty(name = "departmentType", value = "组织部门类型,1:机构,2:部门")
@CheckNumberAnnotation(name = "组织部门类型", types = {"1", "2"})
@ApiModelProperty(name = "departmentType", value = "组织部门类型,1:机构,2:部门,3:委办局,4:街镇,5:村社区")
@CheckNumberAnnotation(name = "组织部门类型", types = {"1", "2", "3", "4", "5"})
private Integer departmentType;
@ApiModelProperty(name = "departmentState", value = "组织部门状态,1:正常,2:异常,3:停用")
@CheckNumberAnnotation(name = "组织部门状态", types = {"1", "2", "3"})

View File

@ -79,6 +79,8 @@
<option value="1" selected>机构</option>
<option value="2">部门</option>
<option value="3">委办局</option>
<option value="4">街镇</option>
<option value="5">村社区</option>
</select>
</div>
</div>

View File

@ -107,6 +107,12 @@
case 3:
value = '委办局';
break;
case 4:
value = '街镇';
break;
case 5:
value = '村社区';
break;
default:
value = '无';
}

View File

@ -64,6 +64,8 @@
<option value="1" selected>机构</option>
<option value="2">部门</option>
<option value="3">委办局<option>
<option value="4">街镇</option>
<option value="5">村社区</option>
</select>
</div>
</div>

View File

@ -70,6 +70,8 @@
<option value="1" selected>机构</option>
<option value="2">部门</option>
<option value="3">委办局<option>
<option value="4">街镇</option>
<option value="5">村社区</option>
</select>
</div>
</div>

View File

@ -79,6 +79,8 @@
<option value="1" selected>机构</option>
<option value="2">部门</option>
<option value="3">委办局</option>
<option value="4">街镇</option>
<option value="5">村社区</option>
</select>
</div>
</div>

View File

@ -70,6 +70,8 @@
<option value="1" selected>机构</option>
<option value="2">部门</option>
<option value="3">委办局<option>
<option value="4">街镇</option>
<option value="5">村社区</option>
</select>
</div>
</div>

View File

@ -79,6 +79,8 @@
<option value="1" selected>机构</option>
<option value="2">部门</option>
<option value="3">委办局</option>
<option value="4">街镇</option>
<option value="5">村社区</option>
</select>
</div>
</div>