From 6df7f671c4384a30ba58f62e7c88210a72471f06 Mon Sep 17 00:00:00 2001 From: chenxinying <1039655633@qq.com> Date: Tue, 6 Feb 2024 15:39:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E9=AA=8C=E6=94=B6=E8=A7=86?= =?UTF-8?q?=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/confined_space/job_data/index.vue | 24 +++++++ src/views/confined_space/job_data/view.vue | 72 +++++++++++---------- src/views/high/job_data/index.vue | 24 +++++++ src/views/high/job_data/view.vue | 40 ++++++------ src/views/hot_work/job_data/index.vue | 24 +++++++ src/views/hot_work/job_data/view.vue | 6 +- 6 files changed, 134 insertions(+), 56 deletions(-) diff --git a/src/views/confined_space/job_data/index.vue b/src/views/confined_space/job_data/index.vue index 2c73a36..83134f8 100644 --- a/src/views/confined_space/job_data/index.vue +++ b/src/views/confined_space/job_data/index.vue @@ -86,6 +86,15 @@ > 添加监控 + + 查看验收视频 + + @@ -133,6 +147,7 @@ import { getTaskSetps, getConfinedSpaceList, } from "@/request/eight_work.js"; +import LayoutVideo from "@/components/video/index.vue"; const props = defineProps({ entrance: { @@ -153,6 +168,11 @@ const getStepList = async () => { }; getStepList(); +const fnPreviewVideo = (VIDEO_PATH) => { + data.videoDialog.visible = true; + data.videoDialog.src = VIDEO_PATH; +}; + const router = useRouter(); const { list, pagination, searchForm, fnGetData, fnResetPagination } = useListData(getConfinedSpaceList, { @@ -163,6 +183,10 @@ const data = reactive({ visible: false, flowList: {}, }, + videoDialog: { + visible: false, + src: "", + }, }); const fnFlowChart = async (CONFINEDSPACE_ID) => { const { flowList } = await getConfinedSpaceFlow({ CONFINEDSPACE_ID }); diff --git a/src/views/confined_space/job_data/view.vue b/src/views/confined_space/job_data/view.vue index c6ad447..d0a75ba 100644 --- a/src/views/confined_space/job_data/view.vue +++ b/src/views/confined_space/job_data/view.vue @@ -3,7 +3,7 @@ - - + - + - + - + - + - + @@ -50,6 +50,7 @@ + @@ -92,17 +93,18 @@ + - -
+ 受限空间安全作业票 @@ -15,32 +15,32 @@ 作业申请单位 {{ data.info.APPLY_DEPARTMENT_NAME }} 作业申请时间{{ data.info.CREATTIME }}{{ data.info.CREATTIME }}
受限空间名称 {{ data.info.LIMITSPACE_NAME }} 受限空间内原有介质名称{{ data.info.MEDIUM_NAME }}{{ data.info.MEDIUM_NAME }}
作业内容{{ data.info.WORK_CONTENT }}{{ data.info.WORK_CONTENT }}
作业单位 {{ data.info.CONFIRM_DEPARTMENT_NAME }} 作业负责人{{ data.info.CONFIRM_USER_NAME }}{{ data.info.CONFIRM_USER_NAME }}
关联的其他特殊作业及安全作业票编号{{ data.info.SPECIAL_WORK }}{{ data.info.SPECIAL_WORK }}
风险辨识结果{{ data.info.RISK_IDENTIFICATION }}{{ data.info.RISK_IDENTIFICATION }}
气体分析氧气含量 取样分析时间 分析部位分析地点 分析人
{{ item.OXYGEN_CONTENT }} {{ item.ANALYZE_TIME }}{{ item.ANALYZE_PART }} {{ item.ANALYZE_PLACE }} {{ item.ANALYZE_USER }}
作业实施时间 + {{ data.info.WORK_START_DATE }}至{{ data.info.WORK_END_DATE }}止
+ @@ -168,7 +170,7 @@ - - - - - - - + + + - - - - - + + + - + @@ -50,6 +50,10 @@ + + + +
序号
+
监护人:
+
安全交底人:
@@ -224,7 +226,7 @@
+
接受交底人:
-
作业负责人意见:{{ data.signs.CONFIRM[0].DESCR }}
-
- 签字: - - {{ data.signs.CONFIRM[0].SIGN_TIME[index] }} -
-
+
作业人:
+
作业负责人意见:{{ data.signs.CONFIRM[0].DESCR }}
+
+ 签字: + + {{ data.signs.CONFIRM[0].SIGN_TIME[index] }} +
+
+
所在单位意见:{{ data.signs.LEADER[0].DESCR }}
+
完工验收:{{ data.signs.ACCEPT[0].DESCR }}
添加监控 + + 查看验收视频 + +
@@ -149,6 +163,7 @@ import { getHighWorkList, getTaskSetps, } from "@/request/eight_work.js"; +import LayoutVideo from "@/components/video/index.vue"; const props = defineProps({ entrance: { @@ -166,6 +181,11 @@ const getStepList = async () => { { STEP_NAME: "验收归档", STEP_ID: "99" }, ]; }; +const fnPreviewVideo = (VIDEO_PATH) => { + data.videoDialog.visible = true; + data.videoDialog.src = VIDEO_PATH; +}; + getStepList(); const router = useRouter(); const { list, pagination, searchForm, fnGetData, fnResetPagination } = @@ -177,6 +197,10 @@ const data = reactive({ visible: false, flowList: {}, }, + videoDialog: { + visible: false, + src: "", + }, }); const fnFlowChart = async (HIGHWORK_ID) => { const { flowList } = await getHighWorkFlow({ HIGHWORK_ID }); diff --git a/src/views/high/job_data/view.vue b/src/views/high/job_data/view.vue index bd13e58..28720d8 100644 --- a/src/views/high/job_data/view.vue +++ b/src/views/high/job_data/view.vue @@ -197,26 +197,6 @@
-
作业负责人意见:{{ data.signs.CONFIRM[0].DESCR }}
-
- 签字: - - {{ data.signs.CONFIRM[0].SIGN_TIME[index] }} -
-
作业人:
@@ -237,6 +217,26 @@
+
作业负责人意见:{{ data.signs.CONFIRM[0].DESCR }}
+
+ 签字: + + {{ data.signs.CONFIRM[0].SIGN_TIME[index] }} +
+
diff --git a/src/views/hot_work/job_data/index.vue b/src/views/hot_work/job_data/index.vue index 121af53..e47db65 100644 --- a/src/views/hot_work/job_data/index.vue +++ b/src/views/hot_work/job_data/index.vue @@ -108,6 +108,15 @@ > 流程图 + + 查看验收视频 + + @@ -141,6 +155,7 @@ import { useRouter } from "vue-router"; import useListData from "@/assets/js/useListData.js"; import { reactive, ref } from "vue"; import FlowChart from "./components/flow_chart.vue"; +import LayoutVideo from "@/components/video/index.vue"; import { getHotWorkList, getTaskSetps, @@ -166,6 +181,11 @@ const getStepList = async () => { }; getStepList(); +const fnPreviewVideo = (VIDEO_PATH) => { + data.videoDialog.visible = true; + data.videoDialog.src = VIDEO_PATH; +}; + const router = useRouter(); const { list, pagination, searchForm, fnGetData, fnResetPagination } = useListData(getHotWorkList, { @@ -176,6 +196,10 @@ const data = reactive({ visible: false, flowList: {}, }, + videoDialog: { + visible: false, + src: "", + }, }); const fnFlowChart = async (HOTWORK_ID) => { const { flowList } = await getHotWorkFlow({ HOTWORK_ID }); diff --git a/src/views/hot_work/job_data/view.vue b/src/views/hot_work/job_data/view.vue index 15edf1f..2ef5455 100644 --- a/src/views/hot_work/job_data/view.vue +++ b/src/views/hot_work/job_data/view.vue @@ -42,7 +42,7 @@ 气体取样分析时间 {{ item.ANALYZE_TIME }} 代表性气体{{ item.ANALYZE_PLACE }}{{ item.ANALYZE_GAS }}
分析结果/%分析人 {{ item.ANALYZE_USER }}
分析地点{{ item.ANALYZE_PLACE }}
关联的其他特殊作业及安全作业票编号