diff --git a/src/view/logisticsScreen/index.vue b/src/view/logisticsScreen/index.vue index 98e14ce..9248a62 100644 --- a/src/view/logisticsScreen/index.vue +++ b/src/view/logisticsScreen/index.vue @@ -1,5 +1,5 @@ @@ -25,9 +44,13 @@ import { ref, reactive } from "vue" import { sendMsg } from "@/api.js" import axios from "axios" +import areaChose from "@/view/components/areaChose.vue" import { vehicleListApi } from "@/api.js" +import {useRouter} from "vue-router" +const router = useRouter() const nowPages = ref('index'); +const flag = ref(true); // 镇列表 const options = [ @@ -87,6 +110,10 @@ const changeTown = (e) => { } +const handTown = (a, s)=>{ + +} + const getTownList = () => { townOptions.splice(0, 99999999) axios.get(`https://crmeb-test.shop.lihaink.cn/api/city/get_street?area_code=${areaCode.value}`) @@ -120,12 +147,120 @@ getLandList() const page = ref(1) const sendFn = (event, data = '') => { if (data.page) page.value = data.page; - sendMsg({ channel: 'user-5', event, data }) + sendMsg({ channel: 'user-logistics-datav', event, data }) } \ No newline at end of file