| | |
| | | <el-step title="潜在捐献" icon="el-icon-user"> |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.donatebaseinfo.createtime" |
| | | v-if="donatebaseinfo.createtime" |
| | | > |
| | | <p> |
| | | 提交:<span |
| | | >{{ Processdata.donatebaseinfo.createperson }} |
| | | {{ parseTime(Processdata.donatebaseinfo.createtime) }}</span |
| | | >{{ donatebaseinfo.createperson }} |
| | | {{ parseTime(donatebaseinfo.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span |
| | | >{{ Processdata.donatebaseinfo.updateperson }} |
| | | {{ parseTime(Processdata.donatebaseinfo.updatetime) }}</span |
| | | >{{ donatebaseinfo.updateperson }} |
| | | {{ parseTime(donatebaseinfo.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.medicalevaluation.createtime" |
| | | v-if="medicalevaluation.createtime" |
| | | > |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.medicalevaluation.createperson }} |
| | | {{ medicalevaluation.createperson }} |
| | | {{ |
| | | parseTime(Processdata.medicalevaluation.createtime) |
| | | parseTime(medicalevaluation.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.medicalevaluation.updateperson }} |
| | | {{ medicalevaluation.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.medicalevaluation.updatetime) |
| | | parseTime(medicalevaluation.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.relativesconfirmation.createtime" |
| | | v-if="relativesconfirmation.createtime" |
| | | > |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.relativesconfirmation.createperson }} |
| | | {{ relativesconfirmation.createperson }} |
| | | {{ |
| | | parseTime(Processdata.relativesconfirmation.createtime) |
| | | parseTime(relativesconfirmation.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.relativesconfirmation.updateperson }} |
| | | {{ relativesconfirmation.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.relativesconfirmation.updatetime) |
| | | parseTime(relativesconfirmation.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.donateflowcharts.createtime" |
| | | v-if="donateflowcharts.createtime" |
| | | > |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.donateflowcharts.createperson }} |
| | | {{ donateflowcharts.createperson }} |
| | | {{ |
| | | parseTime(Processdata.donateflowcharts.createtime) |
| | | parseTime(donateflowcharts.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.donateflowcharts.updateperson }} |
| | | {{ donateflowcharts.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.donateflowcharts.updatetime) |
| | | parseTime(donateflowcharts.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.donateorgansService.createtime" |
| | | v-if="donateorgansService.createtime" |
| | | > |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.donateorgansService.createperson }} |
| | | {{ donateorgansService.createperson }} |
| | | {{ |
| | | parseTime(Processdata.donateorgansService.createtime) |
| | | parseTime(donateorgansService.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.donateorgansService.updateperson }} |
| | | {{ donateorgansService.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.donateorgansService.updatetime) |
| | | parseTime(donateorgansService.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.donationwitness.createtime" |
| | | v-if="donationwitness.createtime" |
| | | > |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.donationwitness.createperson }} |
| | | {{ donationwitness.createperson }} |
| | | {{ |
| | | parseTime(Processdata.donationwitness.createtime) |
| | | parseTime(donationwitness.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.donationwitness.updateperson }} |
| | | {{ donationwitness.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.donationwitness.updatetime) |
| | | parseTime(donationwitness.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.donatecompletioninfo.createtime" |
| | | v-if="donatecompletioninfo.createtime" |
| | | > |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.donatecompletioninfo.createperson }} |
| | | {{ donatecompletioninfo.createperson }} |
| | | {{ |
| | | parseTime(Processdata.donatecompletioninfo.createtime) |
| | | parseTime(donatecompletioninfo.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.donatecompletioninfo.updateperson }} |
| | | {{ donatecompletioninfo.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.donatecompletioninfo.updatetime) |
| | | parseTime(donatecompletioninfo.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | |
| | | label="移植医院" |
| | | align="center" |
| | | width="230" |
| | | prop="gainhospitalno" |
| | | prop="transplanthospitalno" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <div class="elldiv"> |
| | | <org-selecter |
| | | ref="tranHosSelect" |
| | | :org-type="'4'" |
| | | v-model="scope.row.gainhospitalno" |
| | | v-model="scope.row.transplanthospitalno" |
| | | /> |
| | | </div> |
| | | </template> |
| | |
| | | label="移植医院" |
| | | align="center" |
| | | width="220" |
| | | prop="transplanthospitalname" |
| | | prop="hospitalno" |
| | | v-if="actives == 6" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <org-selecter |
| | | ref="tranHosSelect" |
| | | :org-type="'4'" |
| | | v-model="scope.row.transplanthospitalno" |
| | | v-model="scope.row.hospitalno" |
| | | style="width: 100%" |
| | | /> |
| | | </template> |
| | |
| | | size="small" |
| | | style="width: 100%" |
| | | v-model="scope.row.transplanttime" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="选择移植时间" |
| | | > |
| | | </el-date-picker> |
| | |
| | | saveDonatecomporgan, |
| | | delDonatecomporgan |
| | | } from "@/api/project/donatecompletioninfo"; |
| | | import { |
| | | listDonorchargeorgan, |
| | | updateDonorchargeorgan, |
| | | addDonorchargeorgan, |
| | | saveDonorchargeorgan, |
| | | delDonorchargeorgan |
| | | } from "@/api/project/donorcharge"; |
| | | import Li_area_select from "@/components/Address"; |
| | | import OrgSelecter from "@/views/project/components/orgselect"; |
| | | import AnnexUpload from "@/views/project/components/annexupload"; |
| | | import ReportName from "@/views/project/components/organizationUser"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import { formatDate } from "@/utils/index"; |
| | | import { forEach } from "lodash"; |
| | | |
| | | export default { |
| | | name: "donationdetails", |
| | |
| | | allocateddataform: {}, |
| | | procureddata: [], |
| | | transplantdata: [], |
| | | sysOrganlistL:[ |
| | | {label:'心脏', value:'C38',}, |
| | | {label:'肝脏', value:'C22',}, |
| | | {label:'左肾', value:'C64L',}, |
| | | {label:'右肾', value:'C64R',}, |
| | | {label:'全肺', value:'C34',}, |
| | | {label:'左肺', value:'C34L',}, |
| | | {label:'右肺', value:'C34R',}, |
| | | {label:'小肠', value:'C17',}, |
| | | {label:'胰腺', value:'C25',}, |
| | | {label:'遗体', value:'C00',}, |
| | | {label:'左眼角膜', value:'C69L',}, |
| | | {label:'右眼角膜', value:'C69R',}, |
| | | {label:'其他', value:'C01',}, |
| | | sysOrganlistL: [ |
| | | { label: "心脏", value: "C38" }, |
| | | { label: "肝脏", value: "C22" }, |
| | | { label: "左肾", value: "C64L" }, |
| | | { label: "右肾", value: "C64R" }, |
| | | { label: "全肺", value: "C34" }, |
| | | { label: "左肺", value: "C34L" }, |
| | | { label: "右肺", value: "C34R" }, |
| | | { label: "小肠", value: "C17" }, |
| | | { label: "胰腺", value: "C25" }, |
| | | { label: "遗体", value: "C00" }, |
| | | { label: "左眼角膜", value: "C69L" }, |
| | | { label: "右眼角膜", value: "C69R" }, |
| | | { label: "其他", value: "C01" } |
| | | ], |
| | | witnessform: { |
| | | infoid: null |
| | |
| | | showTerminationBtn: 0, //终止状态 0-未终止 1-已终止 |
| | | // 流程数据:donatebaseinfo[createtime,updatetime]、medicalevaluation、relativesconfirmation、donateflowcharts、donateorgansService、donationwitness、donatecompletioninfo |
| | | Processdata: {}, |
| | | |
| | | donatebaseinfo:{}, |
| | | medicalevaluation:{}, |
| | | relativesconfirmation:{}, |
| | | donateflowcharts:{}, |
| | | donateorgansService:{}, |
| | | donationwitness:{}, |
| | | donatecompletioninfo:{}, |
| | | //省市区默认值设置,可为空 |
| | | searchAddress: { |
| | | sheng: "", |
| | |
| | | Getbasicinformation() { |
| | | // 左侧流程数据 |
| | | getDonatebaseinfoflow(this.infoid).then(res => { |
| | | this.Processdata = res.data; |
| | | if (res.code==200) { |
| | | this.Processdata = res.data; |
| | | this.donatebaseinfo=this.Processdata.donatecompletioninfo; |
| | | this.medicalevaluation=this.Processdata.donatecompletioninfo; |
| | | this.relativesconfirmation=this.Processdata.donatecompletioninfo; |
| | | this.donateflowcharts=this.Processdata.donatecompletioninfo; |
| | | this.donateorgansService=this.Processdata.donatecompletioninfo; |
| | | this.donationwitness=this.Processdata.donatecompletioninfo; |
| | | this.donatecompletioninfo=this.Processdata.donatecompletioninfo; |
| | | }else{ |
| | | this.$message.error('侧边栏信息获取失败'); |
| | | } |
| | | }); |
| | | |
| | | // 表单数据 |
| | |
| | | if (valid) { |
| | | // 保存捐献器官移植信息 |
| | | this.transplantdata.infoid = this.infoid; |
| | | console.log(this.form); |
| | | this.transplantdata.forEach(item => { |
| | | listDonorchargeorgan({ |
| | | infoid: item.infoid, |
| | | organno: item.organno |
| | | }).then(res => { |
| | | console.log("aaa"); |
| | | if (res.rows[0]) { |
| | | let objfn = res.rows[0]; |
| | | console.log(objfn, "sass"); |
| | | |
| | | objfn.caseno = item.caseno; |
| | | objfn.hospitalno = item.hospitalno; |
| | | objfn.name = item.name; |
| | | objfn.receiveTime = item.transplanttime; |
| | | console.log(objfn, "sass"); |
| | | updateDonorchargeorgan(objfn).then(res1 => {}); |
| | | } else { |
| | | addDonorchargeorgan(item).then(res2 => {}); |
| | | } |
| | | }); |
| | | }); |
| | | saveDonatecomporgan(this.transplantdata).then(res => { |
| | | if (res == 200) { |
| | | this.$modal.msgSuccess("捐献器官获取信息保存成功!"); |
| | | }else{ |
| | | this.$modal.msgSuccess(res.msg); |
| | | return |
| | | } else { |
| | | this.$modal.msgSuccess(res.msg); |
| | | return; |
| | | } |
| | | }); |
| | | |
| | | console.log(this.accomplishform.id, "完成id"); |
| | | // 保存确认信息 |
| | | if (this.accomplishform.id) { |
| | |
| | | this.$modal.msgSuccess("完成登记成功"); |
| | | this.$modal.closeLoading(); |
| | | this.$modal |
| | | .confirm( |
| | | '案例已完成是否跳转案例费用页面进行费用单保存?' |
| | | ) |
| | | .confirm("案例已完成是否跳转案例费用页面进行费用单保存?") |
| | | .then(() => { |
| | | this.$router.push({ |
| | | path: "/finance/donorchargedetail/", |
| | |
| | | this.$modal.msgSuccess( |
| | | "删除成功,如果需要增加该器官,请重新选择器官!" |
| | | ); |
| | | listDonorchargeorgan({ |
| | | infoid: this.transplantdata[organIndex].infoid, |
| | | organno: this.transplantdata[organIndex].organno |
| | | }).then(res => { |
| | | delDonorchargeorgan(res.rows[0].id); |
| | | }); |
| | | } |
| | | ); |
| | | }) |
| | |
| | | id: null, |
| | | infoid: this.infoid, |
| | | donorno: this.form.donorno, |
| | | organstate: 1 |
| | | organstate: 1, |
| | | transplantstate:1, |
| | | }); |
| | | } |
| | | } else { |