2022-05-04 13:50:40 +08:00
|
|
|
|
## 总览
|
2022-06-17 14:11:13 +08:00
|
|
|
|
|
2022-10-29 20:09:36 +08:00
|
|
|
|
<p align="center">
|
|
|
|
|
<img src="readme/logo-t-y.png" alt="go-view" />
|
|
|
|
|
</p>
|
2022-05-04 20:45:25 +08:00
|
|
|
|
|
2022-10-29 20:09:36 +08:00
|
|
|
|
<h4 align="center">开源、精美、便捷的「数据可视化」低代码开发平台</h4>
|
2022-06-10 16:27:34 +08:00
|
|
|
|
|
2022-10-29 20:09:36 +08:00
|
|
|
|
#### 😶 **纯前端** 分支: **`master`**
|
2022-06-10 16:27:34 +08:00
|
|
|
|
|
2022-10-29 20:09:36 +08:00
|
|
|
|
#### 👻 携带 **后端** 请求分支: **`master-fetch`**
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
2022-11-02 09:57:28 +08:00
|
|
|
|
#### 📚 GoView **文档** 地址:[https://www.mtruning.club/](https://www.mtruning.club/)
|
2022-06-26 15:11:52 +08:00
|
|
|
|
|
2022-11-02 19:46:19 +08:00
|
|
|
|
项目纯前端-Demo 地址:[https://vue.mtruning.club/](https://vue.mtruning.club/)
|
2022-05-31 11:36:26 +08:00
|
|
|
|
|
2022-11-02 19:46:19 +08:00
|
|
|
|
项目带后端-Demo 地址:[https://demo.mtruning.club/](https://demo.mtruning.club/)
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
2022-05-04 14:35:50 +08:00
|
|
|
|
文档-源码地址:[https://gitee.com/MTrun/go-view-doc](https://gitee.com/MTrun/go-view-doc)
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
2022-10-29 20:09:36 +08:00
|
|
|
|
#### 🤯 后端项目看这里!
|
2022-07-13 11:00:14 +08:00
|
|
|
|
|
2022-10-29 19:50:30 +08:00
|
|
|
|
后端项目 gitee 地址:[https://gitee.com/MTrun/go-view-serve](https://gitee.com/MTrun/go-view-serve)
|
2022-07-13 11:00:14 +08:00
|
|
|
|
|
|
|
|
|
接口说明地址:[https://docs.apipost.cn/preview/5aa85d10a59d66ce/ddb813732007ad2b?target_id=84dbc5b0-158f-4bcb-8f74-793ac604ada3#3e053622-1e76-43f9-a039-756aee822dbb](https://docs.apipost.cn/preview/5aa85d10a59d66ce/ddb813732007ad2b?target_id=84dbc5b0-158f-4bcb-8f74-793ac604ada3#3e053622-1e76-43f9-a039-756aee822dbb)
|
|
|
|
|
|
2022-11-10 18:10:58 +08:00
|
|
|
|
其它后端方案地址:
|
|
|
|
|
|
2022-11-10 18:13:19 +08:00
|
|
|
|
- 【.NET】[https://gitee.com/sun_xiang_yu/go-view-dotnet](https://gitee.com/sun_xiang_yu/go-view-dotnet)
|
2022-11-10 18:10:58 +08:00
|
|
|
|
|
|
|
|
|
#### 整体介绍
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
|
|
|
|
- 框架:基于 `Vue3` 框架编写,使用 `hooks` 写法抽离部分逻辑,使代码结构更加清晰;
|
|
|
|
|
|
|
|
|
|
- 类型:使用 `TypeScript` 进行类型约束,减少未知错误发生概率,可以大胆修改逻辑内容;
|
|
|
|
|
|
|
|
|
|
- 性能:多处性能优化,使用页面懒加载、组件动态注册、数据滚动加载等方式,提升页面渲染速度;
|
|
|
|
|
|
|
|
|
|
- 存储:拥有本地记忆,部分配置项采用 `storage` 存储本地,提升使用体验;
|
|
|
|
|
|
|
|
|
|
- 封装:项目进行了详细的工具类封装如:路由、存储、加/解密、文件处理、主题、NaiveUI 全局方法、组件等
|
|
|
|
|
|
2022-12-07 17:51:33 +08:00
|
|
|
|
#### 在 Cloud IDE 中预览
|
|
|
|
|
|
|
|
|
|
[https://idegitee.com/dromara/go-view](https://idegitee.com/dromara/go-view)
|
|
|
|
|
|
2022-11-05 18:19:33 +08:00
|
|
|
|
说明文档:
|
|
|
|
|
![说明文档](readme/go-view-doc.png)
|
|
|
|
|
|
2022-08-10 16:05:34 +08:00
|
|
|
|
工作台:
|
2022-11-05 18:19:33 +08:00
|
|
|
|
![工作台](readme/go-view-canvas.png)
|
2022-08-10 16:05:34 +08:00
|
|
|
|
|
|
|
|
|
请求配置:
|
2022-11-05 18:19:33 +08:00
|
|
|
|
![请求配置](readme/go-view-fetch.png)
|
2022-08-10 16:05:34 +08:00
|
|
|
|
|
|
|
|
|
数据过滤:
|
2022-11-05 18:19:33 +08:00
|
|
|
|
![数据过滤](readme/go-view-filter.png)
|
2022-08-10 16:05:34 +08:00
|
|
|
|
|
2022-10-29 19:50:30 +08:00
|
|
|
|
高级事件编辑:
|
|
|
|
|
![高级事件编辑](readme/go-view-event.png)
|
|
|
|
|
|
|
|
|
|
快捷主页:
|
2022-11-05 18:19:33 +08:00
|
|
|
|
![快捷主页](readme/go-view-indexpage.png)
|
2022-10-29 19:50:30 +08:00
|
|
|
|
|
2022-10-29 19:51:33 +08:00
|
|
|
|
主题色:
|
2022-11-05 18:19:33 +08:00
|
|
|
|
![主题色](readme/go-view-color.png)
|
2022-10-29 19:51:33 +08:00
|
|
|
|
|
2022-11-05 18:19:33 +08:00
|
|
|
|
亮白主题:
|
|
|
|
|
![亮白主题](readme/go-view-theme.png)
|
2022-10-29 19:50:30 +08:00
|
|
|
|
|
2022-05-04 20:45:25 +08:00
|
|
|
|
主要技术栈为:
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
|
|
|
|
| 名称 | 版本 | 名称 | 版本 |
|
|
|
|
|
| ------------------- | ----- | ----------- | ------ |
|
|
|
|
|
| Vue | 3.2.x | TypeScript4 | 4.6.x |
|
|
|
|
|
| Vite | 2.9.x | NaiveUI | 2.27.x |
|
|
|
|
|
| ECharts | 5.3.x | Pinia | 2.0.x |
|
2022-06-17 14:11:13 +08:00
|
|
|
|
| 详见 `package.json` | 😁 | 🥰 | 🤗 |
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
|
|
|
|
开发环境:
|
|
|
|
|
|
|
|
|
|
| 名称 | 版本 | 名称 | 版本 |
|
|
|
|
|
| ---- | ------- | ------- | ----- |
|
|
|
|
|
| node | 16.14.x | npm | 8.5.x |
|
2022-06-17 14:11:13 +08:00
|
|
|
|
| pnpm | 7.1.x | windows | 11 |
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
|
|
|
|
已完成图表:
|
|
|
|
|
|
2022-09-17 23:00:51 +08:00
|
|
|
|
| 分类 | 名称 | 名称 | 名称 | 名称 |
|
|
|
|
|
| ------ | ---------------- | ---------- | -------------- | ------------------------ |
|
|
|
|
|
| 图表 | 柱状图 | 横向柱状图 | 折线图 | 单/多 折线面积图(渐变色) |
|
|
|
|
|
| \* | 饼图 | 环形图 | 水球图 | 雷达图 |
|
|
|
|
|
| \* | NaiveUI 多种进度 | 散点图 | 对数回归散点图 | 热力图 |
|
2022-10-29 19:50:30 +08:00
|
|
|
|
| \* | 漏斗图 | 中国地图 | 高德地图 | 🦊 |
|
|
|
|
|
| 信息 | 文字 | 渐变文字 | 词云 | 嵌套网页 |
|
|
|
|
|
| \* | 图片 | 视频 | 😺 | 🐯 |
|
|
|
|
|
| 列表 | 滚动排名列表 | 滚动表格 | 🐮 | 🐐 |
|
2022-09-17 23:00:51 +08:00
|
|
|
|
| 小组件 | 边框-01~13 | 装饰-01~05 | 数字翻牌 | 通用时间 |
|
2022-10-29 19:50:30 +08:00
|
|
|
|
| \* | 数字计数 | 倒计时 | 时钟 | 🦁 |
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
|
|
|
|
## 浏览器支持
|
|
|
|
|
|
2022-05-12 11:20:36 +08:00
|
|
|
|
开发和测试平台均在 `Google` 和最新版 `EDGE` 上完成,暂未测试 `IE11` 等其它浏览器,如有需求请自行测试与兼容。
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
|
|
|
|
## 安装
|
|
|
|
|
|
2022-06-15 16:15:49 +08:00
|
|
|
|
本项目采用` pnpm` 进行包管理
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
|
|
|
|
```shell
|
2022-06-15 16:15:49 +08:00
|
|
|
|
#建议使用 nrm 切换到淘宝源 https://registry.npmmirror.com/
|
|
|
|
|
#pnpm
|
2022-05-04 13:50:40 +08:00
|
|
|
|
pnpm install
|
2022-06-15 16:15:49 +08:00
|
|
|
|
|
|
|
|
|
#yarn
|
|
|
|
|
yarn install
|
|
|
|
|
|
2022-12-09 16:11:47 +08:00
|
|
|
|
# 千万不要使用 npm 会报错
|
2022-05-04 13:50:40 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 启动
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
#pnpm
|
|
|
|
|
pnpm dev
|
|
|
|
|
|
|
|
|
|
#yarn
|
|
|
|
|
yarn dev
|
|
|
|
|
|
|
|
|
|
#Makefile
|
|
|
|
|
make dev
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 编译
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
#pnpm
|
|
|
|
|
pnpm run build
|
|
|
|
|
|
|
|
|
|
#yarn
|
|
|
|
|
yarn run build
|
|
|
|
|
|
|
|
|
|
#Makefile
|
|
|
|
|
make dist
|
|
|
|
|
|
|
|
|
|
```
|
2022-06-17 14:11:13 +08:00
|
|
|
|
|
2022-06-15 17:09:40 +08:00
|
|
|
|
## 代码提交
|
|
|
|
|
|
2022-06-17 14:11:13 +08:00
|
|
|
|
- feat: 新功能
|
|
|
|
|
- fix: 修复 Bug
|
|
|
|
|
- docs: 文档修改
|
|
|
|
|
- perf: 性能优化
|
|
|
|
|
- revert: 版本回退
|
|
|
|
|
- ci: CICD 集成相关
|
|
|
|
|
- test: 添加测试代码
|
|
|
|
|
- refactor: 代码重构
|
|
|
|
|
- build: 影响项目构建或依赖修改
|
|
|
|
|
- style: 不影响程序逻辑的代码修改
|
|
|
|
|
- chore: 不属于以上类型的其他类型(日常事务)
|
2022-05-04 13:50:40 +08:00
|
|
|
|
|
|
|
|
|
## 交流
|
|
|
|
|
|
2022-05-04 13:53:23 +08:00
|
|
|
|
QQ 群:1030129384
|
|
|
|
|
|
2022-08-10 16:05:34 +08:00
|
|
|
|
![QQ群](readme/go-view-qq.png)
|
2022-05-04 20:45:25 +08:00
|
|
|
|
|
2022-05-06 20:23:08 +08:00
|
|
|
|
![渲染海报](readme/logo-poster.png)
|