From f761b7eb031c316afb754c73f2d985368958d745 Mon Sep 17 00:00:00 2001
From: cuijian <cuijian@xalxzn.com>
Date: 星期四, 03 七月 2025 09:11:52 +0800
Subject: [PATCH] 质量管理-抽样规则、缺陷维护功能

---
 src/components/jeecgbiz/JSelectBizComponent/JSelectBizComponentModal.vue |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/src/components/jeecgbiz/JSelectBizComponent/JSelectBizComponentModal.vue b/src/components/jeecgbiz/JSelectBizComponent/JSelectBizComponentModal.vue
index f99ff94..bac8abb 100644
--- a/src/components/jeecgbiz/JSelectBizComponent/JSelectBizComponentModal.vue
+++ b/src/components/jeecgbiz/JSelectBizComponent/JSelectBizComponentModal.vue
@@ -14,18 +14,18 @@
         <!-- 鏌ヨ鍖哄煙 -->
         <a-form layout="inline" class="j-inline-form">
           <!-- 鍥哄畾鏉′欢 -->
-          <a-form-item :label="(queryParamText||name)">
+          <!-- <a-form-item :label="(queryParamText||name)">
             <a-input v-model="queryParam[queryParamCode||valueKey]" :placeholder="'璇疯緭鍏�' + (queryParamText||name)" @pressEnter="searchQuery"/>
-          </a-form-item>
+          </a-form-item> -->
           <!-- 鍔ㄦ�佺敓鎴愮殑鏌ヨ鏉′欢 -->
-          <j-select-biz-query-item v-if="queryConfig.length>0" v-show="showMoreQueryItems" :queryParam="queryParam" :queryConfig="queryConfig" @pressEnter="searchQuery"/>
+          <j-select-biz-query-item v-if="queryConfig.length>0" :queryParam="queryParam" :queryConfig="queryConfig" @pressEnter="searchQuery"/>
           <!-- 鎸夐挳 -->
           <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
           <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
-          <a v-if="queryConfig.length>0" @click="showMoreQueryItems=!showMoreQueryItems" style="margin-left: 8px">
+          <!-- <a v-if="queryConfig.length>0" @click="showMoreQueryItems=!showMoreQueryItems" style="margin-left: 8px">
             {{ showMoreQueryItems ? '鏀惰捣' : '灞曞紑' }}
             <a-icon :type="showMoreQueryItems ? 'up' : 'down'"/>
-          </a>
+          </a> -->
         </a-form>
 
         <a-table
@@ -354,6 +354,16 @@
         }
       },
 
+    searchQuery() {
+      this.loadData(1);
+      this.selectedRowKeys = []
+    },
+    searchReset() {
+      this.queryParam = {}
+      this.loadData(1);
+      this.selectedRowKeys = []
+    },
+
     }
   }
 </script>

--
Gitblit v1.9.3