管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-03-06 28bd61701bb409257ea0dd3c78f32bd0b45ebbd5
src/views/AuthorizationManagement/menuRoleAuthorization.vue
@@ -97,6 +97,7 @@
        <el-table
          :data="tableData"
          style="width: 100%"
          border
          height="calc(100% - 80px)"
          @selection-change="handleSelectionChange"
        >
@@ -177,6 +178,7 @@
    <el-dialog
      :title="$t('operatManage.UserRoleAuthorizationObj.Added')"
      :visible.sync="dialogTableVisible"
      :before-close="handleClose"
    >
      <el-table
        :data="gridData"
@@ -208,7 +210,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">{{
@@ -503,6 +505,13 @@
          break;
      }
    },
    handleClose() {
      this.$confirm("关闭后无法保存,是否关闭?")
        .then((_) => {
          this.dialogTableVisible = false
        })
        .catch((_) => { });
    },
  },
  created() {
    var val = this.$store.state.currentPerms;