From 5e093dcc9f4177bfd5f9ab2927914d2bf852770b Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 21 八月 2026 15:45:03 +0800
Subject: [PATCH] 连续审批
---
src/views/project/fund/applyDetail/index.vue | 79 +++++++++++++++++++++++++++++++++++++--
1 files changed, 75 insertions(+), 4 deletions(-)
diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index 9497b6f..60c5e5c 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -735,7 +735,8 @@
getdownloadBX,
addorupdateFund,
ManualCalculation,
- getdetailsByItemId
+ getdetailsByItemId,
+ listbypower
} from "@/api/project/fund";
import {
@@ -813,7 +814,7 @@
"sys_professionaltitle"
],
- data() {
+ data() {
// 鑷畾涔夎韩浠借瘉鍙锋牎楠屽櫒
const validateIdCard = (rule, value, callback) => {
// 1. 濡傛灉涓虹┖锛屼氦缁� required 瑙勫垯鍘诲鐞嗭紝杩欓噷鐩存帴鏀捐
@@ -1029,6 +1030,8 @@
flowconclusion: null,
fundid: null
},
+ // 杩炵画瀹℃壒锛氬緟瀹℃壒鍗曟嵁鍒楄〃
+ pendingList: [],
// 鏌ヨ鍙傛暟
queryParams: {
@@ -1385,6 +1388,14 @@
handleCheck() {
this.isopen = 0;
this.reset();
+ // 閲嶇疆瀹℃壒淇℃伅锛岄伩鍏嶄笂涓�鍗曠殑瀹℃壒缁撴灉甯﹀叆涓嬩竴鍗�
+ this.checkObj = {
+ flowlevelone: null,
+ flowconclusion: null,
+ fundid: null
+ };
+ // 杩炵画瀹℃壒锛氬姞杞藉綋鍓嶄笟鍔$被鍨嬩笅鐨勫緟瀹℃壒鍒楄〃
+ this.getPendingList();
getFund(this.curId).then(response => {
this.form = response.data;
@@ -1760,6 +1771,66 @@
this.Savenow();
console.log("淇濆瓨骞跺鎵�");
+ },
+
+ // 杩炵画瀹℃壒锛氳幏鍙栧綋鍓嶄笟鍔$被鍨嬩笅鐨勫緟瀹℃壒鍒楄〃
+ getPendingList() {
+ return listbypower({
+ pageNum: 1,
+ pageSize: 1000,
+ CHECKFLAG: 1,
+ APPLYTYPE: this.businessType
+ })
+ .then(res => {
+ this.pendingList = res.rows || [];
+ })
+ .catch(() => {
+ this.pendingList = [];
+ });
+ },
+
+ // 杩炵画瀹℃壒锛氬鎵瑰畬鎴愬悗璇㈤棶鏄惁缁х画瀹℃壒涓嬩竴鍗�
+ continueOrExit() {
+ // 閲嶆柊鎷夊彇寰呭鎵瑰垪琛紙褰撳墠鍗曟嵁宸插鎵瑰畬鎴愯绉诲嚭鍒楄〃锛�
+ this.getPendingList().then(() => {
+ const list = this.pendingList || [];
+ const next = list[0] || null;
+ if (next) {
+ this.$confirm("瀹℃壒宸插畬鎴愶紝鏄惁缁х画瀹℃壒涓嬩竴寮犲緟瀹℃壒鍗曟嵁锛�", "鎻愮ず", {
+ confirmButtonText: "缁х画瀹℃壒",
+ cancelButtonText: "杩斿洖鍒楄〃",
+ type: "info"
+ })
+ .then(() => {
+ // 鍦ㄥ綋鍓嶉〉闈㈢洿鎺ュ姞杞戒笅涓�寮犲緟瀹℃壒鍗曟嵁
+ this.curId = next.id;
+ this.handleCheck();
+ // 鍚屾鏇存柊鍦板潃鏍忥紝閬垮厤鍒锋柊鍚庡洖鍒颁笂涓�鍗�
+ this.$router
+ .replace({
+ path: this.$route.path,
+ query: {
+ id: next.id,
+ businessType: this.businessType,
+ operationType: "check"
+ }
+ })
+ .catch(() => {});
+ })
+ .catch(() => {
+ this.exitToPage();
+ });
+ } else {
+ this.$modal.msgSuccess("宸叉棤寰呭鎵瑰崟鎹紝杩斿洖鍒楄〃");
+ this.exitToPage();
+ }
+ });
+ },
+
+ // 杩斿洖鍒楄〃椤�
+ exitToPage() {
+ this.$store.dispatch("tagsView/delView", this.$route);
+ this.$router.go(-1);
},
// 鍙栨秷鎸夐挳
@@ -2270,8 +2341,8 @@
//鍏抽棴绐楀彛
this.$modal.closeLoading();
this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
- this.$store.dispatch("tagsView/delView", this.$route);
- this.$router.go(-1);
+ // 杩炵画瀹℃壒锛氳闂槸鍚︾户缁鎵逛笅涓�鍗�
+ this.continueOrExit();
} else {
this.$modal.closeLoading();
--
Gitblit v1.9.3