From 8abb75f070aad1c97b40f0698d8ddd4343a63598 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 15 四月 2024 09:54:59 +0800 Subject: [PATCH] 11 --- src/views/project/donationdetails/index.vue | 21 ++++++++++++--------- src/views/project/donatebaseinfo/index.vue | 2 +- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/views/project/donatebaseinfo/index.vue b/src/views/project/donatebaseinfo/index.vue index 4c5b069..69d4192 100644 --- a/src/views/project/donatebaseinfo/index.vue +++ b/src/views/project/donatebaseinfo/index.vue @@ -72,7 +72,7 @@ size="small" > <el-option - v-for="dict in dict.type.sys_DonationStatus" + v-for="dict in dict.type.sys_donornode" :key="dict.value" :label="dict.label" :value="dict.value" diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue index a7a164c..4857f79 100644 --- a/src/views/project/donationdetails/index.vue +++ b/src/views/project/donationdetails/index.vue @@ -3084,7 +3084,9 @@ } updateDonatebaseinfo(this.form).then(response => { this.$modal.msgSuccess("淇濆瓨鎴愬姛"); - Modifydonationattachment(this.donatelist).then(res => {}); + Modifydonationattachment(this.donatelist).then(res => { + this.listDonateannex(); + }); this.Getbasicinformation(); // this.Processvalidation(); this.open = false; @@ -3094,7 +3096,9 @@ addDonatebaseinfo(this.form).then(response => { if (response.code == 200) { this.$modal.msgSuccess("鏂板鎴愬姛"); - Modifydonationattachment(this.donatelist).then(res => {}); + Modifydonationattachment(this.donatelist).then(res => { + this.listDonateannex(); + }); this.Getbasicinformation(); // this.Processvalidation(); this.open = false; @@ -3582,8 +3586,8 @@ }, // 鏇存敼杩涚▼鏁堥獙 Processvalidation() { - if (this.form.workflow + 1 == this.actives || this.actives == 6) { - if (this.form.workflow <= 6) { + if (this.form.workflow + 1 == this.actives ) { + if (this.form.workflow < 6) { this.form.workflow++; } else { } @@ -3591,8 +3595,7 @@ // this.GetAttacheddata(); } else if (this.form.workflow > this.actives) { this.submitForm(); - Modifydonationattachment(this.donatelist).then(res => {}); - this.listDonateannex(); + // Modifydonationattachment(this.donatelist).then(res => {}); // this.GetAttacheddata(); } else { this.submitForm(); @@ -3602,8 +3605,8 @@ }, // 鎻愪氦褰掓。 Reportforreview() { - if (this.form.workflow == 9) { - this.form.workflow = 8; + if (this.form.workflow == 8) { + this.form.workflow = 7; this.submitForm(); this.$router.go(-1); this.$message({ @@ -3621,7 +3624,7 @@ if (res.code == 500) { this.$message.error(res.msg); } else { - this.form.workflow = 9; + this.form.workflow = 8; this.submitForm(); this.$message({ type: "success", -- Gitblit v1.9.3