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/ethicalExpertFeeCheck/index.vue |   79 +++++++++++++++++++++++++++++++++++----
 1 files changed, 71 insertions(+), 8 deletions(-)

diff --git a/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue b/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
index 8bb8424..137f820 100644
--- a/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
+++ b/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
@@ -63,6 +63,20 @@
             </el-select>
           </el-form-item>
         </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="6">
           <el-button
             type="primary"
@@ -128,11 +142,6 @@
             prop="managername"
             width="150px"
           />
-          <!-- <el-table-column label="宸ヤ綔鍗曚綅" align="center"  prop="unitname" width="230px" /> -->
-          <!-- <el-table-column label="鑱旂郴鐢佃瘽" align="center"  prop="phone"  width="160"  /> -->
-          <!-- <el-table-column label="绋庡悗閲戦" align="center" prop="taxedcost" width="120px" />
-          <el-table-column label="鐢宠閲戦" align="center" prop="amountrequested" width="120px" />
-          <el-table-column label="棰勬敮璐圭敤" align="center" prop="prepaidamount" width="120px" /> -->
           <el-table-column
             label="瀹℃牳鐘舵��"
             align="center"
@@ -143,6 +152,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="checkFlag"
+          >
+            <template slot-scope="scope">
+              <dict-tag
+                :options="dict.type.sys_stage_type"
+                :value="scope.row.checkstatus"
               />
             </template>
           </el-table-column>
@@ -160,7 +182,7 @@
             fixed="right"
             align="center"
             class-name="small-padding fixed-width"
-            width="160px"
+            width="260px"
           >
             <template slot-scope="scope">
               <el-button
@@ -170,6 +192,14 @@
                 v-if="scope.row.checkFlag == 0"
                 @click="handleDetail(scope.row)"
                 >璇︽儏</el-button
+              >
+              <el-button
+                v-if="scope.row.checkFlag == 1"
+                size="mini"
+                type="text"
+                icon="el-icon-edit"
+                @click="beforehandCheck(scope.row)"
+                >棰勫鏍�</el-button
               >
               <el-button
                 v-if="scope.row.checkFlag == 1"
@@ -711,6 +741,8 @@
 import Li_area_select from "@/components/Address";
 import OrgSelecter from "@/views/project/components/orgselect";
 import { getUserProfile } from "@/api/system/user";
+// 瀵煎叆鏈湴瀛樺偍鐨勬柟娉�
+import { setItem, grtItem, removeItem } from "@/utils/storage.js";
 
 export default {
   components: {
@@ -728,7 +760,8 @@
     "sys_ConsolationType",
     "sys_fund_type",
     "sys_finsubject",
-    "sys_financeitemtype"
+    "sys_financeitemtype",
+    "sys_stage_type"
   ],
   data() {
     return {
@@ -824,6 +857,21 @@
           label: "鍏ㄩ儴"
         }
       ],
+      // 瀹℃壒鍗曟祦绋�
+      checkFlagOptionsbar: [
+        {
+          value: 1,
+          label: "寰呴瀹�"
+        },
+        {
+          value: 2,
+          label: "棰勭畻閫氳繃锛岀瓑寰呯焊璐ㄦ姤閿�鏉愭枡"
+        },
+        {
+          value: 3,
+          label: "鏀跺埌绾歌川鎶ラ攢鏉愭枡"
+        }
+      ],
       // 鏌ヨ鍙傛暟
       queryParams: {
         pageNum: 1,
@@ -912,6 +960,9 @@
     this.getUsermsg();
   },
   mounted() {
+    if (grtItem("ethicalExpertFeeCheck")) {
+      this.queryParams = grtItem("ethicalExpertFeeCheck");
+    }
     this.selectReporters();
     this.getlistOrganization();
     //this.getlistUser();
@@ -928,6 +979,8 @@
     getlistbypower() {
       this.loading = true;
       listbypower(this.queryParams).then(res => {
+        removeItem("ethicalExpertFeeCheck");
+        setItem("ethicalExpertFeeCheck", this.queryParams);
         //console.log("鏍规嵁鏉冮檺鏄剧ず鍒楄〃", res);
         this.loading = false;
         let list = res.rows;
@@ -1022,7 +1075,6 @@
     isopenvalue(index) {
       this.isopen = index;
     },
-
     tojust(e) {
       let username = "111";
       getFund(e).then(res => {
@@ -1228,6 +1280,17 @@
         });
       }
     },
+    beforehandCheck(row) {
+      this.$router.push({
+        path: "/finance/applyDetail/",
+        query: {
+          id: row.id,
+          beforehandType: "1",
+          businessType: "2",
+          operationType: "check",
+        }
+      });
+    },
     /** 淇敼鎸夐挳鎿嶄綔 */
     handleCheck(row) {
       this.$router.push({

--
Gitblit v1.9.3