From 1348ca544f7cc984137ce72e61a3bc096998ad05 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期三, 23 四月 2025 15:38:00 +0800
Subject: [PATCH] art: 设备管理-我的待办-增加当前节点查询条件

---
 src/views/flowable/workflow/FlowTodo.vue |   30 +++++++++++++++++++++---------
 1 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/src/views/flowable/workflow/FlowTodo.vue b/src/views/flowable/workflow/FlowTodo.vue
index 02e8600..8f8957a 100644
--- a/src/views/flowable/workflow/FlowTodo.vue
+++ b/src/views/flowable/workflow/FlowTodo.vue
@@ -21,23 +21,35 @@
             </a-form-item>
           </a-col>
           <a-col :xl="4" :lg="6" :md="8" :sm="24">
+            <a-form-item label="褰撳墠鑺傜偣">
+              <a-input placeholder="璇疯緭鍏ュ綋鍓嶈妭鐐圭簿纭煡璇�" v-model="queryParam.name"></a-input>
+            </a-form-item>
+          </a-col>
+          <a-col :xl="4" :lg="6" :md="8" :sm="24">
             <a-form-item label="绠�瑕佹弿杩�">
               <a-input placeholder="璇疯緭鍏ョ畝瑕佹弿杩�" v-model="queryParam.title"></a-input>
             </a-form-item>
           </a-col>
-          <a-col :xl="8" :lg="8" :md="12" :sm="24">
-            <a-form-item label="褰撳墠鎿嶄綔鏃堕棿">
-              <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="璇烽�夋嫨寮�濮嬫椂闂�" class="query-group-cust"
-                      v-model="queryParam.startTime"></j-date>
-              <span class="query-group-split-cust"></span>
-              <j-date :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" placeholder="璇烽�夋嫨缁撴潫鏃堕棿" class="query-group-cust"
-                      v-model="queryParam.endTime"></j-date>
-            </a-form-item>
-          </a-col>
+          <template v-if="toggleSearchStatus">
+            <a-col :xl="8" :lg="8" :md="12" :sm="24">
+              <a-form-item label="浠诲姟鏃堕棿鑼冨洿">
+                <j-date :show-time="false" date-format="YYYY-MM-DD HH:mm:ss" placeholder="璇烽�夋嫨寮�濮嬫椂闂�" class="query-group-cust"
+                        v-model="queryParam.startTime"></j-date>
+                <span class="query-group-split-cust"></span>
+                <j-date :show-time="false" date-format="YYYY-MM-DD HH:mm:ss" placeholder="璇烽�夋嫨缁撴潫鏃堕棿" class="query-group-cust"
+                        v-model="queryParam.endTime"></j-date>
+              </a-form-item>
+            </a-col>
+          </template>
+
           <a-col :xl="4" :lg="6" :md="8" :sm="24">
             <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
               <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
               <a-button @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
+               <a @click="handleToggleSearch" style="margin-left: 8px">
+                {{ toggleSearchStatus ? '鏀惰捣' : '灞曞紑' }}
+                <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>
+              </a>
             </span>
           </a-col>
         </a-row>

--
Gitblit v1.9.3