Commit f2150c38 by cwq0219

手机号

1 parent fce164e9
......@@ -177,7 +177,8 @@ export default {
name: 'staffPhone',
type: 'input',
placeholder: '请输入您有效的手机号作为登录账户',
maxlength: 11
maxlength: 11,
isDisabled: false
},
{
label: '登录密码',
......@@ -270,6 +271,8 @@ export default {
}
},
getInfo() {
var idx = this.editFormData.findIndex(item => item.name == 'staffPhone')
this.editFormData[idx].isDisabled = true
this.$apis.employee.getDetailInfoApi({ id: this.routeInfo.id }).then(res => {
this.editForm = {
id: res.id,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!