| | |
| | | <div> |
| | | <el-steps direction="vertical" :active="workflow"> |
| | | <el-step title="潜在捐献" icon="el-icon-user"> |
| | | <template |
| | | slot="description" |
| | | v-if="donatebaseinfo.createtime" |
| | | > |
| | | <template slot="description" v-if="donatebaseinfo.createtime"> |
| | | <p> |
| | | 提交:<span |
| | | >{{ donatebaseinfo.createperson }} |
| | |
| | | icon="el-icon-edit-outline" |
| | | description="请先完成前部步骤" |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="medicalevaluation.createtime" |
| | | > |
| | | <template slot="description" v-if="medicalevaluation.createtime"> |
| | | <p> |
| | | 提交:<span> |
| | | {{ medicalevaluation.createperson }} |
| | | {{ |
| | | parseTime(medicalevaluation.createtime) |
| | | }}</span |
| | | {{ parseTime(medicalevaluation.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ medicalevaluation.updateperson }} |
| | | {{ |
| | | parseTime(medicalevaluation.updatetime) |
| | | }}</span |
| | | {{ parseTime(medicalevaluation.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | <p> |
| | | 提交:<span> |
| | | {{ relativesconfirmation.createperson }} |
| | | {{ |
| | | parseTime(relativesconfirmation.createtime) |
| | | }}</span |
| | | {{ parseTime(relativesconfirmation.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ relativesconfirmation.updateperson }} |
| | | {{ |
| | | parseTime(relativesconfirmation.updatetime) |
| | | }}</span |
| | | {{ parseTime(relativesconfirmation.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | description="请先完成前部步骤" |
| | | icon="el-icon-s-order" |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="donateflowcharts.createtime" |
| | | > |
| | | <template slot="description" v-if="donateflowcharts.createtime"> |
| | | <p> |
| | | 提交:<span> |
| | | {{ donateflowcharts.createperson }} |
| | | {{ |
| | | parseTime(donateflowcharts.createtime) |
| | | }}</span |
| | | {{ parseTime(donateflowcharts.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ donateflowcharts.updateperson }} |
| | | {{ |
| | | parseTime(donateflowcharts.updatetime) |
| | | }}</span |
| | | {{ parseTime(donateflowcharts.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | <p> |
| | | 提交:<span> |
| | | {{ donateorgansService.createperson }} |
| | | {{ |
| | | parseTime(donateorgansService.createtime) |
| | | }}</span |
| | | {{ parseTime(donateorgansService.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ donateorgansService.updateperson }} |
| | | {{ |
| | | parseTime(donateorgansService.updatetime) |
| | | }}</span |
| | | {{ parseTime(donateorgansService.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | description="请先完成前部步骤" |
| | | icon="el-icon-s-management" |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="donationwitness.createtime" |
| | | > |
| | | <template slot="description" v-if="donationwitness.createtime"> |
| | | <p> |
| | | 提交:<span> |
| | | {{ donationwitness.createperson }} |
| | | {{ |
| | | parseTime(donationwitness.createtime) |
| | | }}</span |
| | | {{ parseTime(donationwitness.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ donationwitness.updateperson }} |
| | | {{ |
| | | parseTime(donationwitness.updatetime) |
| | | }}</span |
| | | {{ parseTime(donationwitness.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | <p> |
| | | 提交:<span> |
| | | {{ donatecompletioninfo.createperson }} |
| | | {{ |
| | | parseTime(donatecompletioninfo.createtime) |
| | | }}</span |
| | | {{ parseTime(donatecompletioninfo.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ donatecompletioninfo.updateperson }} |
| | | {{ |
| | | parseTime(donatecompletioninfo.updatetime) |
| | | }}</span |
| | | {{ parseTime(donatecompletioninfo.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | showTerminationBtn: 0, //终止状态 0-未终止 1-已终止 |
| | | // 流程数据:donatebaseinfo[createtime,updatetime]、medicalevaluation、relativesconfirmation、donateflowcharts、donateorgansService、donationwitness、donatecompletioninfo |
| | | Processdata: {}, |
| | | donatebaseinfo:{}, |
| | | medicalevaluation:{}, |
| | | relativesconfirmation:{}, |
| | | donateflowcharts:{}, |
| | | donateorgansService:{}, |
| | | donationwitness:{}, |
| | | donatecompletioninfo:{}, |
| | | donatebaseinfo: {}, |
| | | medicalevaluation: {}, |
| | | relativesconfirmation: {}, |
| | | donateflowcharts: {}, |
| | | donateorgansService: {}, |
| | | donationwitness: {}, |
| | | donatecompletioninfo: {}, |
| | | //省市区默认值设置,可为空 |
| | | searchAddress: { |
| | | sheng: "", |
| | |
| | | Getbasicinformation() { |
| | | // 左侧流程数据 |
| | | getDonatebaseinfoflow(this.infoid).then(res => { |
| | | if (res.code==200) { |
| | | if (res.code == 200) { |
| | | this.Processdata = res.data; |
| | | this.donatebaseinfo=this.Processdata.donatebaseinfo; |
| | | this.medicalevaluation=this.Processdata.medicalevaluation; |
| | | this.relativesconfirmation=this.Processdata.relativesconfirmation; |
| | | this.donateflowcharts=this.Processdata.donateflowcharts; |
| | | this.donateorgansService=this.Processdata.donateorgansService; |
| | | this.donationwitness=this.Processdata.donationwitness; |
| | | this.donatecompletioninfo=this.Processdata.donatecompletioninfo; |
| | | }else{ |
| | | this.$message.error('侧边栏信息获取失败'); |
| | | this.donatebaseinfo = this.Processdata.donatebaseinfo; |
| | | this.medicalevaluation = this.Processdata.medicalevaluation; |
| | | this.relativesconfirmation = this.Processdata.relativesconfirmation; |
| | | this.donateflowcharts = this.Processdata.donateflowcharts; |
| | | this.donateorgansService = this.Processdata.donateorgansService; |
| | | this.donationwitness = this.Processdata.donationwitness; |
| | | this.donatecompletioninfo = this.Processdata.donatecompletioninfo; |
| | | } else { |
| | | this.$message.error("侧边栏信息获取失败"); |
| | | } |
| | | }); |
| | | |
| | |
| | | }; |
| | | if (this.actives == 1) { |
| | | this.activetele = "医学评估"; |
| | | if (this.medicineform.infoid) { |
| | | return; |
| | | } |
| | | |
| | | listMedicalevaluation(searchParam).then(response => { |
| | | if (response.code == 200 && response.rows[0]) { |
| | | this.medicineform = response.rows[0]; |
| | |
| | | }); |
| | | } else if (this.actives == 2) { |
| | | this.activetele = "捐献确认"; |
| | | if (this.affirmform.infoid) { |
| | | return; |
| | | } |
| | | |
| | | listRelativesconfirmation(searchParam).then(response => { |
| | | if (response.code == 200 && response.rows[0]) { |
| | | this.affirmform = response.rows[0]; |
| | |
| | | }); |
| | | } else if (this.actives == 3) { |
| | | this.activetele = "伦理审查"; |
| | | if (this.ethicform.infoid) { |
| | | return; |
| | | } |
| | | |
| | | //listDonateflowchart(searchParam).then(response => { |
| | | listEthicalreviewopinions(searchParam).then(response => { |
| | | if (response.code == 200 && response.rows.length) { |
| | |
| | | console.log("伦理审查数据为空"); |
| | | } |
| | | }); |
| | | } else if (this.actives == 4 && !this.allocateddata[0]) { |
| | | } else if (this.actives == 4) { |
| | | listDonateorgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | if (res.rows[0]) { |
| | |
| | | // ); |
| | | } |
| | | }); |
| | | } else if (this.actives == 5 && !this.witnessform.infoid) { |
| | | } else if (this.actives == 5 && !this.witnessform.id) { |
| | | // 不存在时获取器官信息 |
| | | if (this.witnessform.infoid) { |
| | | if (this.witnessform.id) { |
| | | return; |
| | | } |
| | | |
| | | listDonationwitnessorgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | if (res.rows[0]) { |
| | | this.procureddata = res.rows; |
| | | this.procureddata.infoid = this.infoid; |
| | | } else { |
| | | this.procureddata = this.allocateddata.filter(obj => obj.organname !== '左肝' && obj.organname !== '右肝');; |
| | | this.procureddata = this.allocateddata.filter( |
| | | obj => obj.organname !== "左肝" && obj.organname !== "右肝" |
| | | ); |
| | | this.procureddata.infoid = this.infoid; |
| | | } |
| | | this.organList.organprocured = []; |
| | |
| | | }); |
| | | } else if (this.actives == 6) { |
| | | this.activetele = "完成登记"; |
| | | if (this.accomplishform.infoid) { |
| | | if (this.accomplishform.id) { |
| | | return; |
| | | } |
| | | |
| | |
| | | console.log(objfn, "sass"); |
| | | updateDonorchargeorgan(objfn).then(res1 => {}); |
| | | } else { |
| | | item.id = null; |
| | | addDonorchargeorgan(item).then(res2 => {}); |
| | | } |
| | | }); |
| | |
| | | infoid: this.infoid, |
| | | donorno: this.form.donorno, |
| | | organstate: 1, |
| | | transplantstate:1, |
| | | transplantstate: 1 |
| | | }); |
| | | } |
| | | } else { |
| | |
| | | if (this.form.workflow == 9) { |
| | | this.form.workflow = 8; |
| | | this.submitForm(); |
| | | this.$router.go(-1); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "撤销成功!" |
| | | }); |
| | | } else { |
| | | this.$confirm("即将进行案例归档, 确认所有数据已保存?", "提示", { |
| | | confirmButtonText: "确定", |