| | |
| | | :label="$t('userManage.RM.ownedSystem')" |
| | | prop="ownedSystem" |
| | | > |
| | | <el-select |
| | | <el-select |
| | | :popper-append-to-body="false" |
| | | v-model="roleForm.depValue" |
| | | placeholder="请选择" |
| | |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | style="width:95%" |
| | | v-model="insertform.name" |
| | | autocomplete="off" |
| | | ></el-input> |
| | |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | style="width:95%" |
| | | v-model="insertform.descr" |
| | | autocomplete="off" |
| | | ></el-input> |
| | |
| | | :label-width="formLabelWidth" |
| | | > |
| | | <el-input |
| | | style="width:95%" |
| | | v-model="insertform.bak" |
| | | autocomplete="off" |
| | | ></el-input> |
| | |
| | | :label-width="formLabelWidth" |
| | | :prop="updateform.depValue" |
| | | > |
| | | <el-select |
| | | <el-select |
| | | :popper-append-to-body="false" |
| | | v-model="updateform.depValue" |
| | | placeholder="请选择" |
| | |
| | | /> |
| | | </el-option> |
| | | </el-select> |
| | | |
| | | |
| | | <!-- <el-input |
| | | v-model="updateform.depValue" |
| | | :disabled="true" |
| | |
| | | InsertFormdialog: false, |
| | | UpdateFormdialog: false, |
| | | roleForm: { |
| | | depid:'', |
| | | depValue:'', |
| | | depid: '', |
| | | depValue: '', |
| | | }, |
| | | cataName: '', |
| | | depValue: '', |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | handleRouleDepList(data, node, nodeData){ |
| | | this.roleForm.depid = data.id |
| | | handleRouleDepList(data, node, nodeData) { |
| | | this.roleForm.depid = data.id |
| | | this.roleForm.depValue = data.name; |
| | | }, |
| | | handleDepList(data, node, nodeData) { |
| | |
| | | std.push(this.multipleSelection[i].id); |
| | | } |
| | | this.$confirm('此操作将永久删除该角色, 是否继续?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(async () => { |
| | | const data = await deleteRoles({ ids: std.toString() }); |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(async () => { |
| | | const data = await deleteRoles({ ids: std.toString() }); |
| | | |
| | | if (data.code == 200) { |
| | | this.InsertFormdialog = false; |
| | | this.$message({ |
| | | message: '删除成功!', |
| | | type: 'success', |
| | | }); |
| | | this.getRoleTabelData(); |
| | | } else { |
| | | this.$message({ |
| | | message: '删除失败!', |
| | | type: 'warning', |
| | | }); |
| | | } |
| | | }).catch(() => { |
| | | if (data.code == 200) { |
| | | this.InsertFormdialog = false; |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已取消删除' |
| | | }); |
| | | message: '删除成功!', |
| | | type: 'success', |
| | | }); |
| | | this.getRoleTabelData(); |
| | | } else { |
| | | this.$message({ |
| | | message: '删除失败!', |
| | | type: 'warning', |
| | | }); |
| | | } |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已取消删除' |
| | | }); |
| | | }); |
| | | }, |
| | | handleSizeChange(val) { |
| | | this.listData.pageSize = val; |
| | |
| | | } |
| | | .inquire { |
| | | height: auto; |
| | | |
| | | |
| | | padding: 10px; |
| | | margin-top: 10px; |
| | | margin-top: 10px; |