From 6196fc48d9a22add90e600e2d3a9ed8bacad3dd7 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 25 十月 2023 14:20:00 +0800
Subject: [PATCH] 11

---
 src/views/project/fundcheck/medicalCostCheck/index.vue |  133 +++++++++++++++++++++++++++++++++++++------
 1 files changed, 113 insertions(+), 20 deletions(-)

diff --git a/src/views/project/fundcheck/medicalCostCheck/index.vue b/src/views/project/fundcheck/medicalCostCheck/index.vue
index 9905c98..c23c0c7 100644
--- a/src/views/project/fundcheck/medicalCostCheck/index.vue
+++ b/src/views/project/fundcheck/medicalCostCheck/index.vue
@@ -19,9 +19,20 @@
               range-separator="鑷�"
               start-placeholder="鐢宠寮�濮嬫棩鏈�"
               end-placeholder="鐢宠缁撴潫鏃ユ湡"
-              @keyup.enter.native="handleQuery"
+              @keyup.enter.native="flowconclusion"
             >
             </el-date-picker>
+          </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">
@@ -31,21 +42,11 @@
               placeholder="璇疯緭鍏ョ粡鍔炰汉"
               clearable
               size="small"
-              @keyup.enter.native="handleQuery"
+              @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.donorname"
-              placeholder="璇疯緭鍏ユ崘鐚汉"
-              clearable
-              size="small"
-              @keyup.enter.native="handleQuery"
-            />
-          </el-form-item>
-        </el-col>
+
         <el-col :span="5">
           <el-form-item label="瀹℃壒鐘舵��" prop="CHECKFLAG" style="float: left">
             <el-select
@@ -63,7 +64,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 +75,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 +201,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 +729,7 @@
               fixed="right"
               align="center"
               label="鎿嶄綔"
-              width="120"
+              width="200"
             >
               <template slot-scope="scope">
                 <el-button
@@ -863,6 +921,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 +940,8 @@
     "sys_fund_type",
     "sys_finsubject",
     "sys_financeitemtype",
-    "sys_consolationfundlevel"
+    "sys_consolationfundlevel",
+    "sys_stage_type"
   ],
   data() {
     return {
@@ -956,6 +1016,20 @@
           label: "鍏ㄩ儴"
         }
       ],
+      checkmaterials: [
+      {
+          value: 1,
+          label: "鏉愭枡寰呭鏍�"
+        },
+        {
+          value: 2,
+          label: "瀹℃煡閫氳繃绛夊緟閭瘎绾歌川鏉愭枡"
+        },
+        {
+          value: 3,
+          label: "宸叉敹鍒扮焊璐ㄦ潗鏂�"
+        }
+      ],
       // 鏌ヨ鍙傛暟
       queryParams: {
         pageNum: 1,
@@ -965,7 +1039,8 @@
         APPLICATIONENDTIME: null,
         CHECKFLAG: 1,
         APPLYTYPE: 3,
-        donorname: null
+        donorname: null,
+        money: null
       },
       // 琛ㄥ崟鍙傛暟
       form: {},
@@ -1051,6 +1126,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 +1145,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 = [];
@@ -1125,7 +1207,7 @@
 
     totaldayin(e) {
       // const id =this.row.id
-      getdownloadBX(e).then(res => {
+      getdownloadYX(e).then(res => {
         if (res.downloadUrl) {
           var fileUrl = res;
           //鑾峰彇褰撳墠缃戝潃
@@ -1324,6 +1406,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