Compare commits
3 Commits
909071396c
...
009382291c
Author | SHA1 | Date |
---|---|---|
wangyilin | 009382291c | |
wangyilin | 458d442dd9 | |
wangyilin | c7b5d6eb8b |
|
@ -77,5 +77,4 @@ const onOk = ()=>{
|
||||||
url: "/pages/login/login",
|
url: "/pages/login/login",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view style="display: flex;justify-content: space-between">
|
<view style="display: flex;justify-content: space-between">
|
||||||
<text>创建时间:{{ item.createTime }}</text>
|
<text>创建时间:{{ item.createTime }}</text>
|
||||||
<text>身份证:{{ item.idCard }}</text>
|
<text>身份证:{{ item.idCard?.desensitizedValue }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="projectDetailsTableIndex">
|
<view class="projectDetailsTableIndex">
|
||||||
|
|
|
@ -101,11 +101,13 @@ useLoad((options) => {
|
||||||
serviceProjectId: options.pid,
|
serviceProjectId: options.pid,
|
||||||
securityUnitId: options.uid,
|
securityUnitId: options.uid,
|
||||||
sex: 0,
|
sex: 0,
|
||||||
idCard: '',
|
idCard:null,
|
||||||
|
telephone:null,
|
||||||
dateOfBirth: null
|
dateOfBirth: null
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
formData.value = JSON.parse(options.securityUser)
|
const form = JSON.parse(options.securityUser)
|
||||||
|
formData.value = Object.assign({}, form, {idCard: form.idCard.originalValue, telephone: form.telephone.originalValue})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -144,10 +146,10 @@ const submit = () => {
|
||||||
securityUnitId: formData.value.securityUnitId,
|
securityUnitId: formData.value.securityUnitId,
|
||||||
name: '',
|
name: '',
|
||||||
workPost: '',
|
workPost: '',
|
||||||
telephone: '',
|
telephone: null ,
|
||||||
sex: 0,
|
sex: 0,
|
||||||
nativePlace: '',
|
nativePlace: '',
|
||||||
idCard: '',
|
idCard: null,
|
||||||
dateOfBirth: null,
|
dateOfBirth: null,
|
||||||
securityNumber: '',
|
securityNumber: '',
|
||||||
remark: '',
|
remark: '',
|
||||||
|
|
|
@ -156,3 +156,5 @@ interface Item {
|
||||||
itemList: any[] // 根据实际情况调整类型
|
itemList: any[] // 根据实际情况调整类型
|
||||||
snowFlakeId: string
|
snowFlakeId: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -44,16 +44,13 @@ export interface ProgramUserInfo {
|
||||||
name?: string
|
name?: string
|
||||||
telephone?: string
|
telephone?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export interface ServiceProjectSecurityUserPagerVo {
|
export interface ServiceProjectSecurityUserPagerVo {
|
||||||
createTime?: string;
|
createTime?: string;
|
||||||
dateOfBirth?: string;
|
dateOfBirth?: string;
|
||||||
homeAddress?: string;
|
homeAddress?: string;
|
||||||
idCard?: {
|
idCard?: {
|
||||||
originalValue: string;
|
desensitizedValue?:string
|
||||||
desensitizedValue: string;
|
originalValue?:string
|
||||||
};
|
};
|
||||||
name?: string;
|
name?: string;
|
||||||
nativePlace?: string;
|
nativePlace?: string;
|
||||||
|
@ -65,5 +62,5 @@ export interface ServiceProjectSecurityUserPagerVo {
|
||||||
snowFlakeId: string;
|
snowFlakeId: string;
|
||||||
workPost?: string;
|
workPost?: string;
|
||||||
sex: BaseEnum<number>
|
sex: BaseEnum<number>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,17 @@ export interface SecurityUserFormParams {
|
||||||
serviceProjectId: string;
|
serviceProjectId: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
workPost?: string;
|
workPost?: string;
|
||||||
telephone?: string;
|
telephone: value | null;
|
||||||
sex: number;
|
sex: number;
|
||||||
nativePlace?: string;
|
nativePlace?: string;
|
||||||
idCard: string;
|
idCard: value | null;
|
||||||
dateOfBirth?: Date | null;
|
dateOfBirth?: Date | null;
|
||||||
securityNumber?: string;
|
securityNumber?: string;
|
||||||
remark?: string;
|
remark?: string;
|
||||||
homeAddress?: string
|
homeAddress?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface value{
|
||||||
|
desensitizedValue?:string
|
||||||
|
originalValue?:string
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue