Commit 248bd9e5 authored by 徐来柯's avatar 徐来柯

optiomize

parent 9e6da03f
......@@ -14,7 +14,7 @@
position: relative;
margin-top:100px;
width:100%;
height:calc(100vh - 140px);
height:calc(100vh - 130px);
background: #EEEEEE;
padding-top:10px;
.wrap {
......@@ -46,10 +46,10 @@
// 分页样式
.page_bottom{
width:97%;
width: 99%;
margin: auto;
height:50px;
padding-top:12px;
padding-top: 15px;
user-select: none;
display: flex;
justify-content: space-between;
......
......@@ -36,11 +36,6 @@ export default new Vuex.Store({
tableHeight: 585,
},
getters: {
someHeight: state => {
return state.tableHeight - 10
}
},
mutations: {
changecolor(state,n){
state.color = n;
......
......@@ -5,7 +5,7 @@
<search-form :formList="[1,2]" :searchList="searchList" :formData="formData" @searchData="searchData" />
<el-table
border
:height="$store.getters.someHeight"
:height="$store.state.tableHeight"
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
......
......@@ -5,7 +5,7 @@
<search-form ref="form" :formList="[1,2,3]" :searchList="searchList" :btnList="[1,2]" :formData="formData" @scanGunCode="scanGunCode" @searchData="searchData" @openDialog="openDialog" @delData="delData" />
<el-table
border
:height="$store.getters.someHeight"
:height="$store.state.tableHeight"
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
......
......@@ -5,7 +5,7 @@
<search-form ref="form" :formList="[1,2,3]" :btnList="[1,2]" :searchList="searchList" :formData="formData" @scanGunCode="scanGunCode" @searchData="searchData" @openDialog="openDialog" @delData="delData" />
<el-table
border
:height="$store.getters.someHeight"
:height="$store.state.tableHeight"
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
......
......@@ -13,7 +13,7 @@
<div class="conterFool_middle" style="width:98%;margin:auto">
<el-table
border
:height="$store.getters.someHeight"
:height="$store.state.tableHeight"
class="conterFool_middle"
ref="multipleTable"
:data="tableData"
......@@ -774,7 +774,7 @@ export default {
position: relative;
margin-top:100px;
width:100%;
height:calc(100vh - 140px);
height:calc(100vh - 130px);
background: #EEEEEE;
padding-top:10px;
.noneBox{
......
......@@ -5,7 +5,7 @@
<search-form ref="form" :formList="[1,2,3]" :btnList="[1,2]" :searchList="searchList" :formData="formData" @scanGunCode="scanGunCode" @searchData="searchData" @openDialog="openDialog" @delData="delData" />
<el-table
border
:height="$store.getters.someHeight"
:height="$store.state.tableHeight"
ref="multipleTable"
:data="tableData"
tooltip-effect="dark"
......
......@@ -6,7 +6,7 @@
<el-table
border
ref="multipleTable"
:height="$store.getters.someHeight"
:height="$store.state.tableHeight"
:data="tableData"
tooltip-effect="dark"
style="width: 100%"
......
......@@ -55,7 +55,7 @@ export default {
props: {
baseTableHeight: {
type: Number,
default: 575
default: 585
},
// 是否显示表格勾选框
showSelection: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment