Compare commits
No commits in common. "875bfbd236e6fca270346136d1a5831fa83352fa" and "849ae8593cff12b6c02d04895e2edd3934cc55f8" have entirely different histories.
875bfbd236
...
849ae8593c
|
@ -6,7 +6,6 @@ type DictType =
|
||||||
| 'IsEnable'
|
| 'IsEnable'
|
||||||
| 'IsOrNot'
|
| 'IsOrNot'
|
||||||
| 'Sex'
|
| 'Sex'
|
||||||
| 'EducationLevel'
|
|
||||||
|
|
||||||
export const initEnums = () => {
|
export const initEnums = () => {
|
||||||
api.get<Record<DictType, SelectNodeVo<any>[]>>('/common/enums').then(resp => {
|
api.get<Record<DictType, SelectNodeVo<any>[]>>('/common/enums').then(resp => {
|
||||||
|
|
|
@ -131,7 +131,6 @@ export interface securityUnitIdListParams {
|
||||||
securityNumber?: string;
|
securityNumber?: string;
|
||||||
noSecurityNumberDesc?: string;
|
noSecurityNumberDesc?: string;
|
||||||
homeAddress?: string;
|
homeAddress?: string;
|
||||||
educationLevel?: string;
|
|
||||||
}
|
}
|
||||||
export interface securityUnitIdListPagerVo {
|
export interface securityUnitIdListPagerVo {
|
||||||
snowFlakeId?: string;
|
snowFlakeId?: string;
|
||||||
|
|
|
@ -34,7 +34,6 @@ const _formParams = reactive<securityUnitIdListParams>({
|
||||||
noSecurityNumberDesc: '',
|
noSecurityNumberDesc: '',
|
||||||
homeAddress: '',
|
homeAddress: '',
|
||||||
remark: '',
|
remark: '',
|
||||||
educationLevel: '',
|
|
||||||
})
|
})
|
||||||
const cardBlur = () => {
|
const cardBlur = () => {
|
||||||
let value = _formParams.idCard
|
let value = _formParams.idCard
|
||||||
|
@ -88,7 +87,6 @@ const saveOrUpdateEnterprisesUnit = (callback: Function, params, type: string) =
|
||||||
_formParams.telephone = params.telephone.originalValue
|
_formParams.telephone = params.telephone.originalValue
|
||||||
_formParams.workPost = params.workPost
|
_formParams.workPost = params.workPost
|
||||||
_formParams.sex = params.sex.value
|
_formParams.sex = params.sex.value
|
||||||
_formParams.educationLevel = params.educationLevel.value
|
|
||||||
_formParams.nativePlace = params.nativePlace
|
_formParams.nativePlace = params.nativePlace
|
||||||
_formParams.idCard = params.idCard.originalValue
|
_formParams.idCard = params.idCard.originalValue
|
||||||
_formParams.dateOfBirth = params.dateOfBirth
|
_formParams.dateOfBirth = params.dateOfBirth
|
||||||
|
@ -137,18 +135,10 @@ const saveOrUpdateEnterprisesUnit = (callback: Function, params, type: string) =
|
||||||
required: true,
|
required: true,
|
||||||
options: [...dictSelectNodes('Sex')],
|
options: [...dictSelectNodes('Sex')],
|
||||||
},
|
},
|
||||||
|
|
||||||
educationLevel: {
|
|
||||||
type: 'radioGroup',
|
|
||||||
label: '文化程度',
|
|
||||||
required: true,
|
|
||||||
options: [...dictSelectNodes('EducationLevel')],
|
|
||||||
},
|
|
||||||
|
|
||||||
securityNumber: {
|
securityNumber: {
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '保安证号',
|
label: '保安证号',
|
||||||
// required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
dateOfBirth: {
|
dateOfBirth: {
|
||||||
type: 'datePicker',
|
type: 'datePicker',
|
||||||
|
@ -217,8 +207,6 @@ const clearForm = () => {
|
||||||
_formParams.noSecurityNumberDesc = ''
|
_formParams.noSecurityNumberDesc = ''
|
||||||
_formParams.homeAddress = ''
|
_formParams.homeAddress = ''
|
||||||
_formParams.remark = ''
|
_formParams.remark = ''
|
||||||
_formParams.educationLevel = ''
|
|
||||||
|
|
||||||
}
|
}
|
||||||
export const showEnterprisesUnit = (record_) => {
|
export const showEnterprisesUnit = (record_) => {
|
||||||
// console.log('🚀 ~ showEnterprisesUnit ~ record_:', record_)
|
// console.log('🚀 ~ showEnterprisesUnit ~ record_:', record_)
|
||||||
|
|
Loading…
Reference in New Issue