From ac4e8c44318369bbd246d6344bc29441a1904ddb Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期四, 24 八月 2023 11:29:50 +0800 Subject: [PATCH] yxh --- src/views/project/fund/applyDetail/index.vue | 1 + src/views/project/travelexpenseapply/travelexpensedetail/index.vue | 2 ++ src/views/project/fundcheck/expertFeeCheck/index.vue | 19 +++++++++++++++---- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index e2f8645..c78600e 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -1327,6 +1327,7 @@ if ( this.userprofile.createBy == "admin" || this.userprofile.createBy == "001" || + this.userprofile.createBy == "012" || this.userprofile.createBy == "002" ) { this.ismanager = true; diff --git a/src/views/project/fundcheck/expertFeeCheck/index.vue b/src/views/project/fundcheck/expertFeeCheck/index.vue index f5ab0e0..5b30798 100644 --- a/src/views/project/fundcheck/expertFeeCheck/index.vue +++ b/src/views/project/fundcheck/expertFeeCheck/index.vue @@ -70,7 +70,7 @@ <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.checkFlag == 0" @click="handleShow(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 = {}; diff --git a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue index be6ea45..5ef895a 100644 --- a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue +++ b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue @@ -1576,6 +1576,8 @@ this.open = false; // 鍏抽棴绐楀彛 + + this.$store.dispatch('tagsView/delView', this.$route) this.$router.go(-1); }) .catch(err => { -- Gitblit v1.9.3