| | |
| | | <el-form-item label="账号" prop="account"> |
| | | <el-input v-model="adminDialogData.account" placeholder="请输入帐号" maxlength="20" :disabled="adminDialogData.type!='add'" /> |
| | | </el-form-item> |
| | | <el-form-item label="密码" :prop="adminDialogData.type==='add'?'password':'none'"> |
| | | <el-form-item label="密码" :prop="adminDialogData.type==='add'||adminDialogData.password||adminDialogData.passwordSure?'password':'none'"> |
| | | <el-input v-model="adminDialogData.password" type="password" placeholder="请输入密码" maxlength="20" /> |
| | | </el-form-item> |
| | | <el-form-item label="确认密码" :prop="adminDialogData.type==='add'?'passwordSure':'none'"> |
| | | <el-form-item label="确认密码" :prop="adminDialogData.type==='add'||adminDialogData.password||adminDialogData.passwordSure?'passwordSure':'none'"> |
| | | <el-input v-model="adminDialogData.passwordSure" type="password" placeholder="请输入确认密码" maxlength="20" /> |
| | | </el-form-item> |
| | | <!-- 账号类型 --> |