From 240fc2538d0c31fc4f48e5dc29ba49c91e91a730 Mon Sep 17 00:00:00 2001 From: wljjp <464652163@qq.com> Date: Thu, 9 May 2024 18:03:28 +0800 Subject: [PATCH] 123 --- src/api/infoApi.js | 4 + src/components/PzSet.vue | 161 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 161 insertions(+), 4 deletions(-) diff --git a/src/api/infoApi.js b/src/api/infoApi.js index 82a1c16..4663bd0 100644 --- a/src/api/infoApi.js +++ b/src/api/infoApi.js @@ -140,6 +140,10 @@ const infoApi = { addPz(params) { return postPBRequest("/driver", params, 54201, params.driver_name); }, + // 获取com + getCom() { + return postPBRequest("/info", null, 51001); + }, // // 获取上报列表 // getSc(params) { // return getRequest('/sb/list', params) diff --git a/src/components/PzSet.vue b/src/components/PzSet.vue index b8bd1b0..cad37cd 100644 --- a/src/components/PzSet.vue +++ b/src/components/PzSet.vue @@ -1,6 +1,6 @@