src/views/system/param.vue
@@ -1,14 +1,19 @@
<template>
  <basic-container
    :class="[$store.state.control.windowWidth >= 1024 ? 'oneRowSearch' : '']"
    :class="[
      $store.state.control.screenSize == 1366 ? 'smallSize' : 'normalSize',
      $store.state.control.windowWidth >= 1024 ? 'tooRowSearch1' : ''
    ]"
  >
    <avue-crud
      class="tablesss"
      v-bind="bindVal"
      v-on="onEvent"
      v-model="form"
      :permission="permissionList"
      :page.sync="page"
      :option="option"
      @on-load="onLoad"
    >
      <template slot="menuLeft">
        <el-button
@@ -31,8 +36,8 @@
    data() {
      return {
        option: {
          ...this.$store.state.control.clearOtherBut,
        },
          ...this.$store.state.control.clearOtherBut
        }
      };
    },
    computed: {
@@ -41,18 +46,22 @@
          addBtn: this.vaildData(this.permission.param_add, false),
          viewBtn: this.vaildData(this.permission.param_view, false),
          delBtn: this.vaildData(this.permission.param_delete, false),
          editBtn: this.vaildData(this.permission.param_edit, false),
          editBtn: this.vaildData(this.permission.param_edit, false)
        };
      },
      }
    },
    methods: {},
    mounted() {
      setTimeout(() => {
        this.$store.commit("setWindowSizeHeightAdd");
      }, 2000);
    },
    methods: {}
  },
  {
    //模块路径
    name: "system/param",
    name: "system/param"
  }
);
</script>
<style>
</style>
<style></style>