| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getDonatebaseinfoflow } from "@/api/project/donatebaseinfo"; |
| | | import { getDonationProcessDetail } from "./donationProcess"; |
| | | import DonorMaintenanceStage from "./components/DonorMaintenanceStage"; |
| | | import MedicalAssessmentStage from "./components/MedicalAssessmentStage"; |
| | |
| | | data() { |
| | | return { |
| | | caseId: null, |
| | | infoid:null, |
| | | caseInfo: { |
| | | id: "", |
| | | caseNo: "", |
| | |
| | | computed: {}, |
| | | created() { |
| | | this.caseId = this.$route.query.id; |
| | | console.log(this.caseId, "this.caseId"); |
| | | this.infoid = this.$route.query.id; |
| | | |
| | | if (this.caseId) { |
| | | this.getDetail(); |
| | |
| | | async getDetail() { |
| | | this.loading = true; |
| | | try { |
| | | const response = await getDonationProcessDetail(this.caseId); |
| | | const response = await getDonatebaseinfoflow(this.caseId); |
| | | if (response.code === 200) { |
| | | this.caseInfo = response.data.caseInfo; |
| | | this.processStages = response.data.processStages; |