From 40418a998c65fbe48aa1b69919a08781ed3ff648 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Fri, 23 Feb 2024 18:20:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/logisticsScreen/index.vue | 149 +++++++++++++++++++++++++++-- 1 file changed, 142 insertions(+), 7 deletions(-) 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