| | |
| | | v-if="Processdata.donatebaseinfo.createtime" |
| | | > |
| | | <p> |
| | | 提交时间:<span>{{ |
| | | parseTime(Processdata.donatebaseinfo.createtime) |
| | | }}</span> |
| | | 提交:<span |
| | | >{{ Processdata.donatebaseinfo.createperson |
| | | }} {{ |
| | | parseTime(Processdata.donatebaseinfo.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新时间:<span>{{ |
| | | parseTime(Processdata.donatebaseinfo.updatetime) |
| | | }}</span> |
| | | 更新:<span |
| | | >{{ Processdata.donatebaseinfo.updateperson |
| | | }} {{ |
| | | parseTime(Processdata.donatebaseinfo.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | | </el-step> |
| | |
| | | v-if="Processdata.medicalevaluation.createtime" |
| | | > |
| | | <p> |
| | | 提交时间:<span>{{ |
| | | parseTime(Processdata.medicalevaluation.createtime) |
| | | }}</span> |
| | | 提交:<span> |
| | | {{ Processdata.medicalevaluation.createperson |
| | | }} {{ |
| | | parseTime(Processdata.medicalevaluation.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新时间:<span>{{ |
| | | parseTime(Processdata.medicalevaluation.updatetime) |
| | | }}</span> |
| | | 更新:<span> |
| | | {{ Processdata.medicalevaluation.updateperson |
| | | }} {{ |
| | | parseTime(Processdata.medicalevaluation.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | | </el-step> |
| | |
| | | v-if="Processdata.relativesconfirmation.createtime" |
| | | > |
| | | <p> |
| | | 提交时间:<span>{{ |
| | | parseTime(Processdata.relativesconfirmation.createtime) |
| | | }}</span> |
| | | 提交:<span> |
| | | {{ Processdata.relativesconfirmation.createperson |
| | | }} {{ |
| | | parseTime(Processdata.relativesconfirmation.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新时间:<span>{{ |
| | | parseTime(Processdata.relativesconfirmation.updatetime) |
| | | }}</span> |
| | | 更新:<span> |
| | | {{ Processdata.relativesconfirmation.updateperson |
| | | }} {{ |
| | | parseTime(Processdata.relativesconfirmation.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | | </el-step> |
| | |
| | | v-if="Processdata.donateflowcharts.createtime" |
| | | > |
| | | <p> |
| | | 提交时间:<span>{{ |
| | | parseTime(Processdata.donateflowcharts.createtime) |
| | | }}</span> |
| | | 提交:<span> |
| | | {{ Processdata.donateflowcharts.createperson |
| | | }} {{ |
| | | parseTime(Processdata.donateflowcharts.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新时间:<span>{{ |
| | | parseTime(Processdata.donateflowcharts.updatetime) |
| | | }}</span> |
| | | 更新:<span> |
| | | {{ Processdata.donateflowcharts.updateperson |
| | | }} {{ |
| | | parseTime(Processdata.donateflowcharts.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | | </el-step> |
| | |
| | | v-if="Processdata.donateorgansService.createtime" |
| | | > |
| | | <p> |
| | | 提交时间:<span>{{ |
| | | parseTime(Processdata.donateorgansService.createtime) |
| | | }}</span> |
| | | 提交:<span> |
| | | {{ Processdata.donateorgansService.createperson |
| | | }} {{ |
| | | parseTime(Processdata.donateorgansService.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新时间:<span>{{ |
| | | parseTime(Processdata.donateorgansService.updatetime) |
| | | }}</span> |
| | | 更新:<span> |
| | | {{ Processdata.donateorgansService.updateperson |
| | | }} {{ |
| | | parseTime(Processdata.donateorgansService.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | | </el-step> |
| | |
| | | v-if="Processdata.donationwitness.createtime" |
| | | > |
| | | <p> |
| | | 提交时间:<span>{{ |
| | | parseTime(Processdata.donationwitness.createtime) |
| | | }}</span> |
| | | 提交:<span> |
| | | {{ Processdata.donationwitness.createperson |
| | | }} {{ |
| | | parseTime(Processdata.donationwitness.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新时间:<span>{{ |
| | | parseTime(Processdata.donationwitness.updatetime) |
| | | }}</span> |
| | | 更新:<span> |
| | | {{ Processdata.donationwitness.updateperson |
| | | }} {{ |
| | | parseTime(Processdata.donationwitness.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | | </el-step> |
| | |
| | | v-if="Processdata.donatecompletioninfo.createtime" |
| | | > |
| | | <p> |
| | | 提交时间:<span>{{ |
| | | parseTime(Processdata.donatecompletioninfo.createtime) |
| | | }}</span> |
| | | 提交:<span> |
| | | {{ Processdata.donatecompletioninfo.createperson |
| | | }} {{ |
| | | parseTime(Processdata.donatecompletioninfo.createtime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | 更新时间:<span>{{ |
| | | parseTime(Processdata.donatecompletioninfo.updatetime) |
| | | }}</span> |
| | | 更新:<span> |
| | | {{ Processdata.donatecompletioninfo.updateperson |
| | | }} {{ |
| | | parseTime(Processdata.donatecompletioninfo.updatetime) |
| | | }}</span |
| | | > |
| | | </p> |
| | | </template> |
| | | </el-step> |
| | |
| | | </el-steps> |
| | | </div> |
| | | <!-- 凭证文件 --> |
| | | <div class="Ticket-button" > |
| | | <div class="Ticket-button"> |
| | | <el-button @click.native.prevent="Filepopup" type="success" |
| | | >凭证文件</el-button |
| | | > |
| | |
| | | </el-form> |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn && workflow != 9" |
| | | type="primary" |
| | | @click="submitForm" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | </el-form> |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn && workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | </el-form> |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn && workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | </el-form> |
| | | <div class="dialog-footer" style="min-height: 500px; margin: 20px 0; "> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn && workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | </el-form> |
| | | <div class="dialog-footer" v-show="actives == 4"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn && workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn && workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | |
| | | </el-form> |
| | | <div class="dialog-footer"> |
| | | <el-button |
| | | v-show="!showTerminationBtn" |
| | | v-show="!showTerminationBtn && workflow != 9" |
| | | type="primary" |
| | | @click="Savethedetails" |
| | | >保存</el-button |
| | | > |
| | | <el-button |
| | | v-if="workflow != 9" |
| | | :type="showTerminationBtn == 0 ? 'warning' : 'success'" |
| | | @click="Terminationcase" |
| | | >{{ showTerminationBtn == 0 ? "终止" : "恢复" }}</el-button |
| | | > |
| | | <el-button |
| | | v-show="Reportforreview" |
| | | type="primary" |
| | | v-if="workflow != 9" |
| | | type="success" |
| | | @click="Reportforreview" |
| | | >提交</el-button |
| | | >提交归档</el-button |
| | | > |
| | | <el-button v-else type="danger" @click="Reportforreview" |
| | | >撤销归档</el-button |
| | | > |
| | | <!-- <el-button @click="cancel">取 消</el-button> --> |
| | | </div> |
| | |
| | | > |
| | | <el-table-column |
| | | prop="annexname" |
| | | align="center" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | label="名称" |
| | | > |
| | |
| | | |
| | | <el-table-column |
| | | prop="name" |
| | | align="center" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | label="功能" |
| | | > |
| | |
| | | @click.native.prevent.stop="deletedowfile(scope.row)" |
| | | >删除</el-button |
| | | > |
| | | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | getDonatebaseinfo, |
| | | addDonatebaseinfo, |
| | | updateDonatebaseinfo, |
| | | getDonatebaseinfoflow |
| | | getDonatebaseinfoflow, |
| | | fileCase |
| | | } from "@/api/project/donatebaseinfo"; |
| | | import { |
| | | listMedicalevaluation, |
| | |
| | | //报告人列表 |
| | | reporters: [], |
| | | //附件列表 |
| | | annextype: '1', //附件type |
| | | annextype: "1", //附件type |
| | | annexfilesList: [], //附件展示列 |
| | | potentiallist: [], //潜在附件 |
| | | medicinelist: [], //医学附件 |
| | |
| | | // 表单数据 |
| | | getDonatebaseinfo(this.infoid).then(response => { |
| | | this.form = response.data; |
| | | if(response.data.terminationCase){ |
| | | if (response.data.terminationCase) { |
| | | this.showTerminationBtn = response.data.terminationCase; |
| | | } else{ |
| | | } else { |
| | | this.showTerminationBtn = 0; |
| | | } |
| | | this.actives = response.data.workflow; |
| | |
| | | if (res.rows[0]) { |
| | | this.procureddata = res.rows; |
| | | this.procureddata.infoid = this.infoid; |
| | | } else { |
| | | this.procureddata = this.allocateddata; |
| | | this.procureddata.infoid = this.infoid; |
| | | } |
| | | this.organList.organprocured = []; |
| | | for (let i = 0; i < this.procureddata.length; i++) { |
| | |
| | | if (this.accomplishform.infoid) { |
| | | return; |
| | | } |
| | | // 不存在时获取器官 |
| | | // let accpre = { |
| | | // id: searchParam.infoid |
| | | // }; |
| | | |
| | | if (!this.organList.organtransplant[0]) { |
| | | listDonatecomporgan(searchParam).then(res => { |
| | | if (res.code == 200) { |
| | | if (res.rows[0]) { |
| | | this.transplantdata = res.rows; |
| | | this.transplantdata.infoid = this.infoid; |
| | | } else { |
| | | this.transplantdata = this.allocateddata; |
| | | this.transplantdata.infoid = this.infoid; |
| | | } |
| | | for (let i = 0; i < this.transplantdata.length; i++) { |
| | |
| | | }); |
| | | } |
| | | // 获取完成登记信息 |
| | | // listnewDonatecompletioninfo(accpre).then(response => { |
| | | listDonatecompletioninfo(searchParam).then(response => { |
| | | if (response.code == 200 && response.rows.length) { |
| | | this.accomplishform = response.rows[0]; |
| | |
| | | // 保存二级表按钮 |
| | | Savethedetails() { |
| | | console.log(this.actives); |
| | | this.$modal.loading("正在提交,请稍候!"); |
| | | if (this.actives == 1) { |
| | | this.medicineform.infoid = this.infoid; |
| | | this.$refs["medicineform"].validate(valid => { |
| | |
| | | if (this.medicineform.id != null) { |
| | | updateMedicalevaluation(this.medicineform).then(response => { |
| | | this.$modal.msgSuccess("医学评估信息修改成功"); |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } else { |
| | | addMedicalevaluation(this.medicineform).then(response => { |
| | | this.$modal.msgSuccess("医学评估信息新增成功"); |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } |
| | | this.Processvalidation(); |
| | |
| | | this.affirmform.residencetownname = this.defultAddresss.qu; |
| | | updateRelativesconfirmation(this.affirmform).then(response => { |
| | | this.$modal.msgSuccess("捐献确认信息修改成功"); |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } else { |
| | | addRelativesconfirmation(this.affirmform).then(response => { |
| | | this.$modal.msgSuccess("捐献确认信息新增成功"); |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } |
| | | this.Processvalidation(); |
| | |
| | | // updateDonateflowchart(this.ethicform).then(response => { |
| | | updateEthicalreviewopinions(this.ethicform).then(res => { |
| | | this.$modal.msgSuccess("伦理审查信息修改成功"); |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } else { |
| | | //addDonateflowchart(this.ethicform).then(response => { |
| | | addEthicalreviewopinions(this.ethicform).then(res => { |
| | | this.$modal.msgSuccess("伦理审查信息新增成功"); |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } |
| | | this.Processvalidation(); |
| | |
| | | saveDonateorgan(this.allocateddata).then(res => { |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("器官捐献分配信息保存成功!"); |
| | | this.$modal.closeLoading(); |
| | | } |
| | | }); |
| | | this.Processvalidation(); |
| | |
| | | if (this.witnessform.id != null) { |
| | | updateDonationwitness(this.witnessform).then(response => { |
| | | this.$modal.msgSuccess("获取见证信息修改成功"); |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } else { |
| | | addDonationwitness(this.witnessform).then(response => { |
| | | this.$modal.msgSuccess("获取见证信息新增成功"); |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } |
| | | |
| | |
| | | this.$modal.msgSuccess("捐献器官获取信息保存成功!"); |
| | | } |
| | | }); |
| | | console.log(this.accomplishform.id,'完成id'); |
| | | console.log(this.accomplishform.id, "完成id"); |
| | | // 保存确认信息 |
| | | if (this.accomplishform.id) { |
| | | updateDonatecompletioninfo(this.accomplishform).then(response => { |
| | | this.$modal.msgSuccess("完成登记信息修改成功"); |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } else { |
| | | addDonatecompletioninfo(this.accomplishform).then(response => { |
| | | this.$modal.msgSuccess("完成登记成功"); |
| | | this.$modal.closeLoading(); |
| | | }); |
| | | } |
| | | |
| | |
| | | return; |
| | | } |
| | | }, |
| | | // 上报审核 |
| | | Reportforreview() {}, |
| | | // 提交归档 |
| | | Reportforreview() { |
| | | if (this.form.workflow == 9) { |
| | | this.form.workflow = 8; |
| | | this.submitForm(); |
| | | } else { |
| | | this.$confirm("即将进行案例归档, 确认所有数据已保存?", "提示", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | fileCase({ infoId: this.infoid }).then(res => { |
| | | if (res.code == 500) { |
| | | this.$message.error(res.msg); |
| | | } else { |
| | | this.form.workflow = 9; |
| | | this.submitForm(); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "归档成功!" |
| | | }); |
| | | this.$router.go(-1); |
| | | } |
| | | }); |
| | | }) |
| | | .catch(() => { |
| | | this.$message({ |
| | | type: "info", |
| | | message: "已取消归档" |
| | | }); |
| | | }); |
| | | } |
| | | }, |
| | | // 终止案例 |
| | | Terminationcase() { |
| | | this.form.terminationCase == 1 |
| | |
| | | this.annexfilesList.splice(indexvalue, 1); |
| | | this.Newconversion(this.annexfilesList, indexvalue, ""); |
| | | }, |
| | | |
| | | |
| | | clearFilter() { |
| | | this.$refs.filterTable.clearFilter(); |