管道基础大数据平台系统开发-【前端】-新系統界面
1
Surpriseplus
2022-11-18 462782f4b2ce653e84260ca586a58c8627c4ac9c
src/views/AuthorizationManagement/roleMenuAuthorization.vue
@@ -83,9 +83,7 @@
          "
        >
          <span>
            {{
              $t('operatManage.UserRoleAuthorizationObj.PermissionTable')
            }}</span
            {{ $t('operatManage.UserRoleAuthorizationObj.menuTable') }}</span
          >
        </div>
        <el-divider />
@@ -93,7 +91,7 @@
          <el-tree
            :data="menuList"
            :props="defaultMenuProps"
            :show-checkbox="true"
            :show-checkbox="false"
            :check-on-click-node="true"
            :check-strictly="true"
            node-key="id"
@@ -154,7 +152,7 @@
          :data="menuTableData"
          stripe
          style="width: 100%"
          height="80%"
          height="84%"
          @selection-change="handleSelectionChange"
        >
          <el-table-column type="selection" width="55"> </el-table-column>
@@ -391,9 +389,11 @@
        <el-button @click="dialogTableVisible = false">{{
          $t('dataManage.dictionaryManageObj.cancel')
        }}</el-button>
        <el-button type="primary" @click="addConfirm">{{
          $t('dataManage.dictionaryManageObj.confirm')
        }}</el-button>
        <el-button
          style="background: #409eff; border: 1px solid #409eff; color: white"
          @click="addConfirm"
          >{{ $t('dataManage.dictionaryManageObj.confirm') }}</el-button
        >
      </div>
    </el-dialog>
  </div>
@@ -500,6 +500,7 @@
    },
    menuTreeCheck(node, list) {
      if (list.checkedNodes.length > 0) {
        if (this.roleid == null) return;
        this.rolMenuListData.menuid = node.id;
        this.menuid = node.id;
        this.rolMenuListData.roleid = this.roleid;
@@ -540,8 +541,12 @@
      this.addcount = data.count;
    },
    singleElection(row) {
      this.getMenuTree();
      this.menuTableData = [];
      this.roleMenuCount = 0;
      this.templateSelection = row.id;
      this.roleid = row.id;
      this.roleDepCheckList = this.tableData.filter(
        (item) => item.id === row.id
      );
@@ -847,6 +852,9 @@
  /deep/.el-dialog__title {
    color: white;
  }
  .divider {
    margin-top: 8px;
  }
}
</style>
<style>