pre-warning-system/README.md

68 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 预警系统 (pre-warning-system)
基于Vue 3 + Vite构建的仓库预警管理系统提供实时监控、数据可视化和异常预警功能。
## 功能特点
- 实时数据监控仪表盘
- 多维度数据可视化图表
- 异常事件预警与通知
- 历史数据查询与分析
- 用户权限管理
## 技术栈
<!-- - **前端框架**: Vue 3 Composition API + <script setup> -->
- **构建工具**: Vite
- **路由管理**: Vue Router
- **状态管理**: Vuex
- **UI组件**: element-plus (v2.10.1) 和 tdesign-vue-next (v1.13.2)
- **图表可视化**: echarts (v5.6.0) 和 @antv/g6 (v4.8.24)
## 项目结构
```
/src
/views # 页面组件
/components # 通用组件
/router # 路由配置
/store # 状态管理
/assets # 静态资源
/escel # 数据文件
```
## 安装与启动
### 环境要求
- Node.js 14.0.0+
- npm 6.0.0+ 或 yarn 1.22.0+
### 安装依赖
```bash
npm install
# 或
yarn install
```
### 开发环境启动
```bash
npm run dev
# 或
yarn dev
```
### 生产环境构建
```bash
npm run build
# 或
yarn build
```
## 配置说明
系统配置文件位于 `src/config` 目录下可根据实际需求修改API地址、预警阈值等参数。
## 数据导入
1. 将数据文件放入 `/escel` 目录
2. 在系统设置中选择导入对应文件
3. 系统将自动解析并更新数据库
## 许可证
[MIT](LICENSE)