| | |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | border |
| | | @row-click="singleElection" |
| | | highlight-current-row |
| | | height="calc(100% - 135px)" |
| | |
| | | <el-divider class="divider" /> |
| | | <el-table |
| | | :data="menuTableData" |
| | | border |
| | | style="width: 100%" |
| | | height="calc(100% - 85px)" |
| | | @selection-change="handleSelectionChange" |
| | |
| | | <el-dialog |
| | | :title="$t('operatManage.UserRoleAuthorizationObj.Added')" |
| | | :visible.sync="dialogTableVisible" |
| | | :before-close="handleClose" |
| | | > |
| | | <el-table |
| | | :data="gridData" |
| | |
| | | > |
| | | <el-button |
| | | size="small" |
| | | @click="dialogTableVisible = false" |
| | | @click="handleClose" |
| | | >{{ |
| | | $t('dataManage.dictionaryManageObj.cancel') |
| | | }}</el-button> |
| | |
| | | break; |
| | | } |
| | | }, |
| | | handleClose() { |
| | | this.$confirm("关闭后无法保存,是否关闭?") |
| | | .then((_) => { |
| | | this.dialogTableVisible = false |
| | | }) |
| | | .catch((_) => { }); |
| | | }, |
| | | }, |
| | | created() { |
| | | var val = this.$store.state.currentPerms; |