| | |
| | | <div> |
| | | <el-steps direction="vertical" :active="workflow"> |
| | | <el-step title="潜在捐献" icon="el-icon-user"> |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.donatebaseinfo.createtime" |
| | | > |
| | | <template slot="description" 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> |
| | |
| | | icon="el-icon-edit-outline" |
| | | description="请先完成前部步骤" |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.medicalevaluation.createtime" |
| | | > |
| | | <template slot="description" v-if="medicalevaluation.createtime"> |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.medicalevaluation.createperson }} |
| | | {{ |
| | | parseTime(Processdata.medicalevaluation.createtime) |
| | | }}</span |
| | | {{ medicalevaluation.createperson }} |
| | | {{ parseTime(medicalevaluation.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.medicalevaluation.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.medicalevaluation.updatetime) |
| | | }}</span |
| | | {{ medicalevaluation.updateperson }} |
| | | {{ parseTime(medicalevaluation.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.relativesconfirmation.createtime" |
| | | v-if="relativesconfirmation.createtime" |
| | | > |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.relativesconfirmation.createperson }} |
| | | {{ |
| | | parseTime(Processdata.relativesconfirmation.createtime) |
| | | }}</span |
| | | {{ relativesconfirmation.createperson }} |
| | | {{ parseTime(relativesconfirmation.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.relativesconfirmation.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.relativesconfirmation.updatetime) |
| | | }}</span |
| | | {{ relativesconfirmation.updateperson }} |
| | | {{ parseTime(relativesconfirmation.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | description="请先完成前部步骤" |
| | | icon="el-icon-s-order" |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.donateflowcharts.createtime" |
| | | > |
| | | <template slot="description" v-if="donateflowcharts.createtime"> |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.donateflowcharts.createperson }} |
| | | {{ |
| | | parseTime(Processdata.donateflowcharts.createtime) |
| | | }}</span |
| | | {{ donateflowcharts.createperson }} |
| | | {{ parseTime(donateflowcharts.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.donateflowcharts.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.donateflowcharts.updatetime) |
| | | }}</span |
| | | {{ donateflowcharts.updateperson }} |
| | | {{ parseTime(donateflowcharts.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.donateorgansService.createtime" |
| | | v-if="donateorgansService.createtime" |
| | | > |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.donateorgansService.createperson }} |
| | | {{ |
| | | parseTime(Processdata.donateorgansService.createtime) |
| | | }}</span |
| | | {{ donateorgansService.createperson }} |
| | | {{ parseTime(donateorgansService.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.donateorgansService.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.donateorgansService.updatetime) |
| | | }}</span |
| | | {{ donateorgansService.updateperson }} |
| | | {{ parseTime(donateorgansService.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | description="请先完成前部步骤" |
| | | icon="el-icon-s-management" |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.donationwitness.createtime" |
| | | > |
| | | <template slot="description" v-if="donationwitness.createtime"> |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.donationwitness.createperson }} |
| | | {{ |
| | | parseTime(Processdata.donationwitness.createtime) |
| | | }}</span |
| | | {{ donationwitness.createperson }} |
| | | {{ parseTime(donationwitness.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.donationwitness.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.donationwitness.updatetime) |
| | | }}</span |
| | | {{ donationwitness.updateperson }} |
| | | {{ parseTime(donationwitness.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | > |
| | | <template |
| | | slot="description" |
| | | v-if="Processdata.donatecompletioninfo.createtime" |
| | | v-if="donatecompletioninfo.createtime" |
| | | > |
| | | <p> |
| | | 提交:<span> |
| | | {{ Processdata.donatecompletioninfo.createperson }} |
| | | {{ |
| | | parseTime(Processdata.donatecompletioninfo.createtime) |
| | | }}</span |
| | | {{ donatecompletioninfo.createperson }} |
| | | {{ parseTime(donatecompletioninfo.createtime) }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新:<span> |
| | | {{ Processdata.donatecompletioninfo.updateperson }} |
| | | {{ |
| | | parseTime(Processdata.donatecompletioninfo.updatetime) |
| | | }}</span |
| | | {{ donatecompletioninfo.updateperson }} |
| | | {{ parseTime(donatecompletioninfo.updatetime) }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | |
| | | > |
| | | <el-checkbox-group v-model="form.kinship"> |
| | | <el-checkbox |
| | | v-for="dict in dict.type.sys_Kinship" |
| | | v-for="dict in dict.type.sys_kinship" |
| | | :key="dict.value" |
| | | :label="dict.value" |
| | | > |
| | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="签字亲属" prop="kinshipconfirmationsign"> |
| | | <el-checkbox-group v-model="organdecision"> |
| | | <el-checkbox-group v-model="kinship"> |
| | | <el-checkbox |
| | | v-for="item in kinshiplist" |
| | | :key="item" |
| | | :label="item" |
| | | v-for="item in dict.type.sys_kinshipConfirm" |
| | | :label="item.value" |
| | | :value="item.value" |
| | | > |
| | | {{ item == "子女" ? item + "(人)" : item }} |
| | | {{ |
| | | item.label == "成年子女" |
| | | ? item.label + "(人)" |
| | | : item.label |
| | | }} |
| | | </el-checkbox> |
| | | </el-checkbox-group> |
| | | </el-form-item> |
| | |
| | | }, |
| | | affirmform: { |
| | | infoid: null, |
| | | organdecision: [] |
| | | organdecision: [], |
| | | kinship: [] |
| | | }, |
| | | organdecision: [], |
| | | kinship: [], |
| | | ethicform: { |
| | | 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.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]; |
| | | if (this.affirmform.organdecision) { |
| | | this.organdecision = this.affirmform.organdecision.split(","); |
| | | } |
| | | if (this.affirmform.kinship) { |
| | | this.kinship = this.affirmform.kinship.split(","); |
| | | } |
| | | if (!this.affirmform) { |
| | | this.affirmform = {}; |
| | |
| | | this.defultAddresss.sheng = this.affirmform.residenceprovincename; |
| | | this.defultAddresss.shi = this.affirmform.residencecityname; |
| | | this.defultAddresss.qu = this.affirmform.residencetownname; |
| | | // if (this.affirmform.kinship) { |
| | | // this.affirmform.kinship = this.affirmform.kinship.split(","); |
| | | // } |
| | | // if (this.affirmform.organdecision) { |
| | | // this.affirmform.organdecision = this.affirmform.organdecision.split( |
| | | // "," |
| | | // ); |
| | | // } |
| | | } else { |
| | | // this.$modal.msgError( |
| | | // "查询是否存在确认登记记录失败" + JSON.stringify(response) |
| | |
| | | }); |
| | | } 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; |
| | | 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; |
| | | } |
| | | |
| | |
| | | } else if (this.actives == 2) { |
| | | this.affirmform.infoid = this.infoid; |
| | | this.affirmform.organdecision = this.organdecision.join(","); |
| | | this.affirmform.kinship = this.kinship.join(","); |
| | | this.$refs["affirmform"].validate(valid => { |
| | | if (valid) { |
| | | if (this.affirmform.id != null) { |
| | |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } else { |
| | | this.affirmform.residenceprovincename = this.defultAddresss.sheng; |
| | | this.affirmform.residencecityname = this.defultAddresss.shi; |
| | | this.affirmform.residencetownname = this.defultAddresss.qu; |
| | | addRelativesconfirmation(this.affirmform).then(response => { |
| | | this.$modal.msgSuccess("捐献确认信息新增成功"); |
| | | this.$modal.closeLoading(); |
| | |
| | | console.log(objfn, "sass"); |
| | | updateDonorchargeorgan(objfn).then(res1 => {}); |
| | | } else { |
| | | item.id = null; |
| | | addDonorchargeorgan(item).then(res2 => {}); |
| | | } |
| | | }); |
| | |
| | | addDonatecompletioninfo(this.accomplishform).then(response => { |
| | | this.$modal.msgSuccess("完成登记成功"); |
| | | this.$modal.closeLoading(); |
| | | this.$modal |
| | | .confirm("案例已完成是否跳转案例费用页面进行费用单保存?") |
| | | .then(() => { |
| | | this.$router.push({ |
| | | path: "/finance/donorchargedetail/", |
| | | query: { id: 0, operation: "add", data: this.form } |
| | | }); |
| | | }) |
| | | .catch(() => {}); |
| | | // this.$modal |
| | | // .confirm("案例已完成是否跳转案例费用页面进行费用单保存?") |
| | | // .then(() => { |
| | | // this.$router.push({ |
| | | // path: "/finance/donorchargedetail/", |
| | | // query: { gxinzt: true, operation: "add", data: this.form, } |
| | | // }); |
| | | // }) |
| | | // .catch(() => {}); |
| | | }); |
| | | } |
| | | |
| | |
| | | infoid: this.infoid, |
| | | donorno: this.form.donorno, |
| | | organstate: 1, |
| | | transplantstate:1, |
| | | transplantstate: 1 |
| | | }); |
| | | } |
| | | } else { |
| | |
| | | this.submitForm(); |
| | | Modifydonationattachment(this.donatelist).then(res => {}); |
| | | this.listDonateannex(); |
| | | this.GetAttacheddata(); |
| | | // this.GetAttacheddata(); |
| | | } else { |
| | | this.submitForm(); |
| | | // this.$modal.msgWarning("请先完成前部步骤"); |
| | |
| | | if (this.form.workflow == 9) { |
| | | this.form.workflow = 8; |
| | | this.submitForm(); |
| | | this.$router.go(-1); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "撤销成功!" |
| | | }); |
| | | } else { |
| | | this.$confirm("即将进行案例归档, 确认所有数据已保存?", "提示", { |
| | | confirmButtonText: "确定", |
| | |
| | | "sys_0_1", |
| | | "sys_patientstate", |
| | | "sys_DonationCategory", |
| | | "sys_Kinship", |
| | | "sys_kinship", |
| | | "sys_Infectious", |
| | | "sys_bloodtype_rhd", |
| | | "sys_InfoSources", |
| | |
| | | "sys_CoreAssessConclusion", |
| | | "sys_BaseAssessConclusion", |
| | | "sys_EthicalReview", |
| | | "materials_DBD" |
| | | "materials_DBD", |
| | | "sys_kinshipConfirm" |
| | | ] |
| | | }; |
| | | </script> |