diff --git a/policeSecurityServer/src/main/java/com/changhu/common/db/enums/EnterprisesUnitType.java b/policeSecurityServer/src/main/java/com/changhu/common/db/enums/EnterprisesUnitType.java index a53a410..3e03b53 100644 --- a/policeSecurityServer/src/main/java/com/changhu/common/db/enums/EnterprisesUnitType.java +++ b/policeSecurityServer/src/main/java/com/changhu/common/db/enums/EnterprisesUnitType.java @@ -17,7 +17,7 @@ import java.util.stream.Collectors; @AllArgsConstructor public enum EnterprisesUnitType implements BaseEnum, IEnum { - party_government("party_government", "党政机关 "), + party_government("party_government", "党政机关"), medical("medical", "医疗机构"), residential("residential", "小区"), higher_learning("higher_learning", "高等院校"), diff --git a/superManagement/src/views/unitManage/police/assessmentCriteria/index.ts b/superManagement/src/views/unitManage/police/assessmentCriteria/index.ts index beb5e85..b3137ff 100644 --- a/superManagement/src/views/unitManage/police/assessmentCriteria/index.ts +++ b/superManagement/src/views/unitManage/police/assessmentCriteria/index.ts @@ -12,7 +12,7 @@ export const saveOrUpdateCkProject = (params: SaveOrUpdateCkProjectParams = { name: '', totalScore: 100, remark: '', - type: 'school' + type: 'party_government' }, callback: Function) => { submitSimpleFormModal({ title: params.snowFlakeId ? `编辑【${params.name}】` : '添加考核项目', diff --git a/superManagement/src/views/unitManage/police/unitManage/index.tsx b/superManagement/src/views/unitManage/police/unitManage/index.tsx index 2490f56..fe88327 100644 --- a/superManagement/src/views/unitManage/police/unitManage/index.tsx +++ b/superManagement/src/views/unitManage/police/unitManage/index.tsx @@ -220,7 +220,7 @@ export const showEnterprisesUnit = (policeUnitPagerVo: PoliceUnitPagerVo) => { class="btn-success" onClick={() => saveOrUpdateEnterprisesUnit({ name: undefined, - type: 'school', + type: 'party_government', policeUnitId: policeUnitPagerVo.snowFlakeId, administrativeDivisionCodes: [policeUnitPagerVo.province, policeUnitPagerVo.city, policeUnitPagerVo.districts, policeUnitPagerVo.street].filter(Boolean) }, _tableRef.value?.requestGetTableData)}