| | |
| | | getDetail, |
| | | update |
| | | } from "@/api/task/bailReporting" |
| | | import website from '@/config/website' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | disabled: true, |
| | | span: 8, |
| | | }, { |
| | | width: 110, |
| | | label: '位置图片', |
| | | fileType: 'img', |
| | | type: "upload", |
| | |
| | | span: 8, |
| | | labelWidth: 120, |
| | | }, { |
| | | width: 110, |
| | | label: '出发-位置图片', |
| | | fileType: 'img', |
| | | type: "upload", |
| | |
| | | span: 8, |
| | | labelWidth: 120, |
| | | }, { |
| | | width: 110, |
| | | label: '到达-位置图片', |
| | | fileType: 'img', |
| | | type: "upload", |
| | |
| | | span: 8, |
| | | labelWidth: 120, |
| | | }, { |
| | | width: 110, |
| | | label: '返回-位置图片', |
| | | fileType: 'img', |
| | | type: "upload", |
| | |
| | | type: "success", |
| | | message: "操作成功!", |
| | | }) |
| | | this.$emit('colseDetail'); |
| | | this.$emit('colseDetail') |
| | | }) |
| | | }, |
| | | init(data, applyType) { |
| | |
| | | taskId: taskId |
| | | }).then((res) => { |
| | | this.form = res.data.data |
| | | if (this.form.reachImageUrls) { |
| | | this.form.reachImageUrls = website.minioUrl + this.form.reachImageUrls |
| | | } |
| | | if (this.form.returnImageUrls) { |
| | | this.form.returnImageUrls = website.minioUrl + this.form.returnImageUrls |
| | | } |
| | | if (this.form.startImageUrls) { |
| | | this.form.startImageUrls = website.minioUrl + this.form.startImageUrls |
| | | } |
| | | if (this.form.locationImageUrls) { |
| | | this.form.locationImageUrls = website.minioUrl + this.form.locationImageUrls |
| | | } |
| | | // console.table(this.form) |
| | | }) |
| | | } |
| | | |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | .cur-container-box { |
| | | display: flex; |
| | | flex-direction: column; |
| | | width: 100%; |
| | | height: 100%; |
| | | overflow: hidden; |
| | | padding: 50px; |
| | | // display: flex; |
| | | // flex-direction: column; |
| | | // width: 100%; |
| | | // // height: 100%; |
| | | // overflow: hidden; |
| | | |
| | | .content-box { |
| | | // margin: 0 4px; |
| | | // padding: 0 16px; |
| | | // height: 0; |
| | | // flex: 1; |
| | | // overflow: hidden; |
| | | // overflow-y: auto; |
| | | margin: 0 4px; |
| | | padding: 0 16px; |
| | | height: 0; |
| | | flex: 1; |
| | | overflow: hidden; |
| | | overflow-y: auto; |
| | | } |
| | | |
| | | .footer-btn-box { |