|
|
@ -29,7 +29,8 @@ |
|
|
|
<el-row :gutter="36"> |
|
|
|
<el-row :gutter="36"> |
|
|
|
<el-col :span="16"> |
|
|
|
<el-col :span="16"> |
|
|
|
<el-input v-model="userinfo.mobile" ref="phone" :readonly="editphone !== true" |
|
|
|
<el-input v-model="userinfo.mobile" ref="phone" :readonly="editphone !== true" |
|
|
|
prefix-icon="el-icon-mobile" placeholder="手机" maxlength="11" clearable :disabled="!cptch.change_type.sms"/> |
|
|
|
prefix-icon="el-icon-mobile" placeholder="手机" maxlength="11" clearable |
|
|
|
|
|
|
|
:disabled="!cptch.change_type.sms"/> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="1"> |
|
|
|
<el-col :span="1"> |
|
|
|
<el-button icon="el-icon-edit" @click="changePhoneValue"> |
|
|
|
<el-button icon="el-icon-edit" @click="changePhoneValue"> |
|
|
@ -44,7 +45,8 @@ |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="图片验证码" style="height: 40px" v-if="editphone === true && cptch.cptch_image && cptch.change_type.sms"> |
|
|
|
<el-form-item label="图片验证码" style="height: 40px" |
|
|
|
|
|
|
|
v-if="editphone === true && cptch.cptch_image && cptch.change_type.sms"> |
|
|
|
<el-row style="height: 40px" :gutter="36"> |
|
|
|
<el-row style="height: 40px" :gutter="36"> |
|
|
|
<el-col :span="14"> |
|
|
|
<el-col :span="14"> |
|
|
|
<el-input placeholder="请输入图片验证码" v-model="userinfo.authcode" maxlength="6" clearable/> |
|
|
|
<el-input placeholder="请输入图片验证码" v-model="userinfo.authcode" maxlength="6" clearable/> |
|
|
@ -80,7 +82,8 @@ |
|
|
|
<el-row :gutter="36"> |
|
|
|
<el-row :gutter="36"> |
|
|
|
<el-col :span="16"> |
|
|
|
<el-col :span="16"> |
|
|
|
<el-input v-model="userinfo.email" ref="email" :readonly="editemail !== true" |
|
|
|
<el-input v-model="userinfo.email" ref="email" :readonly="editemail !== true" |
|
|
|
prefix-icon="el-icon-bank-card" placeholder="邮箱" maxlength="20" clearable :disabled="!cptch.change_type.email"/> |
|
|
|
prefix-icon="el-icon-bank-card" placeholder="邮箱" maxlength="20" clearable |
|
|
|
|
|
|
|
:disabled="!cptch.change_type.email"/> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="1"> |
|
|
|
<el-col :span="1"> |
|
|
|
<el-button icon="el-icon-edit" @click="changeemailValue"> |
|
|
|
<el-button icon="el-icon-edit" @click="changeemailValue"> |
|
|
@ -96,7 +99,8 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="图片验证码" style="height: 40px" v-if="editemail === true && cptch.cptch_image && cptch.change_type.email"> |
|
|
|
<el-form-item label="图片验证码" style="height: 40px" |
|
|
|
|
|
|
|
v-if="editemail === true && cptch.cptch_image && cptch.change_type.email"> |
|
|
|
<el-row style="height: 40px" :gutter="36"> |
|
|
|
<el-row style="height: 40px" :gutter="36"> |
|
|
|
<el-col :span="14"> |
|
|
|
<el-col :span="14"> |
|
|
|
<el-input placeholder="请输入图片验证码" v-model="userinfo.authcode" maxlength="6" clearable/> |
|
|
|
<el-input placeholder="请输入图片验证码" v-model="userinfo.authcode" maxlength="6" clearable/> |
|
|
@ -199,7 +203,7 @@ |
|
|
|
editdomain_name: false, |
|
|
|
editdomain_name: false, |
|
|
|
edituser_name: false, |
|
|
|
edituser_name: false, |
|
|
|
editposition: false, |
|
|
|
editposition: false, |
|
|
|
cptch: {"cptch_image": '', "cptch_key": '', "length": 8, change_type:{email:false,sms:false}}, |
|
|
|
cptch: {"cptch_image": '', "cptch_key": '', "length": 8, change_type: {email: false, sms: false}}, |
|
|
|
form: {}, |
|
|
|
form: {}, |
|
|
|
} |
|
|
|
} |
|
|
|
}, methods: { |
|
|
|
}, methods: { |
|
|
|