| | |
| | | <el-table-column |
| | | prop="rolename" |
| | | label="角色" |
| | | show-overflow-tooltip |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | prop="postname" |
| | | label="岗位" |
| | | sortable="custom" |
| | | show-overflow-tooltip |
| | | > |
| | | <template slot-scope="{row}"> |
| | | {{ row.postname ? row.postname : '/' }} |
| | |
| | | <el-table-column |
| | | prop="group_name" |
| | | label="班组" |
| | | show-overflow-tooltip |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | v-el-drag-dialog |
| | | title="新增" |
| | | :visible.sync="dialogVisible" |
| | | width="800px" |
| | | width="1200px" |
| | | :close-on-click-modal="false" |
| | | top="15vh" |
| | | @closed="handleClose" |
| | |
| | | ref="tableDataDialogRef" |
| | | class="tableFixed" |
| | | :data="tableDataDialog" |
| | | row-class-name="custom-row" |
| | | |
| | | height="400" |
| | | border |
| | | :style="{width: 100+'%',height:'400px',}" |
| | |
| | | /> |
| | | <el-table-column |
| | | prop="rolename" |
| | | show-overflow-tooltip |
| | | label="角色" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-table-column |
| | | prop="postname" |
| | | label="岗位" |
| | | show-overflow-tooltip |
| | | > |
| | | <template slot-scope="{row}"> |
| | | {{ row.postname?row.postname:'/' }} |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="group_name" |
| | | show-overflow-tooltip |
| | | label="班组" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | methods: { |
| | | // 组织架构大列表查询 |
| | | async getRoleAssignedUserData() { |
| | | if (window.location.hash.indexOf('?') !== -1) { |
| | | this.form.role_code = window.location.hash.split('?')[1].split('=')[1] |
| | | } |
| | | |
| | | if (!this.form.role_code) { |
| | | this.form.role_code = this.roleArr[0].rolecode |
| | | } |
| | |
| | | }, |
| | | |
| | | async cancel(code) { |
| | | // if (!this.form.role_code) { |
| | | // return this.$message.error('') |
| | | // } |
| | | |
| | | const res = await RoleAssignedUserBatchCancel([code], this.form.role_code) |
| | | if (res.code === '200') { |
| | | this.$notify.success('取消授权成功!') |