|
|
@@ -249,9 +249,12 @@ export default {
|
|
|
this.form.userLevel = res.data.userLevel || 1
|
|
|
|
|
|
this.userInfo = JSON.parse(JSON.stringify(res.data))
|
|
|
- this.userInfo.phoneCopy = this.userInfo.phone && this.userInfo.phone.replace(/(\d{3})\d*(\d{4})/, '$1****$2')
|
|
|
- this.userInfo.idCardCopy = this.userInfo.idCard && this.userInfo.idCard.replace(/^(\d{6})\d{8}(\w{4})$/, '$1********$2')
|
|
|
+ this.userInfo.phoneCopy = this.userInfo.phone
|
|
|
+ this.userInfo.idCardCopy = this.userInfo.idCard
|
|
|
this.userInfo.genderText = this.genderCfg[this.userInfo.gender]
|
|
|
+
|
|
|
+ /* this.userInfo.phoneCopy = this.userInfo.phone && this.userInfo.phone.replace(/(\d{3})\d*(\d{4})/, '$1****$2')
|
|
|
+ this.userInfo.idCardCopy = this.userInfo.idCard && this.userInfo.idCard.replace(/^(\d{6})\d{8}(\w{4})$/, '$1********$2') */
|
|
|
})
|
|
|
},
|
|
|
getUserAsset () {
|