src/views/system/user.vue
@@ -1,7 +1,7 @@
<template>
  <el-row class="users">
    <el-col :span="5">
      <div class="box">
      <div class="box changeBoxs">
        <el-scrollbar>
          <basic-container>
            <avue-tree
@@ -13,9 +13,15 @@
        </el-scrollbar>
      </div>
    </el-col>
    <el-col :span="19">
      <basic-container>
    <el-col :span="19" class="clearBottomMargin">
      <basic-container
        :class="[
          $store.state.control.screenSize == 1366 ? 'smallSize' : 'normalSize',
          $store.state.control.windowWidth >= 1024 ? 'tooRowSearch1' : '',
        ]"
      >
        <avue-crud
          class="tablesss"
          :option="option"
          :search.sync="search"
          :table-loading="loading"
@@ -217,11 +223,13 @@
        pageSize: 10,
        currentPage: 1,
        total: 0,
        ...this.$store.state.control.changePageSize,
      },
      platformPage: {
        pageSize: 10,
        currentPage: 1,
        total: 0,
        ...this.$store.state.control.changePageSize,
      },
      init: {
        roleTree: [],
@@ -275,6 +283,7 @@
        viewBtn: true,
        //dialogType: 'drawer',
        dialogClickModal: false,
        ...this.$store.state.control.clearOtherBut,
        column: [
          {
            label: "登录账号",
@@ -738,6 +747,7 @@
    if (!website.tenantMode) {
      this.initData(website.tenantId);
    }
    this.$store.commit("setWindowSizeHeightAdd");
  },
  methods: {
    nodeClick(data) {
@@ -975,6 +985,7 @@
        const data = res.data.data;
        this.page.total = data.total;
        this.data = data.records;
        this.$store.commit("setWindowSizeHeightAdd");
        this.loading = false;
        this.selectionClear();
      });
@@ -1041,6 +1052,7 @@
        this.platformPage.total = data.total;
        this.platformData = data.records;
        this.platformLoading = false;
        this.$store.commit("setWindowSizeHeightAdd");
        this.selectionClear();
      });
    },
@@ -1050,7 +1062,7 @@
<style>
.box {
  height: 800px;
  height: auto;
}
.el-scrollbar {