From 29b4ba2b27bd486b6beccb6f03678d8eb8d7b862 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 16 十月 2023 11:43:31 +0800
Subject: [PATCH] 11

---
 src/views/project/fundcheck/medicalCostCheck/index.vue |  115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 109 insertions(+), 6 deletions(-)

diff --git a/src/views/project/fundcheck/medicalCostCheck/index.vue b/src/views/project/fundcheck/medicalCostCheck/index.vue
index 1b16d95..c3f8099 100644
--- a/src/views/project/fundcheck/medicalCostCheck/index.vue
+++ b/src/views/project/fundcheck/medicalCostCheck/index.vue
@@ -25,6 +25,17 @@
           </el-form-item>
         </el-col>
         <el-col :span="5">
+          <el-form-item label="閲戦" prop="money" style="float: left">
+            <el-input
+              v-model="queryParams.money"
+              placeholder="璇疯緭鍏ョ敵璇蜂汉閲戦"
+              clearable
+              size="small"
+              @keyup.enter.native="flowconclusion"
+            />
+          </el-form-item>
+        </el-col>
+        <el-col :span="5">
           <el-form-item label="缁忓姙浜�" prop="APPLICANT" style="float: left">
             <el-input
               v-model="queryParams.APPLICANT"
@@ -63,7 +74,7 @@
             </el-select>
           </el-form-item>
         </el-col>
-        <el-col :span="6">
+        <!-- <el-col :span="6">
           <el-button
             type="primary"
             icon="el-icon-search"
@@ -74,9 +85,53 @@
           <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
             >閲嶇疆</el-button
           >
+        </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-row></el-form
-    >
+        <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
+              type="primary"
+              icon="el-icon-search"
+              size="mini"
+              @click="flowconclusion"
+              >鎼滅储</el-button
+            >
+            <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
+              >閲嶇疆</el-button
+            >
+          </div>
+        </el-col>
+      </el-row>
+    </el-form>
     <el-form ref="infoform" label-width="100px">
       <el-row>
         <el-table
@@ -156,6 +211,19 @@
               <dict-tag
                 :options="dict.type.sys_recordstatus"
                 :value="scope.row.recordstatus"
+              />
+            </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>
@@ -671,7 +739,7 @@
               fixed="right"
               align="center"
               label="鎿嶄綔"
-              width="120"
+              width="200"
             >
               <template slot-scope="scope">
                 <el-button
@@ -863,6 +931,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: {
@@ -881,7 +950,8 @@
     "sys_fund_type",
     "sys_finsubject",
     "sys_financeitemtype",
-    "sys_consolationfundlevel"
+    "sys_consolationfundlevel",
+    "sys_stage_type"
   ],
   data() {
     return {
@@ -956,6 +1026,20 @@
           label: "鍏ㄩ儴"
         }
       ],
+      checkmaterials: [
+      {
+          value: 1,
+          label: "鏉愭枡寰呭鏍�"
+        },
+        {
+          value: 2,
+          label: "瀹℃煡閫氳繃绛夊緟閭瘎绾歌川鏉愭枡"
+        },
+        {
+          value: 3,
+          label: "宸叉敹鍒扮焊璐ㄦ潗鏂�"
+        }
+      ],
       // 鏌ヨ鍙傛暟
       queryParams: {
         pageNum: 1,
@@ -965,7 +1049,8 @@
         APPLICATIONENDTIME: null,
         CHECKFLAG: 1,
         APPLYTYPE: 3,
-        donorname: null
+        donorname: null,
+        money: null
       },
       // 琛ㄥ崟鍙傛暟
       form: {},
@@ -1051,6 +1136,11 @@
     this.getUsermsg();
   },
   mounted() {
+    if (grtItem("medicalCostCheck")) {
+      this.queryParams = grtItem("medicalCostCheck");
+      this.queryParams.APPLICATIONBEGTIME = "";
+      this.queryParams.APPLICATIONENDTIME = "";
+    }
     this.selectReporters();
     this.getlistOrganization();
     //his.getlistUser();
@@ -1065,6 +1155,8 @@
       this.loading = true;
       // this.queryParams.params = {};
       listbypower(this.queryParams).then(res => {
+        removeItem("medicalCostCheck");
+        setItem("medicalCostCheck", this.queryParams);
         this.loading = false;
         let list = res.rows;
         let arr = [];
@@ -1324,6 +1416,17 @@
         });
       }
     },
+    beforehandCheck(row) {
+      this.$router.push({
+        path: "/finance/applyDetail/",
+        query: {
+          id: row.id,
+          businessType: "3",
+          beforehandType: "1",
+          operationType: "check"
+        }
+      });
+    },
     /** 淇敼鎸夐挳鎿嶄綔 */
     handleCheck(row) {
       this.$router.push({

--
Gitblit v1.9.3