| | |
| | | <script> |
| | | import { getToken } from "@/utils/auth"; |
| | | import { |
| | | reviewinitiateBaseInfoList, |
| | | ethicalreviewgetInfoID, |
| | | ethicalreviewedit, |
| | | ethicalreviewadd, |
| | | ethicalreviewInfo, |
| | |
| | | if (id) { |
| | | response = await ethicalreviewInfo(id); |
| | | } else if (infoid) { |
| | | response = await reviewinitiateBaseInfoList({ infoid: infoid }); |
| | | response = await ethicalreviewgetInfoID({ InfoId: infoid }); |
| | | } |
| | | |
| | | if (response.code === 200) { |
| | |
| | | this.$set(this.form, "ethicalreviewopinionsList", []); |
| | | } |
| | | } else if (response.data && infoid) { |
| | | this.form = response.data[0]; |
| | | this.form = response.data; |
| | | // 解析 filePatch 字段 |
| | | this.parseFilePatch(this.form.filePatch); |
| | | this.initAttachmentFileList(); |