|
|
|
@ -26,6 +26,10 @@
|
|
|
|
|
<span class="name-font" style="width: 80px;display: inline-block">账号</span>
|
|
|
|
|
<i-input disabled placeholder="请输入账号" style="width: 300px;" v-model="modifyFrom.account"/>
|
|
|
|
|
</Form-Item>
|
|
|
|
|
<Form-Item prop="mobil">
|
|
|
|
|
<span class="name-font" style="width: 80px;display: inline-block">手机号</span>
|
|
|
|
|
<i-input placeholder="请输入手机号" style="width: 300px;" v-model="modifyFrom.mobil"/>
|
|
|
|
|
</Form-Item>
|
|
|
|
|
<Form-Item prop="password">
|
|
|
|
|
<span class="name-font" style="width: 80px;display: inline-block" >密码</span>
|
|
|
|
|
<i-input placeholder="请输入密码" style="width: 300px;" v-model="modifyFrom.password" @on-change="check" type="password"/>
|
|
|
|
@ -91,6 +95,7 @@
|
|
|
|
|
shopId: this.$route.query.shopId,
|
|
|
|
|
type:this.$route.query.type,
|
|
|
|
|
companyId: this.$route.query.companyId,
|
|
|
|
|
mobil: this.$route.query.mobil,
|
|
|
|
|
},
|
|
|
|
|
passwordCheck:[
|
|
|
|
|
{required:true,message:'密码不能为空',trigger:'blur'},
|
|
|
|
@ -103,6 +108,11 @@
|
|
|
|
|
{ pattern: /^[0-9a-zA-Z]*$/g, message: '只可以输入数字和字母',trigger: 'blur'},
|
|
|
|
|
],
|
|
|
|
|
modifyValidate: {
|
|
|
|
|
mobil: [
|
|
|
|
|
{required: true, message: '手机号不能为空', trigger: 'blur'},
|
|
|
|
|
{min: 1, max: 11, message: '长度在 1 到 11 个字符', trigger: 'blur'},
|
|
|
|
|
{pattern: /^[0-9]*$/g, message: '只可以输入数字', trigger: 'blur'},
|
|
|
|
|
],
|
|
|
|
|
userName:[
|
|
|
|
|
{required:true,message:'用户名不能为空',trigger:'blur'},
|
|
|
|
|
{ min: 1, max: 8, message: '长度在 1 到 8 个字符', trigger: 'blur' },
|
|
|
|
|