From 4c70b785d9ecdd6fbb5e0e324eed9b3222401465 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 11 八月 2026 22:12:21 +0800
Subject: [PATCH] 放开报销单修改删除下载权限

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

diff --git a/src/views/project/fund/performanceApply/index.vue b/src/views/project/fund/performanceApply/index.vue
index c0c94db..1b20cc1 100644
--- a/src/views/project/fund/performanceApply/index.vue
+++ b/src/views/project/fund/performanceApply/index.vue
@@ -147,7 +147,7 @@
         </template>
       </el-table-column>
       <el-table-column
-        label="鐢宠鏉愭枡鐘舵��"
+        label="鏉愭枡棰勫鐘舵��"
         width="140"
         align="center"
         prop="checkstatus"
@@ -195,7 +195,6 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['project:medicalfund:edit']"
             >淇敼</el-button
           >
 
@@ -210,17 +209,16 @@
             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"
             type="text"
             icon="el-icon-download"
             @click="mixExport(scope.row.id)"
-            v-hasPermi="['project:medicalfund:download']"
             >涓嬭浇</el-button
           >
           <el-button
@@ -233,6 +231,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>
 
@@ -290,22 +295,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,
@@ -320,7 +310,7 @@
           label: "鍏ㄩ儴"
         }
       ],
-      fundQueryParam: {
+      queryParams: {
         infoid: null,
         applytype: "5",
         createBy: null,
@@ -444,6 +434,7 @@
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery() {
       this.queryParams.pageNum = 1;
+
       this.getList();
     },
     /** 閲嶇疆鎸夐挳鎿嶄綔 */
@@ -524,13 +515,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;
       });
     },
     // 鎹愮尞鑰呭尰瀛︾粺璁℃墦鍗�
@@ -596,7 +590,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 "";
@@ -621,6 +615,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