diff --git a/apis/deviceApi.js b/apis/deviceApi.js
index cda7741..81dcedd 100644
--- a/apis/deviceApi.js
+++ b/apis/deviceApi.js
@@ -113,3 +113,13 @@ export function getDeviceListV2(data = {}) {
data
})
}
+
+/**
+ * 获取监控设备的token
+ */
+export function getMachineInfo(machineId, data = {}) {
+ return http.get({
+ url: `/printing-packaging-factory-service/user/get/factory/machine/${machineId}`,
+ data
+ })
+}
\ No newline at end of file
diff --git a/apis/orderApi.js b/apis/orderApi.js
index 0c8c83a..c434676 100644
--- a/apis/orderApi.js
+++ b/apis/orderApi.js
@@ -185,3 +185,11 @@ export const getProdOrderInfo = (id) => {
url: `/cloud-print-cloud-factory/get/my-enterprise/purchasing-order/${id}`
})
}
+
+export const getOrderListByMachine = (machineId, data) => {
+ return http.get({
+ url: `/printing-packaging-factory-service/user/get/production-task/list/by/${machineId}`,
+ data
+ })
+}
+
diff --git a/pages/device-production-info/OrderItem.vue b/pages/device-production-info/OrderItem.vue
new file mode 100644
index 0000000..170009b
--- /dev/null
+++ b/pages/device-production-info/OrderItem.vue
@@ -0,0 +1,276 @@
+
+
+
+
+
+ {{item.customerEnterpriseName}}
+
+ 生产中
+
+
+
+
+
+ {{item.productName}}
+ {{item.quantityCompletion}} / {{item.productionQuantity}}个
+
+ 尺寸:{{item.trimmedSize}}
+ 材质:{{item.materialsRequirement}}
+
+
+ 交付日期:{{item.finishDate || '- -'}}
+
+
+
+
+
+ #f3f3f3
+
+
+
diff --git a/pages/device-production-info/index.vue b/pages/device-production-info/index.vue
index 42f94df..b9e17a5 100644
--- a/pages/device-production-info/index.vue
+++ b/pages/device-production-info/index.vue
@@ -3,9 +3,9 @@
分享
-
-
-
+
+
+
@@ -74,6 +74,13 @@
暂无购置信息
+
+
+
+
+
+ 暂无生产中的订单
+
@@ -124,8 +131,10 @@