|
|
|
@ -19,23 +19,23 @@
|
|
|
|
|
ref="ruleFormRef"
|
|
|
|
|
>
|
|
|
|
|
<el-form-item label="姓名" prop="name" v-if="type==1 && activeIndex==1">
|
|
|
|
|
<el-input v-model="ruleForm.name" />
|
|
|
|
|
<el-input v-model="ruleForm.name" placeholder="请输入姓名" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="身份证号" prop="idNumber" v-if="type==1 && activeIndex==1">
|
|
|
|
|
<el-input v-model="ruleForm.idNumber" />
|
|
|
|
|
<el-input v-model="ruleForm.idNumber" placeholder="请输入身份证号码" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="手机号" prop="phoneNumber" v-if="activeIndex==1">
|
|
|
|
|
<el-input v-model="ruleForm.phoneNumber" />
|
|
|
|
|
<el-input v-model="ruleForm.phoneNumber" placeholder="请输入手机号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="验证码" prop="Code" v-if="activeIndex==1">
|
|
|
|
|
<el-input style="width:60%" v-model="ruleForm.Code" :disabled="true" />
|
|
|
|
|
<el-input style="width:60%" v-model="ruleForm.Code" :disabled="true" placeholder="请输入验证码" />
|
|
|
|
|
<el-button type="primary" style="margin-left:10px" @click="sendcaptchaImg">发送验证码</el-button>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="设置密码" prop="password" v-if="activeIndex==1">
|
|
|
|
|
<el-input v-model="ruleForm.password" type="password" />
|
|
|
|
|
<el-input v-model="ruleForm.password" type="password" placeholder="6-30位,至少包含数字和字母,允许特殊符号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="确认密码" prop="confirmPassword" v-if="activeIndex==1">
|
|
|
|
|
<el-input v-model="ruleForm.confirmPassword" type="password" />
|
|
|
|
|
<el-input v-model="ruleForm.confirmPassword" type="password" placeholder="请确认密码" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="所属地区" prop="address" v-if="activeIndex==2">
|
|
|
|
|
<el-cascader
|
|
|
|
|