| | |
| | | </template> |
| | | <script> |
| | | import MyMap from '@/components/map' |
| | | import {parseTime} from '@/utils/index' |
| | | import { validateName, validatePhone, validateCardId, validateNum } from '@/utils/validate' |
| | | export default { |
| | | components: { |
| | |
| | | that.$axios({ |
| | | method: 'post', |
| | | url: 'sccg/base_case/addition_illegal_building', |
| | | data: ill, |
| | | data: { |
| | | ...ill, |
| | | alarmTime:parseTime(ill.alarmTime) |
| | | }, |
| | | }) |
| | | .then(res => { |
| | | if (res.code === 200) { |
| | |
| | | }, |
| | | handleSuccess(res, file, filelist) { |
| | | const baseUrl = 'http://140.143.152.226:8410/'; |
| | | console.log(res); |
| | | // if(res.code === 500){ |
| | | // console.log('err'); |
| | | // return; |
| | | // } |
| | | this.ill.positive = baseUrl + res.data.url1; |
| | | |
| | | }, |
| | |
| | | |
| | | .upload-demo { |
| | | position: relative; |
| | | |
| | | margin-right: 20px; |
| | | .text { |
| | | position: absolute; |
| | | top: 22%; |