| | |
| | | { value: "3", label: "尿培养" }, |
| | | { value: "4", label: "伤口分泌物" }, |
| | | { value: "5", label: "脑脊液培养" }, |
| | | { value: "5", label: "皮肤" }, |
| | | { value: "6", label: "其他" } |
| | | ], |
| | | |
| | |
| | | } |
| | | this.extracontentinfo.specialMedicalHistory = this.form.specialMedicalHistory; |
| | | let response; |
| | | if (this.isEditMode && this.currentMaintenanceId) { |
| | | if (this.currentMaintenanceId) { |
| | | saveData.id = this.currentMaintenanceId; |
| | | response = await maintainedit(saveData); |
| | | } else { |
| | |
| | | |
| | | if (response.code === 200) { |
| | | this.$message.success("保存成功"); |
| | | this.isEdit = false; |
| | | // this.isEdit = false; |
| | | if (!this.currentMaintenanceId) { |
| | | this.currentMaintenanceId = response.data; |
| | | } |
| | |
| | | |
| | | // 切换编辑模式 |
| | | toggleEditMode() { |
| | | this.isEdit = !this.isEdit; |
| | | if (!this.isEdit) { |
| | | this.handleSave(); |
| | | } |
| | | // this.isEdit = !this.isEdit; |
| | | // if (!this.isEdit) { |
| | | // } |
| | | this.handleSave(); |
| | | }, |
| | | accomplish() { |
| | | this.$confirm("是否完成该案例捐献确认步骤?", "提醒", { |