From fdafd7881a9fc9eaf54f2a22d99509aea6575abc Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 23 二月 2024 14:57:31 +0800 Subject: [PATCH] 11 --- src/views/project/donationdetails/index.vue | 34 +++++++++++----------------------- 1 files changed, 11 insertions(+), 23 deletions(-) diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue index f3e113f..8f5e528 100644 --- a/src/views/project/donationdetails/index.vue +++ b/src/views/project/donationdetails/index.vue @@ -1269,7 +1269,6 @@ <div class="boxdiv" v-show="actives == 4"> <el-form ref="allocateddata" - :model="allocateddata" :rules="allocationrules" label-position="right" > @@ -2169,10 +2168,6 @@ <!-- 瀹岀粨娴佺▼ --> <div class="boxdiv" v-show="actives > 6"> <div style="display:flex; line-height: 100px; justify-content: center;"> - <!-- <el-image - style="width: 100px; height: 100px" - :src="require('@/assets/images/wanc.png')" - ></el-image> --> <div style="padding: 20px 0; margin: 0 30px"> <img style="width: 60px; height: 60px" @@ -2280,7 +2275,7 @@ </div> </div> - <div v-if="this.previewpdf && pdfimgsrcList.length" class="pdfimgmin"> + <div v-if="previewpdf && pdfimgsrcList.length" class="pdfimgmin"> <!-- <img :src="pdfimg" /> --> <el-image style="width: 95%; height: 90%" @@ -2385,6 +2380,7 @@ } from "@/api/project/donationwitness"; import { listnewDonatecompletioninfo, + listDonatecompletioninfo, addDonatecompletioninfo, updateDonatecompletioninfo, listDonatecomporgan, @@ -2859,7 +2855,8 @@ }); } // 鑾峰彇瀹屾垚鐧昏淇℃伅 - listnewDonatecompletioninfo(accpre).then(response => { + // listnewDonatecompletioninfo(accpre).then(response => { + listDonatecompletioninfo(accpre).then(response => { if (response.code == 200 && response.rows.length) { this.accomplishform = response.rows[0]; this.accomplishform.infoid = this.infoid; @@ -2939,20 +2936,17 @@ } updateDonatebaseinfo(this.form).then(response => { this.$modal.msgSuccess("淇濆瓨鎴愬姛"); - Modifydonationattachment(this.donatelist).then(res => { - }); + Modifydonationattachment(this.donatelist).then(res => {}); this.Getbasicinformation(); // this.Processvalidation(); this.open = false; }); } else { - this.form.workflow = 1; - this.form.recordstate = 0; + this.form.workflow = 0; addDonatebaseinfo(this.form).then(response => { if (response.code == 200) { this.$modal.msgSuccess("鏂板鎴愬姛"); - Modifydonationattachment(this.donatelist).then(res => { - }); + Modifydonationattachment(this.donatelist).then(res => {}); this.Getbasicinformation(); // this.Processvalidation(); this.open = false; @@ -3108,7 +3102,7 @@ }); // 淇濆瓨纭淇℃伅 - if (this.accomplishform.dcid) { + if (this.accomplishform.id) { updateDonatecompletioninfo(this.accomplishform).then(response => { this.$modal.msgSuccess("瀹屾垚鐧昏淇℃伅淇敼鎴愬姛"); }); @@ -3356,7 +3350,6 @@ }, // 鏇存敼杩涚▼鏁堥獙 Processvalidation() { - if (this.form.workflow + 1 == this.actives || this.actives == 6) { if (this.form.workflow <= 6) { this.form.workflow++; @@ -3366,8 +3359,7 @@ // this.GetAttacheddata(); } else if (this.form.workflow > this.actives) { // this.submitForm(); - Modifydonationattachment(this.donatelist).then(res => { - }); + Modifydonationattachment(this.donatelist).then(res => {}); this.listDonateannex(); this.GetAttacheddata(); } else { @@ -3525,7 +3517,7 @@ this.fileListto = []; this.pdfimgsrcList = []; - this.pdfimg = ''; + this.pdfimg = ""; this.atpresent = index; this.pdfVisible = true; if (this.annexfilesList.length) { @@ -3600,11 +3592,7 @@ }); console.log(indexvalue, "鍒犻櫎绱㈠紩"); this.annexfilesList.splice(indexvalue, 1); - this.Newconversion( - this.annexfilesList, - indexvalue, - "" - ); + this.Newconversion(this.annexfilesList, indexvalue, ""); }, // 鐐瑰嚮涓婄Щ moveupdowfile(row) { -- Gitblit v1.9.3