From de1e77e83498b61740884b1ce83fd7a8e189e3fa Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期三, 12 三月 2025 13:39:27 +0800
Subject: [PATCH] qx

---
 src/components/jianceResult/index.vue   |   29 ++++++++++++++++++++++++-----
 src/views/doctor/check/index.vue        |    6 ++++--
 vue.config.js                           |    4 ++--
 src/components/proposal/index.vue       |    2 +-
 src/components/createproposal/index.vue |    2 +-
 5 files changed, 32 insertions(+), 11 deletions(-)

diff --git a/src/components/createproposal/index.vue b/src/components/createproposal/index.vue
index 5d9490a..50dd191 100644
--- a/src/components/createproposal/index.vue
+++ b/src/components/createproposal/index.vue
@@ -6,7 +6,7 @@
       width="1200px"
       append-to-body
     >
-      <el-form ref="form" :model="propform" label-width="80px">
+      <el-form ref="form" :model="propform" label-width="80px" @submit.native.prevent>
         <el-form-item label="寤鸿鏍囬" prop="title">
           <el-input v-model="propform.title" placeholder="璇疯緭鍏ュ悕绉版爣棰�" />
         </el-form-item>
diff --git a/src/components/jianceResult/index.vue b/src/components/jianceResult/index.vue
index 55118a0..a7954fa 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">
+      <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>
@@ -62,6 +62,7 @@
       queryParams: { xmgz: '' }
     };
   },
+ 
   mounted() {
   },
   methods: {
@@ -79,14 +80,32 @@
       this.list = [];  // 娓呯┖宸查�夊垪琛�
     },
     handleQuery() {
-      this.getList();
+      console.log(11111)
+      this.loading = true;
+      selectZT({
+        proId: this.proId,
+        xmgz: this.queryParams.xmgz
+      }).then((res) => {
+        if (res.data.length > 0) {
+          console.log(33333)
+          this.open = true
+          this.dataList = res.data;
+          this.loading = false;
+        } else {
+          console.log(2222)
+          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,
diff --git a/src/components/proposal/index.vue b/src/components/proposal/index.vue
index 0d8f006..bce9ba1 100644
--- a/src/components/proposal/index.vue
+++ b/src/components/proposal/index.vue
@@ -16,7 +16,7 @@
                 </el-form-item>
             </el-form> -->
 
-      <el-form inline>
+      <el-form inline @submit.native.prevent="search">
         <el-form-item>
           <el-radio-group v-model="tjproposal" @input="radiotjproposalChange">
             <el-radio-button label="0">蹇嵎寤鸿</el-radio-button>
diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue
index 599047c..af318a4 100644
--- a/src/views/doctor/check/index.vue
+++ b/src/views/doctor/check/index.vue
@@ -1221,6 +1221,7 @@
           <div class="tab8">
             <div class="tab3">
               <el-form
+              @submit.native.prevent
                 :model="queryParam1"
                 ref="tableList"
                 :inline="true"
@@ -1583,8 +1584,9 @@
       } else {
         this.curindex = row;
         this.$refs.bbb.title = "閫夋嫨妫�娴嬬粨鏋�";
-        this.$refs.bbb.proId = row.proId;
-        this.$refs.bbb.getList();
+        // this.$refs.bbb.proId = row.proId;
+        this.$refs.bbb.open = true;
+        this.$refs.bbb.getList(this.curindex);
       }
     },
     handleChangesZt(params) {
diff --git a/vue.config.js b/vue.config.js
index fd5ce6e..0e775f0 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -53,8 +53,8 @@
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
         // target: `https://ltpeis.xaltjdkj.cn:5801/`,
-        target: `http://192.168.1.2:5011`,
-        // target: `http://192.168.1.113:5011`,
+        // target: `http://192.168.1.2:5011`,
+        target: `http://192.168.1.113:5011`,
         // // target: `http://192.168.0.99:8080/ltkj-admin`,
         // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
         // target: `http://10.168.0.9:5011`,

--
Gitblit v1.8.0