diff --git a/api/iot/device.js b/api/iot/device.js new file mode 100644 index 0000000..14cfe50 --- /dev/null +++ b/api/iot/device.js @@ -0,0 +1,34 @@ +import request from '@/utils/request' + +// 查询设备 +export function getDeviceList(query) { + return request({ + url: "/system/deviceApp/getDeviceList", + method: "get", + params: query + }) +} + +// 查询用户手持设备 +export function getPdaDeviceList() { + return request({ + url: "/system/deviceApp/getPdaDeviceListByUserId", + method: "get" + }) +} + +export function getDevicePageList(query) { + return request({ + url: "/system/deviceApp/list", + method: "get", + params: query + }) +} + +export function getDeviceStorageCount(query) { + return request({ + url: "/system/deviceApp/getDeviceStorageCount", + method: "get", + params: query + }) +} \ No newline at end of file diff --git a/api/iot/deviceBill.js b/api/iot/deviceBill.js new file mode 100644 index 0000000..7c17b99 --- /dev/null +++ b/api/iot/deviceBill.js @@ -0,0 +1,45 @@ +import request from '@/utils/request' + +// 查询入库单据列表 +export function getDeviceBillBriefList(query) { + return request({ + url: "/system/deviceBillBriefApp/list", + method: "get", + params: query + }) +} + +// 查询入库单据 +export function getDeviceBillInfo(id) { + return request({ + url: "/system/deviceBillBriefApp/getInfo/"+id, + method: "get" + }) +} + + +// 新增 +export function addDeviceBill(data) { + return request({ + url: '/system/deviceBillBriefApp/add', + method: 'post', + data: data + }) +} + +// 修改 +export function updateDeviceBill(data) { + return request({ + url: '/system/deviceBillBriefApp/edit', + method: 'put', + data: data + }) +} + +// 删除 +export function deleteDeviceBill(id) { + return request({ + url: '/system/deviceBillBriefApp/'+id, + method: 'delete' + }) +} \ No newline at end of file diff --git a/api/iot/deviceStorageUser.js b/api/iot/deviceStorageUser.js new file mode 100644 index 0000000..05dd641 --- /dev/null +++ b/api/iot/deviceStorageUser.js @@ -0,0 +1,17 @@ +import request from '@/utils/request' + +// 查询仓库 +export function getDeviceStorageUserByUserId(id) { + return request({ + url: "/system/deviceStorageUserApp/getDeviceStorageUserByUserId/"+id, + method: "get", + }) +} + + +export function getDeviceStorageUserListByUserId() { + return request({ + url: "/system/deviceStorageUserApp/getDeviceStorageUserListByUserId", + method: "get", + }) +} \ No newline at end of file diff --git a/pages.json b/pages.json index ccc9986..2af4f53 100644 --- a/pages.json +++ b/pages.json @@ -283,6 +283,13 @@ "navigationStyle": "custom" } }, + { + "path": "pages/retrace/selectDeviceBill", + "style": { + "navigationBarTitleText": "签收单据选择", + "navigationStyle": "custom" + } + }, /******************************* 运维 ******************************/ { "path": "pages/dev-ops/index", diff --git a/pages/fourmonitor/camera.vue b/pages/fourmonitor/camera.vue index a7ea4b6..0ff936f 100644 --- a/pages/fourmonitor/camera.vue +++ b/pages/fourmonitor/camera.vue @@ -1,20 +1,20 @@ - + + + + \ No newline at end of file diff --git a/pages/retrace/signBill.vue b/pages/retrace/signBill.vue index ea4ffb8..e916fa0 100644 --- a/pages/retrace/signBill.vue +++ b/pages/retrace/signBill.vue @@ -5,7 +5,7 @@