From 128aec95c834751e587e7f6615310ffbe3b13b64 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 27 九月 2023 16:37:53 +0800
Subject: [PATCH] 11

---
 src/views/project/fundcheck/officeExpenseCheck/index.vue |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 53 insertions(+), 2 deletions(-)

diff --git a/src/views/project/fundcheck/officeExpenseCheck/index.vue b/src/views/project/fundcheck/officeExpenseCheck/index.vue
index 476fd49..2055fa4 100644
--- a/src/views/project/fundcheck/officeExpenseCheck/index.vue
+++ b/src/views/project/fundcheck/officeExpenseCheck/index.vue
@@ -69,6 +69,17 @@
         </el-col> -->
       </el-row>
       <el-row>
+        <el-col :span="5">
+          <el-form-item label="鎹愮尞鑰�" prop="donorname" style="float: left">
+            <el-input
+              v-model="queryParams.donorname"
+              placeholder="璇疯緭鍏ョ敵璇蜂汉鎹愮尞鑰�"
+              clearable
+              size="small"
+              @keyup.enter.native="flowconclusion"
+            />
+          </el-form-item>
+        </el-col>
         <el-col :span="4">
           <div style="margin-bottom: 15px;">
             <el-button
@@ -167,6 +178,19 @@
               />
             </template>
           </el-table-column>
+          <el-table-column
+        label="棰勫鐘舵��"
+        width="140"
+        align="center"
+        prop="checkstatus"
+      >
+        <template slot-scope="scope">
+          <dict-tag
+            :options="dict.type.sys_stage_type"
+            :value="scope.row.checkstatus"
+          />
+        </template>
+      </el-table-column>
           <el-table-column label="澶囨敞" align="center" prop="remark" />
           <el-table-column
             label="鎿嶄綔"
@@ -189,6 +213,14 @@
                 size="mini"
                 type="text"
                 icon="el-icon-edit"
+                @click="beforehandCheck(scope.row)"
+                >棰勫鏍�</el-button
+              >
+              <el-button
+                v-if="scope.row.checkFlag == 1"
+                size="mini"
+                type="text"
+                icon="el-icon-edit"
                 @click="handleCheck(scope.row)"
                 >瀹℃牳</el-button
               >
@@ -198,9 +230,9 @@
                 type="text"
                 icon="el-icon-download"
                 @click="totaldayin(scope.row.id)"
-                v-hasPermi="['project:donateconsolationfund:download']"
                 >涓嬭浇</el-button
               >
+              <!-- v-hasPermi="['project:donateconsolationfund:download']" -->
 
               <!-- 鏂板瀹℃牳椤甸潰 -->
               <!-- <el-button
@@ -872,6 +904,8 @@
 import OrgSelecter from "@/views/project/components/orgselect";
 import { getUserProfile } from "@/api/system/user";
 import { getToken } from "@/utils/auth";
+import { setItem,grtItem,removeItem } from '@/utils/storage.js';
+
 
 export default {
   components: {
@@ -890,7 +924,8 @@
     "sys_fund_type",
     "sys_finsubject",
     "sys_financeitemtype",
-    "sys_consolationfundlevel"
+    "sys_consolationfundlevel",
+    "sys_stage_type"
   ],
   data() {
     return {
@@ -1061,6 +1096,9 @@
   },
 
   mounted() {
+    if (grtItem("officeExpenseCheck")) {
+      this.queryParams = grtItem("officeExpenseCheck");
+    };
     this.selectReporters();
     this.getlistOrganization();
     //his.getlistUser();
@@ -1077,6 +1115,8 @@
       // this.queryParams.params = {};
       console.log("this.queryParams", this.queryParams);
       listbypower(this.queryParams).then(res => {
+        removeItem("officeExpenseCheck");
+        setItem("officeExpenseCheck", this.queryParams);
         this.loading = false;
         let list = res.rows;
         this.total = res.total;
@@ -1335,6 +1375,17 @@
         });
       }
     },
+    beforehandCheck(row){
+      this.$router.push({
+        path: "/finance/applyDetail/",
+        query: {
+          id: row.id,
+          businessType: "2",
+          beforehandType:'1',
+          operationType: "check",
+        }
+      });
+    },
     /** 瀹℃牳鎸夐挳鎿嶄綔 */
     handleCheck(row) {
       this.$router.push({

--
Gitblit v1.9.3