| | |
| | | <el-form-item label="邮箱" prop="email"> |
| | | <el-input v-model="userInformationInfo.email" readonly></el-input> |
| | | </el-form-item> |
| | | <el-form-item v-if="userInformationInfo.wechatNickname" label="微信昵称" prop="wechatNickname"> |
| | | <el-input v-model="userInformationInfo.wechatNickname" readonly></el-input> |
| | | |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="微信绑定" prop="wechat"> |
| | | <div id="wechat-bind"> |
| | | <div v-if="bindingCodeShow" class="flex flex-col items-center justify-center"> |
| | |
| | | ></iframe> |
| | | <span>使用微信扫一扫绑定</span> |
| | | </div> |
| | | <div v-if="userInformationInfo.isBindWechat && !bindingCodeShow" class="flex items-center"> |
| | | <span>已绑定</span> |
| | | |
| | | <el-button link type="primary" @click="openWechatLogin">重新绑定</el-button> |
| | | </div> |
| | | <div v-else-if="!userInformationInfo.isBindWechat && !bindingCodeShow" class="flex items-center"> |
| | | <span>未绑定</span> |
| | | |
| | | <el-button link type="primary" @click="openWechatLogin">点击绑定</el-button> |
| | | </div> |
| | | <template v-else> |
| | | <div v-if="userInformationInfo.isBindWechat" class="flex items-center"> |
| | | <span>已绑定</span> |
| | | <el-button link type="primary" @click="openWechatLogin">重新绑定</el-button> |
| | | </div> |
| | | <div v-else class="flex items-center"> |
| | | <span>未绑定</span> |
| | | <el-button link type="primary" @click="openWechatLogin">点击绑定</el-button> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </el-form-item> |
| | | |
| | | |
| | | <!-- <el-form-item label="角色" prop="role"> |
| | | <el-select v-model="userInformationInfo.role" placeholder="请选择角色" disabled> |
| | | <el-option label="角色A" value="roleA"></el-option> |
| | |
| | | handleNoAuth(); |
| | | return; |
| | | } |
| | | |
| | | // getWechartQrCode(); |
| | | userInformationInfo.value = Local.get(userInfoKey); |
| | | }); |