diff --git a/src/router/index.js b/src/router/index.js index 755947d..d74e5cf 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -594,6 +594,15 @@ export const privateRoutes = [{ icon: "article-ranking" }, }, + { + path: "/taskPage/clockRecord", + component: () => import("@/views/backOfficeSystem/service/taskPage/clockRecord/index"), + name: "clockRecord", + meta: { + title: '打卡情况', + icon: "article-ranking" + }, + }, ] }, { diff --git a/src/views/backOfficeSystem/service/taskPage/clockRecord/index.vue b/src/views/backOfficeSystem/service/taskPage/clockRecord/index.vue new file mode 100644 index 0000000..b641751 --- /dev/null +++ b/src/views/backOfficeSystem/service/taskPage/clockRecord/index.vue @@ -0,0 +1,186 @@ + + + + + diff --git a/src/views/backOfficeSystem/service/taskPage/collectPage/AddFgFormDialog.vue b/src/views/backOfficeSystem/service/taskPage/collectPage/AddFgFormDialog.vue index fc37544..501328b 100644 --- a/src/views/backOfficeSystem/service/taskPage/collectPage/AddFgFormDialog.vue +++ b/src/views/backOfficeSystem/service/taskPage/collectPage/AddFgFormDialog.vue @@ -4,71 +4,33 @@
{{ title }}
- 保存 + 保存 关闭
- + - + - - + + - + + + + - + - + @@ -77,23 +39,27 @@
- diff --git a/src/views/largeScreen/home/components/rightDialog.vue b/src/views/largeScreen/home/components/rightDialog.vue index be2a7d3..a58113e 100644 --- a/src/views/largeScreen/home/components/rightDialog.vue +++ b/src/views/largeScreen/home/components/rightDialog.vue @@ -1,5 +1,9 @@ @@ -35,11 +46,14 @@ import emitter from "@/utils/eventBus.js"; import MoreVideo from "./dialog/moreVideo.vue"; import DialogWarningList from "./dialog/warningList.vue"; +import DkqkList from "./dialog/dkqkList.vue"; import { ref, defineProps, onMounted, onUnmounted } from "vue"; const props = defineProps({ isPosition: Boolean }); const zbyjDetail = ref(null); //周边预警详情 +const dkqkDetail = ref(null); //打卡情况详情 +const showDkqkWindow = ref(false); //是否显示周边预警 const yjDetail = ref(null); //某条预警详情 const showZbyjWindow = ref(false); //是否显示周边预警 const jqDetail = ref(null); // 某条警情详情 @@ -47,8 +61,8 @@ const showVideoWindow = ref(false); //是否显示周边视频 const xzDetail = ref(null); //巡组详情 const showVideoSpsdWindow = ref(false); //吃否显示视频随动 const showYjWindow = ref(false); //是否显示预警轨迹弹窗 -onMounted(()=>{ - emitter.on("videoClick", (res) => { +onMounted(() => { + emitter.on("videoClick", (res) => { jqDetail.value = res; showVideoWindow.value = true; }); @@ -56,11 +70,15 @@ onMounted(()=>{ showVideoWindow.value = false; showVideoSpsdWindow.value = false; }); - emitter.on("clickZbyj", (res) => { + emitter.on("clickZbyj", (res) => { zbyjDetail.value = res; showZbyjWindow.value = true; }); - emitter.on("showCcyj", (res) => { + emitter.on("clickDkqk", (res) => { + dkqkDetail.value = res; + showDkqkWindow.value = true; + }); + emitter.on("showCcyj", (res) => { yjDetail.value = res; showYjWindow.value = true; }); @@ -69,7 +87,7 @@ onMounted(()=>{ xzDetail.value = res; showVideoSpsdWindow.value = true; }); -}) +}); //关闭周边视频 || 视频随动 function onVideoClose(type) { if (type == "zb") { @@ -82,10 +100,15 @@ function onVideoClose(type) { function onClose(type) { if (type == "gj") { showYjWindow.value = false; - } else { + } else if (type == "zb") { showZbyjWindow.value = false; + } else { + showDkqkWindow.value = false; } } +onUnmounted(() => { + emitter.off("clickDkqk"); +});