diff --git a/src/components/CustomTable/src/baseTable.tsx b/src/components/CustomTable/src/baseTable.tsx
index 0737e76..5f01f7b 100644
--- a/src/components/CustomTable/src/baseTable.tsx
+++ b/src/components/CustomTable/src/baseTable.tsx
@@ -133,6 +133,14 @@ export default defineComponent({
visibleColumn: {
type: Boolean,
default: undefined
+ },
+
+ /**
+ * 固定分页器
+ */
+ isFixedPagination: {
+ type: Boolean,
+ default: true
}
// handleDel: {
@@ -383,7 +391,14 @@ export default defineComponent({
};
return (
-
diff --git a/src/layout/dataScreenIndex.vue b/src/layout/dataScreenIndex.vue
index 8f7d0e3..e5a749d 100644
--- a/src/layout/dataScreenIndex.vue
+++ b/src/layout/dataScreenIndex.vue
@@ -106,7 +106,7 @@ onMounted(() => {
});
onBeforeMount(() => {
- useDataThemeChange().dataThemeChange();
+ useDataThemeChange().setThemeByType("dark"); // 设置夜间主题
});
diff --git a/src/layout/hooks/useDataThemeChange.ts b/src/layout/hooks/useDataThemeChange.ts
index 6a08b6d..84149c6 100644
--- a/src/layout/hooks/useDataThemeChange.ts
+++ b/src/layout/hooks/useDataThemeChange.ts
@@ -94,6 +94,11 @@ export function useDataThemeChange() {
}
}
+ /**设置日间、夜间主题 */
+ function setThemeByType(themeType: string) {
+ document.documentElement.classList.add(themeType);
+ }
+
return {
body,
dataTheme,
@@ -101,6 +106,7 @@ export function useDataThemeChange() {
themeColors,
dataThemeChange,
setEpThemeColor,
- setLayoutThemeColor
+ setLayoutThemeColor,
+ setThemeByType
};
}
diff --git a/src/pages/dataScreen/app.scss b/src/pages/dataScreen/app.scss
new file mode 100644
index 0000000..e482214
--- /dev/null
+++ b/src/pages/dataScreen/app.scss
@@ -0,0 +1,17 @@
+// 标题
+// 标题样式1
+.ds_title_1 {
+ font-family: "DouyinSansBold";
+ font-weight: bold;
+ font-size: 28px;
+ line-height: 33px;
+ text-align: left;
+ font-style: normal;
+ text-transform: none;
+ background: linear-gradient(to bottom, #ffffff 15%, #3397f4 99%);
+ background-clip: text;
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+}
+
+$--el-text-color-regular: red;
diff --git a/src/pages/dataScreen/main.ts b/src/pages/dataScreen/main.ts
index e0b3add..cde2725 100644
--- a/src/pages/dataScreen/main.ts
+++ b/src/pages/dataScreen/main.ts
@@ -2,7 +2,7 @@
* @Author: donghao donghao@supervision.ltd
* @Date: 2024-02-22 14:04:38
* @LastEditors: donghao donghao@supervision.ltd
- * @LastEditTime: 2024-02-22 17:48:10
+ * @LastEditTime: 2024-02-27 10:04:19
* @FilePath: \General-AI-Platform-Web-Client\src\pages\dataScreen\main.ts
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -31,6 +31,7 @@ import "element-plus/dist/index.css";
// 导入字体图标
import "@/assets/iconfont/iconfont.js";
import "@/assets/iconfont/iconfont.css";
+import "./app.scss";
const app = createApp(App);
diff --git a/src/pages/dataScreen/router/modules/alarm.ts b/src/pages/dataScreen/router/modules/alarm.ts
index e5c77b8..4697e42 100644
--- a/src/pages/dataScreen/router/modules/alarm.ts
+++ b/src/pages/dataScreen/router/modules/alarm.ts
@@ -2,7 +2,7 @@
* @Author: donghao donghao@supervision.ltd
* @Date: 2024-02-23 11:00:08
* @LastEditors: donghao donghao@supervision.ltd
- * @LastEditTime: 2024-02-26 14:18:27
+ * @LastEditTime: 2024-02-26 17:23:22
* @FilePath: \General-AI-Platform-Web-Client\src\pages\dataScreen\router\modules\device.ts
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -16,6 +16,6 @@ export default {
rank: 5,
roles: ["admin", "common"]
},
- component: () => import("@/pages/dataScreen/views/device/deviceList.vue"),
+ component: () => import("@/pages/dataScreen/views/alarm/alarmInfoIndex.vue"),
name: "alarmInfo"
} as RouteConfigsTable;
diff --git a/src/pages/dataScreen/views/alarm/alarmInfoIndex.scss b/src/pages/dataScreen/views/alarm/alarmInfoIndex.scss
new file mode 100644
index 0000000..3ba0e08
--- /dev/null
+++ b/src/pages/dataScreen/views/alarm/alarmInfoIndex.scss
@@ -0,0 +1,6 @@
+.alarmInfoIndex_wrap {
+ padding: 32px;
+ .alarm_main_info {
+ height: 763px;
+ }
+}
diff --git a/src/pages/dataScreen/views/alarm/alarmInfoIndex.vue b/src/pages/dataScreen/views/alarm/alarmInfoIndex.vue
new file mode 100644
index 0000000..6d65162
--- /dev/null
+++ b/src/pages/dataScreen/views/alarm/alarmInfoIndex.vue
@@ -0,0 +1,310 @@
+
+
+
+
+
+
+
+
设备告警通知
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/dataScreen/views/alarmInfo/alarmInfoIndex.vue b/src/pages/dataScreen/views/alarmInfo/alarmInfoIndex.vue
deleted file mode 100644
index 2c41af7..0000000
--- a/src/pages/dataScreen/views/alarmInfo/alarmInfoIndex.vue
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- 告警通知
-
-
-
diff --git a/src/style/dark.scss b/src/style/dark.scss
index 5954983..4c970a6 100644
--- a/src/style/dark.scss
+++ b/src/style/dark.scss
@@ -139,3 +139,10 @@ html.dark {
}
}
}
+
+/* 深色系样式 */
+// 深色表单
+.ds_form {
+}
+
+// 深色列表
diff --git a/src/style/element-plus.scss b/src/style/element-plus.scss
index c83cd20..d0ee51d 100644
--- a/src/style/element-plus.scss
+++ b/src/style/element-plus.scss
@@ -172,6 +172,8 @@
/* 分页栏 */
.pagination_wrap {
+}
+.fixed_pagination {
width: calc(100% - 136px);
background-color: white;
z-index: 9;
@@ -183,6 +185,12 @@
bottom: 0;
padding: 20px 40px 40px;
}
+.noneFixed_pagination {
+ display: flex;
+ align-items: center;
+ justify-content: flex-end;
+ padding: 20px 0;
+}
/* table */