diff --git a/src/api/car/index.ts b/src/api/car/index.ts index 34b7f398..872c4f94 100644 --- a/src/api/car/index.ts +++ b/src/api/car/index.ts @@ -53,4 +53,7 @@ export const robotPositionGetMapAll = async (params) => { return await request.get({ url: `/system/position-map/getAllMap`, params }) } - +//获得车辆列表 新 +export const getRobotInformationList = async (params) => { + return await request.get({ url: `/system/robot/information/list`, params }) +} diff --git a/src/api/device/index.ts b/src/api/device/index.ts index 53717276..b8afebec 100644 --- a/src/api/device/index.ts +++ b/src/api/device/index.ts @@ -32,3 +32,8 @@ export const deleteDeviceInformation = async (id: number) => { export const deviceNumber = async (params) => { return await request.get({ url: `/system/device/information/deviceNumber`, params }) } + +// 获取设备列表 新不分页 +export const deviceGetInformationList = async (params) => { + return await request.get({ url: `/system/device/information/getInformationList`, params }) +} \ No newline at end of file diff --git a/src/views/board/carBoard/index.vue b/src/views/board/carBoard/index.vue index ea6cc756..0a269a88 100644 --- a/src/views/board/carBoard/index.vue +++ b/src/views/board/carBoard/index.vue @@ -172,8 +172,8 @@ const router = useRouter() // 路由对象 const createEditDialogRef = ref(null) const list = ref([]) const queryParams = reactive({ - pageNo: 1, - pageSize: 100, + // pageNo: 1, + // pageSize: 100, robotNo: undefined }) const spaceBetween = ref(20) @@ -206,7 +206,7 @@ const getCarList = async () => { getCarList() getRobotInformationStatistics() }, 5000) - let res = await CarApi.robotInformationPage(queryParams) + let res = await CarApi.getRobotInformationList(queryParams) // console.log(res.list) list.value = res.list } diff --git a/src/views/board/device/index.vue b/src/views/board/device/index.vue index 21c02d4c..39b31670 100644 --- a/src/views/board/device/index.vue +++ b/src/views/board/device/index.vue @@ -125,8 +125,8 @@ const router = useRouter() // 路由对象 const createEditDialogRef = ref(null) const list = ref([]) const queryParams = reactive({ - pageNo: 1, - pageSize: 100, + // pageNo: 1, + // pageSize: 100, deviceNo: undefined, deviceType: undefined }) @@ -174,27 +174,7 @@ const filterTypeFun = (type, list) => { return type } } -// (1:充电桩,2:输送线,3:码垛机,4:自动门,5:提升机,6:信号灯,7:按钮盒,8:拆垛机) -const formatterDeviceType = (deviceType) => { - switch (deviceType) { - case 1: - return '充电桩' - case 2: - return '输送线' - case 3: - return '码垛机' - case 4: - return '自动门' - case 5: - return '提升机' - case 6: - return '信号灯' - case 7: - return '按钮盒' - case 8: - return '拆垛机' - } -} + const timerRef = ref(null) //查询车辆列表 @@ -207,9 +187,9 @@ const getCarList = async () => { // getCarList() // getRobotInformationStatistics() // }, 5000) - let res = await DeviceApi.deviceInformationPage(queryParams) + let res = await DeviceApi.deviceGetInformationList(queryParams) // console.log(res.list) - list.value = res.list + list.value = res } const carStatistics = ref({ standby: 0, diff --git a/src/views/mapPage/realTimeMap/components/indexPage.vue b/src/views/mapPage/realTimeMap/components/indexPage.vue index 2bab2184..4fa0a2e8 100644 --- a/src/views/mapPage/realTimeMap/components/indexPage.vue +++ b/src/views/mapPage/realTimeMap/components/indexPage.vue @@ -31,22 +31,89 @@
+
+
+
+
+ + +
+
+
+ 库位名: +
+
+ {{ item.showData.locationNo || '' }} +
+
+
+
+ 所属线库: +
+
+ {{ item.showData.laneName || '' }} +
+
+
+
+ 所属区域: +
+
+ {{ item.showData.areaName || '' }} +
+
+ +
+
+
+
+ +
+
+
+
+
+
@@ -135,6 +276,18 @@ onMounted(() => { background-color: #fff; border-bottom: 1px solid #f5f5f5; } +.indexpage-container-box-point { + width: 100%; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; +} +.indexpage-container-box-point-item { + position: absolute; + cursor: pointer; +} .scrollbar-flex-content { padding: 2px 6px; display: flex; @@ -171,4 +324,11 @@ onMounted(() => { width: 100%; height: auto; } +.indexpage-container-box-point-item-inner-popover-item{ + display: flex; + font-family: PingFangSC, PingFang SC; +font-weight: 400; +font-size: 14px; +color: #0D162A; +}