feat(web): 新增预测管理和策略表单功能

- 添加预测管理页面和相关组件
- 实现策略表单组件,支持创建和编辑策略
- 优化表格组件,增加分页和数据加载功能
- 调整视频监控组件布局
- 修复部分组件样式问题
This commit is contained in:
zhoumengru
2025-09-04 13:42:48 +08:00
parent 6d6d05e18f
commit 5f5eeb1cbf
22 changed files with 1548 additions and 312 deletions

View File

@@ -1,39 +1,14 @@
const copyRight =
'Copyright © 2016-2024 Jiangsu YuHong.All Rights Reserved.江苏禹弘科技有限公司 版权所有'
const companyName1 = '江苏禹弘科技有限公司'
const copyRight1 = 'Copyright © 2016 - 2024'
const themeColor = {
'--theme-bg-default': { light: '#fff', dark: '#111111' },
'--theme-bg': { light: '#eceff4', dark: '#2c2c2c' },
'--theme-bg1': { light: '#065758', dark: '#065758' },
'--theme-bg2': { light: '#0657584d', dark: '#CDDDDE' },
'--theme-bg3': { light: '#00968826', dark: '#00968826' },
'--theme-bg4': { light: 'rgba(6, 87, 88, 0.75)', dark: 'rgba(6, 87, 88, 0.75)' },
// 字体颜色
'--theme-text-default': { light: '#000000', dark: '#ffffff' },
'--theme-text': { light: '#065758', dark: '#065758' },
'--theme-text1': { light: 'rgba(0,0,0,0.5)', dark: '#040909FF' },
'--theme-text2': { light: '#ffffff', dark: '#ffffff' },
'--theme-text3': { light: 'rgba(0,0,0,0.5)', dark: 'rgba(255,255,255,0.5)' },
'--theme-text4': { light: 'rgba(0,0,0,0.75)', dark: 'rgba(255,255,255,0.75)' },
'--theme-text5': { light: 'rgba(0,0,0,0.65)', dark: 'rgba(255,255,255,0.65)' },
'--theme-text6': { light: 'rgba(0,0,0,0.3)', dark: 'rgba(255,255,255,0.3)' }, // placeholder颜色
// 按钮颜色
'--theme-btn1': { light: '#FF921B', dark: '#FF921B' },
'--theme-btn2': { light: '#ca4d2a', dark: '#ca4d2a' },
'--theme-btn3': { light: '#065758', dark: '#065758' },
// 阴影颜色
'--shadow-color1': { light: '#0657584d', dark: '#065758a6' },
'--shadow-color': { light: 'rgba(0, 0, 0, 0.25)', dark: 'rgba(255, 255, 255, 0.25)' },
// 表格颜色
'--table-header-bg': { light: '#5d9292', dark: '#065253' }, // 65%
'--table-tag': { light: '#D6DEEB', dark: '#D6DEEB' },
'--theme-opert-bg': { light: '#FFFFFF', dark: '#2c2c2c' },
'--table-select': { light: '#c4d4d9', dark: '#384846' }
}
export { copyRight, copyRight1, themeColor, companyName1 }
export const policyTypes = [
{
value: 1,
label: '削峰套利'
},
{
value: 2,
label: '需求响应'
},
{
value: 3,
label: '自发自用'
}
]