diff --git a/.env b/.env index 27f9985..d2d76c3 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -VITE_BASE_URL=http://192.168.0.62:8093/ +VITE_BASE_URL=http://192.168.0.49:8093/ VITE_PROXY=/api/ VITE_PROXY_QAAQ=/qaaq_api/ VITE_QAAQ_URL=https://gateway.qhdsafety.com/ diff --git a/src/assets/js/constant.js b/src/assets/js/constant.js index 3d53f6e..927399c 100644 --- a/src/assets/js/constant.js +++ b/src/assets/js/constant.js @@ -19,68 +19,30 @@ export const MENU = [ { title: "定位管理", model: MODEL["6"] }, ]; // 安全生成及电子运单管理 -export const VEHICLEMENU = [ - { title: "鄂A35373", model: MODEL["1"] }, - { title: "渝B73752", model: MODEL["2"] }, - { title: "川C87376", model: MODEL["3"] }, -]; export const PRACTITIONERMENU = [ - { title: "李某某", model: MODEL["1"] }, - { title: "张某某", model: MODEL["2"] }, - { title: "刘某某", model: MODEL["3"] }, + { id: "李某某", name: "1" }, + { id: "张某某", name: "2" }, + { id: "刘某某", name: "3" }, ]; export const TRUCKMENU = [ - { title: "货AA35373", model: MODEL["1"] }, - { title: "货B73752", model: MODEL["2"] }, - { title: "货C87376", model: MODEL["3"] }, + { id: "货AA3537", name: "1" }, + { id: "货B73752", name: "2" }, + { id: "货C87376", name: "3" }, ]; export const PERSONTYPEMENU = [ - { title: "其他", model: MODEL["1"] }, - { title: "驾驶员", model: MODEL["2"] }, - { title: "监控员", model: MODEL["3"] }, - { title: "押运员", model: MODEL["4"] }, - { title: "安全负责人", model: MODEL["5"] }, -]; -export const CLIENTMENU = [ - { title: "李某某", model: MODEL["1"] }, - { title: "程某某", model: MODEL["2"] }, - { title: "方某某", model: MODEL["3"] }, -]; -export const CONFIRMMENU = [ - { title: "薛某某", model: MODEL["1"] }, - { title: "马某某", model: MODEL["2"] }, - { title: "林某某", model: MODEL["3"] }, -]; -export const STARTINGMENU = [ - { title: "河北", model: MODEL["1"] }, - { title: "河南", model: MODEL["2"] }, - { title: "山东", model: MODEL["3"] }, - { title: "山西", model: MODEL["4"] }, -]; -export const ENDMENU = [ - { title: "广东", model: MODEL["1"] }, - { title: "广西", model: MODEL["2"] }, - { title: "湖南", model: MODEL["3"] }, - { title: "湖北", model: MODEL["4"] }, + { id: "其他", name: "1" }, + { id: "驾驶员", name: "2" }, + { id: "监控员", name: "3" }, + { id: "押运员", name: "4" }, + { id: "安全负责人", name: "5" }, ]; export const CUSTOMERTYPEMENU = [ - { title: "委托方", model: MODEL["1"] }, - { title: "确认方", model: MODEL["2"] }, + { id: "委托方", name: "1" }, + { id: "确认方", name: "2" }, ]; export const LOCATIONTYPEMENU = [ - { title: "公司", model: MODEL["1"] }, - { title: "仓库", model: MODEL["2"] }, - { title: "中转站", model: MODEL["3"] }, -]; -export const LOCATIONNAMEMENU = [ - { title: "中科", model: MODEL["1"] }, - { title: "中软", model: MODEL["2"] }, - { title: "中天", model: MODEL["3"] }, -]; -export const BOROUGHMENU = [ - { title: "湖北", model: MODEL["1"] }, - { title: "湖南", model: MODEL["2"] }, - { title: "四川", model: MODEL["3"] }, + { id: "起运地", name: "1" }, + { id: "目的地", name: "2" }, ]; export const PRINT_STYLE = diff --git a/src/request/location_management.js b/src/request/location_management.js index 9b97c78..8f8469b 100644 --- a/src/request/location_management.js +++ b/src/request/location_management.js @@ -1,7 +1,7 @@ import { post } from "@/request/axios.js"; export const getSecurityLocationList = (params) => - post("/securitylocation/listForSecurityLocationManagement", params); // 客户管理列表 + post("/securitylocation/listForSecurityLocationManagement", params); // 地点管理列表 export const addSafetyLocationView = (params) => - post("/securitylocation/add", params); // 添加运单登记 + post("/securitylocation/add", params); // 添加地段管理 diff --git a/src/views/electronic_waybill_management/customer_management/add.vue b/src/views/electronic_waybill_management/customer_management/add.vue index ab823ef..cc8f509 100644 --- a/src/views/electronic_waybill_management/customer_management/add.vue +++ b/src/views/electronic_waybill_management/customer_management/add.vue @@ -9,21 +9,6 @@ 添加 - - - - - - - diff --git a/src/views/electronic_waybill_management/customer_management/index.vue b/src/views/electronic_waybill_management/customer_management/index.vue index 159881a..aa56542 100644 --- a/src/views/electronic_waybill_management/customer_management/index.vue +++ b/src/views/electronic_waybill_management/customer_management/index.vue @@ -10,12 +10,8 @@ - + + @@ -55,16 +51,22 @@ {{ serialNumber(pagination, $index) }} - - + + + + - +