身份证号码脱敏
This commit is contained in:
		@@ -76,6 +76,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")
 | 
			
		||||
          this.info = res.data
 | 
			
		||||
          this.info.health = this.info.health.split(',')
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user