From dc252ad2bd275f697c266e3c8b10cb7d540fdcaa Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Wed, 16 Feb 2022 17:08:11 +0800
Subject: [PATCH] 44个表格在1366*768下的适配,保安员管理-》保安员查询中操作栏更改,在用户表左侧控制栏同步高
---
src/views/qualificationExamination/qualificationExamination.vue | 33 +++++++++++++++++++++------------
1 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/src/views/qualificationExamination/qualificationExamination.vue b/src/views/qualificationExamination/qualificationExamination.vue
index 7000e67..4d8ca72 100644
--- a/src/views/qualificationExamination/qualificationExamination.vue
+++ b/src/views/qualificationExamination/qualificationExamination.vue
@@ -1,13 +1,15 @@
-/*
- * @Author: Morpheus
- * @Date: 2021-07-07 17:30:05
- * @Last Modified by: liu
- * @Last Modified time: 2021-11-26 09:53:14
- * menu-name 监管信息
- */
+/* * @Author: Morpheus * @Date: 2021-07-07 17:30:05 * @Last Modified by: liu *
+@Last Modified time: 2021-11-26 09:53:14 * menu-name 监管信息 */
<template>
- <basic-container class="witerFontColorInput">
+ <basic-container
+ :class="[
+ 'witerFontColorInput',
+ $store.state.control.screenSize == 1366 ? 'smallSize' : 'normalSize',
+ $store.state.control.windowWidth >= 1024 ? 'tooRowSearch1' : '',
+ ]"
+ >
<avue-crud
+ class="tablesss"
:option="option"
:table-loading="loading"
:data="data"
@@ -67,6 +69,7 @@
pageSize: 10,
currentPage: 1,
total: 0,
+ ...this.$store.state.control.changePageSize,
},
selectionList: [],
option: {
@@ -88,12 +91,14 @@
index: true,
viewBtn: true,
dialogClickModal: false,
+ ...this.$store.state.control.clearOtherBut,
column: [
{
label: "保安姓名",
prop: "realName",
search: true,
+ width: 82,
searchSpan: 4,
// hide: true,
// editDisplay: false,
@@ -102,7 +107,7 @@
{
label: "保安公司",
prop: "deptName",
- minWidth: 110,
+ minWidth: 160,
overHidden: true,
},
{
@@ -169,7 +174,7 @@
{
label: "身份证号",
prop: "cardid",
- width: 139,
+ width: 165,
// type: "select",
// labelWidth: 120,
// // display: false,
@@ -192,6 +197,7 @@
{
label: "年龄",
prop: "age",
+ width: 65,
// display: false,
// labelWidth: 120,
// width: 200,
@@ -342,6 +348,9 @@
});
return ids.join(",");
},
+ },
+ mounted() {
+ this.$store.commit("setWindowSizeHeightAdd");
},
methods: {
//导出
@@ -543,6 +552,7 @@
this.data = d;
// this.data = data.records;
// console.log(this.data);
+ this.$store.commit("setWindowSizeHeightAdd");
this.loading = false;
// this.selectionClear();
});
@@ -595,5 +605,4 @@
};
</script>
-<style>
-</style>
+<style></style>
--
Gitblit v1.9.3