From 90f011d24f2a771f9b63eef8f7047a38acf00fff Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期二, 25 七月 2023 16:31:08 +0800
Subject: [PATCH] 各模块时间搜索已完善

---
 ruoyi-ui/src/views/economy/index.vue |   23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/ruoyi-ui/src/views/economy/index.vue b/ruoyi-ui/src/views/economy/index.vue
index 9ed05e9..7eec652 100644
--- a/ruoyi-ui/src/views/economy/index.vue
+++ b/ruoyi-ui/src/views/economy/index.vue
@@ -2,11 +2,11 @@
   <div class="app-container" style="opacity: 1;">
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch">
 
-      <el-form-item label="鏃堕棿" >
+      <el-form-item label="鏃堕棿"  prop="createTime">
         <el-date-picker
           v-model="dateRange"
           style="width: 240px;"
-          value-format="yyyy-MM-dd HH-MM"
+          value-format="yyyy-MM-dd"
           type="daterange"
           range-separator="-"
           start-placeholder="寮�濮嬫棩鏈�"
@@ -22,15 +22,7 @@
           @keyup.enter.native="handleQuery"
         />
       </el-form-item>
-      <el-form-item label="绫诲瀷" prop="type">
-        <el-input
-          v-model="queryParams.type"
-          placeholder="璇疯緭鍏ョ被鍨�"
-          clearable
-          style="width: 240px"
-          @keyup.enter.native="handleQuery"
-        />
-      </el-form-item>
+
 
       <el-form-item label="鐢ㄩ��" prop="useFor">
         <el-input
@@ -109,7 +101,7 @@
     <!-- 杩欓噷鏈変釜familyList鏁扮粍 鏄湪data()涓畾涔夌殑 -->
     <el-table v-loading="loading" :data="economyList"  @selection-change="handleSelectionChange" @row-click="handleCheck" :row-class-name="tableRowClassName" style="background: #FFEFF2;  border-radius: 14px 14px 14px 14px;">
       <el-table-column type="selection" width="55"  align="center" />
-      <el-table-column  label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/>
+      <el-table-column fixed label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="120"/>
 
       <el-table-column label="鍙戠敓鏃堕棿" prop="createTime" sortable width="100" align="center">
         <template slot-scope="scope">{{scope.row.createTime? scope.row.createTime: '鈥斺�斺�斺��'}}</template>
@@ -190,9 +182,9 @@
           <el-input v-model="formDat.type" placeholder="璇疯緭鍏ュ唴瀹�" clearable :style="{width: '100%'}" ></el-input>
         </el-form-item>
 
-        <el-form-item label="鏃堕棿" prop="happenTime">
+        <el-form-item label="鏃堕棿" prop="createTime">
           <el-date-picker
-            v-model='formDat.happenTime'
+            v-model='formDat.createTime'
             type='date'
             placeholder='閫夋嫨鏃ユ湡'
           ></el-date-picker>
@@ -369,7 +361,8 @@
         type:undefined,
         useFor:undefined,
         usePeople:undefined,
-        createTime:undefined,
+
+        createTime:undefined
 
       },
       // 琛ㄥ崟鍙傛暟

--
Gitblit v1.9.1