详情见下
// 法人证件号码
let str = this.pageData.customerInfo.delegateCerti
this.pageData.customerInfo.delegateCerti = str.replace(/(w{2})w*(w{4})/, '$1******$2');
// 开户行账号
let str1 = this.pageData.customerInfo.accCode
this.pageData.customerInfo.accCode = str1.replace(/(w{4})w*(w{4})/, '$1******$2');
console.log("脱敏处理后的法人信息及号码",this.pageData.customerInfo.delegateCerti,this.pageData.customerInfo.accCode);
},