From e21e9ad99c4c2a306d15cb270dc41520450ac9f2 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 12 十二月 2023 00:16:02 +0800
Subject: [PATCH] yxh:修改了预审核提示信息
---
src/views/project/fund/performancedetails/index.vue | 30 +++++++++++++++++++-----------
1 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue
index f661042..ec00066 100644
--- a/src/views/project/fund/performancedetails/index.vue
+++ b/src/views/project/fund/performancedetails/index.vue
@@ -641,7 +641,7 @@
},
{
id: 2,
- name: "鐢宠鏉愭枡閫氳繃绛夊緟鏉愭枡"
+ name: "瀹℃牳閫氳繃绛夊緟閭瘎绾歌川鏉愭枡"
},
{
id: 3,
@@ -1310,17 +1310,25 @@
addorupdateFund(this.form).then(response => {
console.log(response, "淇濆瓨杩斿弬");
if (response.code === 200) {
- this.$modal.msgSuccess("鐢宠鍗曚繚瀛樻垚鍔燂紒");
- this.$store.dispatch("tagsView/delView", this.$route);
- this.$router.push({
- path: "/finance/performancedetails/",
- query: {
- id: response.data,
- businessType: "5",
- operationType: "update"
- }
- });
+ if (this.form.id) {
+ this.$modal.msgSuccess("鐢宠鍗曚慨鏀规垚鍔燂紒");
+ this.$router.go(-1);
+ } else {
+ this.$modal.msgSuccess("鐢宠鍗曚繚瀛樻垚鍔燂紒");
+ this.$store.dispatch("tagsView/delView", this.$route);
+ this.$router.push({
+ path: "/finance/performancedetails/",
+ query: {
+ id: response.data,
+ businessType: "5",
+ operationType: "update"
+ }
+ });
+ }
this.Routinglevel++;
+ this.form.id = response.data;
+ this.curId = response.data;
+ this.handleUpdate();
} else {
this.$modal.msgError("鐢宠鍗曚繚瀛樺け璐ワ細" + response.msg);
}
--
Gitblit v1.9.3