From a520895c5b01934a7210917d52cbe98455cba33b Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 27 十一月 2024 15:15:32 +0800 Subject: [PATCH] 档案页详情优化 --- src/views/project/fund/applyDetail/index.vue | 30 ++++++++++++++++++++---------- 1 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index b781588..b930047 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -158,7 +158,7 @@ > </div> </el-col> - <el-col + <!-- <el-col :span="3" v-if=" userprofile.nickName == '闄堟厱鍗�' && @@ -174,7 +174,7 @@ >璁$畻涓◣</el-button > </div> - </el-col> + </el-col> --> </el-row> <el-row> <el-table @@ -660,9 +660,9 @@ <el-col :span="12" v-if="businessType == 1"> <el-form-item label="绠楃◣鐘舵��" prop="infoid"> <el-radio-group v-model="form.istax" align="left"> - <el-radio :label="1">瀹℃牳涓�</el-radio> + <el-radio :label="-1">瀹℃牳涓�</el-radio> <el-radio :label="0">鍏佽绠楃◣</el-radio> - <el-radio :label="2">宸茬畻绋�</el-radio> + <el-radio :label="1">宸茬畻绋�</el-radio> </el-radio-group> </el-form-item> </el-col> @@ -2237,7 +2237,7 @@ sessionStorage.setItem("apiform", JSON.stringify(this.form)); addorupdateFund(this.form) .then(response => { - if (response.code === 200) { + if (response.code == 200) { if (this.form.id) { this.$modal.msgSuccess("鐢宠鍗曚慨鏀规垚鍔燂紒"); this.$router.go(-1); @@ -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