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 | 40 +++++++++++++++++++++------------------- 1 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue index eb106e5..ec00066 100644 --- a/src/views/project/fund/performancedetails/index.vue +++ b/src/views/project/fund/performancedetails/index.vue @@ -254,13 +254,9 @@ align="center" label="韬唤璇佸彿" width="200" - > + > <template slot-scope="scope"> - <el-input - - v-model="scope.row.idcardno" - placeholder="韬唤璇佸彿" - /> + <el-input v-model="scope.row.idcardno" placeholder="韬唤璇佸彿" /> </template> </el-table-column> @@ -272,7 +268,6 @@ > <template slot-scope="scope"> <el-input - v-model="scope.row.depositbank" placeholder="寮�鎴烽摱琛�" /> @@ -286,7 +281,6 @@ > <template slot-scope="scope"> <el-input - v-model="scope.row.bankcardno" placeholder="閾惰甯愬彿" /> @@ -647,7 +641,7 @@ }, { id: 2, - name: "鐢宠鏉愭枡閫氳繃绛夊緟鏉愭枡" + name: "瀹℃牳閫氳繃绛夊緟閭瘎绾歌川鏉愭枡" }, { id: 3, @@ -1316,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