From b2d96e32bcce976c31fc44a745e9351b971bb675 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 29 四月 2024 11:21:53 +0800
Subject: [PATCH] 修改任务下单

---
 src/components/view/b2-standard.vue         |    2 +-
 src/components/tool/value-table.vue         |    6 ++++--
 src/components/view/b1-inspection-order.vue |   28 ++++++++++++++++++++++++++--
 3 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/src/components/tool/value-table.vue b/src/components/tool/value-table.vue
index c1e3dd7..bcf2326 100644
--- a/src/components/tool/value-table.vue
+++ b/src/components/tool/value-table.vue
@@ -105,7 +105,7 @@
         @row-click="rowClick" :show-summary="data.countFleid!=undefined && data.countFleid.length > 0"
         :summary-method="getSummaries" :row-class-name="tableRowClassName" :row-key="record=>record.id"
         :current-row-key="data.currentId" :highlight-current-row="data.highlight===undefined||data.highlight"
-        :span-method="spanMethod">
+        :span-method="spanMethod" :key="specialKey">
         <el-table-column type="selection" width="65" v-if="data.showSelect" :key="Math.random()">
         </el-table-column>
         <el-table-column type="index" align="center" label="搴忓彿" width="65" v-if="data.isIndex" :key="Math.random()">
@@ -448,7 +448,8 @@
           //   position:0
           // }
         ],
-        param: {}
+        param: {},
+        specialKey:'table-'
       }
     },
     watch: {
@@ -475,6 +476,7 @@
       this.token = {
         'token': sessionStorage.getItem('token')
       }
+      this.specialKey = this.specialKey+Math.random()*100;
     },
     methods: {
       rowspan(spanArr, position, spanName) {
diff --git a/src/components/view/b1-inspection-order.vue b/src/components/view/b1-inspection-order.vue
index c44ece1..98df458 100644
--- a/src/components/view/b1-inspection-order.vue
+++ b/src/components/view/b1-inspection-order.vue
@@ -15,16 +15,17 @@
 		display: flex;
 		align-items: center;
 		height: 50px;
+    width: 230px;
 	}
 
 	.search_label {
-		width: 120px;
+		width: 90px;
 		font-size: 14px;
 		text-align: right;
 	}
 
 	.search_input {
-		width: calc(100% - 120px);
+		width: calc(100% - 90px);
 	}
 
 	.table {
@@ -90,6 +91,29 @@
 					<div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable
 							v-model="componentData.entity.sampleType" @keyup.enter.native="refreshTable()"></el-input></div>
 				</div>
+        <div class="search_thing">
+					<div class="search_label">鏍峰搧缂栧彿锛�</div>
+					<div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable
+							v-model="componentData.entity.sampleType" @keyup.enter.native="refreshTable()"></el-input></div>
+				</div>
+        <div class="search_thing">
+					<div class="search_label">鏍峰搧鍨嬪彿锛�</div>
+					<div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable
+							v-model="componentData.entity.sampleType" @keyup.enter.native="refreshTable()"></el-input></div>
+				</div>
+        <div class="search_thing">
+					<div class="search_label">涓嬪崟鏃堕棿锛�</div>
+					<div class="search_input">
+            <el-date-picker style="width:100%" v-model="componentData.entity.createTime"
+            type="datetime"
+            size="small"
+            format="yyyy-MM-dd"
+            value-format="yyyy-MM-dd"
+            clearable
+            placeholder="閫夋嫨鏃ユ湡">
+            </el-date-picker>
+          </div>
+				</div>
 				<div class="search_thing" style="padding-left: 30px;">
 					<el-button size="small" @click="refresh()">閲� 缃�</el-button>
 					<el-button size="small" type="primary" @click="refreshTable()">鏌� 璇�</el-button>
diff --git a/src/components/view/b2-standard.vue b/src/components/view/b2-standard.vue
index 0fac06d..2eafd6e 100644
--- a/src/components/view/b2-standard.vue
+++ b/src/components/view/b2-standard.vue
@@ -142,7 +142,7 @@
         <!-- </el-col> -->
       </el-row>
       <el-row class="standard_table" v-loading="tableLoad">
-        <el-table class="el-table" :data="standardList" style="width: 100%;" height="220px" tooltip-effect="dark"
+        <el-table class="el-table" :data="standardList" style="width: 100%;height: 220px !important;overflow-y: auto;" tooltip-effect="dark"
           highlight-current-row @row-click="rowClick" ref="standard" :key="Math.random()">
           <el-table-column prop="code" label="鏍囧噯缂栧彿" show-overflow-tooltip width="180">
             <template slot-scope="scope">

--
Gitblit v1.9.3