File was renamed from src/components/base-page/enterprise-emergency/ReportIncident.vue |
| | |
| | | <!-- @click="locationInfo"></el-button>--> |
| | | <el-button style="padding-right:10px;" slot="suffix" type="text" |
| | | @click="locationInfo"> |
| | | <img src="../../../../public/assets/images/map/loc.png" alt=""> |
| | | <img src="../../../../../public/assets/images/map/loc.png" alt=""> |
| | | </el-button> |
| | | </el-input> |
| | | </el-form-item> |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import '../../../utils/dragBoxes' |
| | | import eventBus from '../../../eventBus' |
| | | import '../../../../utils/dragBoxes' |
| | | import eventBus from '../../../../eventBus' |
| | | // 引入组件 |
| | | import PositionChange from './PositionChange' |
| | | import PipelineFile from './PipelineFile' |
| | |
| | | submitForm (formName) { |
| | | this.$refs[formName].validate((valid) => { |
| | | if (valid) { |
| | | alert('submit!') |
| | | // alert('submit!') |
| | | this.$message({ |
| | | message: '事件上报提交成功', |
| | | type: 'success' |
| | | }) |
| | | } else { |
| | | console.log('error submit!!') |
| | | this.$message('事件上报提交失败') |
| | | return false |
| | | } |
| | | }) |
| | | this.circlePopup() |
| | | this.ruleForm.nameOfEvent = this.ruleForm.eventOfType = '' |
| | | this.$refs[formName].resetFields() |
| | | }, |
| | | // 点击关闭 事件上报 |
| | | circlePopup () { |