idNumber
This commit is contained in:
@@ -77,7 +77,7 @@ export default {
|
||||
getDetail() {
|
||||
this.$http.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${this.id}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
res.data.idNumber = res.data.idNumber.replace(/(.{10}).*(.{4})/,"$1****$2")
|
||||
res.data.idNumber = res.data.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")
|
||||
this.info = res.data
|
||||
this.info.health = this.info.health.split(',')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user