diff --git a/.codebuddy/.rules/my-rule.mdc b/.codebuddy/.rules/my-rule.mdc new file mode 100644 index 0000000..459875e --- /dev/null +++ b/.codebuddy/.rules/my-rule.mdc @@ -0,0 +1,32 @@ +1. 请保持对话语言为中文 +2. 我的系统为 Windows +3. 远程服务器为centos10 64位 +4. 项目文件夹结构为: + - docs 文档目录 + - admin-system 管理后台目录 + - mini-program 小程序app目录 + - backend 后端服务目录 + - website 官网目录 + - scripts 脚本目录 放置一些脚本,如: + - 数据库脚本 + - 部署脚本 + - 测试脚本 + - 运维脚本 +5. 整个项目入口文档为根目录下的readme.md,其他文档请放在docs目录下 +6. 请使用markdown格式编写文档,整个项目文档包括: + - 需求文档:整个项目需求文档.md 官网需求文档.md 后端管理需求文档.md 管理后台需求文档.md 小程序app需求文档.md + - 架构文档:整个项目的架构文档.md 后端架构文档.md 小程序架构文档.md 管理后台架构文档.md + - 详细设计文档: + - 数据库设计文档.md + - 管理后台接口设计文档.md + - 小程序app接口设计文档.md + - 开发文档: + - 后端开发文档.md 包含:细分到每个子任务的开发计划 + - 小程序app开发文档.md 包含:细分到每个子任务的开发计划 + - 管理后台开发文档.md 包含:细分到每个子任务的开发计划 + - 后端管理开发文档.md 包含:细分到每个子任务的开发计划 + - 测试文档.md + - 部署文档.md + - 运维文档.md + - 安全文档.md + - 用户手册文档.md \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c540741 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 智慧畜牧业小程序矩阵项目 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/PROJECT_PROGRESS.md b/PROJECT_PROGRESS.md deleted file mode 100644 index 2c35298..0000000 --- a/PROJECT_PROGRESS.md +++ /dev/null @@ -1,111 +0,0 @@ -# xlxumu项目进度跟踪 - -## 项目概述 -xlxumu是一个综合性的畜牧管理系统,旨在为畜牧业提供全面的数字化解决方案。该系统涵盖了从养殖管理、金融服务、政府监管到电商交易等各个环节。 - -## 总体进度:75% - -## 各模块进度详情 - -### 1. 前端开发 (90%) - -#### 1.1 管理后台系统 (95%) -- [x] 仪表板子系统 (dashboard) -- [x] 养殖管理子系统 (farming-management) -- [x] 牛只交易子系统 (cattle-trading) -- [x] 商城管理子系统 (mall-management) -- [x] 银行监管子系统 (bank-supervision) -- [x] 保险监管子系统 (insurance-supervision) -- [x] 政府平台子系统 (government-platform) - -#### 1.2 小程序端 (95%) -- [x] 养殖管理小程序 (farming-manager) -- [x] 牛只交易小程序 (cattle-trading) -- [x] 牛肉商城小程序 (beef-mall) -- [x] 银行监管小程序 (bank-supervision) -- [x] 保险监管小程序 (insurance-supervision) - -#### 1.3 官网 (100%) -- [x] 首页 -- [x] 新闻页面 -- [x] 数据展示页面 - -### 2. 后端开发 (60%) - -#### 2.1 Node.js版本 (70%) -- [x] 基础API服务 -- [x] 数据库连接 -- [x] 用户认证模块 -- [ ] 牛只档案管理API -- [ ] 金融服务监管API -- [ ] 交易管理API -- [ ] 商城管理API -- [ ] 政府监管API - -#### 2.2 Java版本 (50%) -- [x] 微服务架构搭建 -- [x] farming-service服务实现并运行 (端口: 8081) -- [x] user-center-service服务实现并运行 (端口: 8082) -- [x] 数据库集成配置 -- [x] 服务间通信机制 -- [ ] finance-service开发 -- [ ] government-service开发 -- [ ] trade-service开发 -- [ ] mall-service开发 -- [ ] data-platform-service开发 -- [ ] ai-service开发 -- [ ] 网关服务 (gateway) -- [ ] 配置服务器 (config-server) -- [ ] 服务注册中心 (registry) - -### 3. 文档完善 (70%) -- [x] 项目结构说明文档 -- [x] 各子系统需求文档 -- [x] 各子系统设计文档 -- [x] 各子系统开发计划 -- [ ] API文档完善 -- [ ] 部署文档 -- [ ] 运维文档 - -## 最近完成的工作 - -### Java后端架构完善 -1. 成功搭建Java版本后端微服务架构 -2. 实现并部署farming-service服务 (端口: 8081) -3. 实现并部署user-center-service服务 (端口: 8082) -4. 完善各服务的数据库配置 -5. 更新项目文档以反映Java版本后端的添加 - -### 文档更新 -1. 更新backend-java/README.md,详细说明Java后端架构和使用方法 -2. 更新项目根目录README.md,添加Java后端技术栈说明 -3. 更新PROJECT_STATUS_REPORT.md,反映最新的项目进度和状态 - -## 下一步工作计划 - -### 短期目标 (1-2周) -1. 完善Java版本其他微服务开发 - - finance-service - - government-service - - trade-service - - mall-service -2. 开发网关服务和配置中心 -3. 完善API文档 -4. 进行前后端联调测试 - -### 中期目标 (1个月) -1. 完成所有Java微服务开发 -2. 实现服务间通信机制 -3. 进行系统集成测试 -4. 完善部署和运维文档 - -### 长期目标 -1. 开发数据平台服务和AI能力服务 -2. 进行性能优化 -3. 准备生产环境部署 - -## 当前问题与风险 - -1. 微服务间通信机制需要进一步完善 -2. 部分文档需要及时更新以匹配代码实现 -3. 需要制定详细的部署和运维方案 \ No newline at end of file diff --git a/PROJECT_STATUS_REPORT.md b/PROJECT_STATUS_REPORT.md deleted file mode 100644 index ebcbade..0000000 --- a/PROJECT_STATUS_REPORT.md +++ /dev/null @@ -1,95 +0,0 @@ -# xlxumu项目状态报告 - -## 项目概述 -xlxumu是一个综合性的畜牧管理系统,旨在为畜牧业提供全面的数字化解决方案。该系统涵盖了从养殖管理、金融服务、政府监管到电商交易等各个环节。 - -## 当前进度 - -### 已完成模块 - -#### 前端部分 -1. **管理后台系统** - - 仪表板子系统 (dashboard) - - 养殖管理子系统 (farming-management) - - 牛只交易子系统 (cattle-trading) - - 商城管理子系统 (mall-management) - - 银行监管子系统 (bank-supervision) - - 保险监管子系统 (insurance-supervision) - - 政府平台子系统 (government-platform) - -2. **小程序端** - - 养殖管理小程序 (farming-manager) - - 牛只交易小程序 (cattle-trading) - - 牛肉商城小程序 (beef-mall) - - 银行监管小程序 (bank-supervision) - - 保险监管小程序 (insurance-supervision) - -3. **官网** - - 首页、新闻、数据展示等页面 - -#### 后端部分 -1. **Node.js版本** - - 基础API服务 - - 数据库连接 - - 用户认证模块 - -2. **Java版本** (新增) - - 微服务架构搭建 - - farming-service服务实现并运行 (端口: 8081) - - user-center-service服务实现并运行 (端口: 8082) - - 数据库集成配置 - - 服务间通信机制 - -### 开发中模块 -1. Java版本其他微服务开发 (finance-service, government-service等) -2. 后端API文档完善 -3. 前后端联调测试 - -### 待开发模块 -1. 数据平台服务 (data-platform-service) -2. AI能力服务 (ai-service) -3. 网关服务 (gateway) -4. 配置服务器 (config-server) -5. 服务注册中心 (registry) -6. 部分前端功能完善 -7. 系统集成测试 - -## 技术架构更新 - -### 新增Java后端技术栈 -- Java 8+ + Spring Boot 2.7.x -- Spring Cloud 2021.x -- Maven 3.8.x -- MySQL 8.0 - -### 微服务端口分配 -| 服务名称 | 端口 | 状态 | -|---------|------|------| -| farming-service | 8081 | 运行中 | -| user-center-service | 8082 | 运行中 | -| finance-service | 8083 | 开发中 | -| government-service | 8084 | 待开发 | -| trade-service | 8085 | 待开发 | -| mall-service | 8086 | 待开发 | -| data-platform-service | 8087 | 待开发 | -| ai-service | 8088 | 待开发 | -| gateway | 8000 | 待开发 | -| registry | 8761 | 待开发 | -| config-server | 8888 | 待开发 | - -## 下一步计划 -1. 完善Java版本其他微服务开发 -2. 实现服务间通信机制 -3. 开发网关服务和配置中心 -4. 进行前后端联调测试 -5. 完善API文档 -6. 进行系统集成测试 - -## 问题与风险 -1. 微服务间通信机制需要进一步完善 -2. 部分文档需要及时更新以匹配代码实现 -3. 需要制定详细的部署和运维方案 -4. 团队需要适应新的Java技术栈 - -## 总结 -项目整体进展顺利,已成功实现Java版本后端基础架构,并完成两个核心微服务的开发和部署。前端各子系统也已基本完成,为后续的系统集成测试奠定了良好基础。随着Java微服务架构的逐步完善,项目的技术基础更加稳固,为后续功能开发提供了更好的支撑。 \ No newline at end of file diff --git a/README.md b/README.md index f80bcd2..9313b42 100644 --- a/README.md +++ b/README.md @@ -1,117 +1,205 @@ -# xlxumu - 畜牧管理系统 +# 畜牧养殖管理平台 ## 项目概述 -xlxumu是一个综合性的畜牧管理系统,旨在为畜牧业提供全面的数字化解决方案。该系统涵盖了从养殖管理、金融服务、政府监管到电商交易等各个环节,通过现代化的技术架构和用户友好的界面设计,提升畜牧业的管理效率和经济效益。 +畜牧养殖管理平台是一个综合性的数字化养殖管理解决方案,旨在通过现代化的信息技术手段,为养殖户、管理机构、金融机构等提供全方位的养殖管理服务。 -## 技术架构 +### 核心功能 -项目采用前后端分离的架构设计,包含多个技术栈: +- **养殖管理**:动物档案管理、健康监控、饲料管理、疫苗接种记录 +- **交易平台**:牲畜交易、价格监控、订单管理、物流跟踪 +- **金融服务**:保险管理、贷款申请、风险评估、资金监管 +- **数据分析**:养殖数据统计、市场分析、趋势预测、决策支持 +- **政府监管**:养殖场备案、疫情监控、食品安全追溯、政策发布 -### 前端技术栈 +### 技术架构 -1. **管理后台系统** (admin-system) - - React + Vite - - Ant Design Pro - - TypeScript - -2. **小程序端** (mini_program) - - 微信小程序原生开发 - - WXML + WXSS + JavaScript - -3. **官网** (website) - - HTML5 + CSS3 + JavaScript - -### 后端技术栈 - -1. **Node.js版本** (backend) - - Node.js + Express - - MySQL - -2. **Java版本** (backend-java) - - Java 8+ + Spring Boot 2.7.x - - Spring Cloud 2021.x - - MySQL 8.0 +- **前端技术**:Vue.js 3 + Element Plus + Vite +- **小程序**:微信小程序原生开发 +- **后端技术**:Node.js + Express / Python + FastAPI +- **数据库**:MySQL + Redis + MongoDB +- **部署方案**:Docker + Nginx + 云服务器 ## 项目结构 ``` xlxumu/ -├── admin-system/ # 管理后台系统 -│ ├── bank-supervision/ # 银行监管子系统 -│ ├── cattle-trading/ # 牛只交易子系统 -│ ├── dashboard/ # 仪表板子系统 -│ ├── farming-management/ # 养殖管理子系统 -│ ├── government-platform/ # 政府平台子系统 -│ ├── insurance-supervision/ # 保险监管子系统 -│ └── mall-management/ # 商城管理子系统 -├── backend/ # Node.js后端服务 -├── backend-java/ # Java后端服务 -├── mini_program/ # 微信小程序 -│ ├── bank-supervision/ # 银行监管小程序 -│ ├── beef-mall/ # 牛肉商城小程序 -│ ├── cattle-trading/ # 牛只交易小程序 -│ ├── farming-manager/ # 养殖管理小程序 -│ └── insurance-supervision/ # 保险监管小程序 -├── website/ # 官网 -└── docs/ # 项目文档 +├── README.md # 项目入口文档 +├── docs/ # 文档目录 +│ ├── requirements/ # 需求文档 +│ ├── architecture/ # 架构文档 +│ ├── design/ # 详细设计文档 +│ ├── development/ # 开发文档 +│ └── operations/ # 运维文档 +├── admin-system/ # 管理后台系统 +│ ├── dashboard/ # 数据看板 +│ ├── farming-management/ # 养殖管理 +│ ├── cattle-trading/ # 牲畜交易 +│ ├── bank-supervision/ # 银行监管 +│ ├── insurance-supervision/ # 保险监管 +│ ├── government-platform/ # 政府平台 +│ └── mall-management/ # 商城管理 +├── mini_program/ # 小程序应用 +│ ├── farming-manager/ # 养殖管理小程序 +│ ├── cattle-trading/ # 交易平台小程序 +│ ├── beef-mall/ # 牛肉商城小程序 +│ ├── bank-supervision/ # 银行监管小程序 +│ └── insurance-supervision/ # 保险监管小程序 +├── backend/ # 后端服务 +│ ├── api/ # API服务 +│ ├── database/ # 数据库管理 +│ ├── services/ # 业务服务 +│ └── utils/ # 工具类 +├── website/ # 官方网站 +├── scripts/ # 脚本工具 +└── deployment/ # 部署配置 ``` ## 快速开始 -### 前端项目启动 +### 环境要求 -1. **管理后台系统** +- Node.js 16+ +- Python 3.9+ +- MySQL 8.0+ +- Redis 6.0+ +- Docker & Docker Compose + +### 安装步骤 + +1. **克隆项目** ```bash + git clone https://github.com/your-org/xlxumu.git + cd xlxumu + ``` + +2. **安装依赖** + ```bash + # 安装前端依赖 cd admin-system/dashboard npm install + + # 安装后端依赖 + cd ../../backend/api + npm install + ``` + +3. **配置环境** + ```bash + # 复制环境配置文件 + cp backend/api/.env.example backend/api/.env + # 编辑配置文件,填入数据库等配置信息 + ``` + +4. **初始化数据库** + ```bash + cd backend/database + npm run setup + ``` + +5. **启动服务** + ```bash + # 启动后端服务 + cd backend/api + npm run dev + + # 启动前端服务 + cd admin-system/dashboard npm run dev ``` -2. **微信小程序** - 使用微信开发者工具打开对应的小程序目录 +### Docker 部署 -3. **官网** - 直接在浏览器中打开website/index.html文件 - -### 后端服务启动 - -#### Node.js版本 ```bash -cd backend -npm install -npm start +# 使用 Docker Compose 一键启动 +docker-compose up -d + +# 查看服务状态 +docker-compose ps ``` -#### Java版本 -```bash -cd backend-java -mvn clean install -``` +## 文档导航 -然后分别启动各个微服务: -```bash -# 启动farming-service -cd backend-java/services/farming-service -mvn spring-boot:run +### 📋 需求文档 +- [整个项目需求文档](docs/requirements/整个项目需求文档.md) - 项目整体需求概述 +- [官网需求文档](docs/requirements/官网需求文档.md) - 官方网站功能需求 +- [后端管理需求文档](docs/requirements/后端管理需求文档.md) - 后端管理系统需求 +- [管理后台需求文档](docs/requirements/管理后台需求文档.md) - 管理后台功能需求 +- [小程序app需求文档](docs/requirements/小程序app需求文档.md) - 小程序应用需求 -# 启动user-center-service -cd backend-java/services/user-center-service -mvn spring-boot:run -``` +### 🏗️ 架构文档 +- [整个项目的架构文档](docs/architecture/整个项目的架构文档.md) - 系统整体架构设计 +- [后端架构文档](docs/architecture/后端架构文档.md) - 后端服务架构 +- [小程序架构文档](docs/architecture/小程序架构文档.md) - 小程序技术架构 +- [管理后台架构文档](docs/architecture/管理后台架构文档.md) - 管理后台架构 -## 文档 +### 📐 详细设计文档 +- [数据库设计文档](docs/design/数据库设计文档.md) - 数据库表结构设计 +- [管理后台接口设计文档](docs/design/管理后台接口设计文档.md) - 管理后台API设计 +- [小程序app接口设计文档](docs/design/小程序app接口设计文档.md) - 小程序API设计 -详细的项目文档位于`docs/`目录下,包括: -- 需求文档 -- 设计文档 -- API文档 -- 开发计划 +### 👨‍💻 开发文档 +- [后端开发文档](docs/development/后端开发文档.md) - 后端开发指南 +- [后端管理开发文档](docs/development/后端管理开发文档.md) - 后端管理系统开发 +- [小程序app开发文档](docs/development/小程序app开发文档.md) - 小程序开发指南 +- [管理后台开发文档](docs/development/管理后台开发文档.md) - 管理后台开发指南 -## 贡献 +### 🛠️ 运维文档 +- [测试文档](docs/operations/测试文档.md) - 测试策略和用例 +- [部署文档](docs/operations/部署文档.md) - 部署指南和配置 +- [运维文档](docs/operations/运维文档.md) - 运维操作和监控 +- [安全文档](docs/operations/安全文档.md) - 安全策略和防护 +- [用户手册文档](docs/operations/用户手册文档.md) - 用户操作指南 -欢迎提交Issue和Pull Request来改进本项目。 +## 开发团队 + +### 项目角色分工 + +- **项目经理**:项目整体规划和进度管控 +- **产品经理**:需求分析和产品设计 +- **架构师**:系统架构设计和技术选型 +- **前端开发**:管理后台和官网开发 +- **小程序开发**:微信小程序开发 +- **后端开发**:API服务和数据库设计 +- **测试工程师**:功能测试和性能测试 +- **运维工程师**:部署和运维管理 + +### 开发规范 + +- **代码规范**:遵循ESLint和Prettier配置 +- **Git规范**:使用Git Flow工作流 +- **API规范**:遵循RESTful设计原则 +- **文档规范**:使用Markdown格式编写 + +## 部署环境 + +### 开发环境 +- **地址**:http://dev.xlxumu.com +- **数据库**:开发环境数据库 +- **用途**:日常开发和功能测试 + +### 测试环境 +- **地址**:http://test.xlxumu.com +- **数据库**:测试环境数据库 +- **用途**:集成测试和用户验收测试 + +### 生产环境 +- **地址**:https://www.xlxumu.com +- **数据库**:生产环境数据库 +- **用途**:正式运营环境 + +## 联系方式 + +- **项目仓库**:https://github.com/your-org/xlxumu +- **问题反馈**:https://github.com/your-org/xlxumu/issues +- **技术支持**:tech-support@xlxumu.com +- **商务合作**:business@xlxumu.com ## 许可证 -[MIT License](LICENSE) \ No newline at end of file +本项目采用 [MIT License](LICENSE) 开源协议。 + +--- + +**最后更新**:2024年12月 +**文档版本**:v1.0.0 \ No newline at end of file diff --git a/admin-system/dashboard/package-lock.json b/admin-system/dashboard/package-lock.json index 01d4d29..bbff721 100644 --- a/admin-system/dashboard/package-lock.json +++ b/admin-system/dashboard/package-lock.json @@ -9,11 +9,13 @@ "version": "0.0.0", "dependencies": { "@amap/amap-jsapi-loader": "^1.0.1", + "@element-plus/icons-vue": "^2.3.2", "@jiaminghi/data-view": "^2.10.0", "@turf/turf": "^7.2.0", "ant-design-vue": "^3.2.20", "axios": "^1.11.0", "echarts": "^5.4.2", + "element-plus": "^2.11.3", "pinia": "^2.0.33", "three": "^0.179.1", "vue": "^3.2.45", @@ -118,6 +120,15 @@ "node": ">=10" } }, + "node_modules/@element-plus/icons-vue": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/@element-plus/icons-vue/-/icons-vue-2.3.2.tgz", + "integrity": "sha512-OzIuTaIfC8QXEPmJvB4Y4kw34rSXdCJzxcD1kFStBvr8bK6X1zQAYDo0CNMjojnfTqRQCJ0I7prlErcoRiET2A==", + "license": "MIT", + "peerDependencies": { + "vue": "^3.2.0" + } + }, "node_modules/@esbuild/android-arm": { "version": "0.18.20", "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.18.20.tgz", @@ -492,6 +503,31 @@ "node": ">=12" } }, + "node_modules/@floating-ui/core": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.3.tgz", + "integrity": "sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.10" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.4.tgz", + "integrity": "sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.7.3", + "@floating-ui/utils": "^0.2.10" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.10.tgz", + "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==", + "license": "MIT" + }, "node_modules/@jiaminghi/bezier-curve": { "version": "0.0.9", "resolved": "https://registry.npmmirror.com/@jiaminghi/bezier-curve/-/bezier-curve-0.0.9.tgz", @@ -553,6 +589,17 @@ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==" }, + "node_modules/@popperjs/core": { + "name": "@sxzz/popperjs-es", + "version": "2.11.7", + "resolved": "https://registry.npmjs.org/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz", + "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, "node_modules/@simonwep/pickr": { "version": "1.8.2", "resolved": "https://registry.npmmirror.com/@simonwep/pickr/-/pickr-1.8.2.tgz", @@ -3226,6 +3273,27 @@ "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==", "license": "MIT" }, + "node_modules/@types/lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==", + "license": "MIT" + }, + "node_modules/@types/lodash-es": { + "version": "4.17.12", + "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.12.tgz", + "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==", + "license": "MIT", + "dependencies": { + "@types/lodash": "*" + } + }, + "node_modules/@types/web-bluetooth": { + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz", + "integrity": "sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==", + "license": "MIT" + }, "node_modules/@vitejs/plugin-vue": { "version": "4.6.2", "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-4.6.2.tgz", @@ -3336,6 +3404,42 @@ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.18.tgz", "integrity": "sha512-cZy8Dq+uuIXbxCZpuLd2GJdeSO/lIzIspC2WtkqIpje5QyFbvLaI5wZtdUjLHjGZrlVX6GilejatWwVYYRc8tA==" }, + "node_modules/@vueuse/core": { + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-9.13.0.tgz", + "integrity": "sha512-pujnclbeHWxxPRqXWmdkKV5OX4Wk4YeK7wusHqRwU0Q7EFusHoqNA/aPhB6KCh9hEqJkLAJo7bb0Lh9b+OIVzw==", + "license": "MIT", + "dependencies": { + "@types/web-bluetooth": "^0.0.16", + "@vueuse/metadata": "9.13.0", + "@vueuse/shared": "9.13.0", + "vue-demi": "*" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@vueuse/metadata": { + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-9.13.0.tgz", + "integrity": "sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@vueuse/shared": { + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-9.13.0.tgz", + "integrity": "sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==", + "license": "MIT", + "dependencies": { + "vue-demi": "*" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, "node_modules/ant-design-vue": { "version": "3.2.20", "resolved": "https://registry.npmmirror.com/ant-design-vue/-/ant-design-vue-3.2.20.tgz", @@ -3552,6 +3656,32 @@ "zrender": "5.6.1" } }, + "node_modules/element-plus": { + "version": "2.11.3", + "resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.11.3.tgz", + "integrity": "sha512-769xsjLR4B9Vf9cl5PDXnwTEdmFJvMgAkYtthdJKPhjVjU3hdAwTJ+gXKiO+PUyo2KWFwOYKZd4Ywh6PHfkbJg==", + "license": "MIT", + "dependencies": { + "@ctrl/tinycolor": "^3.4.1", + "@element-plus/icons-vue": "^2.3.1", + "@floating-ui/dom": "^1.0.1", + "@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7", + "@types/lodash": "^4.14.182", + "@types/lodash-es": "^4.17.6", + "@vueuse/core": "^9.1.0", + "async-validator": "^4.2.5", + "dayjs": "^1.11.13", + "escape-html": "^1.0.3", + "lodash": "^4.17.21", + "lodash-es": "^4.17.21", + "lodash-unified": "^1.0.2", + "memoize-one": "^6.0.0", + "normalize-wheel-es": "^1.2.0" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, "node_modules/entities": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", @@ -3646,6 +3776,12 @@ "@esbuild/win32-x64": "0.18.20" } }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, "node_modules/estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", @@ -3874,6 +4010,17 @@ "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", "license": "MIT" }, + "node_modules/lodash-unified": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/lodash-unified/-/lodash-unified-1.0.3.tgz", + "integrity": "sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==", + "license": "MIT", + "peerDependencies": { + "@types/lodash-es": "*", + "lodash": "*", + "lodash-es": "*" + } + }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz", @@ -3909,6 +4056,12 @@ "node": ">= 0.4" } }, + "node_modules/memoize-one": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz", + "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==", + "license": "MIT" + }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz", @@ -3953,6 +4106,12 @@ "integrity": "sha512-NzOgmMQ+elxxHeIha+OG/Pv3Oc3p4RU2aBhwWwAqDpXrdTbtRylbRLQztLy8dMMwfl6pclznBdfUhccEn9ZIzw==", "license": "MIT" }, + "node_modules/normalize-wheel-es": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz", + "integrity": "sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==", + "license": "BSD-3-Clause" + }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", diff --git a/admin-system/dashboard/package.json b/admin-system/dashboard/package.json index ed04878..47ee90b 100644 --- a/admin-system/dashboard/package.json +++ b/admin-system/dashboard/package.json @@ -10,11 +10,13 @@ }, "dependencies": { "@amap/amap-jsapi-loader": "^1.0.1", + "@element-plus/icons-vue": "^2.3.2", "@jiaminghi/data-view": "^2.10.0", "@turf/turf": "^7.2.0", "ant-design-vue": "^3.2.20", "axios": "^1.11.0", "echarts": "^5.4.2", + "element-plus": "^2.11.3", "pinia": "^2.0.33", "three": "^0.179.1", "vue": "^3.2.45", diff --git a/admin-system/dashboard/src/App.vue b/admin-system/dashboard/src/App.vue index 77894c5..2b9a447 100644 --- a/admin-system/dashboard/src/App.vue +++ b/admin-system/dashboard/src/App.vue @@ -5,6 +5,14 @@