From 7a2d49aeff16e1122ed33ebb858f093a379fb960 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期二, 15 四月 2025 17:11:03 +0800
Subject: [PATCH] wx

---
 src/components/public/index.vue |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/src/components/public/index.vue b/src/components/public/index.vue
index c4369c5..8e16d25 100644
--- a/src/components/public/index.vue
+++ b/src/components/public/index.vue
@@ -67,7 +67,7 @@
 
         <div style="width: 100%; height: 600px">
           <!-- <h3 style="margin-top: -30px;">宸查�夐」鐩�</h3> -->
-          <el-form :model="form" ref="queryForm" size="small" label-width="68px" :inline="true">
+          <el-form :model="form" ref="queryForm" size="small" label-width="68px" :label-position="labelPosition">
             <!--  :inline="true" -->
             <!-- <el-form-item>
               <el-input
@@ -77,10 +77,10 @@
               ></el-input>
             </el-form-item> -->
             <el-form-item label="妫�鏌ユ墍瑙�" prop="jcsj">
-              <el-input v-model="form.jcsj" clearable type="textarea" :autosize="{ minRows: 8 }" style="width: 380px" />
+              <el-input v-model="form.jcsj" clearable type="textarea" :autosize="{ minRows: 7 }" style="width: 380px" />
             </el-form-item>
             <el-form-item label="妫�鏌ョ粨璁�" prop="conclusion">
-              <el-input v-model="form.desc" clearable type="textarea" :autosize="{ minRows: 8 }" style="width: 380px" />
+              <el-input v-model="form.desc" clearable type="textarea" :autosize="{ minRows: 7 }" style="width: 380px" />
             </el-form-item>
           </el-form>
         </div>
@@ -121,6 +121,7 @@
   data() {
     return {
       open: false,
+      labelPosition:"top",
       // 寮瑰嚭灞傛爣棰�
       title: "",
       yxbx: "",
@@ -177,12 +178,11 @@
       try {
         this.loading = true; // 娣诲姞鍔犺浇鐘舵��
         const res = await getlist(this.queryParams);
-        this.dataList = res.rows;
-        this.total = res.total;
-      
+        this.dataList = res.data.rows;
+        if( res.data.total){
+          this.total = res.data.total;
+        }
           this.updateData(this.proResult, this.conclusion);
-        
-
         // 濡傛灉闇�瑕侀�変腑鎿嶄綔锛屽皢鍏跺皝瑁呬负鐙珛鏂规硶
         await this.handleAutoSelection();
       } catch (error) {
@@ -235,9 +235,7 @@
               .join(",");
             this.form.jcsj =  this.form.jcsj+jcsj; // 鏇存柊妫�鏌ユ墍瑙�
             this.form.desc= this.form.desc+desc;
-         
         }
-      
     },
 
     handleSelectionChange(selection) {

--
Gitblit v1.8.0