This commit is contained in:
liuye
2022-01-14 18:10:02 +08:00
parent 40be80ef0f
commit 95a3b346ed

View File

@@ -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(',')
}