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/scoreInquiry.vue | 33 +++++++++++++++++++++++----------
1 files changed, 23 insertions(+), 10 deletions(-)
diff --git a/src/views/qualificationExamination/scoreInquiry.vue b/src/views/qualificationExamination/scoreInquiry.vue
index 04216f4..bca0d9a 100644
--- a/src/views/qualificationExamination/scoreInquiry.vue
+++ b/src/views/qualificationExamination/scoreInquiry.vue
@@ -1,13 +1,15 @@
-/*
- * @Author: Morpheus
- * @Date: 2021-07-07 17:30:05
- * @Last Modified by: liu
- * @Last Modified time: 2021-10-22 17:27:19
- * menu-name 监管信息
- */
+/* * @Author: Morpheus * @Date: 2021-07-07 17:30:05 * @Last Modified by: liu *
+@Last Modified time: 2021-10-22 17:27:19 * 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"
@@ -65,6 +67,7 @@
pageSize: 10,
currentPage: 1,
total: 0,
+ ...this.$store.state.control.changePageSize,
},
selectionList: [],
option: {
@@ -84,11 +87,13 @@
index: true,
viewBtn: true,
dialogClickModal: false,
+ ...this.$store.state.control.clearOtherBut,
column: [
{
label: "姓名",
prop: "securityName",
+ width: 70,
searchSpan: 3,
search: true,
},
@@ -109,6 +114,7 @@
valueFormat: "yyyy-MM-dd",
labelWidth: 120,
+ // width: 140,
overHidden: true,
rules: [
{
@@ -155,18 +161,21 @@
{
label: "理论成绩",
prop: "theoryGrade",
+ width: 85,
// slot: true,
// display: false,
},
{
label: "实操成绩",
prop: "learnGrade",
+ width: 85,
// slot: true,
// display: false,
},
{
label: "总成绩",
prop: "allGrade",
+ width: 75,
// slot: true,
// display: false,
},
@@ -223,6 +232,7 @@
{
label: "是否发证",
prop: "isFazheng",
+ width: 90,
},
],
},
@@ -255,6 +265,9 @@
});
return ids.join(",");
},
+ },
+ mounted() {
+ this.$store.commit("setWindowSizeHeightAdd");
},
methods: {
//导出
@@ -433,6 +446,7 @@
}
}
}
+ this.$store.commit("setWindowSizeHeightAdd");
this.loading = false;
// for (var k in d) {
// if (d[k].qualified == 0) {
@@ -497,5 +511,4 @@
};
</script>
-<style>
-</style>
+<style></style>
--
Gitblit v1.9.3