Compare commits

..

No commits in common. "875bfbd236e6fca270346136d1a5831fa83352fa" and "849ae8593cff12b6c02d04895e2edd3934cc55f8" have entirely different histories.

3 changed files with 1 additions and 15 deletions

View File

@ -6,7 +6,6 @@ type DictType =
| 'IsEnable'
| 'IsOrNot'
| 'Sex'
| 'EducationLevel'
export const initEnums = () => {
api.get<Record<DictType, SelectNodeVo<any>[]>>('/common/enums').then(resp => {

View File

@ -131,7 +131,6 @@ export interface securityUnitIdListParams {
securityNumber?: string;
noSecurityNumberDesc?: string;
homeAddress?: string;
educationLevel?: string;
}
export interface securityUnitIdListPagerVo {
snowFlakeId?: string;

View File

@ -34,7 +34,6 @@ const _formParams = reactive<securityUnitIdListParams>({
noSecurityNumberDesc: '',
homeAddress: '',
remark: '',
educationLevel: '',
})
const cardBlur = () => {
let value = _formParams.idCard
@ -88,7 +87,6 @@ const saveOrUpdateEnterprisesUnit = (callback: Function, params, type: string) =
_formParams.telephone = params.telephone.originalValue
_formParams.workPost = params.workPost
_formParams.sex = params.sex.value
_formParams.educationLevel = params.educationLevel.value
_formParams.nativePlace = params.nativePlace
_formParams.idCard = params.idCard.originalValue
_formParams.dateOfBirth = params.dateOfBirth
@ -137,18 +135,10 @@ const saveOrUpdateEnterprisesUnit = (callback: Function, params, type: string) =
required: true,
options: [...dictSelectNodes('Sex')],
},
educationLevel: {
type: 'radioGroup',
label: '文化程度',
required: true,
options: [...dictSelectNodes('EducationLevel')],
},
securityNumber: {
type: 'input',
label: '保安证号',
// required: true,
required: true,
},
dateOfBirth: {
type: 'datePicker',
@ -217,8 +207,6 @@ const clearForm = () => {
_formParams.noSecurityNumberDesc = ''
_formParams.homeAddress = ''
_formParams.remark = ''
_formParams.educationLevel = ''
}
export const showEnterprisesUnit = (record_) => {
// console.log('🚀 ~ showEnterprisesUnit ~ record_:', record_)