From 3fe52d6b9fdd2eb2176474a8db5857372b8b5045 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 14 九月 2023 10:55:39 +0800
Subject: [PATCH] 11

---
 src/views/project/fundcheck/expertFeeCheck/index.vue |   33 +++++++++++++++++++++++++++------
 1 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/src/views/project/fundcheck/expertFeeCheck/index.vue b/src/views/project/fundcheck/expertFeeCheck/index.vue
index f5ab0e0..9e7c574 100644
--- a/src/views/project/fundcheck/expertFeeCheck/index.vue
+++ b/src/views/project/fundcheck/expertFeeCheck/index.vue
@@ -68,9 +68,9 @@
           <el-table-column label="鎿嶄綔" fixed="right" align="center" class-name="small-padding fixed-width" width="160px">
             <template slot-scope="scope">
               <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.checkFlag == 0"
-                @click="handleShow(scope.row)">璇︽儏</el-button>
+                @click="handleDetail(scope.row)">璇︽儏</el-button>
               <el-button v-if="scope.row.checkFlag == 1" size="mini" type="text" icon="el-icon-edit"
-                @click="handleUpdate(scope.row)">瀹℃牳</el-button>
+                @click="handleCheck(scope.row)">瀹℃牳</el-button>
               <!-- v-hasPermi="['project:donateconsolationfund:edit']" -->
               <el-button size="mini" type="text" icon="el-icon-download" @click="dayin(scope.row.id)">涓嬭浇</el-button>
             </template>
@@ -590,14 +590,15 @@
         // this.standardlevel = response.data.standardlevel;
         if (
           response.data.userName === "001" ||
-          response.data.userName === "002" ||
+          response.data.userName === "002" ||          
+          response.data.userName === "012" ||
           response.data.userName === "admin"
         ) {
           this.show = 1;
         } else {
           this.show = 3;
         }
-        console.log("where", this.show);
+        console.log(response.data.userName, this.show);
       });
     },
     selectapplication() {
@@ -906,7 +907,17 @@
       }
     },
     /** 淇敼鎸夐挳鎿嶄綔 */
-    handleUpdate(row) {
+    handleCheck(row) {      
+      this.$router.push({
+        path: "/finance/applyDetail/",
+        query: {
+          id: row.id,
+          businessType: "1",
+          operationType: "check"
+        }
+      });
+      return;
+
       this.isopen = 0;
       this.reset();
       this.queryParams.params = {};
@@ -947,7 +958,17 @@
     },
 
     //鏌ョ湅瀹℃牳璇︽儏
-    handleShow(row) {
+    handleDetail(row) {
+      this.$router.push({
+        path: "/finance/applyDetail/",
+        query: {
+          id: row.id,
+          businessType: "1",
+          operationType: "detail"
+        }
+      });
+      return;
+
       this.isopen = 0;
       this.reset();
       this.queryParams.params = {};

--
Gitblit v1.9.3