From 0a26d58a3906b9e13946c7cb46fae51a0de98920 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期一, 17 三月 2025 15:49:08 +0800
Subject: [PATCH] Merge branch 'dev' into dev_tides

---
 src/views/CNAS/process/sampleDisposal/index.vue |   73 +++++++-----------------------------
 1 files changed, 14 insertions(+), 59 deletions(-)

diff --git a/src/views/CNAS/process/sampleDisposal/index.vue b/src/views/CNAS/process/sampleDisposal/index.vue
index 94b45b9..6ad90f6 100644
--- a/src/views/CNAS/process/sampleDisposal/index.vue
+++ b/src/views/CNAS/process/sampleDisposal/index.vue
@@ -2,28 +2,24 @@
   <div class="capacity-scope">
     <el-tabs type="border-card" v-model="activeName" style="height: 100%;" @tab-click="queryParams.totaldealId = ''">
       <el-tab-pane label="濉啓" name="濉啓" style="height: 100%;" :key="1">
-        <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;">鏂板</el-button>
+        <el-button size="small" type="primary" @click="handleAdd0" style="margin-bottom: 10px">鏂板</el-button>
         <div class="table" style="height: calc(100% - 200px)" v-if="activeName == '濉啓'">
           <lims-table :tableData="tableData" :column="column" :tableLoading="tableLoading"
-                      key="tableData"
-            :height="'calc(100vh - 290px)'" :page="page" @pagination="pagination"></lims-table>
+                      key="tableData" :height="'calc(100vh - 290px)'" :page="page" @pagination="pagination"></lims-table>
         </div>
       </el-tab-pane>
       <el-tab-pane label="鍘嗗彶璁板綍" name="鍘嗗彶璁板綍" style="height: 100%;" :key="2">
-        <div class="search">
-          <div class="search_thing">
-            <div class="search_label">骞存湀锛�</div>
-            <div class="search_input">
-              <el-date-picker v-model="queryParams0.month" type="month" placeholder="閫夋嫨鏈�" format="yyyy-MM"
-                value-format="yyyy-MM" size="small" @change="refreshTable()">
-              </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>
-          </div>
-        </div>
+        <el-form :model="queryParams0" ref="queryParams0" size="small" :inline="true">
+          <el-form-item label="骞存湀" prop="month">
+            <el-date-picker v-model="queryParams0.month" type="month" placeholder="閫夋嫨鏈�" format="yyyy-MM"
+                            value-format="yyyy-MM" size="small" @change="refreshTable()">
+            </el-date-picker>
+          </el-form-item>
+          <el-form-item>
+            <el-button type="primary" icon="el-icon-search" size="mini" @click="refreshTable">鏌� 璇�</el-button>
+            <el-button icon="el-icon-refresh" size="mini" @click="refresh">閲� 缃�</el-button>
+          </el-form-item>
+        </el-form>
         <div class="table">
           <lims-table :tableData="tableData0" :column="column0" :tableLoading="tableLoading"
                       key="tableData0"
@@ -118,11 +114,11 @@
   pageProcessTotaldeal,
 } from "@/api/cnas/process/sampleDisposal";
 export default {
+  name: 'SampleDisposal',
   components: {
     limsTable,
     filePreview,
   },
-  name: "SampleDisposal",
   data() {
     return {
       activeName: '濉啓',
@@ -486,19 +482,6 @@
 </script>
 
 <style scoped>
-.title {
-  height: 60px;
-  line-height: 60px;
-}
-
-.search {
-  background-color: #fff;
-  height: 40px;
-  display: flex;
-  align-items: center;
-  position: relative;
-}
-
 .search_thing {
   width: 350px;
   display: flex;
@@ -515,19 +498,8 @@
   width: calc(100% - 110px);
 }
 
-.table {
-  background-color: #fff;
-  height: calc(100% - 60px - 140px);
-  padding: 20px;
-}
-
 .downPdf {
   opacity: 0 !important;
-}
-
-.tables {
-  table-layout: fixed;
-  width: 100%;
 }
 
 .tables td {
@@ -537,23 +509,6 @@
   font-size: 14px;
   word-wrap: break-word;
   white-space: normal;
-}
-
-.en {
-  font-size: 12px;
-  word-break: break-word;
-  /* 鑷姩鏂 */
-  overflow-wrap: break-word;
-  /* 闃叉婧㈠嚭 */
-  white-space: normal;
-  /* 榛樿鎹㈣ */
-}
-
-.user-info {
-  display: flex;
-  align-items: center;
-  justify-content: space-evenly;
-  margin-top: 20px;
 }
 
 .user-info .el-button {

--
Gitblit v1.9.3