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/demand/index.vue |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/views/CNAS/process/demand/index.vue b/src/views/CNAS/process/demand/index.vue
index 7007925..ef70abd 100644
--- a/src/views/CNAS/process/demand/index.vue
+++ b/src/views/CNAS/process/demand/index.vue
@@ -23,12 +23,13 @@
           <el-button type="primary" icon="el-icon-search" size="mini" @click="refreshTable">鏌� 璇�</el-button>
         </el-form-item>
       </el-form>
-    </div>
-    <div style="text-align: right; margin-bottom: 20px">
-      <el-button size="small" type="primary" @click="goAdd">鏂板</el-button>
+      <div style="text-align: right; margin-bottom: 20px">
+        <el-button size="small" type="primary" @click="goAdd">鏂板</el-button>
+      </div>
     </div>
     <div class="table">
-      <el-table v-loading="tableListLoading" :data="tableList" height="530" style="width: 100%">
+      <el-table v-loading="tableListLoading" :data="tableList"
+                height="630" style="width: 100%" border :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }">
         <el-table-column align="center" label="搴忓彿" type="index" width="60"></el-table-column>
         <el-table-column label="璇曟牱鍚嶇О" prop="sampleName" show-overflow-tooltip width="120"></el-table-column>
         <el-table-column label="濮旀墭缂栧彿" prop="entrustCode" show-overflow-tooltip width="120"></el-table-column>
@@ -80,7 +81,9 @@
         <el-button size="small" type="primary" @click="searchTableData">鏌ヨ</el-button>
         <el-button size="small" @click="refreshTableData">閲� 缃�</el-button>
       </div>
-      <el-table v-loading="tableLoading" :data="tableData" height="550" style="width: 100%">
+      <el-table v-loading="tableLoading" :data="tableData"
+                :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border
+                height="550" style="width: 100%">
         <el-table-column align="center" label="搴忓彿" type="index" width="60"></el-table-column>
         <el-table-column label="濮旀墭缂栧彿" prop="entrustCode"></el-table-column>
         <el-table-column label="鏍峰搧鍚嶇О" prop="sample"></el-table-column>
@@ -99,7 +102,7 @@
       :modal="title != '涓嬭浇'" :title="title" :visible.sync="detailDialogVisible" top="20px" width="1200px">
       <div style="max-height: 75vh;overflow-y: auto;">
         <div id="dialogBody">
-          <table border="1" cellpadding="10" class="tables heads" style="border: 1px dashed black;">
+          <table border="1" cellpadding="10" class="tables heads" style="border: 1px dashed black;width: 100%">
             <tr>
               <td rowspan="2">
                 <img alt="" src="@/assets/logo/ZTTlogo.png" style="width: 80%;">
@@ -130,7 +133,7 @@
           <p v-if="operationType === 'view'" style="margin-top: 16px;margin-left: 600px;">濮旀墭缂栧彿锛歿{
             currentInfo.entrustCode }}
           </p>
-          <table border="1" cellpadding="10" class="tables">
+          <table border="1" cellpadding="10" class="tables" style="width: 100%">
             <tr>
               <td colspan="2">
                 <p>璇曟牱鍚嶇О</p>
@@ -413,7 +416,7 @@
 import { selectUserCondition } from "@/api/business/inspectionTask";
 
 export default {
-  name: "a7-Inspection-Order-Form",
+  name: "Demand",
   components: { limsTable },
   data() {
     return {
@@ -477,7 +480,6 @@
     };
   },
   mounted() {
-    // this.getPower()
     this.getAuthorizedPerson()
     this.refreshTable()
   },
@@ -595,7 +597,6 @@
       this.buttonLoading = true
       updateInspectionOrder(this.currentInfo).then(res => {
         this.buttonLoading = false
-        if (res.code === 201) return
         this.$message.success('鏂板鎴愬姛')
         this.detailDialogVisible = false
         this.orderRowsVisible = false

--
Gitblit v1.9.3