| | |
| | | // } |
| | | }, |
| | | 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 |