Administrator
2021-12-27 6d4bd532d2d559f1c00b7f30b70bd276c763ec34
Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
2 files modified
19 ■■■■■ changed files
src/store/modules/control.js 7 ●●●●● patch | view | raw | blame | history
src/views/securityGuard/securityGuard.vue 12 ●●●●● patch | view | raw | blame | history
src/store/modules/control.js
@@ -20,6 +20,13 @@
    windowHeight: '',
  },
  actions: {
    WHchangeHight({ state, commit }, data) {
      if (data.fn) {
        data.fn();
      }
      data.option.height = +state.windowHeight + +data.add;
      // console.log(data);
    }
  },
  mutations: {
    setWindowSize: (state, data) => {
src/views/securityGuard/securityGuard.vue
@@ -1278,6 +1278,16 @@
    };
  },
  watch: {
    // windowHeight() {
    //   let d = {
    //     option: this.option,
    //     fn: function () {
    //       console.log(123);
    //     },
    //     add: 100,
    //   };
    //   this.$store.dispatch("WHchangeHight", d);
    // },
    radio() {
      if (this.radio) {
        this.SFZloding = true;
@@ -1385,7 +1395,7 @@
    },
  },
  computed: {
    ...mapGetters(["userInfo", "permission"]),
    ...mapGetters(["userInfo", "permission", "windowHeight"]),
    permissionList() {
      return {
        addBtn: this.vaildData(this.permission.securityGuard_add, false),