diff --git a/src/api/longchuang/productionPlan.js b/src/api/longchuang/productionPlan.js index 57fcdb46..3251043a 100644 --- a/src/api/longchuang/productionPlan.js +++ b/src/api/longchuang/productionPlan.js @@ -38,3 +38,4 @@ export const cancelReportLog = data => createAPI(`/longchuang/productionPlan/rep // ================= 生产报工 ================= export const getWorkReportOrderList = data => createAPI(`/longchuang/productionPlan/workReport/list`, 'post', data) +export const reportWorkNodeWithMedia = data => createAPI(`/longchuang/productionPlan/workReport/reportNodeWithMedia`, 'post', data) diff --git a/src/views/modules/longtron/production-work-report.vue b/src/views/modules/longtron/production-work-report.vue index 8ed10c20..d0f6dc4c 100644 --- a/src/views/modules/longtron/production-work-report.vue +++ b/src/views/modules/longtron/production-work-report.vue @@ -170,12 +170,14 @@ - + @@ -188,21 +190,98 @@ - + + + + +
+
+
+ +
摄像头未开启
+
+
+ + + 拍照 + + + 录像 + + +
+ + +
+
+
已采集 {{ capturedMediaList.length }} 个文件
+
+
+
+ capture-image + +
+ {{ item.name }} + + {{ item.kind === 'video' ? '视频' : '照片' }} + +
+ 删除 +
+
+
+ +

暂无采集文件,请先拍照或录像

+
+
+
+
+
+
+
@@ -239,11 +318,11 @@