4676-身份证有限期显示错修复

This commit is contained in:
binbin_pan 2025-01-13 14:00:55 +08:00
parent 6974d98583
commit 7b8067b4c4
1 changed files with 3 additions and 0 deletions

View File

@ -1115,6 +1115,9 @@
console.log(res.data)
if (res.data.entryIdNumberBean) {
this.entryIdNumberBean = res.data.entryIdNumberBean;
this.entryIdNumberBean.signDate = this.entryIdNumberBean.signDate.replace(/(\d{4})(\d{2})(\d{2})/, '$1-$2-$3');
this.entryIdNumberBean.expiryDate = this.entryIdNumberBean.expiryDate.replace(/(\d{4})(\d{2})(\d{2})/, '$1-$2-$3');
// console.log('🚀 ~ getPersonById ~ this.entryIdNumberBean:', this.entryIdNumberBean)
}
if (res.data.entryCruxBean) {
this.entryCruxBean = res.data.entryCruxBean;