91 Commits

Author SHA1 Message Date
dhr
b6fabc0c4c 1011 2025-10-11 09:59:06 +08:00
dhr
0022ca0d01 0930 2025-09-30 17:57:19 +08:00
dhr
fe0ffbdf11 0929 2025-09-29 19:56:24 +08:00
dhr
7645cba791 0929 2025-09-29 18:49:04 +08:00
dhr
f58efb0e08 0929 2025-09-29 17:17:42 +08:00
dhr
db9e2e55ea 0929 2025-09-29 15:18:50 +08:00
dhr
6079814962 0928 2025-09-28 20:12:49 +08:00
Teo
fd4e05a802 Merge branch 'tcy' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system 2025-09-28 19:00:18 +08:00
tcy
af65455d33 style(dzt.vue): 调整已完成文本的字体大小以改善显示效果 2025-09-28 18:59:14 +08:00
Teo
d1c090b855 Merge branch 'ljx' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system 2025-09-28 18:58:57 +08:00
ljx
ed25998d61 修改 2025-09-28 18:58:39 +08:00
Teo
6003bcbe32 Merge branch 'dhr' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system 2025-09-28 18:55:19 +08:00
dhr
8cd3ed3f8c 0928 2025-09-28 18:54:52 +08:00
Teo
16003cff02 Merge branch 'tcy' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system 2025-09-28 18:54:20 +08:00
Teo
e9a60e978f 合并 2025-09-28 18:54:18 +08:00
tcy
63d17eea3c fix: 更新开发环境API地址并调整系统图文字大小
调整系统图中所有文字元素的字体大小以改善显示效果
2025-09-28 18:36:26 +08:00
dhr
9407ad5446 0928 2025-09-28 18:03:50 +08:00
dhr
3606ab7cf8 0928 2025-09-28 17:31:02 +08:00
Teo
11f9433ba7 合并 2025-09-28 17:29:25 +08:00
Teo
b6ec72acee Merge branch 'lx' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system 2025-09-28 17:28:16 +08:00
Teo
3fa5b39fc3 Merge branch 'dhr' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system 2025-09-28 17:27:19 +08:00
dhr
4a31c7d028 0928 2025-09-28 17:23:00 +08:00
ljx
744b7a6d97 提交 2025-09-28 17:19:42 +08:00
dhr
3f07f7afe3 0926 2025-09-26 20:32:14 +08:00
086b52f88f 采购管理: 新增采购计划相关功能及组件
文件上传: 增加拖拽上传功能并优化组件逻辑
库存管理: 移除表格固定高度以改善显示效果
采购计划: 添加类型定义文件及接口文档
2025-09-26 20:05:38 +08:00
dd32d930d7 feat(物资管理): 新增备品配件和出入库单管理功能
实现备品配件管理模块,包括列表展示、搜索、新增、编辑、删除功能
完成出入库单管理功能,支持单据类型切换、搜索筛选和增删改查操作
添加数据统计图表展示出入库情况
优化表单验证和错误处理逻辑
2025-09-25 20:03:45 +08:00
dhr
6b9bfb66b1 0925 2025-09-25 20:03:08 +08:00
d626d72d43 feat: 更新物料管理模块功能
1. 新增采购计划草稿存储功能
2. 优化出入库单和备件管理界面
3. 完善表单验证和交互逻辑
4. 调整表格列对齐方式
5. 移除冗余的审批备注字段
ps:出入口页面未完成
2025-09-24 20:06:58 +08:00
tcy
33831ecad3 fix: 修复分页请求和预置点添加功能
在spjk.vue中添加isflow参数确保分页请求正确
在presetAdd.vue中使用ElLoading替代原有loading实现更好的用户体验
2025-09-24 20:04:56 +08:00
tcy
d68f537537 Merge branch 'lx' of http://xny.yj-3d.com:3000/taoge_xiaodi/maintenance_system into tcy 2025-09-24 17:53:36 +08:00
tcy
b7c716509d fix(devicePreset): 修改删除预置位接口参数及调用方式
refactor(securitySurveillance): 添加项目ID参数到监控列表请求
style(camera): 注释掉未使用的设备操作按钮代码
2025-09-24 17:52:51 +08:00
dhr
9913a7854c 0924 2025-09-24 16:37:09 +08:00
tcy
64c538775f feat(securitySurveillance): 实现首页大屏数据展示和设备状态动态更新
- 新增获取首页大屏数据的API接口
- 在安全监控页面添加数据获取逻辑并传递给子组件
- 更新设备状态组件显示实时在线/离线数据
- 优化视频监控组件播放器初始化和销毁逻辑
- 调整API接口路径和参数格式
- 移除无用代码和注释
2025-09-24 16:31:18 +08:00
bab5b8a856 Merge branch 'tcy' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system into lx 2025-09-24 10:41:30 +08:00
tcy
4163b11d3d feat(视频监控): 新增摄像头预置位管理和视频监控功能
新增摄像头预置位管理功能,包括添加、修改、删除和调用预置位
实现视频监控页面,支持扩展视图和普通视图切换
添加获取摄像头列表接口,优化视频播放器初始化逻辑
完善分页功能,根据视图类型动态调整请求数量
2025-09-23 20:37:04 +08:00
dhr
80cca114a9 0922 2025-09-23 20:36:47 +08:00
30f5941202 排班管理接口对接 2025-09-23 20:15:50 +08:00
tcy
f79eecd247 Merge branch 'lx' of http://xny.yj-3d.com:3000/taoge_xiaodi/maintenance_system into tcy 2025-09-23 17:48:57 +08:00
tcy
bbca5c8961 feat(视频监控): 实现萤石云视频播放功能并优化布局交互
- 添加ezuikit-js依赖用于视频播放
- 实现视频播放器初始化、销毁和切换逻辑
- 优化视频布局交互,支持扩展/普通视图切换
- 添加视频控制按钮和悬停效果
- 更新开发环境API地址
2025-09-23 17:38:52 +08:00
ljx
033c6bcbfa 大屏 2025-09-23 15:17:35 +08:00
tcy
31c1732af5 feat: 优化UI组件样式和交互逻辑
- 为对话框添加背景图片并调整布局
- 修改视频监控组件的小视频切换逻辑
- 调整天气卡片样式增加内边距和背景
- 修复视频监控组件展开/收起状态判断
- 为安全监控页面添加顶部间距
2025-09-23 10:50:47 +08:00
07c5dcde11 1.新增排班时间管理页面及其对接接口
2.对接排班人员列表接口
3.修改部分样式
2025-09-22 20:47:13 +08:00
tcy
6d960a1fc7 feat(站点概览): 添加状态和告警自定义弹窗组件
refactor(样式): 重构弹窗样式并分离状态和告警样式
style: 调整页面间距和布局
2025-09-22 19:47:06 +08:00
bc158f9bd5 Merge branch 'master' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system into lx 2025-09-22 17:54:44 +08:00
Teo
84b2a05e3c 角色管理新增部门列表 2025-09-22 17:50:22 +08:00
tcy
c027533d4f feat(对话框样式): 重构对话框样式并添加详细信息展示
- 调整对话框布局和样式,增加顶部对齐
- 添加设备状态、运行信息等详细展示区域
- 实现不同状态的颜色区分显示
- 默认隐藏对话框,改为点击触发显示
2025-09-22 16:49:50 +08:00
bf44c0c34d Merge branch 'tcy' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system into lx 2025-09-22 16:16:30 +08:00
f0609716bc 1.完成生产管理-电量分析静态界面
2.完成综合管理-人员排班管理交互
3.修改部分逻辑和样式
2025-09-22 16:15:50 +08:00
tcy
31cf862392 Merge branch 'dhr' of http://xny.yj-3d.com:3000/taoge_xiaodi/maintenance_system into tcy 2025-09-22 15:42:36 +08:00
tcy
29be0d8e51 Merge branch 'lx' of http://xny.yj-3d.com:3000/taoge_xiaodi/maintenance_system into tcy 2025-09-22 15:42:15 +08:00
dhr
fc3abeb4c0 0922 2025-09-22 15:42:13 +08:00
tcy
e6aa2cb5a0 feat(逆变器状态): 添加自定义对话框并优化布局
添加自定义对话框组件用于显示逆变器状态详情,包含背景渐变和图片展示。优化栅格布局结构,使用el-col组件规范间距。将对话框样式抽离到独立scss文件以便维护。
2025-09-22 15:41:37 +08:00
tcy
f84503b620 feat(物料管理): 新增采购计划、出入库管理及相关组件
添加物料管理模块,包括采购计划、出入库管理功能及相关组件
新增审批流程、系统信息、数据分析等子组件
添加相关图片资源及样式调整
2025-09-20 20:38:57 +08:00
55f2aeea39 完成电量分析部分图表 2025-09-20 20:03:46 +08:00
7eabcd203f 修改传参方式 2025-09-20 19:27:56 +08:00
tcy
0521eb62ee feat(告警管理): 添加查看全部告警信息功能及页面
添加点击事件跳转到全部告警页面功能,并创建包含表格展示、搜索和分页的全新告警管理页面
2025-09-20 14:58:53 +08:00
tcy
938f8ad026 feat(securitySurveillance): 添加视频监控、设备状态和视频管理组件
新增视频监控组件(spjk.vue)支持实时视频展示与布局切换
添加设备状态组件(sbzt.vue)显示设备在线状态和报警信息
实现视频管理组件(spgl.vue)包含存储状态图表和录像设置
引入多个SVG图标资源用于界面交互
优化字体文件格式和样式
2025-09-20 14:14:38 +08:00
3445e54da0 完成初版考勤管理静态页面 2025-09-20 11:26:02 +08:00
tcy
eb3e1326ca feat(安防监控): 新增安防监控管理页面及组件
添加安防监控管理功能,包括主页面布局、实时视频监控组件和顶部数据统计卡片
更新开发环境API地址配置
新增相关静态资源图片
2025-09-19 20:29:04 +08:00
dhr
aa443c3d62 0919 2025-09-19 20:28:31 +08:00
d67b16d0b6 Merge branch 'lx' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system into lx 2025-09-19 20:05:13 +08:00
tcy
3c989db422 Merge branch 'lx' of http://xny.yj-3d.com:3000/taoge_xiaodi/maintenance_system into tcy 2025-09-19 20:04:55 +08:00
dhr
b3a6918fef Merge branch 'tcy' of http://xny.yj-3d.com:3000/taoge_xiaodi/maintenance_system into dhr 2025-09-19 10:24:20 +08:00
tcy
7ef7e48e83 Merge branch 'lx' of http://xny.yj-3d.com:3000/taoge_xiaodi/maintenance_system into tcy 2025-09-19 10:20:18 +08:00
tcy
504e1760d7 Merge branch 'dhr' of http://xny.yj-3d.com:3000/taoge_xiaodi/maintenance_system into tcy 2025-09-19 10:19:53 +08:00
16b7bd4240 18号提交 2025-09-19 09:22:36 +08:00
63167f66e7 1.新增报警管理部分图表
2.修改箭头为本地图片
3.优化部分样式
4.完成性能比水滴图
2025-09-19 09:19:45 +08:00
dhr
93d9d71c25 0918 2025-09-18 19:56:24 +08:00
tcy
7548a7ba53 feat: 更新新能源场站智慧运维平台相关配置和样式
- 修改.env.development中的API基础地址
- 更新package.json中的项目名称和描述
- 调整sbqk.vue组件中的天数显示和样式
- 优化sjjk.vue组件中的图表颜色和布局
- 更新Logo.vue中的平台名称显示
2025-09-17 21:29:31 +08:00
dhr
834b0ab161 0917 2025-09-17 20:03:00 +08:00
dhr
31a2b405db 0917 2025-09-17 20:02:26 +08:00
a32d382865 1.新增报警管理部分图表
2.修改箭头为本地图片
3.优化部分样式
4.完成性能比水滴图
2025-09-17 20:02:08 +08:00
f28a617bb3 Merge branch 'tcy' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system into lx 2025-09-17 17:23:55 +08:00
93d6da6169 标题logo修改 2025-09-17 17:23:21 +08:00
tcy
47c4b182e1 feat: 添加光伏系统主系统图页面及相关组件
新增主系统图页面及多个组件,包括设备情况、实时数据监控、功率输出趋势、操作指令记录等。添加天气图标、字体文件和样式资源,实现系统状态监控和操作功能。优化图表展示和交互体验,完善响应式布局。
2025-09-17 17:16:37 +08:00
5c5baaab44 迁移 2025-09-17 16:54:39 +08:00
dhr
91e9b32d34 0917 2025-09-17 15:53:38 +08:00
7a003adb5d 目录新增 2025-09-17 15:19:08 +08:00
e009be9938 测试提交 2025-09-17 14:59:45 +08:00
Teo
987c578730 优化安琪纽权限 2025-09-16 16:03:19 +08:00
Teo
5cfebd652f 初始化 2025-08-28 20:15:59 +08:00
b000788785 !222 发布 5.4.1-2.4.1 小步迭代修复问题
Merge pull request !222 from 疯狂的狮子Li/dev
2025-07-01 01:13:49 +00:00
62f7d393f3 🐳🐳🐳发布 5.4.1-2.4.1 小步迭代修复问题 2025-07-01 09:11:36 +08:00
31037db627 update 优化 访问流程图页面缓存问题 参数增加时间戳 临时解决 2025-06-27 16:38:56 +08:00
4e0d946676 update 优化 删除后端不存在的搜索条件 2025-06-27 16:25:14 +08:00
71dceeacc2 update 优化 删除展开折叠按钮 菜单数据量大的清空下 展开会导致页面卡顿问题(在懒加载数据的清空下这个功能不推荐使用了) 2025-06-24 11:08:10 +08:00
d59259737f !219 fix 修复菜单改为懒加载后,修改数据没有刷新的问题
Merge pull request !219 from Lau/dev
2025-06-24 02:14:01 +00:00
lau
8afe7c3931 fix: 修复菜单改为懒加载后,修改数据没有刷新的问题 2025-06-24 09:25:13 +08:00
d59738b473 !217 update: 优化菜单页面渲染方式避免长时间卡住
Merge pull request !217 from Lau/dev
2025-06-23 08:55:19 +00:00
lau
2f35342782 fix: 修复菜单管理改为懒加载后展开/折叠只能展开一级菜单的问题 2025-06-23 16:11:58 +08:00
2dc094c1db !212 发布 5.4.0-2.4.0 正式版
Merge pull request !212 from 疯狂的狮子Li/dev
2025-05-29 03:18:30 +00:00
345 changed files with 90465 additions and 256 deletions

View File

@ -1,11 +1,11 @@
# 页面标题 # 页面标题
VITE_APP_TITLE = RuoYi-Vue-Plus多租户管理系统 VITE_APP_TITLE = 新能源场站智慧运维平台
# 开发环境配置 # 开发环境配置
VITE_APP_ENV = 'development' VITE_APP_ENV = 'development'
# 开发环境 # 开发环境
VITE_APP_BASE_API = '/dev-api' VITE_APP_BASE_API = 'http://192.168.110.210:18899'
# 应用访问路径 例如使用前缀 /admin/ # 应用访问路径 例如使用前缀 /admin/
VITE_APP_CONTEXT_PATH = '/' VITE_APP_CONTEXT_PATH = '/'

View File

@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VITE_APP_TITLE = RuoYi-Vue-Plus多租户管理系统 VITE_APP_TITLE = 新能源场站智慧运维平台
# 生产环境配置 # 生产环境配置
VITE_APP_ENV = 'production' VITE_APP_ENV = 'production'

View File

@ -17,6 +17,8 @@
"MaybeRefOrGetter": true, "MaybeRefOrGetter": true,
"PropType": true, "PropType": true,
"Ref": true, "Ref": true,
"Slot": true,
"Slots": true,
"VNode": true, "VNode": true,
"WritableComputedRef": true, "WritableComputedRef": true,
"acceptHMRUpdate": true, "acceptHMRUpdate": true,
@ -35,6 +37,7 @@
"createInjectionState": true, "createInjectionState": true,
"createPinia": true, "createPinia": true,
"createReactiveFn": true, "createReactiveFn": true,
"createRef": true,
"createReusableTemplate": true, "createReusableTemplate": true,
"createSharedComposable": true, "createSharedComposable": true,
"createTemplatePromise": true, "createTemplatePromise": true,
@ -315,9 +318,6 @@
"watchThrottled": true, "watchThrottled": true,
"watchTriggerable": true, "watchTriggerable": true,
"watchWithFilter": true, "watchWithFilter": true,
"whenever": true, "whenever": true
"Slot": true,
"Slots": true,
"createRef": true
} }
} }

View File

@ -6,7 +6,7 @@
<meta name="renderer" content="webkit" /> <meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<title>RuoYi-Vue-Plus多租户管理系统</title> <title>煤科运维平台</title>
<!--[if lt IE 11 <!--[if lt IE 11
]><script> ]><script>
window.location.href = '/html/ie.html'; window.location.href = '/html/ie.html';

View File

@ -1,8 +1,8 @@
{ {
"$schema": "https://json.schemastore.org/package", "$schema": "https://json.schemastore.org/package",
"name": "ruoyi-vue-plus", "name": "新能源场站智慧运维平台",
"version": "5.4.0-2.4.0", "version": "5.4.1-2.4.1",
"description": "RuoYi-Vue-Plus多租户管理系统", "description": "新能源场站智慧运维平台",
"author": "LionLi", "author": "LionLi",
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
@ -29,7 +29,10 @@
"axios": "1.8.4", "axios": "1.8.4",
"crypto-js": "4.2.0", "crypto-js": "4.2.0",
"echarts": "5.6.0", "echarts": "5.6.0",
"echarts-gl": "^2.0.9",
"echarts-liquidfill": "^3.1.0",
"element-plus": "2.9.8", "element-plus": "2.9.8",
"ezuikit-js": "^8.1.10",
"file-saver": "2.0.5", "file-saver": "2.0.5",
"highlight.js": "11.9.0", "highlight.js": "11.9.0",
"image-conversion": "2.1.1", "image-conversion": "2.1.1",

BIN
public/assets/Sunny.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
public/assets/Weather.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
public/assets/avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
public/assets/back.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
public/assets/back2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 KiB

BIN
public/assets/back3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 KiB

BIN
public/assets/back4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 KiB

BIN
public/assets/beUnder.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
public/assets/bigRain.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

BIN
public/assets/bigSnow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
public/assets/caigou.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
public/assets/cloudy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
public/assets/contract.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
public/assets/czzl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
public/assets/dayImg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
public/assets/dayImg1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

BIN
public/assets/dialog1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

BIN
public/assets/dialog2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 KiB

BIN
public/assets/fengshu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
public/assets/fog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
public/assets/glsc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
public/assets/haze.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
public/assets/jkcckj.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
public/assets/jkfdl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
public/assets/jkjrbjcs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
public/assets/jklxsc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
public/assets/manyCloud.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
public/assets/no.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
public/assets/play.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

BIN
public/assets/qian.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 827 B

BIN
public/assets/qiangdu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
public/assets/rain.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 B

BIN
public/assets/rain1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
public/assets/rainSnow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

BIN
public/assets/rain_show.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 993 B

BIN
public/assets/re.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
public/assets/riluo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
public/assets/sandstorm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
public/assets/sb1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
public/assets/sb2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
public/assets/sb3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
public/assets/sb4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
public/assets/sbi1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
public/assets/sbi2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

BIN
public/assets/shidu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
public/assets/sjjk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
public/assets/smallRain.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
public/assets/smallSnow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
public/assets/sunnyBig.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
public/assets/sunny_s.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M10.0923 2.25614C10.3323 2.25614 10.5303 2.29614 10.6863 2.37614C10.8423 2.45614 10.9663 2.55614 11.0583 2.67614C11.1503 2.79614 11.2143 2.92614 11.2503 3.06614C11.2863 3.20614 11.3043 3.33614 11.3043 3.45614C11.3043 3.51214 11.3023 3.55614 11.2983 3.58814C11.2943 3.62014 11.2923 3.64814 11.2923 3.67214L11.2923 3.74414L10.5003 3.74414L10.5003 10.0441C10.5003 10.2041 10.4683 10.3581 10.4043 10.5061C10.3403 10.6541 10.2483 10.7841 10.1283 10.8961C10.0083 11.0081 9.86228 11.0981 9.69028 11.1661C9.51828 11.2341 9.32028 11.2681 9.09628 11.2681L3.74428 11.2681C3.53628 11.2681 3.34028 11.2361 3.15628 11.1721C2.97229 11.1081 2.81428 11.0181 2.68228 10.9021C2.55028 10.7861 2.44628 10.6461 2.37028 10.4821C2.29428 10.3181 2.25628 10.1321 2.25628 9.92414L2.25628 3.74414L1.51228 3.74414C1.50428 3.73614 1.50028 3.71614 1.50028 3.68414C1.49228 3.64414 1.48828 3.52014 1.48828 3.31214C1.48828 3.20814 1.51228 3.09214 1.56028 2.96414C1.60828 2.83614 1.68028 2.71814 1.77628 2.61014C1.87228 2.50214 1.99628 2.41214 2.14828 2.34014C2.30028 2.26814 2.48028 2.23214 2.68828 2.23214L3.75628 2.23214L3.75628 1.50014C3.75628 1.29214 3.82828 1.11414 3.97228 0.966141C4.11628 0.818141 4.29228 0.744141 4.50028 0.744141L8.25628 0.744141C8.53628 0.744141 8.73028 0.818141 8.83828 0.966141C8.94628 1.11414 9.00028 1.29214 9.00028 1.50014L9.00028 2.24414C9.16828 2.25214 9.34828 2.25614 9.54028 2.25614L10.0923 2.25614ZM4.50028 2.25614L8.25628 2.25614L8.25628 1.50014L4.50028 1.50014L4.50028 2.25614ZM4.12828 9.85214C4.38428 9.85214 4.51228 9.68814 4.51228 9.36014L4.51228 3.79214L3.76828 3.79214L3.76828 9.36014C3.76828 9.52814 3.79429 9.65214 3.84628 9.73214C3.89828 9.81214 3.99229 9.85214 4.12828 9.85214ZM6.39628 9.84014C6.53228 9.84014 6.62428 9.80214 6.67228 9.72614C6.72028 9.65014 6.74428 9.52814 6.74428 9.36014L6.74428 3.79214L6.00028 3.79214L6.00028 9.36014C6.00028 9.68014 6.13228 9.84014 6.39628 9.84014ZM8.65228 9.81614C8.79628 9.81614 8.89228 9.77814 8.94028 9.70214C8.98828 9.62614 9.01228 9.50414 9.01228 9.33614L9.01228 3.79214L8.25628 3.79214L8.25628 9.33614C8.25628 9.65614 8.38828 9.81614 8.65228 9.81614Z" fill="#186DF5" ></path></svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M9.71435 10.4777L2.22855 10.4777C1.40179 10.4777 0.731445 9.80755 0.731445 8.98058L0.731445 7.10912C0.731445 6.90247 0.899128 6.7349 1.10565 6.7349L1.85435 6.7349C2.06101 6.7349 2.22855 6.90247 2.22855 7.10912L2.22855 8.23203C2.22855 8.64549 2.56367 8.98059 2.97711 8.98059L8.96579 8.98059C9.37924 8.98059 9.71435 8.64549 9.71435 8.23203L9.71435 7.10912C9.71435 6.90247 9.8819 6.7349 10.0887 6.7349L10.8372 6.7349C11.0439 6.7349 11.2115 6.90247 11.2115 7.10912L11.2115 8.98059C11.2115 9.80755 10.5413 10.4777 9.71435 10.4777ZM2.92875 3.13454C3.08016 2.98313 3.32585 2.98313 3.47728 3.13454L5.22302 4.8803L5.22302 1.11169C5.22302 0.905035 5.39062 0.737305 5.59723 0.737305L6.34579 0.737305C6.55249 0.737305 6.72015 0.905035 6.72015 1.11169L6.72015 4.8803L8.4659 3.13454C8.61733 2.98313 8.86289 2.98313 9.01431 3.13454L9.56289 3.68319C9.71432 3.83462 9.71432 4.08015 9.56289 4.23171L6.47159 7.32305C6.45822 7.33639 6.21771 7.48341 5.9757 7.48352C5.73105 7.48364 5.48493 7.33654 5.47156 7.32305L2.38011 4.23171C2.22868 4.08014 2.22868 3.83462 2.38011 3.68319L2.92875 3.13454Z" fill="#186DF5" ></path></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="0 0 32 32" fill="none"><path d="M17.9776 16.1268L21.269 12.8125L21.269 13.6583C21.269 14.4614 21.9287 15.1097 22.7318 15.1097C23.535 15.1097 24.1833 14.4614 24.1833 13.6583L24.1833 9.26969C24.1833 8.46651 23.535 7.81826 22.7318 7.81826L18.3433 7.81826C17.5401 7.81826 16.8918 8.46651 16.8918 9.26969C16.8918 10.0728 17.5401 10.7325 18.3433 10.7325L19.189 10.7325L15.8747 14.024C15.8578 14.0412 15.845 14.0631 15.829 14.0811C15.8129 14.0991 15.7984 14.1195 15.7833 14.1383C15.7681 14.157 15.7518 14.1759 15.7376 14.1954C15.7233 14.2149 15.7165 14.2324 15.7033 14.2525C15.69 14.2727 15.6813 14.3003 15.669 14.3211C15.6567 14.3419 15.6233 14.3684 15.6233 14.3897C15.6233 14.411 15.6004 14.425 15.6004 14.4468C15.6004 14.4687 15.5661 14.4817 15.5661 14.504C15.5661 14.5263 15.5433 14.5612 15.5433 14.584C15.5433 14.6067 15.509 14.6295 15.509 14.6525C15.509 14.6756 15.4976 14.6863 15.4976 14.7097C15.4976 14.7331 15.4861 14.766 15.4861 14.7897C15.4861 14.8134 15.4633 14.8458 15.4633 14.8697C15.4633 14.8935 15.4518 14.9028 15.4518 14.9268C15.4518 14.9508 15.4518 14.9828 15.4518 15.0068C15.4518 15.0309 15.4518 15.0513 15.4518 15.0754C15.4518 15.0995 15.4518 15.1199 15.4518 15.144C15.4518 15.1681 15.4518 15.2 15.4518 15.224C15.4518 15.248 15.4633 15.2687 15.4633 15.2925C15.4633 15.3164 15.4861 15.3374 15.4861 15.3611C15.4861 15.3848 15.4976 15.4177 15.4976 15.4411C15.4976 15.4645 15.509 15.4752 15.509 15.4983C15.509 15.5214 15.5433 15.5441 15.5433 15.5668C15.5433 15.5895 15.5661 15.6245 15.5661 15.6468C15.5661 15.6691 15.6004 15.6821 15.6004 15.704C15.6004 15.7258 15.6233 15.7512 15.6233 15.7725C15.6233 15.7939 15.6567 15.8089 15.669 15.8297C15.6813 15.8505 15.69 15.8781 15.7033 15.8983C15.7165 15.9184 15.7233 15.9359 15.7376 15.9554C15.7518 15.9749 15.7681 15.9938 15.7833 16.0125C15.7984 16.0313 15.8129 16.0517 15.829 16.0697C15.845 16.0877 15.8578 16.1097 15.8747 16.1268C16.4588 16.6964 17.408 16.6964 17.9776 16.1268ZM8.12613 25.3268L12.5147 25.3268C13.3179 25.3268 13.9661 24.6786 13.9661 23.8754C13.9661 23.0722 13.3179 22.4125 12.5147 22.4125L11.669 22.4125L15.0176 19.0754C15.5871 18.5059 15.5871 17.5681 15.0176 16.984C15.0004 16.9671 14.9898 16.9429 14.9718 16.9268C14.9539 16.9108 14.9334 16.8963 14.9147 16.8811C14.8959 16.866 14.877 16.8611 14.8576 16.8468C14.8381 16.8326 14.8205 16.8144 14.8004 16.8011C14.7803 16.7878 14.7526 16.7677 14.7318 16.7554C14.7111 16.7431 14.6846 16.7211 14.6633 16.7211C14.6419 16.7211 14.628 16.6983 14.6061 16.6983C14.5843 16.6983 14.5599 16.664 14.5376 16.664C14.5153 16.664 14.4917 16.6411 14.469 16.6411C14.4463 16.6411 14.4235 16.6183 14.4004 16.6183C14.3773 16.6183 14.3553 16.5954 14.3318 16.5954C14.3085 16.5954 14.2869 16.584 14.2633 16.584C14.2396 16.584 14.2186 16.5725 14.1947 16.5725C14.1709 16.5725 14.1501 16.5611 14.1261 16.5611C14.1021 16.5611 14.0702 16.5497 14.0461 16.5497C14.022 16.5497 14.0017 16.5497 13.9776 16.5497C13.9535 16.5497 13.9331 16.5497 13.909 16.5497C13.8849 16.5497 13.853 16.5611 13.829 16.5611C13.805 16.5611 13.7843 16.5725 13.7604 16.5725C13.7366 16.5725 13.7155 16.584 13.6918 16.584C13.6682 16.584 13.6352 16.5954 13.6118 16.5954C13.5885 16.5954 13.5778 16.6183 13.5547 16.6183C13.5316 16.6183 13.4974 16.6411 13.4747 16.6411C13.452 16.6411 13.4284 16.664 13.4061 16.664C13.3838 16.664 13.3708 16.6983 13.349 16.6983C13.3271 16.6983 13.3018 16.7211 13.2804 16.7211C13.2591 16.7211 13.2326 16.7431 13.2118 16.7554C13.1911 16.7677 13.1749 16.7878 13.1547 16.8011C13.1346 16.8144 13.117 16.8326 13.0976 16.8468C13.0781 16.8611 13.0592 16.866 13.0404 16.8811C13.0217 16.8963 13.0013 16.9108 12.9833 16.9268C12.9653 16.9429 12.9548 16.9671 12.9376 16.984L9.58899 20.3325L9.58899 19.4868C9.58899 18.6837 8.92929 18.0354 8.12613 18.0354C7.32296 18.0354 6.6747 18.6837 6.6747 19.4868L6.6747 23.8754C6.6747 24.6786 7.32296 25.3268 8.12613 25.3268ZM25.6576 3.42969L5.20042 3.42969C3.59406 3.42969 2.28613 4.73762 2.28613 6.34397L2.28613 26.8011C2.28613 28.4075 3.59406 29.7154 5.20042 29.7154L25.6576 29.7154C27.2639 29.7154 28.5718 28.4075 28.5718 26.8011L28.5718 6.34397C28.5718 4.73762 27.2639 3.42969 25.6576 3.42969ZM25.6576 26.8011L5.20042 26.8011L5.20042 6.34397L25.6576 6.34397L25.6576 26.8011Z" fill="#FFFFFF" ></path></svg>

After

Width:  |  Height:  |  Size: 4.2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M9.1496 5.57504L3.34961 1.97504C3.0246 1.77505 2.59961 2.02504 2.59961 2.40004L2.59961 9.60005C2.59961 9.97505 3.0246 10.225 3.34961 10.0251L9.12461 6.42505C9.4746 6.25004 9.4746 5.75005 9.1496 5.57504Z" fill="#186DF5" ></path></svg>

After

Width:  |  Height:  |  Size: 382 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="0 0 32 32" fill="none"><path d="M11.9501 11.3874L11.9501 8.01232C11.9501 7.4532 11.4799 7 10.9 7C10.3199 7 9.84997 7.4532 9.84997 8.01232L9.84997 10.7125L7.05011 10.7125C6.46998 10.7125 6 11.1657 6 11.7248C6 12.2842 6.46998 12.7373 7.05011 12.7373L10.5499 12.7373C11.3231 12.7373 11.9501 12.133 11.9501 11.3874ZM11.9501 21.5125L11.9501 24.8873C11.9501 25.4467 11.4799 25.8999 10.9 25.8999C10.3199 25.8999 9.84997 25.4467 9.84997 24.8873L9.84997 22.1874L7.05011 22.1874C6.46998 22.1874 6 21.7342 6 21.1748C6 20.6157 6.46998 20.1622 7.05011 20.1622L10.5499 20.1622C11.3231 20.1622 11.9501 20.7668 11.9501 21.5125ZM19.65 21.5125L19.65 24.8873C19.65 25.4467 20.12 25.8999 20.7001 25.8999C21.2799 25.8999 21.7499 25.4467 21.7499 24.8873L21.7499 22.1874L24.55 22.1874C25.1298 22.1874 25.6001 21.7342 25.6001 21.1748C25.6001 20.6157 25.1299 20.1622 24.55 20.1622L21.0499 20.1622C20.2767 20.1622 19.65 20.7668 19.65 21.5125ZM19.65 11.3874L19.65 8.01232C19.65 7.4532 20.12 7 20.7001 7C21.2799 7 21.7499 7.4532 21.7499 8.01232L21.7499 10.7125L24.55 10.7125C25.1298 10.7125 25.6001 11.1657 25.6001 11.7248C25.6001 12.2842 25.1299 12.7373 24.55 12.7373L21.0499 12.7373C20.2767 12.7373 19.65 12.133 19.65 11.3874Z" stroke="rgba(255, 255, 255, 1)" stroke-width="0.8" fill="#FFFFFF" ></path><path d="M2 27.2998L2 5.69984C2 4.20862 3.25368 3 4.80014 3L27.2001 3C28.7465 3 30 4.20862 30 5.69984L30 27.2998C30 28.791 28.7465 30 27.2001 30L4.80014 30C3.25368 30 2 28.791 2 27.2998ZM27.2001 5.02491L4.80014 5.02491C4.30497 5.02491 4.10016 5.22265 4.10016 5.69984L4.10016 27.2998C4.10016 27.7773 4.30497 27.9751 4.80014 27.9751L27.9 27.9751L27.9 5.69984C27.9 5.22265 27.695 5.02491 27.2001 5.02491Z" stroke="rgba(255, 255, 255, 1)" stroke-width="0.8" fill="#FFFFFF" ></path></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
public/assets/wcl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
public/assets/ycl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
public/assets/yes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
public/assets/yin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
public/assets/zgjxx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
public/assets/zzcl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -0,0 +1,75 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { DevicePresetVO, DevicePresetForm, DevicePresetQuery } from '@/api/camera/devicePreset/types';
/**
* 查询摄像头预置位列表
* @param query
* @returns {*}
*/
export const listDevicePreset = (query?: DevicePresetQuery): AxiosPromise<DevicePresetVO[]> => {
return request({
url: '/ops/devicePreset/list',
method: 'get',
params: query
});
};
/**
* 查询摄像头预置位详细
* @param id
*/
export const getDevicePreset = (id: string | number): AxiosPromise<DevicePresetVO> => {
return request({
url: '/ops/devicePreset/' + id,
method: 'get'
});
};
/**
* 新增摄像头预置位
* @param data
*/
export const addDevicePreset = (data: DevicePresetForm) => {
return request({
url: '/ops/devicePreset',
method: 'post',
data: data
});
};
/**
* 修改摄像头预置位
* @param data
*/
export const updateDevicePreset = (data: DevicePresetForm) => {
return request({
url: '/ops/devicePreset',
method: 'put',
data: data
});
};
/**
* 删除摄像头预置位
* @param id
*/
export const delDevicePreset = (data: any) => {
return request({
url: '/ops/devicePreset/delYzd',
method: 'delete',
data: [data]
});
};
/**
* 调用摄像头预置位
* @param data
*/
export const callDevicePreset = (data: DevicePresetForm) => {
return request({
url: '/ops/devicePreset/callYzd',
method: 'post',
data: data
});
};

View File

@ -0,0 +1,86 @@
export interface DevicePresetVO {
/**
* 主键id
*/
id: string | number;
/**
* 设备序列号
*/
deviceSerial: string;
/**
* 通道号
*/
channelNo: number;
/**
* 预置点序号
*/
presetIndex: number;
/**
* 预置点
*/
presetName: string;
}
export interface DevicePresetForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 设备序列号
*/
deviceSerial?: string;
/**
* 通道号
*/
channelNo?: number;
/**
* 预置点序号
*/
presetIndex?: number;
/**
* 预置点
*/
presetName?: string;
}
export interface DevicePresetQuery extends PageQuery {
/**
* 设备序列号
*/
deviceSerial?: string;
/**
* 通道号
*/
channelNo?: number;
/**
* 预置点序号
*/
presetIndex?: number;
/**
* 预置点
*/
presetName?: string;
/**
* 日期范围参数
*/
params?: any;
}

33
src/api/large/index.ts Normal file
View File

@ -0,0 +1,33 @@
import request from '@/utils/request';
// 查询图表总数据
export function getPowerStationOverview() {
return request({
url: '/ops/ginlong/api/getPowerStationOverview',
method: 'get'
});
}
//能源收益
export function getStationMonthOverview(params: any) {
return request({
url: '/ops/ginlong/api/getStationMonthOverview',
method: 'get',
params
});
}
//能源收益
export function getInverterListOverview(params: any) {
return request({
url: '/ops/ginlong/api/getInverterListOverview',
method: 'get',
params
});
}
//警告
export function getAlarmListOverview(params?: any) {
return request({
url: '/ops/ginlong/api/getAlarmListOverview',
method: 'get',
params
});
}

View File

@ -1,6 +1,6 @@
import request from '@/utils/request'; import request from '@/utils/request';
import { AxiosPromise } from 'axios'; import { AxiosPromise } from 'axios';
import { LoginData, LoginResult, VerifyCodeResult, TenantInfo } from './types'; import { LoginData, LoginResult, TenantInfo, UserProject, VerifyCodeResult } from './types';
import { UserInfo } from '@/api/system/user/types'; import { UserInfo } from '@/api/system/user/types';
// pc端固定客户端授权id // pc端固定客户端授权id
@ -111,3 +111,11 @@ export function getTenantList(isToken: boolean): AxiosPromise<TenantInfo> {
method: 'get' method: 'get'
}); });
} }
//获取用户项目信息
export function getUserProject(): AxiosPromise<UserProject[]> {
return request({
url: '/system/project/projectRelevancy/login/list',
method: 'get'
});
}

View File

@ -3,9 +3,9 @@ import { AxiosPromise } from 'axios';
import { RouteRecordRaw } from 'vue-router'; import { RouteRecordRaw } from 'vue-router';
// 获取路由 // 获取路由
export function getRouters(): AxiosPromise<RouteRecordRaw[]> { export function getRouters(id: string): AxiosPromise<RouteRecordRaw[]> {
return request({ return request({
url: '/system/menu/getRouters', url: '/system/menu/getRouters/' + id,
method: 'get' method: 'get'
}); });
} }

View File

@ -0,0 +1,199 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { childProjectQuery, ProjectForm, ProjectQuery, ProjectVO } from '@/api/project/project/types';
/**
* 查询项目列表
* @param query
* @returns {*}
*/
export const listProject = (query?: ProjectQuery): AxiosPromise<ProjectVO[]> => {
return request({
url: '/system/project/project/list',
method: 'get',
params: query
});
};
/**
* 查询项目dxf
* @param query
* @returns {*}
*/
export const listDXFProject = (id: string | number): AxiosPromise<any> => {
return request({
url: '/system/project/projectFile/json/' + id,
method: 'get'
});
};
/**
* 查询项目详细
* @param id
*/
export const getProject = (id: string | number): AxiosPromise<ProjectVO> => {
return request({
url: '/system/project/project/' + id,
method: 'get'
});
};
/**
* 新增项目
* @param data
*/
export const addProject = (data: ProjectForm): AxiosPromise<string | number> => {
return request({
url: '/system/project/project',
method: 'post',
data: data
});
};
/**
* 修改项目
* @param data
*/
export const updateProject = (data: ProjectForm) => {
return request({
url: '/system/project/project',
method: 'put',
data: data
});
};
/**
* 上传dxf文件
* @param data
*/
export const upLoadProjectDXF = (data: any) => {
return request({
url: '/system/project/projectFile/upload/dxf',
method: 'post',
data: data
});
};
/**
* 通过GeoJson新增设施-光伏板
* @param data
*/
export const addProjectFacilities = (data: any) => {
return request({
url: '/facility/photovoltaicPanel/geoJson',
method: 'post',
data: data,
headers: {
'X-No-Cache': 'true'
}
});
};
/**
* 通过GeoJson新增设施-光伏板桩点、立柱、支架
* @param data
*/
export const addProjectPilePoint = (data: any) => {
console.log('🚀 ~ addProjectPilePoint ~ data:', data);
return request({
url: '/facility/photovoltaicPanelPoint/parts/geoJson',
method: 'post',
data: data
});
};
/**
* 通过GeoJson新增设施-方阵
* @param data
*/
export const addProjectSquare = (data: any) => {
return request({
url: '/facility/matrix/geoJson',
method: 'post',
data: data
});
};
/**
* 通过GeoJson新增设施-箱变
* @param data
*/
export const addBoxTransformer = (data: any) => {
return request({
url: '/facility/boxTransformer/geoJson',
method: 'post',
data: data
});
};
/**
* 通过GeoJson新增设施-逆变器
* @param data
*/
export const addInverter = (data: any) => {
return request({
url: '/facility/inverter/geoJson',
method: 'post',
data: data
});
};
/**
* 删除项目
* @param id
*/
export const delProject = (id: string | number | Array<string | number>) => {
return request({
url: '/system/project/project/' + id,
method: 'delete'
});
};
/**
* 新增子项目
* @param data
*/
export const addChildProject = (data: childProjectQuery) => {
return request({
url: '/system/project/project/sub',
method: 'post',
data: data
});
};
/**
* 查询项目下的子项目列表
* @param id
*/
export const getChildProject = (id: string | number): AxiosPromise<childProjectQuery[]> => {
return request({
url: '/system/project/project/list/sub/' + id,
method: 'get'
});
};
/**
* 上传项目文件
* @param data
*/
export const uploadProjectFile = (data: any) => {
return request({
url: '/system/project/project/save/tender/file',
method: 'put',
data: data
});
};
/**
* 切换项目
* @param id
*/
export const changeProject = (id: string | number) => {
return request({
url: '/system/project/project/changeProject/' + id,
method: 'get'
});
};

View File

@ -0,0 +1,385 @@
export interface ProjectVO {
/**
* id
*/
id: string;
/**
* 项目名称
*/
projectName: string;
tenderFiles: string;
/**
* 项目简称
*/
shortName: string;
designId: string;
/**
* 父项目id
*/
pId: string | number;
/**
* 状态0正常 1停用
*/
status: number;
/**
* 项目图片
*/
picUrl: string;
/**
* 备注
*/
remark: string;
/**
* 项目类型
*/
projectType: string;
/**
* 项目类型1光伏 2风电
*/
projectCategory: number;
/**
* 删除时间
*/
deletedAt: string;
/**
* 项目地址
*/
projectSite: string;
/**
* 负责人
*/
principal: string;
/**
* 负责人电话
*/
principalPhone: string;
/**
* 实际容量
*/
actual: string;
/**
* 计划容量
*/
plan: string;
/**
* 开工时间
*/
onStreamTime: string;
/**
* 打卡范围09:00,18:00
*/
punchRange: string;
/**
* 设计总量
*/
designTotal: number;
/**
* 安全协议书
*/
securityAgreement: string;
/**
* 排序字段
*/
sort: number;
/**
* 显示隐藏1显示 2隐藏
*/
showHidden: string | number;
/**
* 是否删除0正常 1删除
*/
isDelete: number;
/**
* 创建时间
*/
createTime: string;
type?: string;
}
export interface locationType {
/**
* 经度
*/
lng: string;
// 纬度
lat: string;
// 逆地理编码地址
projectSite: string;
}
export interface childProjectQuery {
projectName: string;
pid: string;
id?: string;
}
export interface ProjectForm extends BaseEntity {
/**
*
*/
id?: string | number;
/**
* 项目名称
*/
projectName?: string;
/**
* 项目简称
*/
shortName?: string;
/**
* 父项目id
*/
pId?: string | number;
/**
* 状态0正常 1停用
*/
status?: number;
/**
* 项目图片
*/
picUrl?: string;
/**
* 经度
*/
lng?: string;
/**
* 纬度
*/
lat?: string;
/**
* 备注
*/
remark?: string;
/**
* 项目类型
*/
projectType?: string;
/**
* 项目类型1光伏 2风电
*/
projectCategory?: number;
/**
* 删除时间
*/
deletedAt?: string;
/**
* 项目地址
*/
projectSite?: string;
/**
* 负责人
*/
principal?: string;
/**
* 负责人电话
*/
principalPhone?: string;
/**
* 实际容量
*/
actual?: string;
/**
* 计划容量
*/
plan?: string;
/**
* 开工时间
*/
onStreamTime?: string;
/**
* 打卡开始时间09:00,18:00
*/
playCardStart?: string;
/**
* 打卡结束时间09:00,18:00
*/
playCardEnd?: string;
/**
* 设计总量
*/
designTotal?: number;
/**
* 安全协议书
*/
securityAgreement?: string;
/**
* 排序字段
*/
sort?: number;
/**
* 显示隐藏1显示 2隐藏
*/
showHidden?: string | number;
/**
* 是否删除0正常 1删除
*/
isDelete?: number;
}
export interface ProjectQuery extends PageQuery {
/**
* 项目名称
*/
projectName?: string;
/**
* 项目简称
*/
shortName?: string;
/**
* 父项目id
*/
pId?: string | number;
/**
* 状态0正常 1停用
*/
status?: number;
/**
* 项目图片
*/
picUrl?: string;
/**
* 项目类型
*/
projectType?: string;
/**
* 项目类型1光伏 2风电
*/
projectCategory?: number;
/**
* 删除时间
*/
deletedAt?: string;
/**
* 项目地址
*/
projectSite?: string;
/**
* 经度
*/
lng?: string;
/**
* 纬度
*/
lat?: string;
/**
* 负责人
*/
principal?: string;
/**
* 负责人电话
*/
principalPhone?: string;
/**
* 实际容量
*/
actual?: string;
/**
* 计划容量
*/
plan?: string;
/**
* 开工时间
*/
onStreamTime?: string;
/**
* 打卡开始时间09:00,18:00
*/
playCardStart?: string;
/**
* 打卡结束时间09:00,18:00
*/
playCardEnd?: string;
/**
* 设计总量
*/
designTotal?: number;
/**
* 安全协议书
*/
securityAgreement?: string;
/**
* 排序字段
*/
sort?: number;
/**
* 显示隐藏1显示 2隐藏
*/
showHidden?: string | number;
/**
* 是否删除0正常 1删除
*/
isDelete?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@ -0,0 +1,103 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { ProjectRelevancyForm, ProjectRelevancyQuery, ProjectRelevancyVO } from '@/api/project/projectRelevancy/types';
/**
* 查询系统用户与项目关联列表
* @param query
* @returns {*}
*/
export const listProjectRelevancy = (query?: ProjectRelevancyQuery): AxiosPromise<ProjectRelevancyVO[]> => {
return request({
url: '/system/project/projectRelevancy/login/page',
method: 'get',
params: query
});
};
/**
* 查询系统用户与项目关联详细
* @param id
*/
export const getProjectRelevancy = (id: string | number): AxiosPromise<ProjectRelevancyVO> => {
return request({
url: '/system/project/projectRelevancy/' + id,
method: 'get'
});
};
/**
* 新增系统用户与项目关联
* @param data
*/
export const addProjectRelevancy = (data: ProjectRelevancyForm): AxiosPromise<string | number> => {
return request({
url: '/system/project/projectRelevancy',
method: 'post',
data: data
});
};
/**
* 修改系统用户与项目关联
* @param data
*/
export const updateProjectRelevancy = (data: ProjectRelevancyForm) => {
return request({
url: '/system/project/projectRelevancy',
method: 'put',
data: data
});
};
/**
* 删除系统用户与项目关联
* @param id
*/
export const delProjectRelevancy = (id: string | number | Array<string | number>) => {
return request({
url: '/system/project/projectRelevancy/' + id,
method: 'delete'
});
};
/**
* 穿梭框接口
*/
/**
* 获取用户已关联的项目列表
* @param params { userId: number }
*/
export function listUserProjects(params: { userId: number | string }) {
return request({
url: '/system/project/projectRelevancy/list',
method: 'get',
params
});
}
/**
* 添加项目关联
* @param data { userId: number; projectIds: number[] }
*/
export function addNewProjectRelevancy(data: { userId: number | string; projectIdList: number[] }) {
return request({
url: '/system/project/projectRelevancy/add/project/list',
method: 'post',
data
});
}
/**
* 移除项目关联
* @param data { userId: number; projectIds: number[] }
*/
export function removeNewProjectRelevancy(data: { userId: number | string; projectIdList: number[] }) {
return request({
url: '/system/project/projectRelevancy/remove/project/list',
method: 'delete',
data
});
}

View File

@ -0,0 +1,72 @@
import { ProjectVO } from '@/api/project/project/types';
export interface ProjectRelevancyVO {
/**
* 主键ID
*/
id: string | number;
/**
* 用户ID
*/
userId: string | number;
/**
* 项目ID
*/
projectId: string | number;
/**
* 项目详情
*/
project: ProjectVO;
/**
* 创建时间
*/
createTime: string;
}
export interface ProjectRelevancyForm extends BaseEntity {
/**
* 主键ID
*/
id?: string | number;
/**
* 用户ID
*/
userId?: string | number;
/**
* 项目ID
*/
projectId?: string | number;
/**
* 删除时间
*/
deletedAt?: string;
}
export interface ProjectRelevancyQuery extends PageQuery {
/**
* 用户ID
*/
userId?: string | number;
/**
* 项目ID
*/
projectId?: string | number;
/**
* 删除时间
*/
deletedAt?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@ -0,0 +1,79 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { SchedulingVO } from './types';
/**
* 查询排班人员列表
* @param deptId
*/
export function getPaibanRenYuanList(deptId:string | number): AxiosPromise<any> {
return request({
url: `/system/user/list/dept/`+deptId,
method: 'get',
});
}
/**
* 查询运维-人员排班列表
*/
export function getPaibanRiLiList(query?: SchedulingVO): AxiosPromise<SchedulingVO[]> {
return request({
url: `/ops/personnel/scheduling/getRiLiList`,
method: 'get',
params: query
});
}
/**
* 运维-人员排班-查询排班列表
*/
export function getPaibanListPage(query?: SchedulingVO): AxiosPromise<SchedulingVO[]> {
return request({
url: `/ops/personnel/scheduling/list`,
method: 'get',
params: query
});
}
/**
* 运维-人员排班-安排排班
*/
export function savePaiban(data: any): AxiosPromise<any> {
return request({
url: `/ops/personnel/scheduling/all`,
method: 'post',
data: data
});
}
/**
* 运维-人员排班-修改排班
*/
export function updatePaiban(data:any): AxiosPromise<any> {
return request({
url: `/ops/personnel/scheduling`,
method: 'put',
data: data
});
}
/**
* 运维-人员排班-批量修改排班
*/
// export function updateAllPaiban(): AxiosPromise<any> {
// return request({
// url: `/ops/personnel/scheduling/all`,
// method: 'put',
// });
// }
/**
* 运维-人员排班-删除排班
*/
export function deletePaiban(ids: string): AxiosPromise<any> {
return request({
url: `/ops/personnel/scheduling/${ids}`,
method: 'delete',
});
}

View File

@ -0,0 +1,39 @@
export interface SchedulingVO {
/**
* 开始时间
*/
schedulingStartDate: string;
/**
* 结束时间
*/
schedulingEndDate: string;
/**
* 部门ID
*/
projectId?: string | number;
}
// export interface SchedulingQuery extends PageQuery {
// /**
// * 开始时间
// */
// schedulingStartDate: string;
// /**
// * 结束时间
// */
// schedulingEndDate: string;
// /**
// * 部门ID
// */
// projectId?: string | number;
// }

View File

@ -0,0 +1,63 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { SchedulingDateVO, SchedulingDateForm, SchedulingDateQuery } from '@/api/renyuan/schedulingDate/types';
/**
* 查询运维-排班时间类型列表
* @param query
* @returns {*}
*/
export const listSchedulingDate = (query?: SchedulingDateQuery): AxiosPromise<SchedulingDateVO[]> => {
return request({
url: '/ops/personnel/schedulingDate/list',
method: 'get',
params: query
});
};
/**
* 查询运维-排班时间类型详细
* @param id
*/
export const getSchedulingDate = (id: string | number): AxiosPromise<SchedulingDateVO> => {
return request({
url: '/ops/personnel/schedulingDate/' + id,
method: 'get'
});
};
/**
* 新增运维-排班时间类型
* @param data
*/
export const addSchedulingDate = (data: SchedulingDateForm) => {
return request({
url: '/ops/personnel/schedulingDate',
method: 'post',
data: data
});
};
/**
* 修改运维-排班时间类型
* @param data
*/
export const updateSchedulingDate = (data: SchedulingDateForm) => {
return request({
url: '/ops/personnel/schedulingDate',
method: 'put',
data: data
});
};
/**
* 删除运维-排班时间类型
* @param id
*/
export const delSchedulingDate = (id: string | number | Array<string | number>) => {
return request({
url: '/ops/personnel/schedulingDate/' + id,
method: 'delete'
});
};

View File

@ -0,0 +1,86 @@
export interface SchedulingDateVO {
/**
* id
*/
id: string | number;
/**
* 排班名称
*/
schedulingName: string;
/**
* 开始时间
*/
startTime: string;
/**
* 结束时间
*/
endTime: string;
/**
* 部门ID
*/
projectId?: string | number;
}
export interface SchedulingDateForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 排班名称
*/
schedulingName?: string;
/**
* 开始时间
*/
startTime?: string;
/**
* 结束时间
*/
endTime?: string;
/**
* 部门ID
*/
projectId?: string | number;
}
export interface SchedulingDateQuery extends PageQuery {
/**
* 排班名称
*/
schedulingName?: string;
/**
* 开始时间
*/
startTime?: string;
/**
* 结束时间
*/
endTime?: string;
/**
* 部门ID
*/
projectId?: string | number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@ -0,0 +1,23 @@
import request from '@/utils/request';
// 获取萤石云Token
export function getToken() {
return request({
url: '/ops/monitoriing/getToken',
method: 'get',
})
}
// 获取摄像头列表
export function getMonitoringList(data) {
return request({
url: '/ops/monitoriing/getMonitoringList',
method: 'post',
data
})
}
// 获取首页大屏数据
export function getHomeScreenData() {
return request({
url: '/ops/monitoriing/getMonitoringDp',
method: 'get',
})
}

View File

@ -20,18 +20,20 @@ export const getMenu = (menuId: string | number): AxiosPromise<MenuVO> => {
}; };
// 查询菜单下拉树结构 // 查询菜单下拉树结构
export const treeselect = (): AxiosPromise<MenuTreeOption[]> => { export const treeselect = (params?: any): AxiosPromise<MenuTreeOption[]> => {
return request({ return request({
url: '/system/menu/treeselect', url: '/system/menu/treeselect',
method: 'get' method: 'get',
params
}); });
}; };
// 根据角色ID查询菜单下拉树结构 // 根据角色ID查询菜单下拉树结构
export const roleMenuTreeselect = (roleId: string | number): AxiosPromise<RoleMenuTree> => { export const roleMenuTreeselect = (roleId: string | number, params?: any): AxiosPromise<RoleMenuTree> => {
return request({ return request({
url: '/system/menu/roleMenuTreeselect/' + roleId, url: '/system/menu/roleMenuTreeselect/' + roleId,
method: 'get' method: 'get',
params
}); });
}; };

View File

@ -147,10 +147,11 @@ export const authUserSelectAll = (data: any) => {
}); });
}; };
// 根据角色ID查询部门树结构 // 根据角色ID查询部门树结构
export const deptTreeSelect = (roleId: string | number): AxiosPromise<RoleDeptTree> => { export const deptTreeSelect = (roleId: string | number, params?) => {
return request({ return request({
url: '/system/role/deptTree/' + roleId, url: '/system/role/deptTree/' + roleId,
method: 'get' method: 'get',
params
}); });
}; };

View File

@ -39,6 +39,7 @@ export interface RoleQuery extends PageQuery {
export interface RoleForm { export interface RoleForm {
roleName: string; roleName: string;
deptId: string | undefined;
roleKey: string; roleKey: string;
roleSort: number; roleSort: number;
status: string; status: string;

View File

@ -202,10 +202,11 @@ export const listUserByDeptId = (deptId: string | number): AxiosPromise<UserVO[]
/** /**
* 查询部门下拉树结构 * 查询部门下拉树结构
*/ */
export const deptTreeSelect = (): AxiosPromise<DeptTreeVO[]> => { export const deptTreeSelect = (data?: { isShow: string }): AxiosPromise<DeptTreeVO[]> => {
return request({ return request({
url: '/system/user/deptTree', url: '/system/user/deptTree',
method: 'get' method: 'get',
params: data
}); });
}; };

View File

@ -57,3 +57,19 @@ export interface TenantInfo {
tenantEnabled: boolean; tenantEnabled: boolean;
voList: TenantVO[]; voList: TenantVO[];
} }
/**
* 根据用户获得工程列表
* */
export interface UserProject {
id: string;
userId: number;
projectId: string;
projectName: string;
shortName: string;
}
export interface IdAndNameVO {
id: string | number;
name: string;
}

View File

@ -0,0 +1,63 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { BeipinBeijianVO, BeipinBeijianForm, BeipinBeijianQuery } from '@/api/wuziguanli/beijian/types';
/**
* 查询运维-物资-备品配件列表
* @param query
* @returns {*}
*/
export const listBeipinBeijian = (query?: BeipinBeijianQuery): AxiosPromise<BeipinBeijianVO[]> => {
return request({
url: '/ops/beipinBeijian/list',
method: 'get',
params: query
});
};
/**
* 查询运维-物资-备品配件详细
* @param id
*/
export const getBeipinBeijian = (id: string | number): AxiosPromise<BeipinBeijianVO> => {
return request({
url: '/ops/beipinBeijian/' + id,
method: 'get'
});
};
/**
* 新增运维-物资-备品配件
* @param data
*/
export const addBeipinBeijian = (data: BeipinBeijianForm) => {
return request({
url: '/ops/beipinBeijian',
method: 'post',
data: data
});
};
/**
* 修改运维-物资-备品配件
* @param data
*/
export const updateBeipinBeijian = (data: BeipinBeijianForm) => {
return request({
url: '/ops/beipinBeijian',
method: 'put',
data: data
});
};
/**
* 删除运维-物资-备品配件
* @param id
*/
export const delBeipinBeijian = (id: string | number | Array<string | number>) => {
return request({
url: '/ops/beipinBeijian/' + id,
method: 'delete'
});
};

View File

@ -0,0 +1,131 @@
export interface BeipinBeijianVO {
/**
* id
*/
id: string | number;
/**
* 项目id
*/
projectId: string | number;
/**
* 备件编号
*/
beijianNumber: string;
/**
* 备件名称
*/
beijianName: string;
/**
* 设备类型
*/
shebeiType: string;
/**
* 规格型号
*/
guigexinghao: string;
/**
* 库存状态(待定)
*/
kucunStatus: string;
/**
* 库存数量
*/
kucunCount: number;
}
export interface BeipinBeijianForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 项目id
*/
projectId?: string | number;
/**
* 备件编号
*/
beijianNumber?: string;
/**
* 备件名称
*/
beijianName?: string;
/**
* 设备类型
*/
shebeiType?: string;
/**
* 规格型号
*/
guigexinghao?: string;
/**
* 库存状态(待定)
*/
kucunStatus?: string;
/**
* 库存数量
*/
kucunCount?: number;
}
export interface BeipinBeijianQuery extends PageQuery {
/**
* 项目id
*/
projectId?: string | number;
/**
* 备件编号
*/
beijianNumber?: string;
/**
* 备件名称
*/
beijianName?: string;
/**
* 设备类型
*/
shebeiType?: string;
/**
* 规格型号
*/
guigexinghao?: string;
/**
* 库存状态(待定)
*/
kucunStatus?: string;
/**
* 库存数量
*/
kucunCount?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@ -0,0 +1,56 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { CaigouPlanVO, CaigouPlanForm, CaigouPlanQuery } from '@/api/wuziguanli/caigouPlan/types';
/**
* 查询运维-物资-采购计划单列表
* @param query
* @returns {*}
*/
export const listCaigouPlan = (query?: CaigouPlanQuery): AxiosPromise<CaigouPlanVO[]> => {
return request({
url: '/ops/caigouPlan/list',
method: 'get',
params: query
});
};
/**
* 查询采购商列表
* @param query
* @returns {*}
*/
export const getSupplierList = (data:any): AxiosPromise<any> => {
return request({
url: '/ops/tenderSupplierInput/getList',
method: 'get',
params: data
});
};
/**
* 新增运维-物资-采购计划单
* @param data
* @returns {*}
*/
export const addCaigouPlan = (data: CaigouPlanForm): AxiosPromise<CaigouPlanVO> => {
return request({
url: '/ops/caigouPlan',
method: 'post',
data: data
});
};
/**
* 查询运维-物资-采购计划单详情
* @param id
* @returns {*}
*/
export const caigouPlanDetail = (id: string | number): AxiosPromise<CaigouPlanVO> => {
return request({
url: `/ops/caigouPlan/`+id,
method: 'get'
});
};

View File

@ -0,0 +1,558 @@
export interface CaigouPlanVO {
/**
* id
*/
id: string | number;
/**
* 项目id
*/
projectId: string | number;
/**
* 计划名称
*/
jihuaName: string;
/**
* 计划编号
*/
jihuaBianhao: string;
/**
* 采购单位(当前登录人部门)
*/
caigouDanwei: number;
/**
* 采购单位名称
*/
caigouDanweiName: string;
/**
* 经办人
*/
jingbanren: number;
/**
* 经办人名称
*/
jingbanrenName: string;
/**
* 合同类型
*/
hetonType: string;
/**
* 采购类型
*/
caigouType: string;
/**
* 仓库地址
*/
cangkuUrl: string;
/**
* 合同名称
*/
hetonName: string;
/**
* 供应商id
*/
gonyingshangId: string | number;
/**
* 出货时间
*/
chuhuoTime: string;
/**
* 付款条件
*/
fukuantiaojian: string;
/**
* 发票开具方式
*/
fapiaoKjfs: string;
/**
* 计划状态
*/
status: string;
/**
* 审核状态
*/
shenheStatus: string;
/**
* 预计金额
*/
yujiJine: number;
/**
* 实际采购金额
*/
shijiJine: number;
/**
* 文件id
*/
fileId: string | number;
/**
* 文件地址
*/
fileUrl: string;
/**
* 文件名称
*/
fileName: string;
/**
* 采购申请计划id
*/
caigouPlanId: string | number;
/**
* 产品名称
*/
chanpinName: string;
/**
* 产品型号
*/
chanpinType: string;
/**
* 产品单价
*/
chanpinMonovalent: number;
/**
* 购买数量
*/
goumaiNumber: number;
/**
* 单位
*/
danwei: string;
/**
* 用途
*/
yontu: string;
/**
* 总价
*/
totalPrice: number;
/**
* 申请时间
*/
createTime?: string;
/**
* 出货时间
*/
chouhuoTime?: string;
/**
* 采购申请计划文件 新增
*/
opsCaigouPlanFilesBos?: Array<any>;
/**
* 采购申请计划产品 新增
*/
opsCaigouPlanChanpinBos?:Array<any>;
/**
* 采购申请计划产品 查询
*/
opsCaigouPlanChanpinVos?: Array<any>;
/**
* 采购申请计划文件 查询
*/
opsCaigouPlanFilesVos?: Array<any>;
}
export interface CaigouPlanForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 项目id
*/
projectId?: string | number;
/**
* 计划名称
*/
jihuaName?: string;
/**
* 计划编号
*/
jihuaBianhao?: string;
/**
* 采购单位(当前登录人部门)
*/
caigouDanwei?: number;
/**
* 采购单位名称
*/
caigouDanweiName?: string;
/**
* 经办人
*/
jingbanren?: number;
/**
* 经办人名称
*/
jingbanrenName?: string;
/**
* 合同类型
*/
hetonType?: string;
/**
* 采购类型
*/
caigouType?: string;
/**
* 仓库地址
*/
cangkuUrl?: string;
/**
* 合同名称
*/
hetonName?: string;
/**
* 供应商id
*/
gonyingshangId?: string | number;
/**
* 出货时间
*/
chuhuoTime?: string;
/**
* 付款条件
*/
fukuantiaojian?: string;
/**
* 发票开具方式
*/
fapiaoKjfs?: string;
/**
* 计划状态
*/
status?: string;
/**
* 审核状态
*/
shenheStatus?: string;
/**
* 预计金额
*/
yujiJine?: number;
/**
* 实际采购金额
*/
shijiJine?: number;
/**
* 采购申请计划id
*/
caigouPlanId?: string | number;
/**
* 文件id
*/
fileId?: string | number;
/**
* 文件地址
*/
fileUrl?: string;
/**
* 文件名称
*/
fileName?: string;
/**
* 产品名称
*/
chanpinName?: string;
/**
* 产品型号
*/
chanpinType?: string;
/**
* 产品单价
*/
chanpinMonovalent?: number;
/**
* 购买数量
*/
goumaiNumber?: number;
/**
* 单位
*/
danwei?: string;
/**
* 用途
*/
yontu?: string;
/**
* 总价
*/
totalPrice?: number;
/**
* 采购申请计划文件 新增
*/
opsCaigouPlanFilesBos?: Array<any>;
/**
* 采购申请计划产品 新增
*/
opsCaigouPlanChanpinBos?:Array<any>;
/**
* 采购申请计划产品 查询
*/
opsCaigouPlanChanpinVos?: Array<any>;
/**
* 采购申请计划文件 查询
*/
opsCaigouPlanFilesVos?: Array<any>;
/**
* 申请时间
*/
createTime?: string;
/**
* 出货时间
*/
chouhuoTime?: string;
}
export interface CaigouPlanQuery extends PageQuery {
/**
* 项目id
*/
projectId?: string | number;
/**
* 计划名称
*/
jihuaName?: string;
/**
* 计划编号
*/
jihuaBianhao?: string;
/**
* 采购单位(当前登录人部门)
*/
caigouDanwei?: number;
/**
* 采购单位名称
*/
caigouDanweiName?: string;
/**
* 经办人
*/
jingbanren?: number;
/**
* 经办人名称
*/
jingbanrenName?: string;
/**
* 合同类型
*/
hetonType?: string;
/**
* 采购类型
*/
caigouType?: string;
/**
* 仓库地址
*/
cangkuUrl?: string;
/**
* 合同名称
*/
hetonName?: string;
/**
* 供应商id
*/
gonyingshangId?: string | number;
/**
* 出货时间
*/
chuhuoTime?: string;
/**
* 付款条件
*/
fukuantiaojian?: string;
/**
* 发票开具方式
*/
fapiaoKjfs?: string;
/**
* 计划状态
*/
status?: string;
/**
* 审核状态
*/
shenheStatus?: string;
/**
* 预计金额
*/
yujiJine?: number;
/**
* 实际采购金额
*/
shijiJine?: number;
/**
* 日期范围参数
*/
params?: any;
/**
* 采购申请计划id
*/
caigouPlanId?: string | number;
/**
* 文件id
*/
fileId?: string | number;
/**
* 文件地址
*/
fileUrl?: string;
/**
* 文件名称
*/
fileName?: string;
/**
* 产品名称
*/
chanpinName?: string;
/**
* 产品型号
*/
chanpinType?: string;
/**
* 产品单价
*/
chanpinMonovalent?: number;
/**
* 购买数量
*/
goumaiNumber?: number;
/**
* 单位
*/
danwei?: string;
/**
* 用途
*/
yontu?: string;
/**
* 总价
*/
totalPrice?: number;
/**
* 采购申请计划文件 新增
*/
opsCaigouPlanFilesBos?: Array<any>;
/**
* 采购申请计划产品 新增
*/
opsCaigouPlanChanpinBos?:Array<any>;
/**
* 采购申请计划产品 查询
*/
opsCaigouPlanChanpinVos?: Array<any>;
/**
* 采购申请计划文件 查询
*/
opsCaigouPlanFilesVos?: Array<any>;
/**
* 申请时间
*/
createTime?: string;
/**
* 出货时间
*/
chouhuoTime?: string;
}

View File

@ -0,0 +1,76 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { ChurukudanVO, ChurukudanForm, ChurukudanQuery } from '@/api/wuziguanli/churuku/types';
/**
* 查询运维-物资-出入库单管理列表
* @param query
* @returns {*}
*/
export const listChurukudan = (query?: ChurukudanQuery): AxiosPromise<ChurukudanVO[]> => {
return request({
url: '/ops/churukudan/list',
method: 'get',
params: query
});
};
/**
* 查询运维-物资-出入库单管理详细
* @param id
*/
export const getChurukudan = (id: string | number): AxiosPromise<ChurukudanVO> => {
return request({
url: '/ops/churukudan/' + id,
method: 'get'
});
};
/**
* 新增运维-物资-出入库单管理
* @param data
*/
export const addChurukudan = (data: ChurukudanForm) => {
return request({
url: '/ops/churukudan',
method: 'post',
data: data
});
};
/**
* 修改运维-物资-出入库单管理
* @param data
*/
export const updateChurukudan = (data: ChurukudanForm) => {
return request({
url: '/ops/churukudan',
method: 'put',
data: data
});
};
/**
* 删除运维-物资-出入库单管理
* @param id
*/
export const delChurukudan = (id: string | number | Array<string | number>) => {
return request({
url: '/ops/churukudan/' + id,
method: 'delete'
});
};
/**
* 运维-物资-出入库单柱状图
* @param query
* @returns {*}
*/
export const getChuRuKuCountBar = (data:any): AxiosPromise<any> => {
return request({
url: '/ops/churukudan/getChuRuKuCount',
method: 'get',
params: data
});
};

View File

@ -0,0 +1,154 @@
export interface ChurukudanVO {
/**
* id
*/
id: string | number;
/**
* 项目id
*/
projectId: string | number;
/**
* 单据编号
*/
danjvNumber: string;
/**
* 设备类型
*/
shebeiType: string;
/**
* 经手人id
*/
jingshourenId: string | number;
/**
* 经手人
*/
jingshourenName: string;
/**
* 联系电话
*/
contactNumber: string;
/**
* 总数量
*/
zonNumber: number;
/**
* 审核状态
*/
shenheStatus: string;
/**
* 单据状态1、出库单2入库单
*/
danjvType: string;
}
export interface ChurukudanForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 项目id
*/
projectId: string | number;
/**
* 单据编号
*/
danjvNumber?: string;
/**
* 设备类型
*/
shebeiType?: string;
/**
* 经手人id
*/
jingshourenId?: string | number;
/**
* 经手人
*/
jingshourenName?: string;
/**
* 联系电话
*/
contactNumber?: string;
/**
* 总数量
*/
zonNumber?: number;
/**
* 审核状态
*/
shenheStatus?: string;
/**
* 单据状态1、出库单2入库单
*/
danjvType?: string;
/**
* 审核状态
*/
auditStatus?: string;
}
export interface ChurukudanQuery extends PageQuery {
/**
* 项目id
*/
projectId?: string | number;
/**
* 单据编号
*/
danjvNumber?: string;
/**
* 设备类型
*/
shebeiType?: string;
/**
* 审核状态
*/
shenheStatus?: string;
/**
* 单据状态1、出库单2入库单
*/
danjvType?: string;
/**
* 审核状态
*/
auditStatus?: string;
/**
* 开始日期
*/
startDate?: string;
/**
* 结束日期
*/
endDate?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@ -0,0 +1,57 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
//查询列表
export const baoxiulist = (query) => {
return request({
url: '/ops/report/list',
method: 'get',
params: query
});
};
//新增待办事项
export const addbaoxiu = (data) => {
return request({
url: '/ops/report',
method: 'post',
data: data
});
};
//修改待办事项
export const updatebaoxiu = (data) => {
return request({
url: '/ops/report',
method: 'put',
data: data
});
};
//删除待办事项
export function delbaoxiu(ids) {
return request({
url: `/ops/report/${ids}`, // 拼接ids作为路径参数
method: 'delete'
});
}
export const baoxiuDetail = (id) => {
return request({
url: `/ops/report/${id}`,
method: 'get'
});
};
export const uploadbaoxiu = (data) => {
return request({
url: '/resource/oss/upload',
method: 'post',
data: data
});
};
export const baoxiuRecord = (data) => {
return request({
url: '/ops/report/record',
method: 'get',
params: data
});
};

View File

@ -0,0 +1,34 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
//查询列表
export const daibanlist = (query) => {
return request({
url: '/ops/matter/list',
method: 'get',
params: query
});
};
//新增待办事项
export const adddaiban = (data) => {
return request({
url: '/ops/matter',
method: 'post',
data: data
});
};
//修改待办事项
export const updatedaiban = (data) => {
return request({
url: '/ops/matter',
method: 'put',
data: data
});
};
//删除待办事项
export function deldaiban(ids) {
return request({
url: `/ops/matter/${ids}`, // 拼接ids作为路径参数
method: 'delete'
});
}

View File

@ -0,0 +1,57 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
//查询列表
export const gongdanlist = (query) => {
return request({
url: '/ops/order/list',
method: 'get',
params: query
});
};
//新增待办事项
export const addgongdan = (data) => {
return request({
url: '/ops/order',
method: 'post',
data: data
});
};
//修改待办事项
export const updategongdan = (data) => {
return request({
url: '/ops/order',
method: 'put',
data: data
});
};
//删除待办事项
export function delgongdan(ids) {
return request({
url: `/ops/order/${ids}`, // 拼接ids作为路径参数
method: 'delete'
});
}
export const gongdanDetail = (id) => {
return request({
url: `/ops/order/${id}`,
method: 'get'
});
};
export const uploadgongdan = (data) => {
return request({
url: '/resource/oss/upload',
method: 'post',
data: data
});
};
export const gongdanRecord = (data) => {
return request({
url: '/ops/order/record',
method: 'get',
params: data
});
};

Some files were not shown because too many files have changed in this diff Show More