| | |
| | | </div> |
| | | </el-form> |
| | | <div class="map"> |
| | | <MyMap></MyMap> |
| | | <MyMap style="width: 600px; height: 400px"></MyMap> |
| | | </div> |
| | | <div class="footer"> |
| | | <el-button type="primary" @click="handleDispatch">确定</el-button> |
| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import MyMap from "@/components/map"; |
| | | // import MyMap from "@/components/map"; |
| | | import MyMap from "@/components/map/leafletMap.vue"; |
| | | export default { |
| | | components: { |
| | | MyMap, |
| | |
| | | props: ["id", "changeDialog", "refresh", "mytype", "isGetData"], |
| | | created() { |
| | | // 判断车辆类型 |
| | | this.mytype === 1 ? this.getLawCarList() : this.getSoilCarList(); |
| | | this.isGetDispatchData = this.isGetData ? this.isGetData : false; |
| | | this.getDepartList(); |
| | | // this.mytype === 1 ? this.getLawCarList() : this.getSoilCarList(); |
| | | // this.isGetDispatchData = this.isGetData ? this.isGetData : false; |
| | | // this.getDepartList(); |
| | | }, |
| | | data() { |
| | | const checkPhone = (rule, value, callback) => { |
| | |
| | | padding: 10px 20px; |
| | | } |
| | | } |
| | | </style> |
| | | </style> |