gaoluyang
2025-03-16 5d13e90c9a149a977360f0bbf9ebdc9ebd17a5a8
src/views/system/role/index.vue
@@ -33,7 +33,8 @@
      </div>
    </div>
    <el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange">
    <el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange"
              :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border>
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="角色编号" prop="roleId" width="120" />
      <el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" width="150" />
@@ -403,6 +404,8 @@
    handleCheckedTreeConnect(value, type) {
      if (type == 'menu') {
        this.form.menuCheckStrictly = value ? true : false;
        this.menuNodeAll = false
        this.$refs.menu.setCheckedNodes([]);
      } else if (type == 'dept') {
        this.form.deptCheckStrictly = value ? true : false;
      }