From a38281e697cde9f45926a6af0c88bec14501fec0 Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Tue, 15 Feb 2022 11:06:34 +0800
Subject: [PATCH] 68个表格在1366*768下的适配,保安单位情况智能分析中的图表的适配以及其按钮会被遮住不能点击
---
src/views/system/param.vue | 27 ++++++++++++++++++---------
1 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/src/views/system/param.vue b/src/views/system/param.vue
index 86c5d7c..702ba49 100644
--- a/src/views/system/param.vue
+++ b/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>
--
Gitblit v1.9.3