| | |
| | | getDetail, |
| | | update |
| | | } from "@/api/task/campusReporting" |
| | | import website from '@/config/website' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | prop: 'scStatus', |
| | | disabled: true, |
| | | }, { |
| | | width: 110, |
| | | label: '安全通道图片', |
| | | prop: 'scImageUrls', |
| | | fileType: 'img', |
| | |
| | | disabled: true, |
| | | labelWidth: 120, |
| | | }, { |
| | | width: 110, |
| | | label: '消费器材图片', |
| | | prop: 'fireFacsImageUrls', |
| | | fileType: 'img', |
| | |
| | | type: "success", |
| | | message: "操作成功!", |
| | | }) |
| | | this.$emit('colseDetail'); |
| | | this.$emit('colseDetail') |
| | | }) |
| | | }, |
| | | init(data, applyType) { |
| | |
| | | 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 |
| | | } |
| | | }) |
| | | } |
| | | |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | .cur-container-box { |
| | | display: flex; |
| | | flex-direction: column; |
| | | width: 100%; |
| | | height: 100%; |
| | | overflow: hidden; |
| | | padding: 50px; |
| | | |
| | | .content-box { |
| | | margin: 0 4px; |