From 5d671b56548dd1cb1c69a495eb2afd784a1c083d Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 15 五月 2026 10:02:26 +0800
Subject: [PATCH] 申请单维护

---
 src/views/project/fund/performanceApply/index.vue |   45 ++++++++++++++++++++++-----------------------
 1 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/src/views/project/fund/performanceApply/index.vue b/src/views/project/fund/performanceApply/index.vue
index fa5963d..b3c2e31 100644
--- a/src/views/project/fund/performanceApply/index.vue
+++ b/src/views/project/fund/performanceApply/index.vue
@@ -54,9 +54,8 @@
             <el-date-picker
               format="yyyy-MM-dd"
               value-format="yyyy-MM-dd"
-              v-model="value1"
+              v-model="queryParams.value1"
               type="daterange"
-              @blur="onpick"
               range-separator="鑷�"
               start-placeholder="鎶ラ攢鐢宠寮�濮嬫棩鏈�"
               end-placeholder="鎶ラ攢鐢宠缁撴潫鏃ユ湡"
@@ -211,10 +210,11 @@
             v-if="scope.row.recordstatus == -1 || scope.row.recordstatus == 1"
             size="mini"
             type="text"
-            icon="el-icon-delete"
             @click="handleDelete(scope.row)"
             v-hasPermi="['project:medicalfund:delete']"
-            >鍒犻櫎</el-button
+            ><span class="button-delete"
+              ><i class="el-icon-delete"></i>鍒犻櫎</span
+            ></el-button
           >
           <el-button
             size="mini"
@@ -234,6 +234,13 @@
         </template>
       </el-table-column>
     </el-table>
+    <pagination
+      v-show="total > 0"
+      :total="total"
+      :page.sync="queryParams.pageNum"
+      :limit.sync="queryParams.pageSize"
+      @pagination="getList"
+    />
   </div>
 </template>
 
@@ -291,22 +298,7 @@
       // 瀵煎嚭閬僵灞�
       exportLoading: false,
       total: 0,
-      queryParams: {
-        organizationname: null,
-        organizationtype: null,
-        pageNum: 1,
-        pageSize: 10,
-        name: null,
-        idcardno: null,
-        residenceprovince: null,
-        residencecity: null,
-        residencetown: null,
-        recordstate: null,
-        treatmenthospitalname: null,
-        donorno: null,
-        reportername: null,
-        reporttime: null
-      },
+
       checkFlagOptions: [
         {
           value: 0,
@@ -321,7 +313,7 @@
           label: "鍏ㄩ儴"
         }
       ],
-      fundQueryParam: {
+      queryParams: {
         infoid: null,
         applytype: "5",
         createBy: null,
@@ -445,6 +437,7 @@
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery() {
       this.queryParams.pageNum = 1;
+
       this.getList();
     },
     /** 閲嶇疆鎸夐挳鎿嶄綔 */
@@ -525,13 +518,16 @@
 
     /** 鏌ヨ鍒楄〃 */
     getList() {
+      console.log(this.queryParams);
+
       this.loading = true;
       this.queryParams.params = {};
       console.log(21);
-      listFund(this.fundQueryParam).then(response => {
+      listFund(this.queryParams).then(response => {
         console.log(11);
         this.loading = false;
         this.donateconsolationfundList = response.rows;
+        this.total=response.total;
       });
     },
     // 鎹愮尞鑰呭尰瀛︾粺璁℃墦鍗�
@@ -597,7 +593,7 @@
       //this.totaldayin(id);
     },
     rowClassName({ row, column, rowIndex, columnIndex }) {
-      if (row.recordstatus == -1 && row.backflowlevel != 0) {
+      if (row.recordstatus == -1 && row.backflowlevel != null) {
         return "error-row";
       }
       return "";
@@ -622,6 +618,9 @@
 </script>
 <style lang="scss" scoped>
 /* @import url(); 寮曞叆鍏叡css绫� */
+.button-delete {
+  color: rgb(236, 69, 69);
+}
 ::v-deep.el-table .error-row {
   background: #fcebeb;
 }

--
Gitblit v1.9.3