From bad2bc143be3f8ddb93a1c9f984127b3ccf43e8f Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期一, 31 三月 2025 17:47:14 +0800
Subject: [PATCH] 11

---
 src/components/jianceResult/index.vue |   27 ++++++++++++++++++++++-----
 1 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/src/components/jianceResult/index.vue b/src/components/jianceResult/index.vue
index 9839b3f..84a2178 100644
--- a/src/components/jianceResult/index.vue
+++ b/src/components/jianceResult/index.vue
@@ -1,11 +1,11 @@
 <template>
   <div>
     <el-dialog :title="title" :visible.sync="open" width="1200px" append-to-body @close="quxiao">
-      <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px"      @submit.native.prevent>
+      <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px" @submit.native.prevent="handleQuery">
 
         <el-form-item label="鍐呭" prop="xmg">
-          <el-input v-model="queryParams.xmgz" placeholder="璇疯緭鍏ュ唴瀹�" clearable @keyup.enter.native="handleQuery"
-            style="width: 130px;" />
+          <el-input v-model="queryParams.xmgz" placeholder="璇疯緭鍏ュ唴瀹�" clearable  
+            style="width: 130px;"  @keyup.enter.native="handleQuery"/>
         </el-form-item>
         <el-form-item>                                                                                                                                                                                                                                                                                                          
           <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">鎼滅储</el-button>
@@ -63,6 +63,7 @@
       queryParams: { xmgz: '' }
     };
   },
+ 
   mounted() {
   },
   methods: {
@@ -80,14 +81,30 @@
       this.list = [];  // 娓呯┖宸查�夊垪琛�
     },
     handleQuery() {
-      this.getList();
+      this.loading = true;
+      selectZT({
+        proId: this.proId,
+        xmgz: this.queryParams.xmgz
+      }).then((res) => {
+        if (res.data.length > 0) {
+          this.open = true
+          this.dataList = res.data;
+          this.loading = false;
+        } else {
+          this.open =false
+          this.dataList = res.data;
+          this.loading = false;
+        }
+      });
     },
     handleSelectionChange(selection) {
       this.list = selection
       console.log(this.list);
       
     },
-    getList() {
+    getList(row,date) {
+      console.log(row)
+     this.proId=row.proId
       this.loading = true;
       selectZT({
         proId: this.proId,

--
Gitblit v1.8.0