From 8e98efca943970ef79201f36399ac4b4c3266313 Mon Sep 17 00:00:00 2001
From: yijiusmile <253281376@qq.com>
Date: 星期一, 01 二月 2021 02:07:45 +0800
Subject: [PATCH] 信息录入表格增加固定高度,按钮下移

---
 src/views/user/Informationinput.vue |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/views/user/Informationinput.vue b/src/views/user/Informationinput.vue
index 805644c..1f0c0e0 100644
--- a/src/views/user/Informationinput.vue
+++ b/src/views/user/Informationinput.vue
@@ -59,7 +59,7 @@
           v-show="showArr[0].show"
           ref="empBaseInfoTable"
           :data="basicInformationData"
-          style="width: 100%"
+          style="width: 100%;height: 70%;"
         >
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
@@ -94,7 +94,7 @@
           v-show="showArr[1].show"
           ref="workExperienceTable"
           :data="workExperienceData"
-          style="width: 100%"
+          style="width: 100%;height: 70%;"
         >
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
@@ -119,7 +119,7 @@
           v-show="showArr[2].show"
           ref="physicalExamTable"
           :data="physicalExamData"
-          style="width: 100%"
+          style="width: 100%;height: 70%;"
         >
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
@@ -151,7 +151,7 @@
           v-show="showArr[3].show"
           ref="contractInfoTable"
           :data="contractInfoData"
-          style="width: 100%"
+          style="width: 100%;height: 70%;"
         >
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
@@ -175,7 +175,7 @@
           <el-table-column prop="contractStatus" label="合同状态" width="180" />
           <el-table-column prop="transactor" label="合同办理人" width="180" />
         </el-table>
-        <el-table v-show="showArr[4].show" ref="dimissionAttendTable" :data="dimissionAttendData" style="width: 100%">
+        <el-table v-show="showArr[4].show" ref="dimissionAttendTable" :data="dimissionAttendData" style="width: 100%;height: 70%;">
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
             <template slot-scope="scope"><el-button type="text" size="small" @click="editDimissionAttend(scope.row)">编辑</el-button></template>
@@ -194,7 +194,7 @@
           <el-table-column prop="absenteeism" label="旷工(天)" width="180" />
           <el-table-column prop="remark" label="备注" width="180" />
         </el-table>
-        <el-table v-show="showArr[5].show" ref="leaveInfoTable" :data="leaveInfoData" style="width: 100%">
+        <el-table v-show="showArr[5].show" ref="leaveInfoTable" :data="leaveInfoData" style="width: 100%;height: 70%;">
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
             <template slot-scope="scope"><el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button></template>
@@ -212,7 +212,7 @@
           <el-table-column prop="reporter" label="报备人" width="180" />
           <el-table-column prop="remark" label="备注" width="180" />
         </el-table>
-        <el-table v-show="showArr[6].show" :data="resignData" style="width: 100%">
+        <el-table v-show="showArr[6].show" :data="resignData" style="width: 100%;height: 70%;">
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
             <template slot-scope="scope"><el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button></template>
@@ -227,7 +227,7 @@
           <el-table-column prop="report" label="汇报人" width="180" />
           <el-table-column prop="remark" label="备注" width="180" />
         </el-table>
-        <el-table v-show="showArr[7].show" :data="unemploymentData" style="width: 100%">
+        <el-table v-show="showArr[7].show" :data="unemploymentData" style="width: 100%;height: 70%;">
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
             <template slot-scope="scope"><el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button></template>
@@ -243,7 +243,7 @@
           <el-table-column prop="auditor" label="审核人" width="180" />
           <el-table-column prop="remark" label="备注" width="180" />
         </el-table>
-        <el-table v-show="showArr[8].show" :data="socialSecurityData" style="width: 100%">
+        <el-table v-show="showArr[8].show" :data="socialSecurityData" style="width: 100%;height: 70%;">
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
             <template slot-scope="scope"><el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button></template>
@@ -261,7 +261,7 @@
           <el-table-column prop="auditor" label="审核人" width="180" />
           <el-table-column prop="remark" label="备注" width="280" />
         </el-table>
-        <el-table v-show="showArr[9].show" :data="data1" style="width: 100%">
+        <el-table v-show="showArr[9].show" :data="data1" style="width: 100%;height: 70%;">
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
             <template slot-scope="scope"><el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button></template>
@@ -289,7 +289,7 @@
           <el-table-column prop="prop22" label="状态" width="180" />
           <el-table-column prop="prop23" label="案结时间" width="180" />
         </el-table>
-        <el-table v-show="showArr[10].show" :data="data2" style="width: 100%">
+        <el-table v-show="showArr[10].show" :data="data2" style="width: 100%;height: 70%;">
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
             <template slot-scope="scope"><el-button type="text" size="small" @click="editLeaveInfo(scope.row)">编辑</el-button></template>
@@ -319,7 +319,7 @@
             </el-col>
           </el-row>
         </el-table>
-        <el-table v-show="showArr[11].show" :data="data3" style="width: 100%">
+        <el-table v-show="showArr[11].show" :data="data3" style="width: 100%;height: 70%;">
           <el-table-column fixed="left" label="操作" width="100">
             <template>
               <el-button type="text" size="small">编辑</el-button>
@@ -342,7 +342,7 @@
           v-show="showArr[12].show"
           ref="badRecordTable"
           :data="badRecordData"
-          style="width: 100%"
+          style="width: 100%;height: 70%;"
         >
           <el-table-column type="selection" width="55" />
           <el-table-column fixed="left" label="操作" width="100">
@@ -365,7 +365,7 @@
           <el-table-column prop="remark" label="备注" width="180" />
         </el-table>
 
-        <el-table v-show="showArr[13].show" :data="data5" style="width: 100%">
+        <el-table v-show="showArr[13].show" :data="data5" style="width: 100%;height: 70%;">
           <el-table-column fixed="left" label="操作" width="100">
             <template>
               <el-button type="text" size="small">编辑</el-button>
@@ -378,7 +378,7 @@
           <el-table-column prop="prop6" label="备注信息" width="400" />
         </el-table>
         <el-col :span="24">
-          <div style="margin: 0px auto; width: 250px">
+          <div style="margin: 0px auto; width: 250px;margin-top: 20px;">
             <el-button class="nomalBtn">取消</el-button>
             <el-button class="nomalBtn">暂存</el-button>
             <el-button class="commonBtn">提交</el-button>

--
Gitblit v1.8.0