From b21bd0929551140759351002b2fc98be793d2437 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 01 八月 2024 17:47:57 +0800 Subject: [PATCH] 11 --- src/views/project/fund/applyDetail/index.vue | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index a0282ff..b930047 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -2807,11 +2807,21 @@ }; this.$modal.loading("姝e湪鎻愪氦瀹℃牳锛岃绋嶅�欙紒"); checkfund(checkFundObj).then(res => { - //鍏抽棴绐楀彛 - this.$modal.closeLoading(); - this.$modal.msgSuccess("瀹℃牳瀹屾垚!"); - this.$store.dispatch("tagsView/delView", this.$route); - this.$router.go(-1); + if (res.code == 200) { + //鍏抽棴绐楀彛 + this.$modal.closeLoading(); + this.$modal.msgSuccess("瀹℃牳瀹屾垚!"); + this.$store.dispatch("tagsView/delView", this.$route); + this.$router.go(-1); + } else { + this.$modal.closeLoading(); + + if (res.msg) { + this.$modal.msgError("鎿嶄綔澶辫"); + } else { + this.$modal.msgError(res.msg); + } + } }); } this.Getnetworkheader(); -- Gitblit v1.9.3