Compare commits

..

No commits in common. "009382291cb5c77fd3117ff8b535b4f564c8a6a6" and "909071396c8cfd03d1f9bab69d680bbcd980fa79" have entirely different histories.

6 changed files with 16 additions and 21 deletions

View File

@ -77,4 +77,5 @@ const onOk = ()=>{
url: "/pages/login/login",
});
}
</script>

View File

@ -67,7 +67,7 @@
</view>
<view style="display: flex;justify-content: space-between">
<text>创建时间:{{ item.createTime }}</text>
<text>身份证:{{ item.idCard?.desensitizedValue }}</text>
<text>身份证:{{ item.idCard }}</text>
</view>
</view>
<view class="projectDetailsTableIndex">

View File

@ -101,13 +101,11 @@ useLoad((options) => {
serviceProjectId: options.pid,
securityUnitId: options.uid,
sex: 0,
idCard:null,
telephone:null,
idCard: '',
dateOfBirth: null
}
} else {
const form = JSON.parse(options.securityUser)
formData.value = Object.assign({}, form, {idCard: form.idCard.originalValue, telephone: form.telephone.originalValue})
formData.value = JSON.parse(options.securityUser)
}
})
@ -146,10 +144,10 @@ const submit = () => {
securityUnitId: formData.value.securityUnitId,
name: '',
workPost: '',
telephone: null ,
telephone: '',
sex: 0,
nativePlace: '',
idCard: null,
idCard: '',
dateOfBirth: null,
securityNumber: '',
remark: '',

View File

@ -156,5 +156,3 @@ interface Item {
itemList: any[] // 根据实际情况调整类型
snowFlakeId: string
}

View File

@ -15,7 +15,7 @@ export interface MyProjectList {
securityUnitId: string;
street?: string;
streetName?: string;
type?:any
type?: any
}
export interface ContactPersonInfo {
@ -31,7 +31,7 @@ export interface ServiceProjectList {
name?: string;
remark?: string;
securityUserTotal?: number;
securityUnitName?:string;
securityUnitName?: string;
serviceArea?: number;
snowFlakeId?: string;
staffTotal?: number;
@ -44,13 +44,16 @@ export interface ProgramUserInfo {
name?: string
telephone?: string
}
export interface ServiceProjectSecurityUserPagerVo {
createTime?: string;
dateOfBirth?: string;
homeAddress?: string;
idCard?: {
desensitizedValue?:string
originalValue?:string
originalValue: string;
desensitizedValue: string;
};
name?: string;
nativePlace?: string;
@ -62,5 +65,5 @@ export interface ServiceProjectSecurityUserPagerVo {
snowFlakeId: string;
workPost?: string;
sex: BaseEnum<number>
}
}

View File

@ -4,17 +4,12 @@ export interface SecurityUserFormParams {
serviceProjectId: string;
name?: string;
workPost?: string;
telephone: value | null;
telephone?: string;
sex: number;
nativePlace?: string;
idCard: value | null;
idCard: string;
dateOfBirth?: Date | null;
securityNumber?: string;
remark?: string;
homeAddress?: string
}
export interface value{
desensitizedValue?:string
originalValue?:string
}