refactor(unitManage): 修改创建单位默认类型为党政机关
-将 EnterprisesUnitType 枚举中的 party_government 类型名称从 "党政机关 " 修改为 "党政机关" - 在评估标准和单位管理页面中,将创建单位的默认类型从 'school' 修改为 'party_government'
This commit is contained in:
parent
b27a42611a
commit
44861bb66c
|
@ -17,7 +17,7 @@ import java.util.stream.Collectors;
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public enum EnterprisesUnitType implements BaseEnum<String>, IEnum<String> {
|
public enum EnterprisesUnitType implements BaseEnum<String>, IEnum<String> {
|
||||||
|
|
||||||
party_government("party_government", "党政机关 "),
|
party_government("party_government", "党政机关"),
|
||||||
medical("medical", "医疗机构"),
|
medical("medical", "医疗机构"),
|
||||||
residential("residential", "小区"),
|
residential("residential", "小区"),
|
||||||
higher_learning("higher_learning", "高等院校"),
|
higher_learning("higher_learning", "高等院校"),
|
||||||
|
|
|
@ -12,7 +12,7 @@ export const saveOrUpdateCkProject = (params: SaveOrUpdateCkProjectParams = {
|
||||||
name: '',
|
name: '',
|
||||||
totalScore: 100,
|
totalScore: 100,
|
||||||
remark: '',
|
remark: '',
|
||||||
type: 'school'
|
type: 'party_government'
|
||||||
}, callback: Function) => {
|
}, callback: Function) => {
|
||||||
submitSimpleFormModal<SaveOrUpdateCkProjectParams>({
|
submitSimpleFormModal<SaveOrUpdateCkProjectParams>({
|
||||||
title: params.snowFlakeId ? `编辑【${params.name}】` : '添加考核项目',
|
title: params.snowFlakeId ? `编辑【${params.name}】` : '添加考核项目',
|
||||||
|
|
|
@ -220,7 +220,7 @@ export const showEnterprisesUnit = (policeUnitPagerVo: PoliceUnitPagerVo) => {
|
||||||
class="btn-success"
|
class="btn-success"
|
||||||
onClick={() => saveOrUpdateEnterprisesUnit({
|
onClick={() => saveOrUpdateEnterprisesUnit({
|
||||||
name: undefined,
|
name: undefined,
|
||||||
type: 'school',
|
type: 'party_government',
|
||||||
policeUnitId: policeUnitPagerVo.snowFlakeId,
|
policeUnitId: policeUnitPagerVo.snowFlakeId,
|
||||||
administrativeDivisionCodes: [policeUnitPagerVo.province, policeUnitPagerVo.city, policeUnitPagerVo.districts, policeUnitPagerVo.street].filter(Boolean)
|
administrativeDivisionCodes: [policeUnitPagerVo.province, policeUnitPagerVo.city, policeUnitPagerVo.districts, policeUnitPagerVo.street].filter(Boolean)
|
||||||
}, _tableRef.value?.requestGetTableData)}
|
}, _tableRef.value?.requestGetTableData)}
|
||||||
|
|
Loading…
Reference in New Issue