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/expertFeeCheck/index.vue | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 100 insertions(+), 10 deletions(-)
diff --git a/src/views/project/fundcheck/expertFeeCheck/index.vue b/src/views/project/fundcheck/expertFeeCheck/index.vue
index f5ab0e0..90d6299 100644
--- a/src/views/project/fundcheck/expertFeeCheck/index.vue
+++ b/src/views/project/fundcheck/expertFeeCheck/index.vue
@@ -6,14 +6,25 @@
<el-form-item label="鐢宠鏃ユ湡" prop="createTime">
<el-date-picker format="yyyy-MM-dd" @change="selectapplication" value-format="yyyy-MM-dd" v-model="createTime"
type="daterange" 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">
<el-form-item label="缁忓姙浜�" prop="APPLICANT" style="float: left">
<el-input v-model="queryParams.APPLICANT" placeholder="璇疯緭鍏ョ敵璇蜂汉濮撳悕" clearable size="small"
- @keyup.enter.native="handleQuery" />
+ @keyup.enter.native="flowconclusion" />
</el-form-item>
</el-col>
<el-col :span="5">
@@ -24,9 +35,25 @@
</el-select>
</el-form-item>
</el-col>
- <el-col :span="6">
+ <!-- <el-col :span="6">
<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>
+ </el-col> -->
+ </el-row>
+ <el-row>
+ <el-col :span="3">
+ <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>
@@ -61,6 +88,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>
<el-table-column label="鎹愮尞鑰�" align="center" prop="donorname" width="120px" />
<el-table-column label="澶囨敞" align="center" prop="remark" />
<!--<el-table-column label="鎹愮尞缂栧彿" align="center" prop="donorno" />
@@ -68,9 +108,17 @@
<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="beforehandCheck(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>
@@ -397,6 +445,8 @@
} from "@/api/project/donatebaseinfo";
import Li_area_select from "@/components/Address";
import OrgSelecter from "@/views/project/components/orgselect";
+import { setItem,grtItem,removeItem } from '@/utils/storage.js';
+
export default {
components: {
@@ -415,6 +465,7 @@
"sys_fund_type",
"sys_finsubject",
"sys_financeitemtype",
+ "sys_stage_type"
],
data() {
return {
@@ -497,6 +548,7 @@
APPLICATIONENDTIME: null,
CHECKFLAG: 1,
APPLYTYPE: 1,
+ money: null
},
// 琛ㄥ崟鍙傛暟
form: {},
@@ -571,14 +623,18 @@
watch: {},
created() {
//this.getBaseInfoList();
- this.getlistbypower();
//this.resetForm();
this.getCurFundType();
this.getUsermsg();
},
mounted() {
+ if (grtItem("expertFeeCheck")) {
+ this.queryParams = grtItem("expertFeeCheck");
+ };
this.selectReporters();
this.getlistOrganization();
+ this.getlistbypower();
+
//this.getlistUser();
this.getlistExternalperson();
},
@@ -590,14 +646,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() {
@@ -609,6 +666,8 @@
this.loading = true;
listbypower(this.queryParams).then((res) => {
console.log("鏍规嵁鏉冮檺鏄剧ず鍒楄〃", res);
+ removeItem("expertFeeCheck");
+ setItem("expertFeeCheck", this.queryParams);
this.loading = false;
let list = res.rows;
let arr = [];
@@ -905,8 +964,29 @@
});
}
},
+ beforehandCheck(row){
+ this.$router.push({
+ path: "/finance/applyDetail/",
+ query: {
+ id: row.id,
+ businessType: "2",
+ beforehandType:'1',
+ operationType: "check",
+ }
+ });
+ },
/** 淇敼鎸夐挳鎿嶄綔 */
- 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 +1027,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