|
@@ -4,8 +4,8 @@
|
|
<el-divider />
|
|
<el-divider />
|
|
<i class="iconfont" :class="item.icon" style="font-size: 26px; margin-left: 20px;" />
|
|
<i class="iconfont" :class="item.icon" style="font-size: 26px; margin-left: 20px;" />
|
|
<span style="margin-left: 20px;">{{ item.name }}</span>
|
|
<span style="margin-left: 20px;">{{ item.name }}</span>
|
|
- <span v-if="!ruleForm.email" style="margin-left: 20px; color: #666666">{{ item.desc }}</span>
|
|
|
|
- <span v-if="ruleForm.email" style="margin-left: 20px; color: #666666">{{ item.prompt }}</span>
|
|
|
|
|
|
+ <span v-if="!interfaceEmail" style="margin-left: 20px; color: #666666">{{ item.desc }}</span>
|
|
|
|
+ <span v-if="interfaceEmail" style="margin-left: 20px; color: #666666">{{ item.prompt }}</span>
|
|
</div>
|
|
</div>
|
|
<el-divider />
|
|
<el-divider />
|
|
<cy-dialog ref="phonebinding" title="手机绑定">
|
|
<cy-dialog ref="phonebinding" title="手机绑定">
|
|
@@ -182,6 +182,7 @@ export default {
|
|
email: '',
|
|
email: '',
|
|
emailCode: ''
|
|
emailCode: ''
|
|
},
|
|
},
|
|
|
|
+ interfaceEmail: '',
|
|
rules: {},
|
|
rules: {},
|
|
phonebinding: 0,
|
|
phonebinding: 0,
|
|
password: 0,
|
|
password: 0,
|
|
@@ -195,6 +196,7 @@ export default {
|
|
handler(newV) {
|
|
handler(newV) {
|
|
if (this.deatilsInfo && Object.keys(newV).length) {
|
|
if (this.deatilsInfo && Object.keys(newV).length) {
|
|
const { mobile, email } = JSON.parse(JSON.stringify(newV))
|
|
const { mobile, email } = JSON.parse(JSON.stringify(newV))
|
|
|
|
+ this.interfaceEmail = email
|
|
this.ruleForm = {
|
|
this.ruleForm = {
|
|
passwordMobile: mobile,
|
|
passwordMobile: mobile,
|
|
emailMobile: mobile,
|
|
emailMobile: mobile,
|
|
@@ -329,6 +331,7 @@ export default {
|
|
emailBind(params).then(() => {
|
|
emailBind(params).then(() => {
|
|
this.$message.success('邮箱绑定成功')
|
|
this.$message.success('邮箱绑定成功')
|
|
this.$refs.emailbinding.show = false
|
|
this.$refs.emailbinding.show = false
|
|
|
|
+ this.$router.go(0)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
passwordConsistency() {
|
|
passwordConsistency() {
|