From 415969d7e150018536783838fcf8f36901b5a752 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 04 一月 2024 14:40:00 +0800
Subject: [PATCH] yxh

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

diff --git a/src/views/project/fundcheck/officeExpenseCheck/index.vue b/src/views/project/fundcheck/officeExpenseCheck/index.vue
index 476fd49..5bd1ebd 100644
--- a/src/views/project/fundcheck/officeExpenseCheck/index.vue
+++ b/src/views/project/fundcheck/officeExpenseCheck/index.vue
@@ -69,6 +69,34 @@
         </el-col> -->
       </el-row>
       <el-row>
+        <el-col :span="5">
+          <el-form-item label-width="120px" label="鐢宠鏉愭枡鐘舵��" prop="checkstatus" style="float: left">
+            <el-select
+              v-model="queryParams.checkstatus"
+              placeholder="璇烽�夋嫨"
+              style="width: 100%"
+            >
+              <el-option
+                v-for="item in checkmaterials"
+                :key="item.value"
+                :label="item.label"
+                :value="item.value"
+              >
+              </el-option>
+            </el-select>
+          </el-form-item>
+        </el-col>
+        <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 +195,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="鎿嶄綔"
@@ -184,6 +225,7 @@
                 @click="handleDetail(scope.row)"
                 >璇︽儏</el-button
               >
+
               <el-button
                 v-if="scope.row.checkFlag == 1"
                 size="mini"
@@ -198,9 +240,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 +914,7 @@
 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 +933,8 @@
     "sys_fund_type",
     "sys_finsubject",
     "sys_financeitemtype",
-    "sys_consolationfundlevel"
+    "sys_consolationfundlevel",
+    "sys_stage_type"
   ],
   data() {
     return {
@@ -965,6 +1009,20 @@
           label: "鍏ㄩ儴"
         }
       ],
+      checkmaterials: [
+      {
+          value: 1,
+          label: "鏉愭枡寰呭鏍�"
+        },
+        {
+          value: 2,
+          label: "瀹℃煡閫氳繃绛夊緟閭瘎绾歌川鏉愭枡"
+        },
+        {
+          value: 3,
+          label: "宸叉敹鍒扮焊璐ㄦ潗鏂�"
+        }
+      ],
       // 鏌ヨ鍙傛暟
       queryParams: {
         pageNum: 1,
@@ -974,6 +1032,7 @@
         APPLICATIONENDTIME: null,
         CHECKFLAG: 1,
         APPLYTYPE: 4,
+        
         money: null
       },
       // 琛ㄥ崟鍙傛暟
@@ -1061,6 +1120,11 @@
   },
 
   mounted() {
+    if (grtItem("officeExpenseCheck")) {
+      this.queryParams = grtItem("officeExpenseCheck");
+      this.queryParams.APPLICATIONBEGTIME = "";
+      this.queryParams.APPLICATIONENDTIME = "";
+    }
     this.selectReporters();
     this.getlistOrganization();
     //his.getlistUser();
@@ -1077,6 +1141,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 +1401,17 @@
         });
       }
     },
+    beforehandCheck(row) {
+      this.$router.push({
+        path: "/finance/applyDetail/",
+        query: {
+          id: row.id,
+          businessType: "4",
+          beforehandType: "1",
+          operationType: "check"
+        }
+      });
+    },
     /** 瀹℃牳鎸夐挳鎿嶄綔 */
     handleCheck(row) {
       this.$router.push({

--
Gitblit v1.9.3