| | |
| | | console.log(ill); |
| | | that.$axios({ |
| | | method: 'post', |
| | | url: 'sccg/base-case/addition_illegal_building', |
| | | url: 'sccg/base_case/addition_illegal_building', |
| | | data: ill, |
| | | }) |
| | | .then(res => { |
| | |
| | | type: 'success', |
| | | message: res.message |
| | | }) |
| | | this.$emit('changeDialog', { dialogView: false }); |
| | | this.$emit('changeDialog', { flag: false }); |
| | | this.refresh(); |
| | | } else { |
| | | this.$message({ |
| | | type: 'warning', |
| | |
| | | this.ill.negative = baseUrl + res.data.url1; |
| | | } |
| | | }, |
| | | props: ['mytype', 'changeDialog'] |
| | | props: ['mytype', 'changeDialog','refresh'] |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |