管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-03-06 28bd61701bb409257ea0dd3c78f32bd0b45ebbd5
src/views/AuthorizationManagement/userRoleAuthorization.vue
@@ -52,6 +52,7 @@
      <el-table
        :data="tableData"
        style="width: 100%"
        border
        @row-click="singleElection"
        height="calc(100% - 80px)"
      >
@@ -136,6 +137,7 @@
      <el-table
        :data="usertableData"
        style="width: 100%"
        border
         height="calc(100% - 80px)"
        @selection-change="handleSelectionChange"
      >
@@ -168,6 +170,7 @@
    <el-dialog
      :title="$t('operatManage.UserRoleAuthorizationObj.Added')"
      :visible.sync="dialogTableVisible"
      :before-close="handleClose"
    >
      <el-table
        :data="gridData"
@@ -199,7 +202,7 @@
        </el-pagination>
      </div>
      <div slot="footer" class="dialog-footer">
        <el-button size="small" @click="dialogTableVisible = false">{{
        <el-button size="small" @click="handleClose">{{
          $t("dataManage.dictionaryManageObj.cancel")
        }}</el-button>
        <el-button size="small" type="primary" @click="addConfirm">{{
@@ -564,6 +567,13 @@
          break;
      }
    },
    handleClose() {
      this.$confirm("关闭后无法保存,是否关闭?")
        .then((_) => {
          this.dialogTableVisible = false
        })
        .catch((_) => { });
    },
  },
  created() {
    var val = this.$store.state.currentPerms;