src/views/securityCompany/regulatoryInformation.vue
@@ -1,13 +1,15 @@
/*
 * @Author: Morpheus
 * @Date: 2021-07-07 17:30:05
 * @Last Modified by: liu
 * @Last Modified time: 2021-09-18 09:14:31
 * menu-name 监管信息
 */
/* * @Author: Morpheus * @Date: 2021-07-07 17:30:05 * @Last Modified by: liu *
@Last Modified time: 2021-09-18 09:14:31 * menu-name 监管信息 */
<template>
  <basic-container class="regulatoryInformation">
  <basic-container
    :class="[
      'regulatoryInformation',
      $store.state.control.screenSize == 1366 ? 'smallSize' : 'normalSize',
      $store.state.control.windowWidth >= 1024 ? 'tooRowSearch1' : '',
    ]"
  >
    <avue-crud
      class="tablesss"
      :option="option"
      :table-loading="loading"
      :data="data"
@@ -26,6 +28,15 @@
      @refresh-change="refreshChange"
      @on-load="onLoad"
    >
      <template slot-scope="{ row }" slot="deptid">
        <!-- <el-tag
          class="rowClickSelf"
          title="点击查看所属公司情况"
          @click="rowClickSelf(row.deptId)"
          >{{ row.$deptId }}</el-tag
        > -->
        {{ row.$deptid }}
      </template>
    </avue-crud>
  </basic-container>
</template>
@@ -84,6 +95,7 @@
        pageSize: 10,
        currentPage: 1,
        total: 0,
        ...this.$store.state.control.changePageSize,
      },
      selectionList: [],
      option: {
@@ -100,11 +112,13 @@
        calcHeight: 30,
        tip: false,
        searchShow: true,
        menuWidth: 210,
        searchMenuSpan: 6,
        searchShowBtn: false,
        index: true,
        viewBtn: true,
        dialogClickModal: false,
        ...this.$store.state.control.clearOtherBut,
        column: [
          {
@@ -120,6 +134,7 @@
              value: "id",
            },
            search: true,
            slot: true,
            overHidden: true,
            type: "select",
            rules: [
@@ -174,7 +189,7 @@
            // search: true,
            searchSpan: 4,
            // display: false,
            width: 180,
            width: 120,
          },
          {
@@ -240,6 +255,9 @@
      });
      return ids.join(",");
    },
  },
  mounted() {
    this.$store.commit("setWindowSizeHeightAdd");
  },
  methods: {
    rowSave(row, done, loading) {
@@ -338,7 +356,8 @@
        this.page.total = data.total;
        this.data = data.records;
        this.loading = false;
        // this.selectionClear();
        this.$store.commit("setWindowSizeHeightAdd");
        this.selectionClear();
      });
    },
@@ -356,5 +375,4 @@
};
</script>
<style>
</style>
<style></style>