| | |
| | | getDetail, |
| | | update |
| | | } from "@/api/task/campusReporting" |
| | | import website from '@/config/website' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | taskId: taskId |
| | | }).then((res) => { |
| | | this.form = res.data.data |
| | | if (this.form.haImageUrls) { |
| | | this.form.haImageUrls = website.minioUrl + this.form.haImageUrls |
| | | } |
| | | if (this.form.scImageUrls) { |
| | | this.form.scImageUrls = website.minioUrl + this.form.scImageUrls |
| | | } |
| | | if (this.form.antiCollisionImageUrls) { |
| | | this.form.antiCollisionImageUrls = website.minioUrl + this.form.antiCollisionImageUrls |
| | | } |
| | | if (this.form.patrolImageUrls) { |
| | | this.form.patrolImageUrls = website.minioUrl + this.form.patrolImageUrls |
| | | } |
| | | if (this.form.fireFacsImageUrls) { |
| | | this.form.fireFacsImageUrls = website.minioUrl + this.form.fireFacsImageUrls |
| | | } |
| | | }) |
| | | } |
| | | |