管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-03-06 28bd61701bb409257ea0dd3c78f32bd0b45ebbd5
src/views/AuthorizationManagement/roleMenuAuthorization.vue
@@ -45,6 +45,7 @@
        <el-table
          :data="tableData"
          style="width: 100%"
          border
          @row-click="singleElection"
          highlight-current-row
          height="calc(100% - 135px)"
@@ -149,6 +150,7 @@
        <el-divider class="divider" />
        <el-table
          :data="menuTableData"
          border
          style="width: 100%"
          height="calc(100% - 85px)"
          @selection-change="handleSelectionChange"
@@ -191,6 +193,7 @@
    <el-dialog
      :title="$t('operatManage.UserRoleAuthorizationObj.Added')"
      :visible.sync="dialogTableVisible"
      :before-close="handleClose"
    >
      <el-table
        :data="gridData"
@@ -233,7 +236,7 @@
      >
        <el-button
          size="small"
          @click="dialogTableVisible = false"
          @click="handleClose"
        >{{
          $t('dataManage.dictionaryManageObj.cancel')
        }}</el-button>
@@ -529,6 +532,13 @@
          break;
      }
    },
    handleClose() {
      this.$confirm("关闭后无法保存,是否关闭?")
        .then((_) => {
          this.dialogTableVisible = false
        })
        .catch((_) => { });
    },
  },
  created() {
    var val = this.$store.state.currentPerms;