From f6b6162c08fb8fd93369064d4daef6c94b100eea Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期二, 29 八月 2023 18:02:15 +0800
Subject: [PATCH] bug修复

---
 src/views/experiment/inspectionApplication/index.vue |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/views/experiment/inspectionApplication/index.vue b/src/views/experiment/inspectionApplication/index.vue
index 5616b4e..78e28ef 100644
--- a/src/views/experiment/inspectionApplication/index.vue
+++ b/src/views/experiment/inspectionApplication/index.vue
@@ -50,11 +50,12 @@
 						</div>
 					</div>
 					<div class="table-box">
-						<el-table ref="inspectionTable" :max-height="800" :cell-style="{textAlign: 'center'}"
+						<el-table ref="inspectionTable" style="width: 100%;overflow-y: auto;min-height: calc(100% - 50px)"
+							max-height="calc(100% - 50px)" :cell-style="{textAlign: 'center'}"
 							:header-cell-style="{border:'0px',background:'#f5f7fa',color:'#606266',boxShadow: 'inset 0 1px 0 #ebeef5',textAlign: 'center'}"
-							:data="inspectionTable" style="width: 100%">
+							:data="inspectionTable">
 							<el-table-column type="selection" min-width="30px" />
-							<el-table-column prop="icode" label="鐢宠鍗曞彿" min-width="100px" />
+							<el-table-column prop="icode" label="鐢宠鍗曞彿" min-width="150px" />
 							<el-table-column prop="type" label="妫�楠岀被鍨�" min-width="80px">
 								<template slot-scope="scope">
 									<div v-if="scope.row.type === 0"><span>鍘熸潗鏂欐楠�</span></div>
@@ -62,7 +63,7 @@
 									<div v-if="scope.row.type === 2"><span>鎴愬搧妫�楠�</span></div>
 								</template>
 							</el-table-column>
-							<el-table-column prop="formTime" label="鏉ユ枡鏃ユ湡" min-width="100px" />
+							<el-table-column prop="formTime" label="鏉ユ枡鏃ユ湡" min-width="80px" />
 							<el-table-column prop="supplier" label="渚涘簲鍟嗗悕绉�" min-width="150px" />
 							<el-table-column prop="mcode" label="鍘熸潗鏂欑紪鐮�" min-width="150px" />
 							<el-table-column prop="name" label="鍘熸潗鏂欏悕绉�" min-width="80px" />
@@ -70,13 +71,13 @@
 							<el-table-column prop="unit" label="鍗曚綅" min-width="50px" />
 							<el-table-column prop="num" label="鏁伴噺" min-width="50px" />
 							<el-table-column prop="createTime" label="鐧昏鏃ユ湡" min-width="80px" />
-							<el-table-column prop="userName" label="鐧昏浜�" min-width="80px" />
 							<el-table-column prop="inspection_status" label="妫�楠岀粨鏋�" min-width="80px">
 								<template slot-scope="scope">
 									<el-tag class="tag" :type="scope.row.inspection_status === 0 ? 'danger' : 'success'"
 										disable-transitions>{{ scope.row.inspection_status === 0 ? '涓嶅悎鏍�' : '鍚堟牸' }}</el-tag>
 								</template>
 							</el-table-column>
+							<el-table-column prop="userName" label="鐧昏浜�" min-width="80px" />
 							<el-table-column prop="checkdate" label="妫�楠屾棩鏈�" min-width="150px" />
 							<el-table-column label="鎿嶄綔" min-width="150" fixed="right">
 								<template slot-scope="scope">
@@ -302,7 +303,6 @@
 					</el-dialog>
 				</div>
 			</div>
-
 			<!-- 纭畾璺宠浆鍩烘湰搴撳脊绐� -->
 			<el-dialog title="鏍囧噯搴�" :visible.sync="Standardframe" width="49%">
 				<el-card>
@@ -310,7 +310,6 @@
 						<span>鐗堟湰閫夋嫨锛�</span>
 						<el-select @change="ccc" v-model="selectedValue" size="small" slot="append" style="width: 220px;">
 							<el-option v-for="item in BANben" :key="item" :label="item" :value="item"></el-option>
-
 						</el-select>
 					</template>
 				</el-card>
@@ -438,7 +437,6 @@
 	} from '@/api/experiment/planAssignments'
 	export default {
 		data() {
-
 			return {
 				showDetail: false,
 				searchData: {
@@ -501,7 +499,7 @@
 				}],
 				currentPage: 1,
 				total: 20, // 鎬绘潯鏁�
-				pageSize: 8, // 姣忛〉鐨勬暟鎹潯鏁�
+				pageSize: 10, // 姣忛〉鐨勬暟鎹潯鏁�
 				radioValue: '鍏ㄩ儴',
 				checkTypeVisible: false,
 				type: 0, // 榛樿涓嶉�変腑鐨勭姸鎬�

--
Gitblit v1.9.3