| | |
| | | <div class="boxdiv" v-show="actives == 4"> |
| | | <el-form |
| | | ref="allocateddata" |
| | | :model="allocateddata" |
| | | :rules="allocationrules" |
| | | label-position="right" |
| | | > |
| | |
| | | <!-- 完结流程 --> |
| | | <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" |
| | |
| | | </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%" |
| | |
| | | } from "@/api/project/donationwitness"; |
| | | import { |
| | | listnewDonatecompletioninfo, |
| | | listDonatecompletioninfo, |
| | | addDonatecompletioninfo, |
| | | updateDonatecompletioninfo, |
| | | listDonatecomporgan, |
| | |
| | | "双肾脏", |
| | | "心脏", |
| | | "肺脏", |
| | | "腺体", |
| | | "胰腺", |
| | | "小肠", |
| | | "双眼组织", |
| | | "遗体", |
| | |
| | | }); |
| | | } |
| | | // 获取完成登记信息 |
| | | 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; |
| | |
| | | } |
| | | 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; |
| | |
| | | }); |
| | | |
| | | // 保存确认信息 |
| | | if (this.accomplishform.dcid) { |
| | | if (this.accomplishform.id) { |
| | | updateDonatecompletioninfo(this.accomplishform).then(response => { |
| | | this.$modal.msgSuccess("完成登记信息修改成功"); |
| | | }); |
| | |
| | | }, |
| | | // 更改进程效验 |
| | | Processvalidation() { |
| | | |
| | | if (this.form.workflow + 1 == this.actives || this.actives == 6) { |
| | | if (this.form.workflow <= 6) { |
| | | this.form.workflow++; |
| | |
| | | // 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 { |
| | |
| | | |
| | | this.fileListto = []; |
| | | this.pdfimgsrcList = []; |
| | | this.pdfimg = ''; |
| | | this.pdfimg = ""; |
| | | this.atpresent = index; |
| | | this.pdfVisible = true; |
| | | if (this.annexfilesList.length) { |
| | |
| | | }); |
| | | console.log(indexvalue, "删除索引"); |
| | | this.annexfilesList.splice(indexvalue, 1); |
| | | this.Newconversion( |
| | | this.annexfilesList, |
| | | indexvalue, |
| | | "" |
| | | ); |
| | | this.Newconversion(this.annexfilesList, indexvalue, ""); |
| | | }, |
| | | // 点击上移 |
| | | moveupdowfile(row) { |