From 2871dd51e0adc895781cf4ddb6979c93abe55b75 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 22 九月 2023 15:54:18 +0800 Subject: [PATCH] 11 --- src/views/project/fundcheck/officeExpenseCheck/index.vue | 42 +++++++++++++++++++++++++++++++++++++++++- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/src/views/project/fundcheck/officeExpenseCheck/index.vue b/src/views/project/fundcheck/officeExpenseCheck/index.vue index 476fd49..e1eca67 100644 --- a/src/views/project/fundcheck/officeExpenseCheck/index.vue +++ b/src/views/project/fundcheck/officeExpenseCheck/index.vue @@ -167,6 +167,19 @@ /> </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> <el-table-column label="澶囨敞" align="center" prop="remark" /> <el-table-column label="鎿嶄綔" @@ -183,6 +196,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" @@ -872,6 +893,8 @@ 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: { @@ -890,7 +913,8 @@ "sys_fund_type", "sys_finsubject", "sys_financeitemtype", - "sys_consolationfundlevel" + "sys_consolationfundlevel", + "sys_stage_type" ], data() { return { @@ -1061,6 +1085,9 @@ }, mounted() { + if (grtItem("officeExpenseCheck")) { + this.queryParams = grtItem("officeExpenseCheck"); + }; this.selectReporters(); this.getlistOrganization(); //his.getlistUser(); @@ -1077,6 +1104,8 @@ // this.queryParams.params = {}; console.log("this.queryParams", this.queryParams); listbypower(this.queryParams).then(res => { + removeItem("officeExpenseCheck"); + setItem("officeExpenseCheck", this.queryParams); this.loading = false; let list = res.rows; this.total = res.total; @@ -1335,6 +1364,17 @@ }); } }, + beforehandCheck(row){ + this.$router.push({ + path: "/finance/applyDetail/", + query: { + id: row.id, + businessType: "2", + beforehandType:'1', + operationType: "check", + } + }); + }, /** 瀹℃牳鎸夐挳鎿嶄綔 */ handleCheck(row) { this.$router.push({ -- Gitblit v1.9.3