zhanghua
2023-12-12 122faf2b3a03f7ef381d70a38684fe0b70d42ebc
src/components/dispatch/index.vue
@@ -107,7 +107,7 @@
      </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>
@@ -125,9 +125,9 @@
  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) => {
@@ -408,4 +408,4 @@
    padding: 10px 20px;
  }
}
</style>
</style>