diff --git a/src/pages.json b/src/pages.json
index f2bba63..d91127c 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -113,6 +113,12 @@
"navigationBarTitleText": "清运方式选择",
"navigationStyle": "custom"
}
+ },
+ {
+ "path": "pages/deviceList/index",
+ "style": {
+ "navigationBarTitleText": "设备列表"
+ }
}
],
"globalStyle": {
@@ -134,18 +140,18 @@
"iconPath": "static/tabs/cart_default.png",
"selectedIconPath": "static/tabs/cart_selected.png"
},
- // {
- // "text": "清运页",
- // "pagePath": "pages/recycleClean/recycleClean",
- // "iconPath": "static/tabs/cart_default.png",
- // "selectedIconPath": "static/tabs/cart_selected.png"
- // },
{
"text": "定时回收",
"pagePath": "pages/timeOrder/timeOrder",
"iconPath": "static/tabs/time_default.png",
"selectedIconPath": "static/tabs/time_selected.png"
},
+ {
+ "text": "设备列表",
+ "pagePath": "pages/deviceList/index",
+ "iconPath": "static/tabs/device_default.png",
+ "selectedIconPath": "static/tabs/device_selected.png"
+ },
{
"text": "到站回收",
"pagePath": "pages/dzOrder/dzOrder",
diff --git a/src/pages/deviceList/index.vue b/src/pages/deviceList/index.vue
new file mode 100644
index 0000000..6e73d42
--- /dev/null
+++ b/src/pages/deviceList/index.vue
@@ -0,0 +1,351 @@
+
+
+
+
+
+
+
+
+ 扫码清运
+
+
+
+
+
+
+
+
+
+
+
+ {{ deviceInfo.total }}
+
+
+ 管理总数
+
+
+
+
+ {{ deviceInfo.total }}
+
+
+ 管理总数
+
+
+
+
+
+
+ {{ deviceInfo.online }}
+
+
+ 在线
+
+
+
+
+ {{ deviceInfo.online }}
+
+
+ 在线
+
+
+
+
+
+
+ {{ deviceInfo.smog }}
+
+
+ 烟雾
+
+
+
+
+ {{ deviceInfo.smog }}
+
+
+ 烟雾
+
+
+
+
+
+
+ {{ deviceInfo.full }}
+
+
+ 满溢
+
+
+
+
+ {{ deviceInfo.full }}
+
+
+ 满溢
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上次清运时间:
+ {{
+ dayjs(deviceItem.cleanDate).format('YYYY-MM-DD HH:mm:ss')
+ }}
+
+
+
+
+ {{ bucketItem.showName }}:
+ 重量 {{ bucketItem.currentWeight }} kg
+
+
+ 满溢时间:{{ bucketItem.fullTime }}
+
+
+
+
+
+
+
+
+ 已到底部
+
+
+
+
+
+
+
+
+
diff --git a/src/services/device.ts b/src/services/device.ts
index 6209679..0b8c99d 100644
--- a/src/services/device.ts
+++ b/src/services/device.ts
@@ -357,3 +357,19 @@ export const getLoginDevice = (deviceCode: String) => {
data,
})
}
+// 获取设备列表
+export const getDeviceList = (queryParams: any) => {
+ // deviceCode - 设备登录
+ const data: any = {
+ deviceName: queryParams.deviceName,
+ online: queryParams.online,
+ checkSmog: queryParams.checkSmog,
+ checkFull: queryParams.checkFull,
+ location: queryParams.location,
+ }
+ return http({
+ method: 'POST',
+ url: '/device/getDeviceList',
+ data,
+ })
+}
diff --git a/src/static/images/bell.png b/src/static/images/bell.png
new file mode 100644
index 0000000..713646c
Binary files /dev/null and b/src/static/images/bell.png differ
diff --git a/src/static/images/bell2.png b/src/static/images/bell2.png
new file mode 100644
index 0000000..979044e
Binary files /dev/null and b/src/static/images/bell2.png differ
diff --git a/src/static/images/scan.png b/src/static/images/scan.png
new file mode 100644
index 0000000..604fb8d
Binary files /dev/null and b/src/static/images/scan.png differ
diff --git a/src/static/images/scan2.png b/src/static/images/scan2.png
new file mode 100644
index 0000000..2fc3de1
Binary files /dev/null and b/src/static/images/scan2.png differ
diff --git a/src/static/tabs/device_default.png b/src/static/tabs/device_default.png
new file mode 100644
index 0000000..c5d5007
Binary files /dev/null and b/src/static/tabs/device_default.png differ
diff --git a/src/static/tabs/device_selected.png b/src/static/tabs/device_selected.png
new file mode 100644
index 0000000..ead64a3
Binary files /dev/null and b/src/static/tabs/device_selected.png differ