Browse Source

小眼睛的问题

featrue-social
是小王呀\24601 10 months ago
parent
commit
6812ce1351
  1. 45
      src/views/modules/portrayal/jumin/index.vue

45
src/views/modules/portrayal/jumin/index.vue

@ -1483,17 +1483,52 @@ export default {
window.scrollTo({ top: topPos, behavior: "smooth" });
},
async handelCLickShowCheckPassword(type) {
console.log(this.showFlagnameBtn,"dsflkjdjfsk");
handelCLickShowCheckPassword(type){
if (!this.showFlagnameBtn) {
if(type=="name"){
this.showFlagnameBtn = true;
this.$set(
this.resiDetailObj.baseInfoDto,
"name",
"*" +
this.resiDetailObj.baseInfoDto.name.substr(1, this.resiDetailObj.baseInfoDto.name.length-1)
);
}
}else if(!this.showFlagMobileBtn){
if(type=="mobile"){
this.showFlagMobileBtn = true;
this.$set(
this.resiDetailObj.baseInfoDto,
"mobile",
this.resiDetailObj.baseInfoDto.mobile.substr(0, 3) +
"****" +
this.resiDetailObj.baseInfoDto.mobile.substr(7, 4)
);
}
}else if(!this.showFlagIdCardBtn){
if(type=="idCard"){
this.showFlagIdCardBtn = true;
this.$set(
this.resiDetailObj.baseInfoDto,
"idNum",
this.resiDetailObj.baseInfoDto.idNum.substr(0, 11) +
"****" +
this.resiDetailObj.baseInfoDto.idNum.substr(16, 2)
);
}
}else {
this. handelCLickShowCheckPasswordclike()
}
},
async handelCLickShowCheckPasswordclike(type) {
// console.log(this.showFlagnameBtn,"dsflkjdjfsk");
const url = `/actual/base/residentCategoryUpdateInfo/isUpdater/${this.resiId}`;
let parm = {
};
const { data, code, msg } = await requestPost(url, parm);
if (!data) {
this.form.password = "";
this.checkType = "view";
this.checkType = "view";
if (type === "idCard") {
if (this.showFlagIdCardBtn) {
this.showCheckPassword = true;

Loading…
Cancel
Save