| | |
| | | <el-form-item label="联系方式:" prop="contactWay"> |
| | | <el-input v-model="dispatch.contactWay"></el-input> |
| | | </el-form-item> |
| | | <el-button type="primary" @click.native.prevent="handleDispatch">发送短信</el-button> |
| | | <el-button type="primary">发送短信</el-button> |
| | | </div> |
| | | </el-form> |
| | | <div class="map"> |
| | | <!-- <MyMap></MyMap> --> |
| | | <MyMap></MyMap> |
| | | </div> |
| | | <div class="footer"> |
| | | <el-button type="primary" @click="handleDispatch">确定</el-button> |
| | | <el-button @click="handleBack">返回</el-button> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | components: { |
| | | MyMap |
| | | }, |
| | | props: ['id','changeDialog'], |
| | | props: ['id','changeDialog','refresh'], |
| | | created() { |
| | | console.log(this.id); |
| | | }, |
| | |
| | | type: res.code === 200 ? 'success':'error', |
| | | message: res.code === 200 ? '调度成功':res.message, |
| | | }) |
| | | this.$emit('changeDialog',{dialogView:false}); |
| | | this.$emit('changeDialog',{flag:false}); |
| | | this.refresh(); |
| | | }) |
| | | } else { |
| | | return false; |
| | | } |
| | | }) |
| | | }, |
| | | // 取消调度 |
| | | handleBack(){ |
| | | this.$emit('changeDialog',{flag:false}) |
| | | } |
| | | } |
| | | } |
| | |
| | | height: 388px; |
| | | width: 100%; |
| | | } |
| | | .footer{ |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | padding: 10px 20px; |
| | | } |
| | | } |
| | | </style> |