diff --git a/SafeCampus.WEB/src/views/practicalTraining/model/index.vue b/SafeCampus.WEB/src/views/practicalTraining/model/index.vue new file mode 100644 index 0000000..45fa21f --- /dev/null +++ b/SafeCampus.WEB/src/views/practicalTraining/model/index.vue @@ -0,0 +1,175 @@ + + + + + + + \ No newline at end of file diff --git a/SafeCampus.WEB/src/views/sysconfig/push/index.vue b/SafeCampus.WEB/src/views/sysconfig/push/index.vue new file mode 100644 index 0000000..1092593 --- /dev/null +++ b/SafeCampus.WEB/src/views/sysconfig/push/index.vue @@ -0,0 +1,128 @@ + + + + + + + + \ No newline at end of file diff --git a/SafeCampus.WEB/src/views/warn/zjrq/index.vue b/SafeCampus.WEB/src/views/warn/zjrq/index.vue index be69a3d..71136fd 100644 --- a/SafeCampus.WEB/src/views/warn/zjrq/index.vue +++ b/SafeCampus.WEB/src/views/warn/zjrq/index.vue @@ -98,6 +98,12 @@ + + +
+ +
+
@@ -109,6 +115,16 @@ import { useHandleData } from "@/hooks/useHandleData"; import { ColumnProps, ProTableInstance } from "@/components/ProTable/interface"; import { useDictStore } from "@/stores/modules"; import { FormOptEnum, SysDictEnum, MenuTypeDictEnum } from "@/enums"; +const faceUrl = ref(''); +const preViewvisible = ref(false); //是否显示人员表单 +const viewHeadImage = (scope: any) => { + faceUrl.value = scope.row.snapshotUrl; + preViewvisible.value = true + console.log(faceUrl); +}; +const previewhandleClose = () => { + preViewvisible.value = false; +}; const visible = ref(false); //是否显示表单 onMounted(() => { getWarnTypeList(); @@ -161,13 +177,7 @@ const columns: ColumnProps[] = [ label: "告警快照", render: scope => { return ( - { - window.open(scope.row.snapshotUrl, "_blank"); - }} - /> + viewHeadImage(scope)} style='width:50px;height:50px;' alt=''/> ); } },