| | |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="是否启用" prop="sysRoleId"> |
| | | <el-form-item label="是否启用" prop="isUse"> |
| | | <el-switch |
| | | v-model="adminDialogData.isUse" |
| | | :active-value="1" |
| | |
| | | ], |
| | | accountType: [ |
| | | { required: true, message: '账号类型不能为空', trigger: 'change' } |
| | | ], |
| | | isUse: [ |
| | | { required: true, message: '是否启用不能为空', trigger: 'change' } |
| | | ] |
| | | } |
| | | } |
| | |
| | | passwordSure: '', |
| | | sysRoleId: item.roId, |
| | | id: item.id, |
| | | isUse: item.isUse |
| | | isUse: item.isUse, |
| | | accountType: item.type |
| | | } |
| | | if (!item.type + '') adminDialogData.accountType = item.type |
| | | this.adminDialogVisible = true |
| | | this.$nextTick(() => { |
| | | this.adminDialogData = adminDialogData |