| | |
| | | // } |
| | | }, |
| | | created() { |
| | | this.$api.createInitIdInfo().then(res => { |
| | | this.idCardMation = res.body; |
| | | if (this.idCardMation.usrIdName) { |
| | | this.readOnlyName = true; |
| | | } |
| | | if (this.idCardMation.usrIdCard) { |
| | | this.readOnlyId = true; |
| | | } |
| | | if (this.idCardMation.sex) { |
| | | this.readOnlySex = true; |
| | | } |
| | | }); |
| | | // this.$api.createInitIdInfo().then(res => { |
| | | // this.idCardMation = res.body; |
| | | // if (this.idCardMation.usrIdName) { |
| | | // this.readOnlyName = true; |
| | | // } |
| | | // if (this.idCardMation.usrIdCard) { |
| | | // this.readOnlyId = true; |
| | | // } |
| | | // if (this.idCardMation.sex) { |
| | | // this.readOnlySex = true; |
| | | // } |
| | | // }); |
| | | }, |
| | | beforeUpdate(){ |
| | | let _this = this |
| | | Bus.$on('getIdUserInfo',(msg)=>{ |
| | | _this.idCardMation = msg |
| | | }) |
| | | // let _this = this |
| | | // Bus.$on('getIdUserInfo',(msg)=>{ |
| | | // _this.idCardMation = msg |
| | | // }) |
| | | }, |
| | | methods: { |
| | | //设置时间 |