| | |
| | | <input v-if="!showBtn" type="text" v-model="form.idCard" readonly /> |
| | | </div> |
| | | </div> |
| | | <div class="bank_name"> |
| | | <div class="lefts"> |
| | | <span>{{ $t('hj2111') + ':' }}</span> |
| | | </div> |
| | | <div class="rights"> |
| | | <input v-if="showBtn" type="text" v-model="form.address" :placeholder="$t('hj2111')" /> |
| | | <input v-if="!showBtn" type="text" v-model="form.address" readonly /> |
| | | </div> |
| | | </div> |
| | | <div class="uploads"> |
| | | <div class="lefts"> |
| | | <el-upload :with-credentials="true" class="avatar-uploader" :action="admin + '/user/upload.do'" |
| | |
| | | phone: "", |
| | | name: "", |
| | | idCard: "", |
| | | address: "", |
| | | img1key: "", |
| | | img2key: "", |
| | | img3key: "" |
| | |
| | | ) { |
| | | this.form.idCard = this.$store.state.userInfo.idCard; |
| | | this.form.name = this.$store.state.userInfo.realName; |
| | | this.form.address = this.$store.state.userInfo.regAddress || ""; |
| | | this.form.img1key = this.$store.state.userInfo.img1Key; |
| | | this.form.img2key = this.$store.state.userInfo.img2Key; |
| | | // this.form.img3key = this.$store.state.userInfo.img3Key |
| | |
| | | Toast(this.$t('hj207')); |
| | | } else if (isNull(this.form.idCard) || !idCardReg(this.form.idCard)) { |
| | | Toast(this.$t('hj208')); |
| | | } else if (isNull(this.form.address)) { |
| | | Toast('请输入' + this.$t('hj2111')); |
| | | } else if (isNull(this.form.img1key) || isNull(this.form.img2key)) { |
| | | Toast(this.$t('hj209')); |
| | | } else { |
| | |
| | | let opts = { |
| | | realName: this.form.name, |
| | | idCard: this.form.idCard, |
| | | address: this.form.address, |
| | | img1key: this.form.img1key, |
| | | img2key: this.form.img2key, |
| | | img3key: this.form.img3key |