From e29b79b9b04f07e33785ce66b80562d27f8a0f94 Mon Sep 17 00:00:00 2001
From: wwp <782568523@qq.com>
Date: Wed, 17 Jul 2024 18:04:22 +0800
Subject: [PATCH] 111
---
.../views/practicalTraining/model/index.vue | 175 ++++++++++++++++++
.../src/views/sysconfig/push/index.vue | 128 +++++++++++++
SafeCampus.WEB/src/views/warn/zjrq/index.vue | 24 ++-
3 files changed, 320 insertions(+), 7 deletions(-)
create mode 100644 SafeCampus.WEB/src/views/practicalTraining/model/index.vue
create mode 100644 SafeCampus.WEB/src/views/sysconfig/push/index.vue
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 @@
+
+
+
+
+
+
+
+
+
+ 已部署
+ 未部署
+
+
+
+ {{
+ dictStore.dictTranslation(SysDictEnum.MENU_TYPE, MenuTypeDictEnum.MENU)
+ }}
+ {{
+ dictStore.dictTranslation(SysDictEnum.MENU_TYPE, MenuTypeDictEnum.LINK)
+ }}
+ {{ dictStore.dictTranslation(SysDictEnum.MENU_TYPE, scope.row.menuType) }}
+ 首页
+
+
+
+
+
+
+
+
+
+
\ 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=''/>
);
}
},