|
|
@ -7,6 +7,23 @@ |
|
|
|
:rules="formRules" |
|
|
|
label-width="80px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item v-if="formData.id === undefined" label="用户账号" prop="username"> |
|
|
|
<el-input v-model="formData.username" placeholder="请输入用户账号" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item v-if="formData.id === undefined" label="用户密码" prop="password"> |
|
|
|
<el-input |
|
|
|
v-model="formData.password" |
|
|
|
placeholder="请输入用户密码" |
|
|
|
show-password |
|
|
|
type="password" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="用户昵称" prop="nickname"> |
|
|
@ -38,23 +55,6 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item v-if="formData.id === undefined" label="用户账号" prop="username"> |
|
|
|
<el-input v-model="formData.username" placeholder="请输入用户账号" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item v-if="formData.id === undefined" label="用户密码" prop="password"> |
|
|
|
<el-input |
|
|
|
v-model="formData.password" |
|
|
|
placeholder="请输入用户密码" |
|
|
|
show-password |
|
|
|
type="password" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="用户性别"> |
|
|
|