287 Commits

Author SHA1 Message Date
29c20f6403 Merge pull request 'master' (#1) from master into prod
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 12m27s
Reviewed-on: #1
2025-08-26 14:15:20 +08:00
FLL
d6da044b48 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-08-26 11:25:20 +08:00
FLL
8c062feef0 缴费审核 2025-08-26 11:25:01 +08:00
90b9b2b7a9 发布生产
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 12m36s
2025-08-26 11:07:50 +08:00
lsm
bc59c2c22f 更新 .gitea/workflows/dev.yml 2025-08-25 18:37:11 +08:00
FLL
90eceb508a Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 15m9s
2025-08-25 17:29:51 +08:00
FLL
f794f6a8a9 权限 2025-08-25 17:29:43 +08:00
fyy
6cc969e56a feat: 修改首页数据
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-25 17:28:11 +08:00
fyy
6ca27444e0 feat: 修改首页数据
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 11m28s
2025-08-25 17:12:48 +08:00
fyy
2f2f8fb798 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-25 17:06:25 +08:00
fyy
1de539ddde feat: 隐藏导航页面 2025-08-25 17:04:41 +08:00
67b80d7687 feat:入驻单位入驻位置多选
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-25 17:00:32 +08:00
b44fa6ee7f 更新 .gitea/workflows/dev.yml
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 23m35s
2025-08-25 16:32:44 +08:00
FLL
559bd55153 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-25 16:17:41 +08:00
FLL
cc24027880 权限 2025-08-25 16:17:29 +08:00
fyy
66b7cc44e9 fix: 水电抄表查询抄表类型
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-25 16:14:11 +08:00
5f3ae86698 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-25 15:46:13 +08:00
84ff3d21b4 refactor(property): 重构能源管理相关页面布局 2025-08-25 15:46:05 +08:00
FLL
e88b8b41d8 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-25 15:06:21 +08:00
FLL
48ea62150d 权限 2025-08-25 15:06:10 +08:00
5975d1b94d feat:工单类型添加 处理优先级字段
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
自动派单不显示抢单、派单按钮
2025-08-25 14:43:32 +08:00
FLL
faababd9a4 权限
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-25 11:10:19 +08:00
FLL
c7f52fa107 权限 2025-08-25 10:02:28 +08:00
FLL
28018815b7 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-08-25 09:31:57 +08:00
FLL
bad1423acd 权限 2025-08-25 09:31:41 +08:00
f6f258c9b7 fix:工单详情图片
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-23 21:32:27 +08:00
559e46dc41 fix:会议室设置详情图片
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 5m19s
2025-08-23 21:21:10 +08:00
67b7e64600 fix:图片显示
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 13m48s
2025-08-23 19:25:11 +08:00
5c40b534f2 feat(authGroup): 暂时移除电梯授权
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 6m24s
2025-08-23 13:18:59 +08:00
99b02c16eb fix:按钮权限
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 5m22s
2025-08-22 20:00:24 +08:00
fyy
c761c8ba0c Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 2m58s
2025-08-22 19:50:03 +08:00
882e1f7452 fix:按钮权限
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-22 19:44:28 +08:00
fyy
553a915027 fix: 修复bug 2025-08-22 19:43:32 +08:00
ff5963b01d 更新 .gitea/workflows/dev.yml
All checks were successful
/ Explore-Gitea-Actions (push) Successful in 5m20s
2025-08-22 18:13:53 +08:00
850b18d34c 更新 .gitea/workflows/dev.yml 2025-08-22 18:13:21 +08:00
2afef1f33d 更新 .gitea/workflows/dev.yml 2025-08-22 18:12:58 +08:00
fyy
29adc052c7 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 11m47s
2025-08-22 17:11:38 +08:00
fyy
418a0a4e54 fix: 车辆收费使用系统用户 2025-08-22 17:08:17 +08:00
FLL
3d934e2e51 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m19s
2025-08-22 17:02:21 +08:00
FLL
18c23a21a0 权限 2025-08-22 17:02:12 +08:00
91f5b33e68 fix:统计分析按钮
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-22 17:01:43 +08:00
fyy
c8bcf9a28d Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m13s
2025-08-22 15:51:33 +08:00
fyy
69d17e29ff fix: 区域管理字段必填校验 2025-08-22 15:47:55 +08:00
fyy
cb0a15e5fb fix: 入驻单位编辑回显授权期限 2025-08-22 15:37:13 +08:00
FLL
b153c88cd5 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m23s
2025-08-22 14:31:43 +08:00
FLL
7c55152cc3 权限 2025-08-22 14:31:33 +08:00
fyy
3cad95d185 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m51s
2025-08-22 13:03:57 +08:00
fyy
060fd5485e feat: 处理权限 2025-08-22 12:59:03 +08:00
5fa41f6d85 fix:按钮权限
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m51s
2025-08-22 12:58:16 +08:00
a599e72a6b fix:按钮权限
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m44s
2025-08-22 11:14:07 +08:00
FLL
06a710d1f8 权限
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m54s
2025-08-22 11:07:08 +08:00
7b2c8e47dd fix:按钮权限
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m52s
2025-08-22 09:21:25 +08:00
a43cb1b390 feat:工单处理权重修改为处理优先级
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m21s
2025-08-21 17:11:47 +08:00
FLL
ee9b7017f4 热门活动
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m15s
2025-08-21 16:05:22 +08:00
FLL
29df30ee82 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 11m7s
2025-08-21 14:25:19 +08:00
FLL
76fa9960e0 热门活动 2025-08-21 14:25:04 +08:00
e750414f02 feat(property): 物业灯控信息页面增加左侧社区树
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m21s
2025-08-21 12:36:41 +08:00
006471bb1e 解决表格刷新bug
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m22s
2025-08-21 12:07:34 +08:00
c4d503f9b8 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m15s
2025-08-20 17:23:25 +08:00
81fc3bf2ca feat(property): 添加灯控开关功能 2025-08-20 17:23:13 +08:00
3d1681e811 更新 .gitea/workflows/dev.yml
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 8m41s
2025-08-20 15:11:14 +08:00
4b3ed5c2d5 更新 .gitea/workflows/dev.yml
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m38s
2025-08-20 14:53:47 +08:00
28d6a77848 更新 .gitea/workflows/dev.yml
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m35s
2025-08-20 14:42:45 +08:00
4139af5673 fix:预览问卷
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 6m53s
2025-08-20 14:26:59 +08:00
FLL
fc08c5525c Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-20 14:25:59 +08:00
FLL
5c7080a3da 热门活动 2025-08-20 14:25:51 +08:00
c090779319 feat(property): 添加灯控开关信息管理功能
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 9m42s
2025-08-19 18:04:22 +08:00
FLL
36f93721ad Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m28s
2025-08-19 14:41:28 +08:00
FLL
957827e0e4 热门活动 2025-08-19 14:41:18 +08:00
fyy
87fc96500a fix: 修复编辑考勤组人员展示bug
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m22s
2025-08-19 11:50:57 +08:00
fyy
1a9927e60a fix: 修复切换视图未重新获取数据
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 5m57s
2025-08-19 11:15:19 +08:00
fyy
bf13cbfbb7 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 6m52s
2025-08-19 10:53:50 +08:00
fyy
ca4f180e7e feat: 完成考勤管理下的区域管理和排班管理 2025-08-19 10:52:50 +08:00
6ed8a24745 feat:预览问卷
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 4m0s
2025-08-18 17:22:09 +08:00
FLL
5ff3cd67d0 常见问题管理
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 3m51s
2025-08-18 17:15:44 +08:00
fyy
7d15ff713c feat: 格式化代码
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 2m0s
2025-08-18 11:30:21 +08:00
fyy
93be4f1891 feat: 排班管理添加区域选择
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 51s
2025-08-18 11:27:16 +08:00
fyy
79e7a20bd1 feat: 取消默认账号
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 52s
2025-08-18 10:48:26 +08:00
15683799673
79d650adb4 视频告警页面完善
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 2m44s
2025-08-18 09:06:31 +08:00
15683799673
69f0d4adb4 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 3m58s
2025-08-17 07:03:59 +08:00
15683799673
4bc18e0e4c 视频告警页面 2025-08-17 07:03:48 +08:00
c75663a5c7 CICD
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 57s
2025-08-16 18:34:19 +08:00
a025dc2321 CICD
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 27s
2025-08-16 18:31:32 +08:00
2c6f431ba1 CICD
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 1m21s
2025-08-16 18:26:26 +08:00
7aff23d72c CICD
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled
2025-08-16 18:16:22 +08:00
ae46c42daa CICD
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 33s
2025-08-16 18:14:18 +08:00
bff5b254c2 CICD
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 1s
2025-08-16 18:11:04 +08:00
1aedec1270 CICD 2025-08-16 18:09:08 +08:00
0c2c709647 CICD 2025-08-16 18:06:31 +08:00
b0c29a6dd4 CICD 2025-08-16 18:03:21 +08:00
97dc93f3aa 安防大屏
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2025-08-16 17:58:59 +08:00
7edbeca307 Merge remote-tracking branch 'origin/master' 2025-08-16 17:17:18 +08:00
fyy
65b13aced2 feat: 问卷分析
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-15 17:23:04 +08:00
fyy
2b7b455f40 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-15 16:49:19 +08:00
fyy
3cff90a31a feat: 区域管理 2025-08-15 16:47:44 +08:00
023127fa78 feat:问卷管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-15 15:58:57 +08:00
lxj
d0b4d00f4b 事件告警修改
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-15 14:40:04 +08:00
lxj
7529565364 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-15 14:08:46 +08:00
lxj
81de99b015 事件告警修改 2025-08-15 14:08:35 +08:00
fyy
78ff0f0c3d feat: 问卷分析
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-14 17:19:58 +08:00
FLL
575ee16a87 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-14 15:14:45 +08:00
FLL
fcd4051e90 修改 2025-08-14 15:14:32 +08:00
f24ec168bf feat:调查问卷
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-14 15:12:40 +08:00
2cdbc64250 feat:调查问卷管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-14 14:58:42 +08:00
fyy
578aa61082 feat: 排班管理测试
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-14 10:00:53 +08:00
fyy
1db3c351e5 查询排班详请
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m9s
2025-08-13 17:02:49 +08:00
fyy
8da35d2d4b Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2025-08-12 17:33:39 +08:00
fyy
13f79986f8 查询排班详请 2025-08-12 17:30:57 +08:00
lxj
d9b096c8ed Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-12 15:49:31 +08:00
lxj
8cf6df683d 页面修改 2025-08-12 15:47:15 +08:00
fyy
963c1ac9c0 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-12 14:02:45 +08:00
FLL
12be6eb03b Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
# Conflicts:
#	apps/web-antd/vite.config.mts
2025-08-12 14:00:32 +08:00
FLL
938bb0a52a 修改 2025-08-12 13:59:23 +08:00
fyy
09f850fccd Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-08-12 13:57:23 +08:00
fyy
1d1afb0162 视频预警 2025-08-12 13:51:35 +08:00
bc73f02c47 feat:巡检点二维码
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-12 13:41:46 +08:00
FLL
f7462c254e 修改 2025-08-11 15:06:46 +08:00
FLL
931bdfcddd 修改 2025-08-11 15:04:32 +08:00
fyy
0a77934d8b feat: 排班管理 2025-08-11 11:05:47 +08:00
15683799673
0d8bae5406 增加大屏地图 2025-08-11 03:00:26 +08:00
15683799673
b4f24df882 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-08-10 19:35:53 +08:00
15683799673
489ec29184 视频播放同时支持h265和h264播放 2025-08-10 19:35:45 +08:00
899cefb73a feat:工单池添加上报类型
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2025-08-08 16:22:04 +08:00
5494d206d4 feat(property): 人员管理增加人员标签功能
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-08 15:09:54 +08:00
15683799673
c3f43f6e71 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-07 23:14:32 +08:00
15683799673
73232037cc 可视化门禁页面逻辑修改 2025-08-07 23:14:13 +08:00
fyy
effcb9ef86 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-07 17:45:36 +08:00
fyy
1e4c74230f feat: 排班日历视图 2025-08-07 17:44:45 +08:00
FLL
ac30c32fcc Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-07 16:49:58 +08:00
FLL
ed8fa0f5b4 巡检路线 2025-08-07 16:49:46 +08:00
09db75ae58 feat:保洁订单添加签到方式、签到图片
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-07 11:16:44 +08:00
lxj
e82a42b6a9 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
# Conflicts:
#	apps/web-antd/src/views/sis/acAdmin/dp-tree.vue
2025-08-07 09:49:37 +08:00
lxj
e0cf2f99f9 门禁可视化页面修改 2025-08-07 09:48:58 +08:00
cf64e5fa19 Merge remote-tracking branch 'origin/master' 2025-08-06 22:30:58 +08:00
15683799673
80d3739fb7 处理页面报错问题
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 22:29:04 +08:00
d9afe03c53 Merge remote-tracking branch 'origin/master' 2025-08-06 21:52:31 +08:00
8bb861ca31 安防大屏 2025-08-06 21:51:30 +08:00
a048f3627e refactor(sis): - 将原有的单一外部通道号拆分为上键通道号和下键通道号
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 20:38:29 +08:00
fyy
63d23bc447 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 16:54:12 +08:00
fyy
3bb04f80eb feat: 个人中心 2025-08-06 16:47:42 +08:00
FLL
117b574410 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 16:42:48 +08:00
FLL
f4278ee9f1 访客修改 2025-08-06 16:42:37 +08:00
cf17b814a8 feat:工单池查询
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 16:41:53 +08:00
f7e341bf08 feat:巡检明细
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 14:53:51 +08:00
01a71ea4c3 feat:工单池选择工单类型
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 14:33:02 +08:00
FLL
84140dc7e3 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 14:09:45 +08:00
FLL
65e371d16e 访客修改 2025-08-06 14:09:26 +08:00
ee8e459aed feat:工单类型添加上级类型
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 13:57:40 +08:00
lxj
6d6646ed3b Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 12:59:09 +08:00
lxj
fe2069a2e8 增加门禁可视化页面 2025-08-06 12:58:32 +08:00
8bc05afd6d refactor(sis): 1
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 09:18:36 +08:00
fyy
90531f1598 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-06 09:12:22 +08:00
FLL
34b6f8e738 访客修改 2025-08-05 17:26:09 +08:00
fyy
2beb771185 feat: 优化大屏 2025-08-05 17:07:10 +08:00
lxj
febe532404 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
# Conflicts:
#	apps/web-antd/src/views/sis/accessControl/device/accessControlModal.vue
2025-08-05 16:47:10 +08:00
lxj
0c9576039b 界面修改 2025-08-05 16:44:53 +08:00
e0a64edc14 feat(sis): 设备管理增加楼层选择功能
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-05 16:39:25 +08:00
lxj
8209630370 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-08-05 09:49:10 +08:00
17c7bc0512 feat(sis): 电梯信息关联楼层
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-04 23:31:39 +08:00
98d6dd0d9b feat:出库记录
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-04 17:27:37 +08:00
FLL
28295b283e Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-04 17:06:21 +08:00
FLL
7ad4613fc8 访客修改 2025-08-04 17:06:09 +08:00
523810a1da feat(sis): 初始化赋值
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-04 16:55:08 +08:00
FLL
14d70b22d1 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-04 10:22:05 +08:00
FLL
6f7c26a569 访客修改 2025-08-04 10:21:51 +08:00
d9856230e6 fix:人员单位加载
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-08-04 10:09:12 +08:00
lxj
cb32660b7b Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-08-03 15:31:56 +08:00
FLL
c847bd29e1 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2025-07-31 16:41:47 +08:00
FLL
1b4124b913 访客修改 2025-07-31 16:41:32 +08:00
0e38ea68fe feat:会议室预约添加会议室类型查询条件
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-31 16:05:16 +08:00
b1fa25daf1 fix:工单详情
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-31 15:34:29 +08:00
FLL
b7df7e350b Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-31 15:33:09 +08:00
FLL
3b51a615ed 访客修改 2025-07-31 15:32:59 +08:00
d722c62f49 feat:工单添加评价文字、图片
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-31 15:25:36 +08:00
FLL
988ce1d7c4 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-31 14:35:57 +08:00
FLL
46ee986a9a 访客修改 2025-07-31 14:35:46 +08:00
b7ecd38f59 feat:房间添加是否重要、房间图片字段
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-31 11:40:57 +08:00
ea9eda3973 feat:房间关联楼层
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-30 16:01:42 +08:00
8f6dc2ba11 fix:建筑管理、楼层管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-30 15:27:32 +08:00
fyy
48f0011e78 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-30 14:59:03 +08:00
fyy
e0d55b6ab4 feat: 修改地址查询层级 2025-07-30 14:57:42 +08:00
FLL
52106d7eeb Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-30 11:09:59 +08:00
FLL
ea667a76be 访客修改 2025-07-30 11:09:51 +08:00
fyy
64a01a3d6f Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-30 09:59:28 +08:00
fyy
e08cbdf345 fix: 为租赁方案绿植产品组合包添加必选校验 2025-07-30 09:58:55 +08:00
b7e2d1894e fix:考勤组排班制保存、编辑
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-30 09:40:01 +08:00
lxj
04b6fd0194 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-07-30 05:48:15 +08:00
62f1d43ac5 fix:考勤组编辑
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-29 17:26:45 +08:00
fyy
4f156a3f58 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-29 17:23:33 +08:00
fyy
9acceacdf0 fix: 园区管理编辑社区类型错误bug修复 2025-07-29 17:23:12 +08:00
84cade81df fix:巡检计划编辑、保养计划编辑
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-29 15:26:41 +08:00
FLL
9cb6d99e90 能耗
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-29 14:56:52 +08:00
FLL
71a7619f3a Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-29 14:43:59 +08:00
FLL
b912ca5aa5 能耗 2025-07-29 14:43:50 +08:00
fyy
ce445ae088 feat: 添加返回导航图标
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-29 11:42:20 +08:00
fb537fdc00 feat(property): 添加用户导入和人脸导入功能
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-29 02:05:02 +08:00
lxj
feb2eb68be Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-07-28 20:28:10 +08:00
lxj
90c803dfa3 视频监控页面逻辑更改 2025-07-28 20:27:58 +08:00
cc9ad36328 1、入驻人员删除人员类型字段
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-28 17:30:46 +08:00
fe78f7ad25 1、bug修复
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2、添加巡检明细接口
2025-07-28 17:16:27 +08:00
fyy
ba538a2227 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-28 15:30:39 +08:00
fyy
13e2163c66 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-07-28 15:30:07 +08:00
FLL
1b207e2a17 能耗
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-28 15:29:58 +08:00
fyy
63499beb8b fix: 修改建筑管理bug 2025-07-28 15:29:35 +08:00
375dcc0114 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-28 15:26:38 +08:00
7f542de90b feat(property): 1 2025-07-28 15:24:45 +08:00
fcbe3b2e78 1、入驻人员添加人员类型
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-28 14:45:14 +08:00
FLL
ca43557416 能耗
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-28 14:43:31 +08:00
289839651d 1、
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-28 10:07:02 +08:00
fyy
68bb70ee72 fix: 修改打包报错
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-27 18:15:39 +08:00
fyy
a1d711017a feat: 视频监控
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-27 18:10:44 +08:00
fyy
8af8a60bee Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-27 17:43:08 +08:00
fyy
3d7ddf3ed8 feat: 完成采购,视频分析模块 2025-07-27 17:42:43 +08:00
d84904e20c 1、考勤组删除
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-27 17:42:14 +08:00
FLL
08b738f0f4 同比
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-27 16:55:48 +08:00
dfe7138438 1、
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-27 14:11:16 +08:00
FLL
d0473366a0 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-27 11:44:08 +08:00
FLL
e6d4141c3b 同比 2025-07-27 11:43:59 +08:00
b9ae686c1f Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-26 23:53:18 +08:00
af61574154 feat(property): 1 2025-07-26 23:50:10 +08:00
54ed694271 1、用电概况
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2、用水概况
2025-07-26 18:39:49 +08:00
FLL
ba1deb7b4e Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-26 17:10:10 +08:00
FLL
d7f982949a 环比,趋势 2025-07-26 17:10:01 +08:00
532869a4a3 refactor(property): 入驻人员表单变动
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-26 02:39:07 +08:00
lxj
53f5640f02 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-25 21:31:58 +08:00
lxj
4be281fd5f 视频监控页面修改 2025-07-25 21:31:51 +08:00
lxj
241bf03b1a 视频监控页面修改 2025-07-25 21:31:43 +08:00
FLL
5fbf10b139 客户服务
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-25 15:41:29 +08:00
805902ca84 1、维修知识库
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2、维修知识管理
2025-07-25 15:37:18 +08:00
fyy
1695f017b0 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-25 12:01:21 +08:00
fyy
d96d906392 feat: 新建采购申请、个人中心菜单 2025-07-25 12:00:49 +08:00
FLL
44e2c1fd4a 客户服务
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-25 10:03:30 +08:00
9131eb0e44 feat(property): 1
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-24 19:07:46 +08:00
fyy
007bda30bc fix: 修改大屏不能显示bug、修改大屏字体、替换系统logo
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-24 16:09:54 +08:00
85e021b5ac 1、logo替换
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-24 11:21:50 +08:00
15ccb7f0b9 app功能列表
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-24 11:06:13 +08:00
1b522f2bbf feat(authGroup): 增加设备树选择功能
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-24 09:14:14 +08:00
3749f4bbb9 Merge remote-tracking branch 'origin/master'
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 20:57:47 +08:00
4ff469f0ae 1、入住人员添加字段 2025-07-23 20:57:17 +08:00
fyy
189d5ccd14 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 20:55:53 +08:00
fyy
f6da015fb7 fix: 修改bug 2025-07-23 20:54:54 +08:00
FLL
9d75dd2168 客户服务
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 20:50:49 +08:00
FLL
447ad7f004 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 16:29:12 +08:00
FLL
8d20a262eb 客户服务 2025-07-23 16:29:02 +08:00
ae098aa1e0 1、通知公告
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 16:28:30 +08:00
FLL
db8186d055 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 15:43:32 +08:00
FLL
beb4bf470d 客户服务 2025-07-23 15:43:23 +08:00
fyy
0e14adaa54 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 15:26:49 +08:00
FLL
6dc435ff6c Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 15:24:18 +08:00
FLL
187f10bdc0 客户服务 2025-07-23 15:23:57 +08:00
fyy
d91cfeb388 feat: 格式化代码 2025-07-23 14:40:26 +08:00
dc7bb19fd6 feat(property): 为人员和单元授权添加授权期限字段
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 14:36:51 +08:00
fyy
d03743f996 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 14:27:36 +08:00
fyy
fefce85997 feat: 完成考勤排版管理页面交互 2025-07-23 14:26:56 +08:00
0d6259e335 feat(sis): 新增通行权限组功能
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-23 14:12:02 +08:00
2ad20e8ccb 1、意见反馈
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-22 20:52:22 +08:00
fyy
3008b88629 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-22 19:42:02 +08:00
fyy
93b1b2476a feat: 车辆收费接口对接 2025-07-22 19:33:45 +08:00
1881c22cd3 1、
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-22 19:27:45 +08:00
lxj
c13ec26951 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-22 19:23:28 +08:00
lxj
bd8a8a91f8 视频监控页面逻辑更改 2025-07-22 19:19:59 +08:00
fyy
5627819db9 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-22 19:19:58 +08:00
fyy
9796a46ba1 feat: 车辆收费接口对接 2025-07-22 19:19:08 +08:00
b94c6c9268 1、考勤组详情
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-22 19:11:52 +08:00
FLL
34d50c58af Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-22 18:55:51 +08:00
FLL
420335d7be 客户服务 2025-07-22 18:55:04 +08:00
fyy
65b9e5cb6a Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-22 14:28:00 +08:00
fyy
49cbf6ffe5 feat: 完成车辆收费、水电抄表 2025-07-22 14:21:19 +08:00
60007098a4 feat(sis): 优化门禁授权功能
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-22 11:35:59 +08:00
09343106c8 sso
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-22 11:20:26 +08:00
fyy
5c78f808b0 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-21 20:59:22 +08:00
fyy
8c36ddceee Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-07-21 20:58:16 +08:00
3f19c3852f 1、考勤组
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-21 20:57:31 +08:00
fyy
e229a1ad1c feat: 车辆收费接口对接 2025-07-21 20:57:15 +08:00
FLL
a74b2516c7 考勤-班次管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-21 20:41:47 +08:00
FLL
33f2e117f6 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-21 11:50:52 +08:00
FLL
b74cde4531 考勤-班次管理 2025-07-21 11:50:09 +08:00
fyy
bc36b98f9a Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-07-21 11:29:03 +08:00
fyy
524b0df0e3 feat: 调整登录页面 2025-07-21 11:26:09 +08:00
15683799673
f250bbf9ab Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-21 03:38:34 +08:00
15683799673
ee1365cd4c 增加视频监控页面 2025-07-21 03:38:19 +08:00
fyy
29fd557eac fix: 组件重复引入bug
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-20 20:47:25 +08:00
fyy
31c260c8ca fix: 组件重复引入bug 2025-07-20 20:40:35 +08:00
9a14f9bc77 refactor(sis): 移动电梯楼层授权功能
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-20 19:46:54 +08:00
d9621a0416 1、考勤组排班
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-20 17:58:39 +08:00
FLL
5d8ba35a66 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-20 17:49:49 +08:00
FLL
171ed8a087 考勤-班次管理 2025-07-20 17:47:41 +08:00
618 changed files with 44240 additions and 23654 deletions

View File

@@ -1,37 +1,44 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
on:
push:
branches:
- prod
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-22.04
runs-on: ubuntu
steps:
- name: Checkout code
uses: http://47.109.37.87:3000/bichangxiong/checkout@v4 # 使用 Gitea 镜像
- name: 拉取代码仓库
uses: http://git.missmoc.top/mocheng/checkout@v4
with:
fetch-depth: 1 # 只拉取最新一次提交
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
fetch-depth: 0 # 只拉取最新的1个提交浅克隆
- name: Set up Node.js
uses: http://git.missmoc.top/mocheng/setup-node@v3
with:
node-version: 20.x
- name: pnpm
- name: 安装pnpm
run: npm i pnpm -g
- name: node
run: pnpm i
- name: Build
- name: 安装依赖
run: pnpm install
continue-on-error: false # 依赖安装失败则终止工作流
- name: 构建项目
run: pnpm build:antd
- name: copy file via ssh password
uses: appleboy/scp-action@v0.1.7
with:
host: 192.168.1.3
username: root
password: by@2025!
port: 22
source: "./apps/web-antd/dist"
target: "/project/wl/web/dist"
continue-on-error: false # 构建失败则终止工作流
- name: 检查构建结果
run: |
if [ ! -d "./apps/web-antd/dist" ]; then
echo "构建目录不存在,构建失败"
exit 1
fi
if [ -z "$(ls -A ./apps/web-antd/dist)" ]; then
echo "构建目录为空,构建失败"
exit 1
fi
- name: 通过SSH复制文件
run: cp -rf ./apps/web-antd/dist/* /www/wwwroot/183.230.235.66_11010/property

View File

@@ -1,22 +1,24 @@
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit" />
<meta name="description" content="A Modern Back-end Management System" />
<meta name="keywords" content="Vben Admin Vue3 Vite" />
<meta name="author" content="Vben" />
<meta
name="viewport"
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
/>
<!-- 由 vite 注入 VITE_APP_TITLE 变量,在 .env 文件内配置 -->
<title><%= VITE_APP_TITLE %></title>
<link rel="icon" href="/favicon.ico" />
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="renderer" content="webkit"/>
<meta name="description" content="A Modern Back-end Management System"/>
<meta name="keywords" content="Vben Admin Vue3 Vite"/>
<meta name="author" content="Vben"/>
<meta
name="viewport"
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
/>
<!-- 由 vite 注入 VITE_APP_TITLE 变量,在 .env 文件内配置 -->
<title><%= VITE_APP_TITLE %></title>
<link rel="icon" href="/favicon.ico"/>
<script type="text/javascript"
src="https://api.map.baidu.com/api?v=3.0&ak=5GUquqE2yrgMo3BPIGcn89dU8uMhnbxG"></script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>

View File

@@ -27,6 +27,9 @@
},
"dependencies": {
"@ant-design/icons-vue": "^7.0.1",
"@dataview/datav-vue3": "0.0.0-test.1672506674342",
"@jiaminghi/charts": "^0.2.18",
"@jiaminghi/data-view": "^2.10.0",
"@tinymce/tinymce-vue": "^6.0.1",
"@vben/access": "workspace:*",
"@vben/common-ui": "workspace:*",
@@ -51,6 +54,7 @@
"echarts-gl": "^2.0.9",
"jsencrypt": "^3.3.2",
"lodash-es": "^4.17.21",
"mpegts.js": "^1.8.0",
"pinia": "catalog:",
"tinymce": "^7.3.0",
"unplugin-vue-components": "^0.27.3",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,48 @@
import { requestClient } from '#/api/request';
/**
* 大屏接口
*/
/**
* 访客
*/
export function visitir() {
return requestClient.get('/property/cockpit/visitor');
}
/**
*费用
*/
export function expenses() {
return requestClient.get('/property/cockpit/expenses');
}
/**
* 物业人员配置
*/
export function propertyPerson() {
return requestClient.get('/property/cockpit/propertyperson');
}
/**
* sos报警
*/
export function sos() {
return requestClient.get('/property/cockpit/sos');
}
/**
* sos报警记录
*/
export function soslist() {
return requestClient.get('/property/cockpit/soslist');
}
/**
* 工单
*/
export function workcount() {
return requestClient.get('/property/cockpit/workcount');
}

View File

@@ -1,49 +0,0 @@
import { requestClient } from '#/api/request';
import {PageParam} from "#/api/types";
import {PageResult} from "#/api/common";
export namespace MallBannerApi {
/** Banner 信息 */
export interface Banner {
id: number;
title: string;
picUrl: string;
status: number;
url: string;
position: number;
sort: number;
memo: string;
}
}
/** 查询Banner管理列表 */
export function getBannerPage(params: PageParam) {
return requestClient.get<PageResult<MallBannerApi.Banner>>(
'/promotion/banner/page',
{ params },
);
}
/** 查询Banner管理详情 */
export function getBanner(id: number) {
return requestClient.get<MallBannerApi.Banner>(
`/promotion/banner/get?id=${id}`,
);
}
/** 新增Banner管理 */
export function createBanner(data: MallBannerApi.Banner) {
return requestClient.post('/promotion/banner/create', data);
}
/** 修改Banner管理 */
export function updateBanner(data: MallBannerApi.Banner) {
return requestClient.put('/promotion/banner/update', data);
}
/** 删除Banner管理 */
export function deleteBanner(id: number) {
return requestClient.delete(`/promotion/banner/delete?id=${id}`);
}

View File

@@ -1,58 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallBrandApi {
/** 商品品牌 */
export interface Brand {
/** 品牌编号 */
id?: number;
/** 品牌名称 */
name: string;
/** 品牌图片 */
picUrl: string;
/** 品牌排序 */
sort?: number;
/** 品牌描述 */
description?: string;
/** 开启状态 */
status: number;
}
}
/** 创建商品品牌 */
export function createBrand(data: MallBrandApi.Brand) {
return requestClient.post('/product/brand/create', data);
}
/** 更新商品品牌 */
export function updateBrand(data: MallBrandApi.Brand) {
return requestClient.put('/product/brand/update', data);
}
/** 删除商品品牌 */
export function deleteBrand(id: number) {
return requestClient.delete(`/product/brand/delete?id=${id}`);
}
/** 获得商品品牌 */
export function getBrand(id: number) {
return requestClient.get<MallBrandApi.Brand>(`/product/brand/get?id=${id}`);
}
/** 获得商品品牌列表 */
export function getBrandPage(params: PageParam) {
return requestClient.get<PageResult<MallBrandApi.Brand>>(
'/product/brand/page',
{
params,
},
);
}
/** 获得商品品牌精简信息列表 */
export function getSimpleBrandList() {
return requestClient.get<MallBrandApi.Brand[]>(
'/product/brand/list-all-simple',
);
}

View File

@@ -1,51 +0,0 @@
import { requestClient } from '#/api/request';
export namespace MallCategoryApi {
/** 产品分类 */
export interface Category {
/** 分类编号 */
id?: number;
/** 父分类编号 */
parentId?: number;
/** 分类名称 */
name: string;
/** 移动端分类图 */
picUrl: string;
/** 分类排序 */
sort: number;
/** 开启状态 */
status: number;
}
}
/** 创建商品分类 */
export function createCategory(data: MallCategoryApi.Category) {
return requestClient.post('/product/category/create', data);
}
/** 更新商品分类 */
export function updateCategory(data: MallCategoryApi.Category) {
return requestClient.put('/product/category/update', data);
}
/** 删除商品分类 */
export function deleteCategory(id: number) {
return requestClient.delete(`/product/category/delete?id=${id}`);
}
/** 获得商品分类 */
export function getCategory(id: number) {
return requestClient.get<MallCategoryApi.Category>(
`/product/category/get?id=${id}`,
);
}
/** 获得商品分类列表 */
export function getCategoryList(params: any) {
return requestClient.get<MallCategoryApi.Category[]>(
'/product/category/list',
{
params,
},
);
}

View File

@@ -1,81 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallCommentApi {
export interface Property {
propertyId: number;
propertyName: string;
valueId: number;
valueName: string;
}
/** 商品评论 */
export interface Comment {
id: number;
userId: number;
userNickname: string;
userAvatar: string;
anonymous: boolean;
orderId: number;
orderItemId: number;
spuId: number;
spuName: string;
skuId: number;
visible: boolean;
scores: number;
descriptionScores: number;
benefitScores: number;
content: string;
picUrls: string[];
replyStatus: boolean;
replyUserId: number;
replyContent: string;
replyTime: Date;
createTime: Date;
skuProperties: Property[];
}
/** 评论可见性更新 */
export interface CommentVisibleUpdate {
id: number;
visible: boolean;
}
/** 评论回复 */
export interface CommentReply {
id: number;
replyContent: string;
}
}
/** 查询商品评论列表 */
export function getCommentPage(params: PageParam) {
return requestClient.get<PageResult<MallCommentApi.Comment>>(
'/product/comment/page',
{ params },
);
}
/** 查询商品评论详情 */
export function getComment(id: number) {
return requestClient.get<MallCommentApi.Comment>(
`/product/comment/get?id=${id}`,
);
}
/** 添加自评 */
export function createComment(data: MallCommentApi.Comment) {
return requestClient.post('/product/comment/create', data);
}
/** 显示 / 隐藏评论 */
export function updateCommentVisible(
data: MallCommentApi.CommentVisibleUpdate,
) {
return requestClient.put('/product/comment/update-visible', data);
}
/** 商家回复 */
export function replyComment(data: MallCommentApi.CommentReply) {
return requestClient.put('/product/comment/reply', data);
}

View File

@@ -1,23 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallFavoriteApi {
/** 商品收藏 */
export interface Favorite {
/** 收藏编号 */
id?: number;
/** 用户编号 */
userId?: string;
/** 商品 SPU 编号 */
spuId?: null | number;
}
}
/** 获得商品收藏列表 */
export function getFavoritePage(params: PageParam) {
return requestClient.get<PageResult<MallFavoriteApi.Favorite>>(
'/product/favorite/page',
{ params },
);
}

View File

@@ -1,29 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallHistoryApi {
/** 商品浏览记录 */
export interface BrowseHistory {
/** 记录编号 */
id?: number;
/** 用户编号 */
userId?: number;
/** 商品 SPU 编号 */
spuId?: number;
/** 浏览时间 */
createTime?: Date;
}
}
/**
* 获得商品浏览记录分页
*
* @param params 请求参数
*/
export function getBrowseHistoryPage(params: PageParam) {
return requestClient.get<PageResult<MallHistoryApi.BrowseHistory>>(
'/product/browse-history/page',
{ params },
);
}

View File

@@ -1,111 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallPropertyApi {
/** 商品属性 */
export interface Property {
/** 属性编号 */
id?: number;
/** 名称 */
name: string;
/** 备注 */
remark?: string;
}
/** 属性值 */
export interface PropertyValue {
/** 属性值编号 */
id?: number;
/** 属性项的编号 */
propertyId?: number;
/** 名称 */
name: string;
/** 备注 */
remark?: string;
}
/** 属性值查询参数 */
export interface PropertyValueQuery extends PageParam {
propertyId?: number;
}
}
/** 创建属性项 */
export function createProperty(data: MallPropertyApi.Property) {
return requestClient.post('/product/property/create', data);
}
/** 更新属性项 */
export function updateProperty(data: MallPropertyApi.Property) {
return requestClient.put('/product/property/update', data);
}
/** 删除属性项 */
export function deleteProperty(id: number) {
return requestClient.delete(`/product/property/delete?id=${id}`);
}
/** 获得属性项 */
export function getProperty(id: number) {
return requestClient.get<MallPropertyApi.Property>(
`/product/property/get?id=${id}`,
);
}
/** 获得属性项分页 */
export function getPropertyPage(params: PageParam) {
return requestClient.get<PageResult<MallPropertyApi.Property>>(
'/product/property/page',
{ params },
);
}
/** 获得属性项精简列表 */
export function getPropertySimpleList() {
return requestClient.get<MallPropertyApi.Property[]>(
'/product/property/simple-list',
);
}
/** 获得属性值分页 */
export function getPropertyValuePage(
params: MallPropertyApi.PropertyValueQuery,
) {
return requestClient.get<PageResult<MallPropertyApi.PropertyValue>>(
'/product/property/value/page',
{ params },
);
}
/** 获得属性值 */
export function getPropertyValue(id: number) {
return requestClient.get<MallPropertyApi.PropertyValue>(
`/product/property/value/get?id=${id}`,
);
}
/** 创建属性值 */
export function createPropertyValue(data: MallPropertyApi.PropertyValue) {
return requestClient.post('/product/property/value/create', data);
}
/** 更新属性值 */
export function updatePropertyValue(data: MallPropertyApi.PropertyValue) {
return requestClient.put('/product/property/value/update', data);
}
/** 删除属性值 */
export function deletePropertyValue(id: number) {
return requestClient.delete(`/product/property/value/delete?id=${id}`);
}
/** 获得属性值精简列表 */
export function getPropertyValueSimpleList(propertyId: number) {
return requestClient.get<MallPropertyApi.PropertyValue[]>(
'/product/property/value/simple-list',
{
params: { propertyId },
},
);
}

View File

@@ -1,177 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallSpuApi {
/** 商品属性 */
export interface Property {
/** 属性编号 */
propertyId?: number;
/** 属性名称 */
propertyName?: string;
/** 属性值编号 */
valueId?: number;
/** 属性值名称 */
valueName?: string;
}
/** 商品 SKU */
export interface Sku {
/** 商品 SKU 编号 */
id?: number;
/** 商品 SKU 名称 */
name?: string;
/** SPU 编号 */
spuId?: number;
/** 属性数组 */
properties?: Property[];
/** 商品价格 */
price?: number | string;
/** 市场价 */
marketPrice?: number | string;
/** 成本价 */
costPrice?: number | string;
/** 商品条码 */
barCode?: string;
/** 图片地址 */
picUrl?: string;
/** 库存 */
stock?: number;
/** 商品重量单位kg 千克 */
weight?: number;
/** 商品体积单位m^3 平米 */
volume?: number;
/** 一级分销的佣金 */
firstBrokeragePrice?: number | string;
/** 二级分销的佣金 */
secondBrokeragePrice?: number | string;
/** 商品销量 */
salesCount?: number;
}
/** 优惠券模板 */
export interface GiveCouponTemplate {
/** 优惠券编号 */
id?: number;
/** 优惠券名称 */
name?: string;
}
/** 商品 SPU */
export interface Spu {
/** 商品编号 */
id?: number;
/** 商品名称 */
name?: string;
/** 商品分类 */
categoryId?: number;
/** 关键字 */
keyword?: string;
/** 单位 */
unit?: number | undefined;
/** 商品封面图 */
picUrl?: string;
/** 商品轮播图 */
sliderPicUrls?: string[];
/** 商品简介 */
introduction?: string;
/** 配送方式 */
deliveryTypes?: number[];
/** 运费模版 */
deliveryTemplateId?: number | undefined;
/** 商品品牌编号 */
brandId?: number;
/** 商品规格 */
specType?: boolean;
/** 分销类型 */
subCommissionType?: boolean;
/** sku数组 */
skus?: Sku[];
/** 商品详情 */
description?: string;
/** 商品排序 */
sort?: number;
/** 赠送积分 */
giveIntegral?: number;
/** 虚拟销量 */
virtualSalesCount?: number;
/** 商品价格 */
price?: number;
/** 商品拼团价格 */
combinationPrice?: number;
/** 商品秒杀价格 */
seckillPrice?: number;
/** 商品销量 */
salesCount?: number;
/** 市场价 */
marketPrice?: number;
/** 成本价 */
costPrice?: number;
/** 商品库存 */
stock?: number;
/** 商品创建时间 */
createTime?: Date;
/** 商品状态 */
status?: number;
}
/** 商品状态更新 */
export interface StatusUpdate {
/** 商品编号 */
id: number;
/** 商品状态 */
status: number;
}
}
/** 获得商品 SPU 列表 */
export function getSpuPage(params: PageParam) {
return requestClient.get<PageResult<MallSpuApi.Spu>>('/product/spu/page', {
params,
});
}
/** 获得商品 SPU 列表 tabsCount */
export function getTabsCount() {
return requestClient.get<Record<string, number>>('/product/spu/get-count');
}
/** 创建商品 SPU */
export function createSpu(data: MallSpuApi.Spu) {
return requestClient.post('/product/spu/create', data);
}
/** 更新商品 SPU */
export function updateSpu(data: MallSpuApi.Spu) {
return requestClient.put('/product/spu/update', data);
}
/** 更新商品 SPU 状态 */
export function updateStatus(data: MallSpuApi.StatusUpdate) {
return requestClient.put('/product/spu/update-status', data);
}
/** 获得商品 SPU */
export function getSpu(id: number) {
return requestClient.get<MallSpuApi.Spu>(`/product/spu/get-detail?id=${id}`);
}
/** 获得商品 SPU 详情列表 */
export function getSpuDetailList(ids: number[]) {
return requestClient.get<MallSpuApi.Spu[]>(`/product/spu/list?spuIds=${ids}`);
}
/** 删除商品 SPU */
export function deleteSpu(id: number) {
return requestClient.delete(`/product/spu/delete?id=${id}`);
}
/** 导出商品 SPU Excel */
export function exportSpu(params: PageParam) {
return requestClient.download('/product/spu/export-excel', { params });
}
/** 获得商品 SPU 精简列表 */
export function getSpuSimpleList() {
return requestClient.get<MallSpuApi.Spu[]>('/product/spu/list-all-simple');
}

View File

@@ -1,65 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallArticleApi {
/** 文章管理 */
export interface Article {
/** 文章编号 */
id: number;
/** 分类编号 */
categoryId: number;
/** 文章标题 */
title: string;
/** 作者 */
author: string;
/** 封面图 */
picUrl: string;
/** 文章简介 */
introduction: string;
/** 浏览数量 */
browseCount: string;
/** 排序 */
sort: number;
/** 状态 */
status: number;
/** 商品编号 */
spuId: number;
/** 是否热门 */
recommendHot: boolean;
/** 是否轮播图 */
recommendBanner: boolean;
/** 文章内容 */
content: string;
}
}
/** 查询文章管理列表 */
export function getArticlePage(params: PageParam) {
return requestClient.get<PageResult<MallArticleApi.Article>>(
'/promotion/article/page',
{ params },
);
}
/** 查询文章管理详情 */
export function getArticle(id: number) {
return requestClient.get<MallArticleApi.Article>(
`/promotion/article/get?id=${id}`,
);
}
/** 新增文章管理 */
export function createArticle(data: MallArticleApi.Article) {
return requestClient.post('/promotion/article/create', data);
}
/** 修改文章管理 */
export function updateArticle(data: MallArticleApi.Article) {
return requestClient.put('/promotion/article/update', data);
}
/** 删除文章管理 */
export function deleteArticle(id: number) {
return requestClient.delete(`/promotion/article/delete?id=${id}`);
}

View File

@@ -1,60 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallArticleCategoryApi {
/** 文章分类 */
export interface ArticleCategory {
/** 分类编号 */
id: number;
/** 分类名称 */
name: string;
/** 分类图片 */
picUrl: string;
/** 状态 */
status: number;
/** 排序 */
sort: number;
}
}
/** 查询文章分类列表 */
export function getArticleCategoryPage(params: PageParam) {
return requestClient.get<PageResult<MallArticleCategoryApi.ArticleCategory>>(
'/promotion/article-category/page',
{ params },
);
}
/** 查询文章分类精简信息列表 */
export function getSimpleArticleCategoryList() {
return requestClient.get<MallArticleCategoryApi.ArticleCategory[]>(
'/promotion/article-category/list-all-simple',
);
}
/** 查询文章分类详情 */
export function getArticleCategory(id: number) {
return requestClient.get<MallArticleCategoryApi.ArticleCategory>(
`/promotion/article-category/get?id=${id}`,
);
}
/** 新增文章分类 */
export function createArticleCategory(
data: MallArticleCategoryApi.ArticleCategory,
) {
return requestClient.post('/promotion/article-category/create', data);
}
/** 修改文章分类 */
export function updateArticleCategory(
data: MallArticleCategoryApi.ArticleCategory,
) {
return requestClient.put('/promotion/article-category/update', data);
}
/** 删除文章分类 */
export function deleteArticleCategory(id: number) {
return requestClient.delete(`/promotion/article-category/delete?id=${id}`);
}

View File

@@ -1,106 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import type { MallSpuApi } from '#/api/mall/product/spu';
import { requestClient } from '#/api/request';
export namespace MallBargainActivityApi {
/** 砍价活动 */
export interface BargainActivity {
/** 活动编号 */
id?: number;
/** 活动名称 */
name?: string;
/** 开始时间 */
startTime?: Date;
/** 结束时间 */
endTime?: Date;
/** 状态 */
status?: number;
/** 达到该人数,才能砍到低价 */
helpMaxCount?: number;
/** 最大帮砍次数 */
bargainCount?: number;
/** 最大购买次数 */
totalLimitCount?: number;
/** 商品 SPU 编号 */
spuId: number;
/** 商品 SKU 编号 */
skuId: number;
/** 砍价起始价格,单位分 */
bargainFirstPrice: number;
/** 砍价底价 */
bargainMinPrice: number;
/** 活动库存 */
stock: number;
/** 用户每次砍价的最小金额,单位:分 */
randomMinPrice?: number;
/** 用户每次砍价的最大金额,单位:分 */
randomMaxPrice?: number;
}
/** 砍价活动所需属性。选择的商品和属性的时候使用方便使用活动的通用封装 */
export interface BargainProduct {
/** 商品 SPU 编号 */
spuId: number;
/** 商品 SKU 编号 */
skuId: number;
/** 砍价起始价格,单位分 */
bargainFirstPrice: number;
/** 砍价底价 */
bargainMinPrice: number;
/** 活动库存 */
stock: number;
}
/** 扩展 SKU 配置 */
export type SkuExtension = {
/** 砍价活动配置 */
productConfig: BargainProduct;
} & MallSpuApi.Sku;
/** 扩展 SPU 配置 */
export interface SpuExtension extends MallSpuApi.Spu {
/** SKU 列表 */
skus: SkuExtension[];
}
}
/** 查询砍价活动列表 */
export function getBargainActivityPage(params: PageParam) {
return requestClient.get<PageResult<MallBargainActivityApi.BargainActivity>>(
'/promotion/bargain-activity/page',
{ params },
);
}
/** 查询砍价活动详情 */
export function getBargainActivity(id: number) {
return requestClient.get<MallBargainActivityApi.BargainActivity>(
`/promotion/bargain-activity/get?id=${id}`,
);
}
/** 新增砍价活动 */
export function createBargainActivity(
data: MallBargainActivityApi.BargainActivity,
) {
return requestClient.post('/promotion/bargain-activity/create', data);
}
/** 修改砍价活动 */
export function updateBargainActivity(
data: MallBargainActivityApi.BargainActivity,
) {
return requestClient.put('/promotion/bargain-activity/update', data);
}
/** 关闭砍价活动 */
export function closeBargainActivity(id: number) {
return requestClient.put(`/promotion/bargain-activity/close?id=${id}`);
}
/** 删除砍价活动 */
export function deleteBargainActivity(id: number) {
return requestClient.delete(`/promotion/bargain-activity/delete?id=${id}`);
}

View File

@@ -1,27 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallBargainHelpApi {
/** 砍价记录 */
export interface BargainHelp {
/** 记录编号 */
id: number;
/** 砍价记录编号 */
record: number;
/** 用户编号 */
userId: number;
/** 砍掉金额 */
reducePrice: number;
/** 结束时间 */
endTime: Date;
}
}
/** 查询砍价记录列表 */
export function getBargainHelpPage(params: PageParam) {
return requestClient.get<PageResult<MallBargainHelpApi.BargainHelp>>(
'/promotion/bargain-help/page',
{ params },
);
}

View File

@@ -1,37 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallBargainRecordApi {
/** 砍价记录 */
export interface BargainRecord {
/** 记录编号 */
id: number;
/** 活动编号 */
activityId: number;
/** 用户编号 */
userId: number;
/** 商品 SPU 编号 */
spuId: number;
/** 商品 SKU 编号 */
skuId: number;
/** 砍价起始价格 */
bargainFirstPrice: number;
/** 砍价价格 */
bargainPrice: number;
/** 状态 */
status: number;
/** 订单编号 */
orderId: number;
/** 结束时间 */
endTime: Date;
}
}
/** 查询砍价记录列表 */
export function getBargainRecordPage(params: PageParam) {
return requestClient.get<PageResult<MallBargainRecordApi.BargainRecord>>(
'/promotion/bargain-record/page',
{ params },
);
}

View File

@@ -1,111 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import type { MallSpuApi } from '#/api/mall/product/spu';
import { requestClient } from '#/api/request';
export namespace MallCombinationActivityApi {
/** 拼团活动所需属性 */
export interface CombinationProduct {
/** 商品 SPU 编号 */
spuId: number;
/** 商品 SKU 编号 */
skuId: number;
/** 拼团价格 */
combinationPrice: number;
}
/** 拼团活动 */
export interface CombinationActivity {
/** 活动编号 */
id?: number;
/** 活动名称 */
name?: string;
/** 商品 SPU 编号 */
spuId?: number;
/** 总限购数量 */
totalLimitCount?: number;
/** 单次限购数量 */
singleLimitCount?: number;
/** 开始时间 */
startTime?: Date;
/** 结束时间 */
endTime?: Date;
/** 用户数量 */
userSize?: number;
/** 总数量 */
totalCount?: number;
/** 成功数量 */
successCount?: number;
/** 订单用户数量 */
orderUserCount?: number;
/** 虚拟成团 */
virtualGroup?: number;
/** 状态 */
status?: number;
/** 限制时长 */
limitDuration?: number;
/** 拼团价格 */
combinationPrice?: number;
/** 商品列表 */
products: CombinationProduct[];
}
/** 扩展 SKU 配置 */
export type SkuExtension = {
/** 拼团活动配置 */
productConfig: CombinationProduct;
} & MallSpuApi.Sku;
/** 扩展 SPU 配置 */
export interface SpuExtension extends MallSpuApi.Spu {
/** SKU 列表 */
skus: SkuExtension[];
}
}
/** 查询拼团活动列表 */
export function getCombinationActivityPage(params: PageParam) {
return requestClient.get<
PageResult<MallCombinationActivityApi.CombinationActivity>
>('/promotion/combination-activity/page', { params });
}
/** 查询拼团活动详情 */
export function getCombinationActivity(id: number) {
return requestClient.get<MallCombinationActivityApi.CombinationActivity>(
`/promotion/combination-activity/get?id=${id}`,
);
}
/** 获得拼团活动列表,基于活动编号数组 */
export function getCombinationActivityListByIds(ids: number[]) {
return requestClient.get<MallCombinationActivityApi.CombinationActivity[]>(
`/promotion/combination-activity/list-by-ids?ids=${ids}`,
);
}
/** 新增拼团活动 */
export function createCombinationActivity(
data: MallCombinationActivityApi.CombinationActivity,
) {
return requestClient.post('/promotion/combination-activity/create', data);
}
/** 修改拼团活动 */
export function updateCombinationActivity(
data: MallCombinationActivityApi.CombinationActivity,
) {
return requestClient.put('/promotion/combination-activity/update', data);
}
/** 关闭拼团活动 */
export function closeCombinationActivity(id: number) {
return requestClient.put(`/promotion/combination-activity/close?id=${id}`);
}
/** 删除拼团活动 */
export function deleteCombinationActivity(id: number) {
return requestClient.delete(
`/promotion/combination-activity/delete?id=${id}`,
);
}

View File

@@ -1,61 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallCombinationRecordApi {
/** 拼团记录 */
export interface CombinationRecord {
/** 拼团记录编号 */
id: number;
/** 拼团活动编号 */
activityId: number;
/** 用户昵称 */
nickname: string;
/** 用户头像 */
avatar: string;
/** 团长编号 */
headId: number;
/** 过期时间 */
expireTime: string;
/** 可参团人数 */
userSize: number;
/** 已参团人数 */
userCount: number;
/** 拼团状态 */
status: number;
/** 商品名字 */
spuName: string;
/** 商品图片 */
picUrl: string;
/** 是否虚拟成团 */
virtualGroup: boolean;
/** 开始时间 (订单付款后开始的时间) */
startTime: string;
/** 结束时间(成团时间/失败时间) */
endTime: string;
}
/** 拼团记录概要信息 */
export interface RecordSummary {
/** 待成团数量 */
pendingCount: number;
/** 已成团数量 */
successCount: number;
/** 已失败数量 */
failCount: number;
}
}
/** 查询拼团记录列表 */
export function getCombinationRecordPage(params: PageParam) {
return requestClient.get<
PageResult<MallCombinationRecordApi.CombinationRecord>
>('/promotion/combination-record/page', { params });
}
/** 获得拼团记录的概要信息 */
export function getCombinationRecordSummary() {
return requestClient.get<MallCombinationRecordApi.RecordSummary>(
'/promotion/combination-record/get-summary',
);
}

View File

@@ -1,67 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallCouponApi {
/** 优惠券 */
export interface Coupon {
/** 优惠券编号 */
id: number;
/** 优惠券名称 */
name: string;
/** 优惠券状态 */
status: number;
/** 优惠券类型 */
type: number;
/** 优惠券金额 */
price: number;
/** 使用门槛 */
usePrice: number;
/** 商品范围 */
productScope: number;
/** 商品编号数组 */
productSpuIds: number[];
/** 有效期类型 */
validityType: number;
/** 固定日期-生效开始时间 */
validStartTime: Date;
/** 固定日期-生效结束时间 */
validEndTime: Date;
/** 领取日期-开始天数 */
fixedStartTerm: number;
/** 领取日期-结束天数 */
fixedEndTerm: number;
/** 每人限领个数 */
takeLimitCount: number;
/** 是否设置满多少金额可用 */
usePriceEnabled: boolean;
/** 商品分类编号数组 */
productCategoryIds: number[];
}
/** 发送优惠券 */
export interface SendCoupon {
/** 优惠券编号 */
couponId: number;
/** 用户编号数组 */
userIds: number[];
}
}
/** 删除优惠劵 */
export function deleteCoupon(id: number) {
return requestClient.delete(`/promotion/coupon/delete?id=${id}`);
}
/** 获得优惠劵分页 */
export function getCouponPage(params: PageParam) {
return requestClient.get<PageResult<MallCouponApi.Coupon>>(
'/promotion/coupon/page',
{ params },
);
}
/** 发送优惠券 */
export function sendCoupon(data: MallCouponApi.SendCoupon) {
return requestClient.post('/promotion/coupon/send', data);
}

View File

@@ -1,112 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallCouponTemplateApi {
/** 优惠券模板 */
export interface CouponTemplate {
/** 模板编号 */
id: number;
/** 模板名称 */
name: string;
/** 状态 */
status: number;
/** 发放数量 */
totalCount: number;
/** 每人限领个数 */
takeLimitCount: number;
/** 领取方式 */
takeType: number;
/** 使用门槛 */
usePrice: number;
/** 商品范围 */
productScope: number;
/** 商品范围值 */
productScopeValues: number[];
/** 有效期类型 */
validityType: number;
/** 固定日期-生效开始时间 */
validStartTime: Date;
/** 固定日期-生效结束时间 */
validEndTime: Date;
/** 领取日期-开始天数 */
fixedStartTerm: number;
/** 领取日期-结束天数 */
fixedEndTerm: number;
/** 优惠类型 */
discountType: number;
/** 折扣百分比 */
discountPercent: number;
/** 优惠金额 */
discountPrice: number;
/** 折扣上限 */
discountLimitPrice: number;
/** 已领取数量 */
takeCount: number;
/** 已使用数量 */
useCount: number;
}
/** 优惠券模板状态更新 */
export interface StatusUpdate {
/** 模板编号 */
id: number;
/** 状态 */
status: 0 | 1;
}
}
/** 创建优惠劵模板 */
export function createCouponTemplate(
data: MallCouponTemplateApi.CouponTemplate,
) {
return requestClient.post('/promotion/coupon-template/create', data);
}
/** 更新优惠劵模板 */
export function updateCouponTemplate(
data: MallCouponTemplateApi.CouponTemplate,
) {
return requestClient.put('/promotion/coupon-template/update', data);
}
/** 更新优惠劵模板的状态 */
export function updateCouponTemplateStatus(id: number, status: 0 | 1) {
const data: MallCouponTemplateApi.StatusUpdate = { id, status };
return requestClient.put('/promotion/coupon-template/update-status', data);
}
/** 删除优惠劵模板 */
export function deleteCouponTemplate(id: number) {
return requestClient.delete(`/promotion/coupon-template/delete?id=${id}`);
}
/** 获得优惠劵模板 */
export function getCouponTemplate(id: number) {
return requestClient.get<MallCouponTemplateApi.CouponTemplate>(
`/promotion/coupon-template/get?id=${id}`,
);
}
/** 获得优惠劵模板分页 */
export function getCouponTemplatePage(params: PageParam) {
return requestClient.get<PageResult<MallCouponTemplateApi.CouponTemplate>>(
'/promotion/coupon-template/page',
{ params },
);
}
/** 获得优惠劵模板列表 */
export function getCouponTemplateList(ids: number[]) {
return requestClient.get<MallCouponTemplateApi.CouponTemplate[]>(
`/promotion/coupon-template/list?ids=${ids}`,
);
}
/** 导出优惠劵模板 Excel */
export function exportCouponTemplateExcel(params: PageParam) {
return requestClient.get('/promotion/coupon-template/export-excel', {
params,
responseType: 'blob',
});
}

View File

@@ -1,91 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import type { MallSpuApi } from '#/api/mall/product/spu';
import { requestClient } from '#/api/request';
export namespace MallDiscountActivityApi {
/** 限时折扣相关属性 */
export interface DiscountProduct {
/** 商品 SPU 编号 */
spuId: number;
/** 商品 SKU 编号 */
skuId: number;
/** 折扣类型 */
discountType: number;
/** 折扣百分比 */
discountPercent: number;
/** 折扣价格 */
discountPrice: number;
}
/** 限时折扣活动 */
export interface DiscountActivity {
/** 活动编号 */
id?: number;
/** 商品 SPU 编号 */
spuId?: number;
/** 活动名称 */
name?: string;
/** 状态 */
status?: number;
/** 备注 */
remark?: string;
/** 开始时间 */
startTime?: Date;
/** 结束时间 */
endTime?: Date;
/** 商品列表 */
products?: DiscountProduct[];
}
/** 扩展 SKU 配置 */
export type SkuExtension = {
/** 限时折扣配置 */
productConfig: DiscountProduct;
} & MallSpuApi.Sku;
/** 扩展 SPU 配置 */
export interface SpuExtension extends MallSpuApi.Spu {
/** SKU 列表 */
skus: SkuExtension[];
}
}
/** 查询限时折扣活动列表 */
export function getDiscountActivityPage(params: PageParam) {
return requestClient.get<
PageResult<MallDiscountActivityApi.DiscountActivity>
>('/promotion/discount-activity/page', { params });
}
/** 查询限时折扣活动详情 */
export function getDiscountActivity(id: number) {
return requestClient.get<MallDiscountActivityApi.DiscountActivity>(
`/promotion/discount-activity/get?id=${id}`,
);
}
/** 新增限时折扣活动 */
export function createDiscountActivity(
data: MallDiscountActivityApi.DiscountActivity,
) {
return requestClient.post('/promotion/discount-activity/create', data);
}
/** 修改限时折扣活动 */
export function updateDiscountActivity(
data: MallDiscountActivityApi.DiscountActivity,
) {
return requestClient.put('/promotion/discount-activity/update', data);
}
/** 关闭限时折扣活动 */
export function closeDiscountActivity(id: number) {
return requestClient.put(`/promotion/discount-activity/close?id=${id}`);
}
/** 删除限时折扣活动 */
export function deleteDiscountActivity(id: number) {
return requestClient.delete(`/promotion/discount-activity/delete?id=${id}`);
}

View File

@@ -1,61 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallDiyPageApi {
/** 装修页面 */
export interface DiyPage {
/** 页面编号 */
id?: number;
/** 模板编号 */
templateId?: number;
/** 页面名称 */
name: string;
/** 备注 */
remark: string;
/** 预览图片地址数组 */
previewPicUrls: string[];
/** 页面属性 */
property: string;
}
}
/** 查询装修页面列表 */
export function getDiyPagePage(params: PageParam) {
return requestClient.get<PageResult<MallDiyPageApi.DiyPage>>(
'/promotion/diy-page/page',
{ params },
);
}
/** 查询装修页面详情 */
export function getDiyPage(id: number) {
return requestClient.get<MallDiyPageApi.DiyPage>(
`/promotion/diy-page/get?id=${id}`,
);
}
/** 新增装修页面 */
export function createDiyPage(data: MallDiyPageApi.DiyPage) {
return requestClient.post('/promotion/diy-page/create', data);
}
/** 修改装修页面 */
export function updateDiyPage(data: MallDiyPageApi.DiyPage) {
return requestClient.put('/promotion/diy-page/update', data);
}
/** 删除装修页面 */
export function deleteDiyPage(id: number) {
return requestClient.delete(`/promotion/diy-page/delete?id=${id}`);
}
/** 获得装修页面属性 */
export function getDiyPageProperty(id: number) {
return requestClient.get<string>(`/promotion/diy-page/get-property?id=${id}`);
}
/** 更新装修页面属性 */
export function updateDiyPageProperty(data: MallDiyPageApi.DiyPage) {
return requestClient.put('/promotion/diy-page/update-property', data);
}

View File

@@ -1,80 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import type { MallDiyPageApi } from './page';
import { requestClient } from '#/api/request';
export namespace MallDiyTemplateApi {
/** 装修模板 */
export interface DiyTemplate {
/** 模板编号 */
id?: number;
/** 模板名称 */
name: string;
/** 是否使用 */
used: boolean;
/** 使用时间 */
usedTime?: Date;
/** 备注 */
remark: string;
/** 预览图片地址数组 */
previewPicUrls: string[];
/** 模板属性 */
property: string;
}
/** 装修模板属性(包含页面列表) */
export interface DiyTemplateProperty extends DiyTemplate {
/** 页面列表 */
pages: MallDiyPageApi.DiyPage[];
}
}
/** 查询装修模板列表 */
export function getDiyTemplatePage(params: PageParam) {
return requestClient.get<PageResult<MallDiyTemplateApi.DiyTemplate>>(
'/promotion/diy-template/page',
{ params },
);
}
/** 查询装修模板详情 */
export function getDiyTemplate(id: number) {
return requestClient.get<MallDiyTemplateApi.DiyTemplate>(
`/promotion/diy-template/get?id=${id}`,
);
}
/** 新增装修模板 */
export function createDiyTemplate(data: MallDiyTemplateApi.DiyTemplate) {
return requestClient.post('/promotion/diy-template/create', data);
}
/** 修改装修模板 */
export function updateDiyTemplate(data: MallDiyTemplateApi.DiyTemplate) {
return requestClient.put('/promotion/diy-template/update', data);
}
/** 删除装修模板 */
export function deleteDiyTemplate(id: number) {
return requestClient.delete(`/promotion/diy-template/delete?id=${id}`);
}
/** 使用装修模板 */
export function useDiyTemplate(id: number) {
return requestClient.put(`/promotion/diy-template/use?id=${id}`);
}
/** 获得装修模板属性 */
export function getDiyTemplateProperty(id: number) {
return requestClient.get<MallDiyTemplateApi.DiyTemplateProperty>(
`/promotion/diy-template/get-property?id=${id}`,
);
}
/** 更新装修模板属性 */
export function updateDiyTemplateProperty(
data: MallDiyTemplateApi.DiyTemplate,
) {
return requestClient.put('/promotion/diy-template/update-property', data);
}

View File

@@ -1,70 +0,0 @@
import type { PageResult } from '@vben/request';
import { requestClient } from '#/api/request';
export namespace MallKefuConversationApi {
/** 客服会话 */
export interface Conversation {
/** 编号 */
id: number;
/** 会话所属用户 */
userId: number;
/** 会话所属用户头像 */
userAvatar: string;
/** 会话所属用户昵称 */
userNickname: string;
/** 最后聊天时间 */
lastMessageTime: Date;
/** 最后聊天内容 */
lastMessageContent: string;
/** 最后发送的消息类型 */
lastMessageContentType: number;
/** 管理端置顶 */
adminPinned: boolean;
/** 用户是否可见 */
userDeleted: boolean;
/** 管理员是否可见 */
adminDeleted: boolean;
/** 管理员未读消息数 */
adminUnreadMessageCount: number;
/** 创建时间 */
createTime?: string;
}
/** 会话置顶请求 */
export interface ConversationPinnedUpdate {
/** 会话编号 */
id: number;
/** 是否置顶 */
pinned: boolean;
}
}
/** 获得客服会话列表 */
export function getConversationList() {
return requestClient.get<PageResult<MallKefuConversationApi.Conversation>>(
'/promotion/kefu-conversation/list',
);
}
/** 获得客服会话 */
export function getConversation(id: number) {
return requestClient.get<MallKefuConversationApi.Conversation>(
`/promotion/kefu-conversation/get?id=${id}`,
);
}
/** 客服会话置顶 */
export function updateConversationPinned(
data: MallKefuConversationApi.ConversationPinnedUpdate,
) {
return requestClient.put(
'/promotion/kefu-conversation/update-conversation-pinned',
data,
);
}
/** 删除客服会话 */
export function deleteConversation(id: number) {
return requestClient.delete(`/promotion/kefu-conversation/delete?id=${id}`);
}

View File

@@ -1,67 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallKefuMessageApi {
/** 客服消息 */
export interface Message {
/** 编号 */
id: number;
/** 会话编号 */
conversationId: number;
/** 发送人编号 */
senderId: number;
/** 发送人头像 */
senderAvatar: string;
/** 发送人类型 */
senderType: number;
/** 接收人编号 */
receiverId: number;
/** 接收人类型 */
receiverType: number;
/** 消息类型 */
contentType: number;
/** 消息内容 */
content: string;
/** 是否已读 */
readStatus: boolean;
/** 创建时间 */
createTime: Date;
}
/** 发送消息请求 */
export interface MessageSend {
/** 会话编号 */
conversationId: number;
/** 消息类型 */
contentType: number;
/** 消息内容 */
content: string;
}
/** 消息列表查询参数 */
export interface MessageQuery extends PageParam {
/** 会话编号 */
conversationId: number;
}
}
/** 发送客服消息 */
export function sendKeFuMessage(data: MallKefuMessageApi.MessageSend) {
return requestClient.post('/promotion/kefu-message/send', data);
}
/** 更新客服消息已读状态 */
export function updateKeFuMessageReadStatus(conversationId: number) {
return requestClient.put(
`/promotion/kefu-message/update-read-status?conversationId=${conversationId}`,
);
}
/** 获得消息列表(流式加载) */
export function getKeFuMessageList(params: MallKefuMessageApi.MessageQuery) {
return requestClient.get<PageResult<MallKefuMessageApi.Message>>(
'/promotion/kefu-message/list',
{ params },
);
}

View File

@@ -1,127 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import type { MallSpuApi } from '#/api/mall/product/spu';
import { requestClient } from '#/api/request';
export namespace MallPointActivityApi {
/** 积分商城商品 */
export interface PointProduct {
/** 积分商城商品编号 */
id?: number;
/** 积分商城活动 id */
activityId?: number;
/** 商品 SPU 编号 */
spuId?: number;
/** 商品 SKU 编号 */
skuId: number;
/** 可兑换数量 */
count: number;
/** 兑换积分 */
point: number;
/** 兑换金额,单位:分 */
price: number;
/** 积分商城商品库存 */
stock: number;
/** 积分商城商品状态 */
activityStatus?: number;
}
/** 积分商城活动 */
export interface PointActivity {
/** 积分商城活动编号 */
id: number;
/** 积分商城活动商品 */
spuId: number;
/** 活动状态 */
status: number;
/** 积分商城活动库存 */
stock: number;
/** 积分商城活动总库存 */
totalStock: number;
/** 备注 */
remark?: string;
/** 排序 */
sort: number;
/** 创建时间 */
createTime: string;
/** 积分商城商品 */
products: PointProduct[];
/** 商品名称 */
spuName: string;
/** 商品主图 */
picUrl: string;
/** 商品市场价,单位:分 */
marketPrice: number;
/** 兑换积分 */
point: number;
/** 兑换金额,单位:分 */
price: number;
}
/** 扩展 SKU 配置 */
export type SkuExtension = {
/** 积分商城商品配置 */
productConfig: PointProduct;
} & MallSpuApi.Sku;
/** 扩展 SPU 配置 */
export interface SpuExtension extends MallSpuApi.Spu {
/** SKU 列表 */
skus: SkuExtension[];
}
/** 扩展 SPU 配置(带积分信息) */
export interface SpuExtensionWithPoint extends MallSpuApi.Spu {
/** 积分商城活动库存 */
pointStock: number;
/** 积分商城活动总库存 */
pointTotalStock: number;
/** 兑换积分 */
point: number;
/** 兑换金额,单位:分 */
pointPrice: number;
}
}
/** 查询积分商城活动分页 */
export function getPointActivityPage(params: PageParam) {
return requestClient.get<PageResult<MallPointActivityApi.PointActivity>>(
'/promotion/point-activity/page',
{ params },
);
}
/** 查询积分商城活动详情 */
export function getPointActivity(id: number) {
return requestClient.get<MallPointActivityApi.PointActivity>(
`/promotion/point-activity/get?id=${id}`,
);
}
/** 查询积分商城活动列表,基于活动编号数组 */
export function getPointActivityListByIds(ids: number[]) {
return requestClient.get<MallPointActivityApi.PointActivity[]>(
`/promotion/point-activity/list-by-ids?ids=${ids}`,
);
}
/** 新增积分商城活动 */
export function createPointActivity(data: MallPointActivityApi.PointActivity) {
return requestClient.post('/promotion/point-activity/create', data);
}
/** 修改积分商城活动 */
export function updatePointActivity(data: MallPointActivityApi.PointActivity) {
return requestClient.put('/promotion/point-activity/update', data);
}
/** 删除积分商城活动 */
export function deletePointActivity(id: number) {
return requestClient.delete(`/promotion/point-activity/delete?id=${id}`);
}
/** 关闭积分商城活动 */
export function closePointActivity(id: number) {
return requestClient.put(`/promotion/point-activity/close?id=${id}`);
}

View File

@@ -1,88 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallRewardActivityApi {
/** 优惠规则 */
export interface RewardRule {
/** 满足金额 */
limit?: number;
/** 优惠金额 */
discountPrice?: number;
/** 是否包邮 */
freeDelivery?: boolean;
/** 赠送积分 */
point: number;
/** 赠送优惠券数量 */
giveCouponTemplateCounts?: {
[key: number]: number;
};
}
/** 满减送活动 */
export interface RewardActivity {
/** 活动编号 */
id?: number;
/** 活动名称 */
name?: string;
/** 开始时间 */
startTime?: Date;
/** 结束时间 */
endTime?: Date;
/** 开始和结束时间(仅前端使用) */
startAndEndTime?: Date[];
/** 备注 */
remark?: string;
/** 条件类型 */
conditionType?: number;
/** 商品范围 */
productScope?: number;
/** 优惠规则列表 */
rules: RewardRule[];
/** 商品范围值(仅表单使用):值为品类编号列表、商品编号列表 */
productScopeValues?: number[];
/** 商品分类编号列表(仅表单使用) */
productCategoryIds?: number[];
/** 商品 SPU 编号列表(仅表单使用) */
productSpuIds?: number[];
}
}
/** 新增满减送活动 */
export function createRewardActivity(
data: MallRewardActivityApi.RewardActivity,
) {
return requestClient.post('/promotion/reward-activity/create', data);
}
/** 更新满减送活动 */
export function updateRewardActivity(
data: MallRewardActivityApi.RewardActivity,
) {
return requestClient.put('/promotion/reward-activity/update', data);
}
/** 查询满减送活动列表 */
export function getRewardActivityPage(params: PageParam) {
return requestClient.get<PageResult<MallRewardActivityApi.RewardActivity>>(
'/promotion/reward-activity/page',
{ params },
);
}
/** 查询满减送活动详情 */
export function getReward(id: number) {
return requestClient.get<MallRewardActivityApi.RewardActivity>(
`/promotion/reward-activity/get?id=${id}`,
);
}
/** 删除满减送活动 */
export function deleteRewardActivity(id: number) {
return requestClient.delete(`/promotion/reward-activity/delete?id=${id}`);
}
/** 关闭满减送活动 */
export function closeRewardActivity(id: number) {
return requestClient.put(`/promotion/reward-activity/close?id=${id}`);
}

View File

@@ -1,117 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import type { MallSpuApi } from '#/api/mall/product/spu';
import { requestClient } from '#/api/request';
export namespace MallSeckillActivityApi {
/** 秒杀商品 */
export interface SeckillProduct {
/** 商品 SKU 编号 */
skuId: number;
/** 商品 SPU 编号 */
spuId: number;
/** 秒杀价格 */
seckillPrice: number;
/** 秒杀库存 */
stock: number;
}
/** 秒杀活动 */
export interface SeckillActivity {
/** 活动编号 */
id?: number;
/** 商品 SPU 编号 */
spuId?: number;
/** 活动名称 */
name?: string;
/** 活动状态 */
status?: number;
/** 备注 */
remark?: string;
/** 开始时间 */
startTime?: Date;
/** 结束时间 */
endTime?: Date;
/** 排序 */
sort?: number;
/** 配置编号 */
configIds?: string;
/** 订单数量 */
orderCount?: number;
/** 用户数量 */
userCount?: number;
/** 总金额 */
totalPrice?: number;
/** 总限购数量 */
totalLimitCount?: number;
/** 单次限购数量 */
singleLimitCount?: number;
/** 秒杀库存 */
stock?: number;
/** 秒杀总库存 */
totalStock?: number;
/** 秒杀价格 */
seckillPrice?: number;
/** 秒杀商品列表 */
products?: SeckillProduct[];
}
/** 扩展 SKU 配置 */
export type SkuExtension = {
/** 秒杀商品配置 */
productConfig: SeckillProduct;
} & MallSpuApi.Sku;
/** 扩展 SPU 配置 */
export interface SpuExtension extends MallSpuApi.Spu {
/** SKU 列表 */
skus: SkuExtension[];
}
}
/** 查询秒杀活动列表 */
export function getSeckillActivityPage(params: PageParam) {
return requestClient.get<PageResult<MallSeckillActivityApi.SeckillActivity>>(
'/promotion/seckill-activity/page',
{ params },
);
}
/** 查询秒杀活动列表,基于活动编号数组 */
export function getSeckillActivityListByIds(ids: number[]) {
return requestClient.get<MallSeckillActivityApi.SeckillActivity[]>(
`/promotion/seckill-activity/list-by-ids?ids=${ids}`,
);
}
/** 查询秒杀活动详情 */
export function getSeckillActivity(id: number) {
return requestClient.get<MallSeckillActivityApi.SeckillActivity>(
`/promotion/seckill-activity/get?id=${id}`,
);
}
/** 新增秒杀活动 */
export function createSeckillActivity(
data: MallSeckillActivityApi.SeckillActivity,
) {
return requestClient.post('/promotion/seckill-activity/create', data);
}
/** 修改秒杀活动 */
export function updateSeckillActivity(
data: MallSeckillActivityApi.SeckillActivity,
) {
return requestClient.put('/promotion/seckill-activity/update', data);
}
/** 关闭秒杀活动 */
export function closeSeckillActivity(id: number) {
return requestClient.put(`/promotion/seckill-activity/close?id=${id}`);
}
/** 删除秒杀活动 */
export function deleteSeckillActivity(id: number) {
return requestClient.delete(`/promotion/seckill-activity/delete?id=${id}`);
}

View File

@@ -1,74 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallSeckillConfigApi {
/** 秒杀时段 */
export interface SeckillConfig {
/** 编号 */
id: number;
/** 秒杀时段名称 */
name: string;
/** 开始时间点 */
startTime: string;
/** 结束时间点 */
endTime: string;
/** 秒杀轮播图 */
sliderPicUrls: string[];
/** 活动状态 */
status: number;
}
/** 时段配置状态更新 */
export interface StatusUpdate {
/** 编号 */
id: number;
/** 状态 */
status: number;
}
}
/** 查询秒杀时段分页 */
export function getSeckillConfigPage(params: PageParam) {
return requestClient.get<PageResult<MallSeckillConfigApi.SeckillConfig>>(
'/promotion/seckill-config/page',
{ params },
);
}
/** 查询秒杀时段列表 */
export function getSimpleSeckillConfigList() {
return requestClient.get<MallSeckillConfigApi.SeckillConfig[]>(
'/promotion/seckill-config/list',
);
}
/** 查询秒杀时段详情 */
export function getSeckillConfig(id: number) {
return requestClient.get<MallSeckillConfigApi.SeckillConfig>(
`/promotion/seckill-config/get?id=${id}`,
);
}
/** 新增秒杀时段 */
export function createSeckillConfig(data: MallSeckillConfigApi.SeckillConfig) {
return requestClient.post('/promotion/seckill-config/create', data);
}
/** 修改秒杀时段 */
export function updateSeckillConfig(data: MallSeckillConfigApi.SeckillConfig) {
return requestClient.put('/promotion/seckill-config/update', data);
}
/** 删除秒杀时段 */
export function deleteSeckillConfig(id: number) {
return requestClient.delete(`/promotion/seckill-config/delete?id=${id}`);
}
/** 修改时段配置状态 */
export function updateSeckillConfigStatus(id: number, status: number) {
return requestClient.put('/promotion/seckill-config/update-status', {
id,
status,
});
}

View File

@@ -1,5 +0,0 @@
/** 数据对照 Response */
export interface MallDataComparisonResp<T> {
value: T;
reference: T;
}

View File

@@ -1,131 +0,0 @@
import type { MallDataComparisonResp } from './common';
import { formatDate } from '@vben/utils';
import { requestClient } from '#/api/request';
export namespace MallMemberStatisticsApi {
/** 会员分析 Request */
export interface AnalyseReq {
times: Date[];
}
/** 会员分析对照数据 Response */
export interface AnalyseComparison {
registerUserCount: number;
visitUserCount: number;
rechargeUserCount: number;
}
/** 会员分析 Response */
export interface Analyse {
visitUserCount: number;
orderUserCount: number;
payUserCount: number;
atv: number;
comparison: MallDataComparisonResp<AnalyseComparison>;
}
/** 会员地区统计 Response */
export interface AreaStatistics {
areaId: number;
areaName: string;
userCount: number;
orderCreateUserCount: number;
orderPayUserCount: number;
orderPayPrice: number;
}
/** 会员性别统计 Response */
export interface SexStatistics {
sex: number;
userCount: number;
}
/** 会员统计 Response */
export interface Summary {
userCount: number;
rechargeUserCount: number;
rechargePrice: number;
expensePrice: number;
}
/** 会员终端统计 Response */
export interface TerminalStatistics {
terminal: number;
userCount: number;
}
/** 会员数量统计 Response */
export interface Count {
/** 用户访问量 */
visitUserCount: string;
/** 注册用户数量 */
registerUserCount: number;
}
/** 会员注册数量 Response */
export interface RegisterCount {
date: string;
count: number;
}
}
/** 查询会员统计 */
export function getMemberSummary() {
return requestClient.get<MallMemberStatisticsApi.Summary>(
'/statistics/member/summary',
);
}
/** 查询会员分析数据 */
export function getMemberAnalyse(params: MallMemberStatisticsApi.AnalyseReq) {
return requestClient.get<MallMemberStatisticsApi.Analyse>(
'/statistics/member/analyse',
{
params: {
times: [formatDate(params.times[0]), formatDate(params.times[1])],
},
},
);
}
/** 按照省份,查询会员统计列表 */
export function getMemberAreaStatisticsList() {
return requestClient.get<MallMemberStatisticsApi.AreaStatistics[]>(
'/statistics/member/area-statistics-list',
);
}
/** 按照性别,查询会员统计列表 */
export function getMemberSexStatisticsList() {
return requestClient.get<MallMemberStatisticsApi.SexStatistics[]>(
'/statistics/member/sex-statistics-list',
);
}
/** 按照终端,查询会员统计列表 */
export function getMemberTerminalStatisticsList() {
return requestClient.get<MallMemberStatisticsApi.TerminalStatistics[]>(
'/statistics/member/terminal-statistics-list',
);
}
/** 获得用户数量量对照 */
export function getUserCountComparison() {
return requestClient.get<
MallDataComparisonResp<MallMemberStatisticsApi.Count>
>('/statistics/member/user-count-comparison');
}
/** 获得会员注册数量列表 */
export function getMemberRegisterCountList(beginTime: Date, endTime: Date) {
return requestClient.get<MallMemberStatisticsApi.RegisterCount[]>(
'/statistics/member/register-count-list',
{
params: {
times: [formatDate(beginTime), formatDate(endTime)],
},
},
);
}

View File

@@ -1,16 +0,0 @@
import { requestClient } from '#/api/request';
export namespace MallPayStatisticsApi {
/** 支付统计 */
export interface PaySummaryResp {
/** 充值金额,单位分 */
rechargePrice: number;
}
}
/** 获取钱包充值金额 */
export function getWalletRechargePrice() {
return requestClient.get<MallPayStatisticsApi.PaySummaryResp>(
'/statistics/pay/summary',
);
}

View File

@@ -1,68 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import type { MallDataComparisonResp } from './common';
import { requestClient } from '#/api/request';
export namespace MallProductStatisticsApi {
/** 商品统计数据 */
export interface ProductStatistics {
/** 编号 */
id: number;
/** 统计日期 */
day: string;
/** 商品 SPU 编号 */
spuId: number;
/** 商品 SPU 名称 */
spuName: string;
/** 商品 SPU 图片 */
spuPicUrl: string;
/** 浏览次数 */
browseCount: number;
/** 浏览人数 */
browseUserCount: number;
/** 收藏次数 */
favoriteCount: number;
/** 加购次数 */
cartCount: number;
/** 下单次数 */
orderCount: number;
/** 支付次数 */
orderPayCount: number;
/** 支付金额 */
orderPayPrice: number;
/** 售后次数 */
afterSaleCount: number;
/** 退款金额 */
afterSaleRefundPrice: number;
/** 浏览转化率 */
browseConvertPercent: number;
}
}
/** 获得商品统计分析 */
export function getProductStatisticsAnalyse(params: PageParam) {
return requestClient.get<
MallDataComparisonResp<MallProductStatisticsApi.ProductStatistics>
>('/statistics/product/analyse', { params });
}
/** 获得商品状况明细 */
export function getProductStatisticsList(params: PageParam) {
return requestClient.get<MallProductStatisticsApi.ProductStatistics[]>(
'/statistics/product/list',
{ params },
);
}
/** 导出获得商品状况明细 Excel */
export function exportProductStatisticsExcel(params: PageParam) {
return requestClient.download('/statistics/product/export-excel', { params });
}
/** 获得商品排行榜分页 */
export function getProductStatisticsRankPage(params: PageParam) {
return requestClient.get<
PageResult<MallProductStatisticsApi.ProductStatistics>
>('/statistics/product/rank-page', { params });
}

View File

@@ -1,135 +0,0 @@
import type { MallDataComparisonResp } from './common';
import { formatDate } from '@vben/utils';
import { requestClient } from '#/api/request';
export namespace MallTradeStatisticsApi {
/** 交易统计 Response */
export interface TradeSummary {
yesterdayOrderCount: number;
monthOrderCount: number;
yesterdayPayPrice: number;
monthPayPrice: number;
}
/** 交易状况 Request */
export interface TradeTrendReq {
times: [Date, Date];
}
/** 交易状况统计 Response */
export interface TradeTrendSummary {
time: string;
turnoverPrice: number;
orderPayPrice: number;
rechargePrice: number;
expensePrice: number;
walletPayPrice: number;
brokerageSettlementPrice: number;
afterSaleRefundPrice: number;
}
/** 交易订单数量 Response */
export interface TradeOrderCount {
/** 待发货 */
undelivered?: number;
/** 待核销 */
pickUp?: number;
/** 退款中 */
afterSaleApply?: number;
/** 提现待审核 */
auditingWithdraw?: number;
}
/** 交易订单统计 Response */
export interface TradeOrderSummary {
/** 支付订单商品数 */
orderPayCount?: number;
/** 总支付金额,单位:分 */
orderPayPrice?: number;
}
/** 订单量趋势统计 Response */
export interface TradeOrderTrend {
/** 日期 */
date: string;
/** 订单数量 */
orderPayCount: number;
/** 订单支付金额 */
orderPayPrice: number;
}
}
/** 时间参数需要格式化, 确保接口能识别 */
const formatDateParam = (params: MallTradeStatisticsApi.TradeTrendReq) => {
return {
times: [formatDate(params.times[0]), formatDate(params.times[1])],
} as MallTradeStatisticsApi.TradeTrendReq;
};
/** 查询交易统计 */
export function getTradeStatisticsSummary() {
return requestClient.get<
MallDataComparisonResp<MallTradeStatisticsApi.TradeSummary>
>('/statistics/trade/summary');
}
/** 获得交易状况统计 */
export function getTradeStatisticsAnalyse(
params: MallTradeStatisticsApi.TradeTrendReq,
) {
return requestClient.get<
MallDataComparisonResp<MallTradeStatisticsApi.TradeTrendSummary>
>('/statistics/trade/analyse', { params: formatDateParam(params) });
}
/** 获得交易状况明细 */
export function getTradeStatisticsList(
params: MallTradeStatisticsApi.TradeTrendReq,
) {
return requestClient.get<MallTradeStatisticsApi.TradeTrendSummary[]>(
'/statistics/trade/list',
{ params: formatDateParam(params) },
);
}
/** 导出交易状况明细 */
export function exportTradeStatisticsExcel(
params: MallTradeStatisticsApi.TradeTrendReq,
) {
return requestClient.download('/statistics/trade/export-excel', {
params: formatDateParam(params),
});
}
/** 获得交易订单数量 */
export function getOrderCount() {
return requestClient.get<MallTradeStatisticsApi.TradeOrderCount>(
'/statistics/trade/order-count',
);
}
/** 获得交易订单数量对照 */
export function getOrderComparison() {
return requestClient.get<
MallDataComparisonResp<MallTradeStatisticsApi.TradeOrderSummary>
>('/statistics/trade/order-comparison');
}
/** 获得订单量趋势统计 */
export function getOrderCountTrendComparison(
type: number,
beginTime: Date,
endTime: Date,
) {
return requestClient.get<
MallDataComparisonResp<MallTradeStatisticsApi.TradeOrderTrend>[]
>('/statistics/trade/order-count-trend', {
params: {
type,
beginTime: formatDate(beginTime),
endTime: formatDate(endTime),
},
});
}

View File

@@ -1,127 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallAfterSaleApi {
/** 商品属性 */
export interface ProductProperty {
/** 属性的编号 */
propertyId?: null | number;
/** 属性的名称 */
propertyName?: string;
/** 属性值的编号 */
valueId?: null | number;
/** 属性值的名称 */
valueName?: string;
}
/** 交易售后 */
export interface AfterSale {
/** 售后编号,主键自增 */
id?: null | number;
/** 售后单号 */
no?: string;
/** 退款状态 */
status?: null | number;
/** 售后方式 */
way?: null | number;
/** 售后类型 */
type?: null | number;
/** 用户编号 */
userId?: null | number;
/** 申请原因 */
applyReason?: string;
/** 补充描述 */
applyDescription?: string;
/** 补充凭证图片 */
applyPicUrls?: string[];
/** 交易订单编号 */
orderId?: null | number;
/** 订单流水号 */
orderNo?: string;
/** 交易订单项编号 */
orderItemId?: null | number;
/** 商品 SPU 编号 */
spuId?: null | number;
/** 商品 SPU 名称 */
spuName?: string;
/** 商品 SKU 编号 */
skuId?: null | number;
/** 属性数组 */
properties?: ProductProperty[];
/** 商品图片 */
picUrl?: string;
/** 退货商品数量 */
count?: null | number;
/** 审批时间 */
auditTime?: Date;
/** 审批人 */
auditUserId?: null | number;
/** 审批备注 */
auditReason?: string;
/** 退款金额,单位:分 */
refundPrice?: null | number;
/** 支付退款编号 */
payRefundId?: null | number;
/** 退款时间 */
refundTime?: Date;
/** 退货物流公司编号 */
logisticsId?: null | number;
/** 退货物流单号 */
logisticsNo?: string;
/** 退货时间 */
deliveryTime?: Date;
/** 收货时间 */
receiveTime?: Date;
/** 收货备注 */
receiveReason?: string;
}
/** 拒绝售后请求 */
export interface DisagreeRequest {
/** 售后编号 */
id: number;
/** 拒绝原因 */
reason: string;
}
}
/** 获得交易售后分页 */
export function getAfterSalePage(params: PageParam) {
return requestClient.get<PageResult<MallAfterSaleApi.AfterSale>>(
'/trade/after-sale/page',
{ params },
);
}
/** 获得交易售后详情 */
export function getAfterSale(id: number) {
return requestClient.get<MallAfterSaleApi.AfterSale>(
`/trade/after-sale/get-detail?id=${id}`,
);
}
/** 同意售后 */
export function agree(id: number) {
return requestClient.put(`/trade/after-sale/agree?id=${id}`);
}
/** 拒绝售后 */
export function disagree(data: MallAfterSaleApi.DisagreeRequest) {
return requestClient.put('/trade/after-sale/disagree', data);
}
/** 确认收货 */
export function receive(id: number) {
return requestClient.put(`/trade/after-sale/receive?id=${id}`);
}
/** 拒绝收货 */
export function refuse(id: number) {
return requestClient.put(`/trade/after-sale/refuse?id=${id}`);
}
/** 确认退款 */
export function refund(id: number) {
return requestClient.put(`/trade/after-sale/refund?id=${id}`);
}

View File

@@ -1,46 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallBrokerageRecordApi {
/** 佣金记录 */
export interface BrokerageRecord {
/** 编号 */
id: number;
/** 用户编号 */
userId: number;
/** 用户昵称 */
userNickname: string;
/** 用户头像 */
userAvatar: string;
/** 佣金金额,单位:分 */
price: number;
/** 佣金类型 */
type: number;
/** 关联订单编号 */
orderId: number;
/** 关联订单号 */
orderNo: string;
/** 创建时间 */
createTime: Date;
/** 状态 */
status: number;
/** 结算时间 */
settlementTime: Date;
}
}
/** 查询佣金记录列表 */
export function getBrokerageRecordPage(params: PageParam) {
return requestClient.get<PageResult<MallBrokerageRecordApi.BrokerageRecord>>(
'/trade/brokerage-record/page',
{ params },
);
}
/** 查询佣金记录详情 */
export function getBrokerageRecord(id: number) {
return requestClient.get<MallBrokerageRecordApi.BrokerageRecord>(
`/trade/brokerage-record/get?id=${id}`,
);
}

View File

@@ -1,99 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallBrokerageUserApi {
/** 分销用户 */
export interface BrokerageUser {
/** 编号 */
id: number;
/** 推广员编号 */
bindUserId: number;
/** 推广员绑定时间 */
bindUserTime: Date;
/** 是否启用分销 */
brokerageEnabled: boolean;
/** 分销资格时间 */
brokerageTime: Date;
/** 可提现金额,单位:分 */
price: number;
/** 冻结金额,单位:分 */
frozenPrice: number;
/** 用户昵称 */
nickname: string;
/** 用户头像 */
avatar: string;
}
/** 创建分销用户请求 */
export interface CreateRequest {
/** 用户编号 */
userId: number;
/** 推广员编号 */
bindUserId: number;
}
/** 修改推广员请求 */
export interface UpdateBindUserRequest {
/** 用户编号 */
id: number;
/** 推广员编号 */
bindUserId: number;
}
/** 清除推广员请求 */
export interface ClearBindUserRequest {
/** 用户编号 */
id: number;
}
/** 修改推广资格请求 */
export interface UpdateBrokerageEnabledRequest {
/** 用户编号 */
id: number;
/** 是否启用分销 */
enabled: boolean;
}
}
/** 创建分销用户 */
export function createBrokerageUser(data: MallBrokerageUserApi.CreateRequest) {
return requestClient.post('/trade/brokerage-user/create', data);
}
/** 查询分销用户列表 */
export function getBrokerageUserPage(params: PageParam) {
return requestClient.get<PageResult<MallBrokerageUserApi.BrokerageUser>>(
'/trade/brokerage-user/page',
{ params },
);
}
/** 查询分销用户详情 */
export function getBrokerageUser(id: number) {
return requestClient.get<MallBrokerageUserApi.BrokerageUser>(
`/trade/brokerage-user/get?id=${id}`,
);
}
/** 修改推广员 */
export function updateBindUser(
data: MallBrokerageUserApi.UpdateBindUserRequest,
) {
return requestClient.put('/trade/brokerage-user/update-bind-user', data);
}
/** 清除推广员 */
export function clearBindUser(data: MallBrokerageUserApi.ClearBindUserRequest) {
return requestClient.put('/trade/brokerage-user/clear-bind-user', data);
}
/** 修改推广资格 */
export function updateBrokerageEnabled(
data: MallBrokerageUserApi.UpdateBrokerageEnabledRequest,
) {
return requestClient.put(
'/trade/brokerage-user/update-brokerage-enable',
data,
);
}

View File

@@ -1,81 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallBrokerageWithdrawApi {
/** 佣金提现 */
export interface BrokerageWithdraw {
/** 编号 */
id: number;
/** 用户编号 */
userId: number;
/** 提现金额,单位:分 */
price: number;
/** 手续费,单位:分 */
feePrice: number;
/** 总金额,单位:分 */
totalPrice: number;
/** 提现类型 */
type: number;
/** 用户名称 */
userName: string;
/** 用户账号 */
userAccount: string;
/** 银行名称 */
bankName: string;
/** 银行地址 */
bankAddress: string;
/** 收款码地址 */
qrCodeUrl: string;
/** 状态 */
status: number;
/** 审核备注 */
auditReason: string;
/** 审核时间 */
auditTime: Date;
/** 备注 */
remark: string;
/** 支付转账编号 */
payTransferId?: number;
/** 转账渠道编码 */
transferChannelCode?: string;
/** 转账时间 */
transferTime?: Date;
/** 转账错误信息 */
transferErrorMsg?: string;
}
/** 驳回申请请求 */
export interface RejectRequest {
/** 编号 */
id: number;
/** 驳回原因 */
auditReason: string;
}
}
/** 查询佣金提现列表 */
export function getBrokerageWithdrawPage(params: PageParam) {
return requestClient.get<
PageResult<MallBrokerageWithdrawApi.BrokerageWithdraw>
>('/trade/brokerage-withdraw/page', { params });
}
/** 查询佣金提现详情 */
export function getBrokerageWithdraw(id: number) {
return requestClient.get<MallBrokerageWithdrawApi.BrokerageWithdraw>(
`/trade/brokerage-withdraw/get?id=${id}`,
);
}
/** 佣金提现 - 通过申请 */
export function approveBrokerageWithdraw(id: number) {
return requestClient.put(`/trade/brokerage-withdraw/approve?id=${id}`);
}
/** 审核佣金提现 - 驳回申请 */
export function rejectBrokerageWithdraw(
data: MallBrokerageWithdrawApi.RejectRequest,
) {
return requestClient.put('/trade/brokerage-withdraw/reject', data);
}

View File

@@ -1,33 +0,0 @@
import { requestClient } from '#/api/request';
export namespace MallTradeConfigApi {
/** 交易中心配置 */
export interface Config {
id?: number;
afterSaleRefundReasons?: string[];
afterSaleReturnReasons?: string[];
deliveryExpressFreeEnabled?: boolean;
deliveryExpressFreePrice?: number;
deliveryPickUpEnabled?: boolean;
brokerageEnabled?: boolean;
brokerageEnabledCondition?: number;
brokerageBindMode?: number;
brokeragePosterUrls?: string;
brokerageFirstPercent?: number;
brokerageSecondPercent?: number;
brokerageWithdrawMinPrice?: number;
brokerageFrozenDays?: number;
brokerageWithdrawTypes?: string;
tencentLbsKey?: string;
}
}
/** 查询交易中心配置详情 */
export function getTradeConfig() {
return requestClient.get<MallTradeConfigApi.Config>('/trade/config/get');
}
/** 保存交易中心配置 */
export function saveTradeConfig(data: MallTradeConfigApi.Config) {
return requestClient.put('/trade/config/save', data);
}

View File

@@ -1,79 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallDeliveryExpressApi {
/** 快递公司 */
export interface DeliveryExpress {
/** 编号 */
id: number;
/** 快递公司编码 */
code: string;
/** 快递公司名称 */
name: string;
/** 快递公司 logo */
logo: string;
/** 排序 */
sort: number;
/** 状态 */
status: number;
}
/** 快递公司精简信息 */
export interface SimpleDeliveryExpress {
/** 编号 */
id: number;
/** 快递公司编码 */
code: string;
/** 快递公司名称 */
name: string;
}
}
/** 查询快递公司列表 */
export function getDeliveryExpressPage(params: PageParam) {
return requestClient.get<PageResult<MallDeliveryExpressApi.DeliveryExpress>>(
'/trade/delivery/express/page',
{ params },
);
}
/** 查询快递公司详情 */
export function getDeliveryExpress(id: number) {
return requestClient.get<MallDeliveryExpressApi.DeliveryExpress>(
`/trade/delivery/express/get?id=${id}`,
);
}
/** 获得快递公司精简信息列表 */
export function getSimpleDeliveryExpressList() {
return requestClient.get<MallDeliveryExpressApi.SimpleDeliveryExpress[]>(
'/trade/delivery/express/list-all-simple',
);
}
/** 新增快递公司 */
export function createDeliveryExpress(
data: MallDeliveryExpressApi.DeliveryExpress,
) {
return requestClient.post('/trade/delivery/express/create', data);
}
/** 修改快递公司 */
export function updateDeliveryExpress(
data: MallDeliveryExpressApi.DeliveryExpress,
) {
return requestClient.put('/trade/delivery/express/update', data);
}
/** 删除快递公司 */
export function deleteDeliveryExpress(id: number) {
return requestClient.delete(`/trade/delivery/express/delete?id=${id}`);
}
/** 导出快递公司 Excel */
export function exportDeliveryExpress(params: PageParam) {
return requestClient.download('/trade/delivery/express/export-excel', {
params,
});
}

View File

@@ -1,95 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallDeliveryExpressTemplateApi {
/** 运费模板计费 */
export interface TemplateCharge {
/** 区域编号列表 */
areaIds: number[];
/** 首件数量 */
startCount: number;
/** 首件价格,单位:分 */
startPrice: number;
/** 续件数量 */
extraCount: number;
/** 续件价格,单位:分 */
extraPrice: number;
}
/** 运费模板包邮 */
export interface TemplateFree {
/** 区域编号列表 */
areaIds: number[];
/** 包邮件数 */
freeCount: number;
/** 包邮金额,单位:分 */
freePrice: number;
}
/** 快递运费模板 */
export interface ExpressTemplate {
/** 编号 */
id: number;
/** 模板名称 */
name: string;
/** 计费方式 */
chargeMode: number;
/** 排序 */
sort: number;
/** 计费区域列表 */
templateCharge: TemplateCharge[];
/** 包邮区域列表 */
templateFree: TemplateFree[];
}
/** 运费模板精简信息 */
export interface SimpleTemplate {
/** 编号 */
id: number;
/** 模板名称 */
name: string;
}
}
/** 查询快递运费模板列表 */
export function getDeliveryExpressTemplatePage(params: PageParam) {
return requestClient.get<
PageResult<MallDeliveryExpressTemplateApi.ExpressTemplate>
>('/trade/delivery/express-template/page', { params });
}
/** 查询快递运费模板详情 */
export function getDeliveryExpressTemplate(id: number) {
return requestClient.get<MallDeliveryExpressTemplateApi.ExpressTemplate>(
`/trade/delivery/express-template/get?id=${id}`,
);
}
/** 查询快递运费模板详情 */
export function getSimpleTemplateList() {
return requestClient.get<MallDeliveryExpressTemplateApi.SimpleTemplate[]>(
'/trade/delivery/express-template/list-all-simple',
);
}
/** 新增快递运费模板 */
export function createDeliveryExpressTemplate(
data: MallDeliveryExpressTemplateApi.ExpressTemplate,
) {
return requestClient.post('/trade/delivery/express-template/create', data);
}
/** 修改快递运费模板 */
export function updateDeliveryExpressTemplate(
data: MallDeliveryExpressTemplateApi.ExpressTemplate,
) {
return requestClient.put('/trade/delivery/express-template/update', data);
}
/** 删除快递运费模板 */
export function deleteDeliveryExpressTemplate(id: number) {
return requestClient.delete(
`/trade/delivery/express-template/delete?id=${id}`,
);
}

View File

@@ -1,94 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallDeliveryPickUpStoreApi {
/** 自提门店 */
export interface PickUpStore {
/** 编号 */
id: number;
/** 门店名称 */
name: string;
/** 门店简介 */
introduction: string;
/** 联系电话 */
phone: string;
/** 区域编号 */
areaId: number;
/** 详细地址 */
detailAddress: string;
/** 门店 logo */
logo: string;
/** 营业开始时间 */
openingTime: string;
/** 营业结束时间 */
closingTime: string;
/** 纬度 */
latitude: number;
/** 经度 */
longitude: number;
/** 状态 */
status: number;
/** 绑定用户编号组数 */
verifyUserIds: number[];
}
/** 绑定自提店员请求 */
export interface BindStaffRequest {
id?: number;
/** 门店名称 */
name: string;
/** 门店编号 */
storeId: number;
/** 用户编号列表 */
userIds: number[];
}
}
/** 查询自提门店列表 */
export function getDeliveryPickUpStorePage(params: PageParam) {
return requestClient.get<PageResult<MallDeliveryPickUpStoreApi.PickUpStore>>(
'/trade/delivery/pick-up-store/page',
{ params },
);
}
/** 查询自提门店详情 */
export function getDeliveryPickUpStore(id: number) {
return requestClient.get<MallDeliveryPickUpStoreApi.PickUpStore>(
`/trade/delivery/pick-up-store/get?id=${id}`,
);
}
/** 查询自提门店精简列表 */
export function getSimpleDeliveryPickUpStoreList() {
return requestClient.get<MallDeliveryPickUpStoreApi.PickUpStore[]>(
'/trade/delivery/pick-up-store/simple-list',
);
}
/** 新增自提门店 */
export function createDeliveryPickUpStore(
data: MallDeliveryPickUpStoreApi.PickUpStore,
) {
return requestClient.post('/trade/delivery/pick-up-store/create', data);
}
/** 修改自提门店 */
export function updateDeliveryPickUpStore(
data: MallDeliveryPickUpStoreApi.PickUpStore,
) {
return requestClient.put('/trade/delivery/pick-up-store/update', data);
}
/** 删除自提门店 */
export function deleteDeliveryPickUpStore(id: number) {
return requestClient.delete(`/trade/delivery/pick-up-store/delete?id=${id}`);
}
/** 绑定自提店员 */
export function bindStoreStaffId(
data: MallDeliveryPickUpStoreApi.BindStaffRequest,
) {
return requestClient.post('/trade/delivery/pick-up-store/bind', data);
}

View File

@@ -1,298 +0,0 @@
import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallOrderApi {
/** 商品属性 */
export interface ProductProperty {
/** 属性的编号 */
propertyId?: null | number;
/** 属性的名称 */
propertyName?: string;
/** 属性值的编号 */
valueId?: null | number;
/** 属性值的名称 */
valueName?: string;
}
/** 订单项 */
export interface OrderItem {
/** 编号 */
id?: null | number;
/** 用户编号 */
userId?: null | number;
/** 订单编号 */
orderId?: null | number;
/** 商品 SPU 编号 */
spuId?: null | number;
/** 商品 SPU 名称 */
spuName?: string;
/** 商品 SKU 编号 */
skuId?: null | number;
/** 商品图片 */
picUrl?: string;
/** 购买数量 */
count?: null | number;
/** 商品原价(总) */
originalPrice?: null | number;
/** 商品原价(单) */
originalUnitPrice?: null | number;
/** 商品优惠(总) */
discountPrice?: null | number;
/** 商品实付金额(总) */
payPrice?: null | number;
/** 子订单分摊金额(总) */
orderPartPrice?: null | number;
/** 分摊后子订单实付金额(总) */
orderDividePrice?: null | number;
/** 售后状态 */
afterSaleStatus?: null | number;
/** 属性数组 */
properties?: ProductProperty[];
}
/** 订单日志 */
export interface OrderLog {
/** 日志内容 */
content?: string;
/** 创建时间 */
createTime?: Date;
/** 用户类型 */
userType?: number;
}
/** 订单 */
export interface Order {
/** 订单编号 */
id?: null | number;
/** 订单流水号 */
no?: string;
/** 下单时间 */
createTime?: Date | null;
/** 订单类型 */
type?: null | number;
/** 订单来源 */
terminal?: null | number;
/** 用户编号 */
userId?: null | number;
/** 用户 IP */
userIp?: string;
/** 用户备注 */
userRemark?: string;
/** 订单状态 */
status?: null | number;
/** 购买的商品数量 */
productCount?: null | number;
/** 订单完成时间 */
finishTime?: Date | null;
/** 订单取消时间 */
cancelTime?: Date | null;
/** 取消类型 */
cancelType?: null | number;
/** 商家备注 */
remark?: string;
/** 支付订单编号 */
payOrderId?: null | number;
/** 是否已支付 */
payStatus?: boolean;
/** 付款时间 */
payTime?: Date | null;
/** 支付渠道 */
payChannelCode?: string;
/** 商品原价(总) */
totalPrice?: null | number;
/** 订单优惠(总) */
discountPrice?: null | number;
/** 运费金额 */
deliveryPrice?: null | number;
/** 订单调价(总) */
adjustPrice?: null | number;
/** 应付金额(总) */
payPrice?: null | number;
/** 发货方式 */
deliveryType?: null | number;
/** 自提门店编号 */
pickUpStoreId?: number;
/** 自提核销码 */
pickUpVerifyCode?: string;
/** 配送模板编号 */
deliveryTemplateId?: null | number;
/** 发货物流公司编号 */
logisticsId?: null | number;
/** 发货物流单号 */
logisticsNo?: string;
/** 发货时间 */
deliveryTime?: Date | null;
/** 收货时间 */
receiveTime?: Date | null;
/** 收件人名称 */
receiverName?: string;
/** 收件人手机 */
receiverMobile?: string;
/** 收件人邮编 */
receiverPostCode?: null | number;
/** 收件人地区编号 */
receiverAreaId?: null | number;
/** 收件人地区名字 */
receiverAreaName?: string;
/** 收件人详细地址 */
receiverDetailAddress?: string;
/** 售后状态 */
afterSaleStatus?: null | number;
/** 退款金额 */
refundPrice?: null | number;
/** 优惠劵编号 */
couponId?: null | number;
/** 优惠劵减免金额 */
couponPrice?: null | number;
/** 积分抵扣的金额 */
pointPrice?: null | number;
/** VIP 减免金额 */
vipPrice?: null | number;
/** 订单项列表 */
items?: OrderItem[];
/** 下单用户信息 */
user?: {
/** 用户头像 */
avatar?: string;
/** 用户编号 */
id?: null | number;
/** 用户昵称 */
nickname?: string;
};
/** 推广用户信息 */
brokerageUser?: {
/** 用户头像 */
avatar?: string;
/** 用户编号 */
id?: null | number;
/** 用户昵称 */
nickname?: string;
};
/** 订单操作日志 */
logs?: OrderLog[];
}
/** 交易订单统计 */
export interface OrderSummary {
/** 订单数量 */
orderCount: number;
/** 订单金额 */
orderPayPrice: number;
/** 退款单数 */
afterSaleCount: number;
/** 退款金额 */
afterSalePrice: number;
}
/** 订单发货请求 */
export interface DeliveryRequest {
/** 订单编号 */
id?: number;
/** 发货方式 */
expressType: string;
/** 物流公司编号 */
logisticsId: null | number;
/** 物流编号 */
logisticsNo: string;
}
/** 订单备注请求 */
export interface RemarkRequest {
/** 订单编号 */
id: number;
/** 备注 */
remark: string;
}
/** 订单调价请求 */
export interface PriceRequest {
/** 订单编号 */
id: number;
/** 调整金额,单位:分 */
adjustPrice: number;
}
/** 订单地址请求 */
export interface AddressRequest {
/** 订单编号 */
id: number;
/** 收件人名称 */
receiverName: string;
/** 收件人手机 */
receiverMobile: string;
/** 收件人地区编号 */
receiverAreaId: number;
/** 收件人详细地址 */
receiverDetailAddress: string;
}
}
/** 查询交易订单列表 */
export function getOrderPage(params: PageParam) {
return requestClient.get<PageResult<MallOrderApi.Order>>(
'/trade/order/page',
{
params,
},
);
}
/** 查询交易订单统计 */
export function getOrderSummary(params: PageParam) {
return requestClient.get<MallOrderApi.OrderSummary>('/trade/order/summary', {
params,
});
}
/** 查询交易订单详情 */
export function getOrder(id: number) {
return requestClient.get<MallOrderApi.Order>(
`/trade/order/get-detail?id=${id}`,
);
}
/** 查询交易订单物流详情 */
export function getExpressTrackList(id: number) {
return requestClient.get(`/trade/order/get-express-track-list?id=${id}`);
}
/** 订单发货 */
export function deliveryOrder(data: MallOrderApi.DeliveryRequest) {
return requestClient.put('/trade/order/delivery', data);
}
/** 订单备注 */
export function updateOrderRemark(data: MallOrderApi.RemarkRequest) {
return requestClient.put('/trade/order/update-remark', data);
}
/** 订单调价 */
export function updateOrderPrice(data: MallOrderApi.PriceRequest) {
return requestClient.put('/trade/order/update-price', data);
}
/** 修改订单地址 */
export function updateOrderAddress(data: MallOrderApi.AddressRequest) {
return requestClient.put('/trade/order/update-address', data);
}
/** 订单核销 */
export function pickUpOrder(id: number) {
return requestClient.put(`/trade/order/pick-up-by-id?id=${id}`);
}
/** 订单核销 */
export function pickUpOrderByVerifyCode(pickUpVerifyCode: string) {
return requestClient.put('/trade/order/pick-up-by-verify-code', {
params: { pickUpVerifyCode },
});
}
/** 查询核销码对应的订单 */
export function getOrderByPickUpVerifyCode(pickUpVerifyCode: string) {
return requestClient.get<MallOrderApi.Order>(
'/trade/order/get-by-pick-up-verify-code',
{ params: { pickUpVerifyCode } },
);
}

View File

@@ -42,6 +42,14 @@ export function applicationAdd(data: ApplicationForm) {
return requestClient.postWithMsg<void>('/property/application', data);
}
/**
* 领用审核
* @param data
*/
export function applicationVerified(data: ApplicationForm) {
return requestClient.postWithMsg<void>('/property/application/verified', data);
}
/**
* 更新资产领用
* @param data

View File

@@ -59,7 +59,7 @@ export interface AssetVO {
/**
* 固定资产类型
*/
type: number;
type: string;
/**
* 创建时间

View File

@@ -0,0 +1,76 @@
import type {
ProcurementApplicationVO,
ProcurementApplicationForm,
ProcurementApplicationQuery,
} from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询资产申请列表
* @param params
* @returns 资产申请列表
*/
export function procurementApplicationList(
params?: ProcurementApplicationQuery,
) {
return requestClient.get<PageResult<ProcurementApplicationVO>>(
'/property/capitalApplication/list',
{ params },
);
}
/**
* 导出资产申请列表
* @param params
* @returns 资产申请列表
*/
export function procurementApplicationExport(
params?: ProcurementApplicationQuery,
) {
return commonExport('/property/capitalApplication/export', params ?? {});
}
/**
* 查询资产申请详情
* @param id id
* @returns 资产申请详情
*/
export function procurementApplicationInfo(id: ID) {
return requestClient.get<ProcurementApplicationVO>(
`/property/capitalApplication/${id}`,
);
}
/**
* 新增资产申请
* @param data
* @returns void
*/
export function procurementApplicationAdd(data: ProcurementApplicationForm) {
return requestClient.postWithMsg<void>('/property/capitalApplication', data);
}
/**
* 更新资产申请
* @param data
* @returns void
*/
export function procurementApplicationUpdate(data: ProcurementApplicationForm) {
return requestClient.putWithMsg<void>('/property/capitalApplication', data);
}
/**
* 删除资产申请
* @param id id
* @returns void
*/
export function procurementApplicationRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(
`/property/capitalApplication/${id}`,
);
}

View File

@@ -0,0 +1,213 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface ProcurementApplicationVO {
/**
*
*/
id: string | number;
/**
* 标题
*/
title: string;
/**
* 申请人id
*/
applicat: number;
/**
* 申请人手机号
*/
phone: string;
/**
* 供应商id
*/
supplier: number;
/**
* 资产id
*/
capitalId: string | number;
/**
* 采购方式
*/
buyType: string;
/**
* 采购单价
*/
buyUnitPrice: number;
/**
* 采购金额
*/
buyAmount: number;
/**
* 状态
*/
state: string;
/**
* 审核意见
*/
auditOpinion?: string;
/**
* 备注
*/
remark: string;
/**
* 申请时间
*/
applicationTime: string;
/**
* 搜索值
*/
searchValue: string;
/**
* 资产信息
*/
capitalInfoVoList: any[];
}
export interface ProcurementApplicationForm extends BaseEntity {
/**
*
*/
id?: string | number;
/**
* 标题
*/
title?: string;
/**
* 申请人id
*/
applicat?: number;
/**
* 申请人手机号
*/
phone?: string;
/**
* 供应商id
*/
supplier?: number;
/**
* 资产id
*/
capitalId?: string | number;
/**
* 采购方式
*/
buyType?: string;
/**
* 采购单价
*/
buyUnitPrice?: number;
/**
* 采购金额
*/
buyAmount?: number;
/**
* 状态
*/
state?: string;
/**
* 审核意见
*/
auditOpinion?: string;
/**
* 备注
*/
remark?: string;
/**
* 申请时间
*/
applicationTime?: string;
/**
* 搜索值
*/
searchValue?: string;
capitalInfoBolist?: any;
}
export interface ProcurementApplicationQuery extends PageQuery {
/**
* 标题
*/
title?: string;
/**
* 申请人id
*/
applicat?: number;
/**
* 申请人手机号
*/
phone?: string;
/**
* 供应商id
*/
supplier?: number;
/**
* 资产id
*/
capitalId?: string | number;
/**
* 采购方式
*/
buyType?: string;
/**
* 采购单价
*/
buyUnitPrice?: number;
/**
* 采购金额
*/
buyAmount?: number;
/**
* 状态
*/
state?: string;
/**
* 申请时间
*/
applicationTime?: string;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -1,27 +1,34 @@
import type { ArrangementVO, ArrangementForm, ArrangementQuery } from './model';
import type {
ArrangementForm,
ArrangementQuery,
ArrangementVO,
arrangmentListQuery,
AttendanceUserGroup,
} from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import type { ID, IDS, PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询排班列表
* @param params
* @returns 排班列表
*/
export function arrangementList(params?: ArrangementQuery) {
return requestClient.get<PageResult<ArrangementVO>>('/property/arrangement/list', { params });
}
/**
* 导出排班列表
* 分页查询排班列表
* @param params
* @returns 排班列表
*/
export function arrangementExport(params?: ArrangementQuery) {
return commonExport('/property/arrangement/export', params ?? {});
export function arrangementList(params?: ArrangementQuery) {
return requestClient.get<PageResult<ArrangementVO>>(
'/property/arrangement/list',
{ params },
);
}
/**
* 根据月份查询排班列表
* @param params
* @returns 排班列表
*/
export function arrangementCalender(params?: ArrangementQuery) {
return requestClient.get<any>('/property/arrangement/explore', { params });
}
/**
@@ -59,3 +66,41 @@ export function arrangementUpdate(data: ArrangementForm) {
export function arrangementRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/arrangement/${id}`);
}
/**
* 查询某天排班详情列表
* @param params
* @returns 排班列表
*/
export function arrangmentList(params?: arrangmentListQuery) {
return requestClient.get<PageResult<ArrangementVO>>(
'/property/arrangement/list',
{ params },
);
}
/**
* 查询某天排班人员详情列表(班表视图)
* @param params
* @returns 排班列表
*/
export function queryScheduleView(params?: arrangmentListQuery) {
return requestClient.get<PageResult<AttendanceUserGroup>>(
'/property/AttendanceUserGroup/queryScheduleView',
{ params },
);
}
/**
* 查询某天排班人员详情列表
* @param params
* @returns 排班列表
*/
export function queryCurrentSchedu() {
return requestClient.get<AttendanceUserGroup[]>(
'/property/AttendanceUserGroup/query/currentDay',
);
}

View File

@@ -9,38 +9,41 @@ export interface ArrangementVO {
/**
* 排班名称
*/
scheduleName: string;
scheduleName?: string;
/**
* 考勤组ID
*/
groupId: string | number;
groupId?: string | number;
/**
* 排班类型1-固定班制2-排班制
*/
scheduleType: number;
scheduleType?: number;
/**
* 日期类型1-单个日期2-长期有效3-期间有效
*/
dateType: number;
dateType?: number;
/**
* 开始日期
*/
startDate: string;
startDate?: string;
/**
* 结束日期(仅date_type=3时有效)
*/
endDate: string;
endDate?: string;
/**
* 状态0-未生效1-已生效
*/
status: number;
status?: number;
userGroupList?: any[];
attendanceGroup?: any;
dateType?: number;
areaList: any[]; //区域
}
export interface ArrangementForm extends BaseEntity {
@@ -83,7 +86,14 @@ export interface ArrangementForm extends BaseEntity {
* 状态0-未生效1-已生效
*/
status?: number;
/**
* 排班人员详情
*/
userGroupList: any[];
/**
* 排班id
*/
scheduleId?: string | number;
}
export interface ArrangementQuery extends PageQuery {
@@ -123,7 +133,18 @@ export interface ArrangementQuery extends PageQuery {
status?: number;
/**
* 日期范围参数
*/
* 日期范围参数
*/
params?: any;
/**
* 月份
*/
month?: string;
}
export interface arrangmentListQuery extends PageQuery {
currentDate: string; //某天的日期
}
export interface AttendanceUserGroup extends PageQuery {
currentDate: string; //某天的日期
}

View File

@@ -0,0 +1,61 @@
import type { AttendanceAreaVO, AttendanceAreaForm, AttendanceAreaQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询区域区域管理列表
* @param params
* @returns 区域区域管理列表
*/
export function attendanceAreaList(params?: AttendanceAreaQuery) {
return requestClient.get<PageResult<AttendanceAreaVO>>('/property/attendanceArea/list', { params });
}
/**
* 导出区域区域管理列表
* @param params
* @returns 区域区域管理列表
*/
export function attendanceAreaExport(params?: AttendanceAreaQuery) {
return commonExport('/property/attendanceArea/export', params ?? {});
}
/**
* 查询区域区域管理详情
* @param id id
* @returns 区域区域管理详情
*/
export function attendanceAreaInfo(id: ID) {
return requestClient.get<AttendanceAreaVO>(`/property/attendanceArea/${id}`);
}
/**
* 新增区域区域管理
* @param data
* @returns void
*/
export function attendanceAreaAdd(data: AttendanceAreaForm) {
return requestClient.postWithMsg<void>('/property/attendanceArea', data);
}
/**
* 更新区域区域管理
* @param data
* @returns void
*/
export function attendanceAreaUpdate(data: AttendanceAreaForm) {
return requestClient.putWithMsg<void>('/property/attendanceArea', data);
}
/**
* 删除区域区域管理
* @param id id
* @returns void
*/
export function attendanceAreaRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/attendanceArea/${id}`);
}

View File

@@ -0,0 +1,68 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface AttendanceAreaVO {
/**
* 主键id
*/
id: string | number;
/**
* 摄像机列表
*/
deviceManageId: any[];
/**
* 区域
*/
area: string;
/**
* 备注
*/
reamark: string;
areaDevice?: any[];
}
export interface AttendanceAreaForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 摄像机id
*/
deviceManageId?: string | number;
/**
* 区域
*/
area?: string;
/**
* 备注
*/
reamark?: string;
}
export interface AttendanceAreaQuery extends PageQuery {
/**
* 摄像机id
*/
deviceManageId?: string | number;
/**
* 区域
*/
area?: string;
/**
* 备注
*/
reamark?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -12,7 +12,7 @@ import { requestClient } from '#/api/request';
* @returns 考勤组基本信息列表
*/
export function groupList(params?: GroupQuery) {
return requestClient.get<PageResult<GroupVO>>('/Property/group/list', { params });
return requestClient.get<PageResult<GroupVO>>('/property/group/list', { params });
}
/**
@@ -21,16 +21,18 @@ export function groupList(params?: GroupQuery) {
* @returns 考勤组基本信息列表
*/
export function groupExport(params?: GroupQuery) {
return commonExport('/Property/group/export', params ?? {});
return commonExport('/property/group/export', params ?? {});
}
/**
* 查询考勤组基本信息详情
* @param id id
* @param attendanceType 类型
* @returns 考勤组基本信息详情
*/
export function groupInfo(id: ID) {
return requestClient.get<GroupVO>(`/Property/group/${id}`);
export function groupInfo(id: ID,attendanceType:string) {
let params={attendanceType}
return requestClient.get<GroupVO>(`/property/group/${id}`,{params});
}
/**
@@ -39,7 +41,7 @@ export function groupInfo(id: ID) {
* @returns void
*/
export function groupAdd(data: GroupForm) {
return requestClient.postWithMsg<void>('/Property/group', data);
return requestClient.postWithMsg<void>('/property/group', data);
}
/**
@@ -48,14 +50,25 @@ export function groupAdd(data: GroupForm) {
* @returns void
*/
export function groupUpdate(data: GroupForm) {
return requestClient.putWithMsg<void>('/Property/group', data);
return requestClient.putWithMsg<void>('/property/group', data);
}
/**
* 删除考勤组基本信息
* @param id id
* @param attendanceType 类型
* @returns void
*/
export function groupRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/Property/group/${id}`);
export function groupRemove(id: ID | IDS,attendanceType:string) {
let params={attendanceType}
return requestClient.deleteWithMsg<void>(`/property/group/${id}`,{params});
}
/**
* 获取节假日数据
* @param year
*/
export async function getHoliday(year: string) {
const response = await fetch(`https://timor.tech/api/holiday/year/${year}`);
return response.json();
}

View File

@@ -1,4 +1,4 @@
import type { PageQuery, BaseEntity } from '#/api/common';
import type {PageQuery, BaseEntity} from '#/api/common';
export interface GroupVO {
/**
@@ -19,7 +19,17 @@ export interface GroupVO {
/**
* 考勤类型(0:固定班制,1:排班制)
*/
attendanceType: number;
attendanceType: number| string;
isAutomatic: boolean;
clockDateList: any[];
weekList: any[];
attendanceList:any[];
scheduleCycleList:any[];
}
@@ -63,7 +73,16 @@ export interface GroupQuery extends PageQuery {
attendanceType?: number;
/**
* 日期范围参数
*/
* 日期范围参数
*/
params?: any;
}
/**
* 假期
*/
export interface Holiday {
holiday: boolean;
name: string;
date: string;
}

View File

@@ -1,8 +1,6 @@
import type { ShiftVO, ShiftForm, ShiftQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
@@ -12,7 +10,7 @@ import { requestClient } from '#/api/request';
* @returns 班次表列表
*/
export function shiftList(params?: ShiftQuery) {
return requestClient.get<PageResult<ShiftVO>>('/Property/shift/list', { params });
return requestClient.get<PageResult<ShiftVO>>('/property/shift/list', { params });
}
/**
@@ -21,7 +19,7 @@ export function shiftList(params?: ShiftQuery) {
* @returns 班次表列表
*/
export function shiftExport(params?: ShiftQuery) {
return commonExport('/Property/shift/export', params ?? {});
return commonExport('/property/shift/export', params ?? {});
}
/**
@@ -30,7 +28,7 @@ export function shiftExport(params?: ShiftQuery) {
* @returns 班次表详情
*/
export function shiftInfo(id: ID) {
return requestClient.get<ShiftVO>(`/Property/shift/${id}`);
return requestClient.get<ShiftVO>(`/property/shift/${id}`);
}
/**
@@ -39,7 +37,7 @@ export function shiftInfo(id: ID) {
* @returns void
*/
export function shiftAdd(data: ShiftForm) {
return requestClient.postWithMsg<void>('/Property/shift', data);
return requestClient.postWithMsg<void>('/property/shift', data);
}
/**
@@ -48,7 +46,7 @@ export function shiftAdd(data: ShiftForm) {
* @returns void
*/
export function shiftUpdate(data: ShiftForm) {
return requestClient.putWithMsg<void>('/Property/shift', data);
return requestClient.putWithMsg<void>('/property/shift', data);
}
/**
@@ -57,5 +55,5 @@ export function shiftUpdate(data: ShiftForm) {
* @returns void
*/
export function shiftRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/Property/shift/${id}`);
return requestClient.deleteWithMsg<void>(`/property/shift/${id}`);
}

View File

@@ -1,10 +1,11 @@
import type { PageQuery, BaseEntity } from '#/api/common';
import {isArray} from "lodash-es";
export interface ShiftVO {
/**
* 主键id
*/
id: string | number;
id: string;
/**
* 班次名称
@@ -24,7 +25,7 @@ export interface ShiftVO {
/**
* 状态0off1on
*/
status: number;
status: string | number;
/**
* 是否休息0不休息1休息
@@ -41,6 +42,8 @@ export interface ShiftVO {
*/
restEndTime: string;
attendanceTimeRange: [any,any];
restTimeRange: [any,any];
}
export interface ShiftForm extends BaseEntity {
@@ -67,7 +70,7 @@ export interface ShiftForm extends BaseEntity {
/**
* 状态0off1on
*/
status?: number;
status?: string | number;
/**
* 是否休息0不休息1休息
@@ -83,7 +86,6 @@ export interface ShiftForm extends BaseEntity {
* 休息结束时间
*/
restEndTime?: string;
}
export interface ShiftQuery extends PageQuery {
@@ -105,7 +107,7 @@ export interface ShiftQuery extends PageQuery {
/**
* 状态0off1on
*/
status?: number;
status?: string | number;
/**
* 是否休息0不休息1休息

View File

@@ -29,7 +29,7 @@ export interface BuildingVO {
/**
* 建筑类型('1住宅','2商业','3:混合')
*/
buildType: number;
buildType: string;
/**
* 电梯数量

View File

@@ -59,3 +59,19 @@ export function workOrdersUpdate(data: WorkOrdersForm) {
export function workOrdersRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/workOrders/${id}`);
}
/**
* 派单
* @param data
*/
export function workOrdersDispatch(data: WorkOrdersForm) {
return requestClient.putWithMsg<void>('/property/workOrders/dispatch', data);
}
/**
* 抢单
* @param data
*/
export function workOrdersGrab(data: WorkOrdersForm) {
return requestClient.putWithMsg<void>('/property/workOrders/grab', data);
}

View File

@@ -1,4 +1,4 @@
import type { PageQuery, BaseEntity } from '#/api/common';
import type {PageQuery, BaseEntity} from '#/api/common';
export interface WorkOrdersVO {
/**
@@ -64,15 +64,59 @@ export interface WorkOrdersVO {
/**
* 评价
*/
serviceEvalua: string;
serviceEvalua: number;
/**
* 是否超时
*/
isTimeOut: number;
workOrdersRecordVoList: HandleRecords[];
typeName: string;
initiatorPeople: string;
handlerText: string;
/**
* 评价图片
*/
imgUrl: string;
evaluateImgPath: string[];
/**
* 评价内容
*/
serviceEvaluaText: string;
/**
* 创建时间
*/
createTime: string;
/**
* 备注
*/
remark: string;
/**
* 图片
*/
orderImgUrl: string;
orderImgPath: string[];
reportingType: string;
processingWeight: string;
}
export interface HandleRecords {
status: string;
createTime: string;
handlerName: string;
initiatorPeople: string;
}
export interface WorkOrdersForm extends BaseEntity {
/**
* id
@@ -213,7 +257,7 @@ export interface WorkOrdersQuery extends PageQuery {
isTimeOut?: number;
/**
* 日期范围参数
*/
* 日期范围参数
*/
params?: any;
}

View File

@@ -12,6 +12,22 @@ import { requestClient } from '#/api/request';
export function workOrdersTypeList(params?: WorkOrdersTypeQuery) {
return requestClient.get<PageResult<WorkOrdersTypeVO>>('/property/workOrdersType/list', { params });
}
/**
* 查询工单类型不分页
* @param params
* @returns 工单类型管理列表
*/
export function workOrdersTypeListAll(params?: WorkOrdersTypeQuery) {
return requestClient.get<WorkOrdersTypeVO[]>('/property/workOrdersType/queryList', { params });
}
/**
* 查询工单类型树结构
* @param params
*/
export function workOrdersTypeTree(params?: WorkOrdersTypeQuery) {
return requestClient.get<WorkOrdersTypeVO[]>('/property/workOrdersType/typeTree', { params });
}
/**
* 导出工单类型管理列表

View File

@@ -1,4 +1,4 @@
import type { PageQuery, BaseEntity } from '#/api/common';
import type {PageQuery, BaseEntity} from '#/api/common';
export interface WorkOrdersTypeVO {
/**
@@ -34,7 +34,14 @@ export interface WorkOrdersTypeVO {
/**
* 是否支持转单(0支持,1不支持)
*/
isTransfers: number;
isTransfers: string;
excludeId: string;
/**
* 处理优先级
*/
processingWeight: string;
}
export interface WorkOrdersTypeForm extends BaseEntity {
@@ -72,6 +79,16 @@ export interface WorkOrdersTypeForm extends BaseEntity {
* 是否支持转单(0支持,1不支持)
*/
isTransfers?: number;
/**
* 上级类型id
*/
parentId?: string;
/**
* 处理优先级
*/
processingWeight: string;
}
export interface WorkOrdersTypeQuery extends PageQuery {
@@ -106,7 +123,12 @@ export interface WorkOrdersTypeQuery extends PageQuery {
isTransfers?: number;
/**
* 日期范围参数
*/
* 日期范围参数
*/
params?: any;
/**
* 是否过滤子级
*/
filterSubNodes?: boolean;
}

View File

@@ -59,3 +59,7 @@ export function carChargeUpdate(data: CarChargeForm) {
export function carChargeRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/carCharge/${id}`);
}
export function carChargeRefund(data: CarChargeForm) {
return requestClient.postWithMsg<void>('/property/carCharge/returnFee', data);
}

View File

@@ -16,6 +16,7 @@ export interface CarChargeVO {
*/
personId: string | number;
chargeItem:string
/**
* 楼层
*/
@@ -55,6 +56,10 @@ export interface CarChargeVO {
* 搜索值
*/
searchValue: string;
amountReceivable?:any;
chargeStatus:any;
payType:any;
chargeCycle:any
}

View File

@@ -144,6 +144,16 @@ export interface Clean_orderForm extends BaseEntity {
*/
phone?: string;
/**
* 签到图片
*/
signImgUrl?: string;
/**
* 评价图片
*/
imgUrl?: string;
}
export interface Clean_orderQuery extends PageQuery {

View File

@@ -58,6 +58,8 @@ export interface HouseChargeVO {
costItemsVo: CostItemSettingVO;
chargeStatus: string;
personId: string;
}
export interface HouseChargeForm extends BaseEntity {

View File

@@ -58,4 +58,9 @@ export function costMeterWaterUpdate(data: CostMeterWaterForm) {
*/
export function costMeterWaterRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/meterWater/${id}`);
}
// 根据业主id查询
export function ultimoWater(id: ID | IDS) {
return requestClient.get<any>(`/property/meterWater/ultimoWater/${id}`);
}

View File

@@ -51,6 +51,8 @@ export interface CostMeterWaterVO {
* 搜索值
*/
searchValue: string;
costType:string;
userId:string;
}

View File

@@ -0,0 +1,61 @@
import type { ActivitiesVO, ActivitiesForm, ActivitiesQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询热门活动列表
* @param params
* @returns 热门活动列表
*/
export function activitiesList(params?: ActivitiesQuery) {
return requestClient.get<PageResult<ActivitiesVO>>('/property/activities/list', { params });
}
/**
* 导出热门活动列表
* @param params
* @returns 热门活动列表
*/
export function activitiesExport(params?: ActivitiesQuery) {
return commonExport('/property/activities/export', params ?? {});
}
/**
* 查询热门活动详情
* @param id id
* @returns 热门活动详情
*/
export function activitiesInfo(id: ID) {
return requestClient.get<ActivitiesVO>(`/property/activities/${id}`);
}
/**
* 新增热门活动
* @param data
* @returns void
*/
export function activitiesAdd(data: ActivitiesForm) {
return requestClient.postWithMsg<void>('/property/activities', data);
}
/**
* 更新热门活动
* @param data
* @returns void
*/
export function activitiesUpdate(data: ActivitiesForm) {
return requestClient.putWithMsg<void>('/property/activities', data);
}
/**
* 删除热门活动
* @param id id
* @returns void
*/
export function activitiesRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/activities/${id}`);
}

View File

@@ -0,0 +1,129 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface ActivitiesVO {
/**
* 主键
*/
id: string | number;
/**
* 标题
*/
title: string;
/**
* 头部照片
*/
headImgUrl: string;
/**
* 开始时间
*/
startTime: string;
/**
* 结束时间
*/
endTime: string;
/**
* 活动内容
*/
activeContent: string;
/**
* 状态1.未开始 2.进行中 3.已结束)
*/
status: string;
/**
* 搜索值
*/
searchValue: string;
}
export interface ActivitiesForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 标题
*/
title?: string;
/**
* 头部照片
*/
headImgUrl?: string;
/**
* 开始时间
*/
startTime?: string;
/**
* 结束时间
*/
endTime?: string;
/**
* 活动内容
*/
activeContent?: string;
/**
* 状态1.未开始 2.进行中 3.已结束)
*/
status?: string;
/**
* 搜索值
*/
searchValue?: string;
}
export interface ActivitiesQuery extends PageQuery {
/**
* 标题
*/
title?: string;
/**
* 头部照片
*/
headImgUrl?: string;
/**
* 开始时间
*/
startTime?: string;
/**
* 结束时间
*/
endTime?: string;
/**
* 活动内容
*/
activeContent?: string;
/**
* 状态1.未开始 2.进行中 3.已结束)
*/
status?: string;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,11 @@
import { requestClient } from '#/api/request';
/**
* 查询客户服务工单看板统计
* @param params
* @returns
*/
export function countsList(params?:any) {
return requestClient.get('/property/customerServece/counts', { params });
}

View File

@@ -0,0 +1,61 @@
import type { ContingenPlanVO, ContingenPlanForm, ContingenPlanQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询应急预案管理列表
* @param params
* @returns 应急预案管理列表
*/
export function contingenPlanList(params?: ContingenPlanQuery) {
return requestClient.get<PageResult<ContingenPlanVO>>('/property/contingenPlan/list', { params });
}
/**
* 导出应急预案管理列表
* @param params
* @returns 应急预案管理列表
*/
export function contingenPlanExport(params?: ContingenPlanQuery) {
return commonExport('/property/contingenPlan/export', params ?? {});
}
/**
* 查询应急预案管理详情
* @param id id
* @returns 应急预案管理详情
*/
export function contingenPlanInfo(id: ID) {
return requestClient.get<ContingenPlanVO>(`/property/contingenPlan/${id}`);
}
/**
* 新增应急预案管理
* @param data
* @returns void
*/
export function contingenPlanAdd(data: ContingenPlanForm) {
return requestClient.postWithMsg<void>('/property/contingenPlan', data);
}
/**
* 更新应急预案管理
* @param data
* @returns void
*/
export function contingenPlanUpdate(data: ContingenPlanForm) {
return requestClient.putWithMsg<void>('/property/contingenPlan', data);
}
/**
* 删除应急预案管理
* @param id id
* @returns void
*/
export function contingenPlanRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/contingenPlan/${id}`);
}

View File

@@ -0,0 +1,159 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface ContingenPlanVO {
/**
* 主键
*/
id: string | number;
/**
* 预案类型(1.自然灾害,2事故灾难3公共卫生,4社会安全)
*/
contingenPlanType: string;
/**
* 预案名称
*/
contingenPlanName: string;
/**
* 预案内容
*/
contingenPlanContent: string;
/**
* 发起人
*/
initiat: string;
/**
* 责任人
*/
dutyPersion: number;
/**
* 风险等级
*/
grade: number;
/**
* 完成时间
*/
compleTimes: string;
/**
* 状态(1.待审核2待进行3已完成)
*/
status: string;
/**
* 搜索值
*/
searchValue: string;
}
export interface ContingenPlanForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 预案类型(1.自然灾害,2事故灾难3公共卫生,4社会安全)
*/
contingenPlanType?: string;
/**
* 预案名称
*/
contingenPlanName?: string;
/**
* 预案内容
*/
contingenPlanContent?: string;
/**
* 发起人
*/
initiat?: string;
/**
* 责任人
*/
dutyPersion?: number;
/**
* 风险等级
*/
grade?: number;
/**
* 完成时间
*/
compleTimes?: string;
/**
* 状态(1.待审核2待进行3已完成)
*/
status?: string;
/**
* 搜索值
*/
searchValue?: string;
}
export interface ContingenPlanQuery extends PageQuery {
/**
* 预案类型(1.自然灾害,2事故灾难3公共卫生,4社会安全)
*/
contingenPlanType?: string;
/**
* 预案名称
*/
contingenPlanName?: string;
/**
* 预案内容
*/
contingenPlanContent?: string;
/**
* 发起人
*/
initiat?: string;
/**
* 责任人
*/
dutyPersion?: number;
/**
* 风险等级
*/
grade?: number;
/**
* 完成时间
*/
compleTimes?: string;
/**
* 状态(1.待审核2待进行3已完成)
*/
status?: string;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { FaqManagementVO, FaqManagementForm, FaqManagementQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询常见问题管理列表
* @param params
* @returns 常见问题管理列表
*/
export function faqManagementList(params?: FaqManagementQuery) {
return requestClient.get<PageResult<FaqManagementVO>>('/property/faqManagement/list', { params });
}
/**
* 导出常见问题管理列表
* @param params
* @returns 常见问题管理列表
*/
export function faqManagementExport(params?: FaqManagementQuery) {
return commonExport('/property/faqManagement/export', params ?? {});
}
/**
* 查询常见问题管理详情
* @param id id
* @returns 常见问题管理详情
*/
export function faqManagementInfo(id: ID) {
return requestClient.get<FaqManagementVO>(`/property/faqManagement/${id}`);
}
/**
* 新增常见问题管理
* @param data
* @returns void
*/
export function faqManagementAdd(data: FaqManagementForm) {
return requestClient.postWithMsg<void>('/property/faqManagement', data);
}
/**
* 更新常见问题管理
* @param data
* @returns void
*/
export function faqManagementUpdate(data: FaqManagementForm) {
return requestClient.putWithMsg<void>('/property/faqManagement', data);
}
/**
* 删除常见问题管理
* @param id id
* @returns void
*/
export function faqManagementRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/faqManagement/${id}`);
}

View File

@@ -0,0 +1,114 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface FaqManagementVO {
/**
* id
*/
id: string | number;
/**
* 标题
*/
head: string;
/**
* 分类
*/
type: string;
/**
* 浏览量
*/
pageView: number;
/**
* 内容
*/
contents: string;
/**
* 状态(1草稿 2已发布)
*/
status: string;
/**
* 搜索值
*/
searchValue: string;
}
export interface FaqManagementForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 标题
*/
head?: string;
/**
* 分类
*/
type?: string;
/**
* 浏览量
*/
pageView?: number;
/**
* 内容
*/
contents?: string;
/**
* 状态(1草稿 2已发布)
*/
status?: string;
/**
* 搜索值
*/
searchValue?: string;
}
export interface FaqManagementQuery extends PageQuery {
/**
* 标题
*/
head?: string;
/**
* 分类
*/
type?: string;
/**
* 浏览量
*/
pageView?: number;
/**
* 内容
*/
contents?: string;
/**
* 状态(1草稿 2已发布)
*/
status?: string;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { FeedbacksVO, FeedbacksForm, FeedbacksQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询意见反馈列表
* @param params
* @returns 意见反馈列表
*/
export function feedbacksList(params?: FeedbacksQuery) {
return requestClient.get<PageResult<FeedbacksVO>>('/property/feedbacks/list', { params });
}
/**
* 导出意见反馈列表
* @param params
* @returns 意见反馈列表
*/
export function feedbacksExport(params?: FeedbacksQuery) {
return commonExport('/property/feedbacks/export', params ?? {});
}
/**
* 查询意见反馈详情
* @param id id
* @returns 意见反馈详情
*/
export function feedbacksInfo(id: ID) {
return requestClient.get<FeedbacksVO>(`/property/feedbacks/${id}`);
}
/**
* 新增意见反馈
* @param data
* @returns void
*/
export function feedbacksAdd(data: FeedbacksForm) {
return requestClient.postWithMsg<void>('/property/feedbacks', data);
}
/**
* 更新意见反馈
* @param data
* @returns void
*/
export function feedbacksUpdate(data: FeedbacksForm) {
return requestClient.putWithMsg<void>('/property/feedbacks', data);
}
/**
* 删除意见反馈
* @param id id
* @returns void
*/
export function feedbacksRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/feedbacks/${id}`);
}

View File

@@ -0,0 +1,174 @@
import type {PageQuery, BaseEntity} from '#/api/common';
export interface FeedbacksVO {
/**
* 主键
*/
id: string | number;
/**
* 反馈类型(0保修1保洁2会议)
*/
feedbackType: string;
feedbackTypeName: string;
/**
* 反馈人
*/
feedbackPersion: number;
/**
* 反馈人电话
*/
feedbackPersionPhone: string;
/**
* 反馈人名称
*/
feedbackPersionName: string;
/**
* 反馈内容
*/
feedbackContent: string;
/**
* 反馈位置
*/
feedbackLocation: string;
/**
* 反馈图片
*/
feedbackImg: string;
/**
* 是否转至工单
*/
isWorkOrder: string;
/**
* 状态(1待处理2处理中3处理完成)
*/
status: string;
/**
* 客服电话
*/
serviceName: string;
/**
* 工单id
*/
orderId: string;
}
export interface FeedbacksForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 反馈类型(0保修1保洁2会议)
*/
feedbackType?: string;
/**
* 反馈人
*/
feedbackPersion?: number;
/**
* 反馈人电话
*/
feedbackPersionPhone?: string;
/**
* 反馈内容
*/
feedbackContent?: string;
/**
* 反馈位置
*/
feedbackLocation?: string;
/**
* 反馈图片
*/
feedbackImg?: string;
/**
* 是否转至工单
*/
isWorkOrder?: string;
/**
* 状态(1待处理2处理中3处理完成)
*/
status?: string;
/**
* 客服电话
*/
serviceName?: string;
/**
* 工单id
*/
orderId?: string;
}
export interface FeedbacksQuery extends PageQuery {
/**
* 反馈类型(0保修1保洁2会议)
*/
feedbackType?: string;
/**
* 反馈人
*/
feedbackPersion?: number;
/**
* 反馈人电话
*/
feedbackPersionPhone?: string;
/**
* 反馈内容
*/
feedbackContent?: string;
/**
* 反馈位置
*/
feedbackLocation?: string;
/**
* 反馈图片
*/
feedbackImg?: string;
/**
* 是否转至工单
*/
isWorkOrder?: string;
/**
* 状态(1待处理2处理中3处理完成)
*/
status?: string;
/**
* 客服电话
*/
serviceName?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { NoticesVO, NoticesForm, NoticesQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询客户服务-通知公告列表
* @param params
* @returns 客户服务-通知公告列表
*/
export function noticesList(params?: NoticesQuery) {
return requestClient.get<PageResult<NoticesVO>>('/property/notices/list', { params });
}
/**
* 导出客户服务-通知公告列表
* @param params
* @returns 客户服务-通知公告列表
*/
export function noticesExport(params?: NoticesQuery) {
return commonExport('/property/notices/export', params ?? {});
}
/**
* 查询客户服务-通知公告详情
* @param id id
* @returns 客户服务-通知公告详情
*/
export function noticesInfo(id: ID) {
return requestClient.get<NoticesVO>(`/property/notices/${id}`);
}
/**
* 新增客户服务-通知公告
* @param data
* @returns void
*/
export function noticesAdd(data: NoticesForm) {
return requestClient.postWithMsg<void>('/property/notices', data);
}
/**
* 更新客户服务-通知公告
* @param data
* @returns void
*/
export function noticesUpdate(data: NoticesForm) {
return requestClient.putWithMsg<void>('/property/notices', data);
}
/**
* 删除客户服务-通知公告
* @param id id
* @returns void
*/
export function noticesRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/notices/${id}`);
}

View File

@@ -0,0 +1,139 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface NoticesVO {
/**
* 主键
*/
id: string | number;
/**
* 标题
*/
title: string;
/**
* 类型
*/
type: string;
/**
* 备注
*/
remark: string;
/**
* 是否全小区公告
*/
isAll: string;
/**
* 开始时间
*/
startTime: string;
/**
* 结束时间
*/
endTime: string;
/**
* 公告内容
*/
afficheContent: string;
/**
* 发布人
*/
issuers: number;
}
export interface NoticesForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 标题
*/
title?: string;
/**
* 类型
*/
type?: string;
/**
* 备注
*/
remark?: string;
/**
* 是否全小区公告
*/
isAll?: string;
/**
* 开始时间
*/
startTime?: string;
/**
* 结束时间
*/
endTime?: string;
/**
* 公告内容
*/
afficheContent?: string;
/**
* 发布人
*/
issuers?: number;
}
export interface NoticesQuery extends PageQuery {
/**
* 标题
*/
title?: string;
/**
* 类型
*/
type?: string;
/**
* 是否全小区公告
*/
isAll?: string;
/**
* 开始时间
*/
startTime?: string;
/**
* 结束时间
*/
endTime?: string;
/**
* 公告内容
*/
afficheContent?: string;
/**
* 发布人
*/
issuers?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { QuestionVO, QuestionForm, QuestionQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询调查问卷问题列表
* @param params
* @returns 调查问卷问题列表
*/
export function questionList(params?: QuestionQuery) {
return requestClient.get<PageResult<QuestionVO>>('/property/question/list', { params });
}
/**
* 导出调查问卷问题列表
* @param params
* @returns 调查问卷问题列表
*/
export function questionExport(params?: QuestionQuery) {
return commonExport('/property/question/export', params ?? {});
}
/**
* 查询调查问卷问题详情
* @param id id
* @returns 调查问卷问题详情
*/
export function questionInfo(id: ID) {
return requestClient.get<QuestionVO>(`/property/question/${id}`);
}
/**
* 新增调查问卷问题
* @param data
* @returns void
*/
export function questionAdd(data: QuestionForm) {
return requestClient.postWithMsg<void>('/property/question', data);
}
/**
* 更新调查问卷问题
* @param data
* @returns void
*/
export function questionUpdate(data: QuestionForm) {
return requestClient.putWithMsg<void>('/property/question', data);
}
/**
* 删除调查问卷问题
* @param id id
* @returns void
*/
export function questionRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/question/${id}`);
}

View File

@@ -0,0 +1,145 @@
import type {PageQuery, BaseEntity} from '#/api/common';
import type {
QuestionItemForm, QuestionItemVO
} from "#/api/property/customerService/questionnaire/questionItem/model";
export interface QuestionVO {
/**
* id
*/
id: string | number;
/**
* 调查问卷id
*/
questionnaireId: string | number;
/**
* 标题
*/
head: string;
/**
* 问题类型(1单行文本2多行文本3单选题4多选题5评分题6日期选择)
*/
type: string;
/**
* 是否必填(1不必填2必填)
*/
isRequired: string;
/**
* 描述
*/
depict: string;
/**
* 排序
*/
sort: number;
/**
* 问题选项
*/
questionnaireQuestionItemVos: QuestionItemVO[];
options: string[];
answer: string;
rate:number;
checked:string[];
}
export interface QuestionForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 调查问卷id
*/
questionnaireId?: string | number;
/**
* 标题
*/
head?: string;
/**
* 问题类型(1单行文本2多行文本3单选题4多选题5评分题6日期选择)
*/
type: string;
/**
* 是否必填(1不必填2必填)
*/
isRequired?: string;
/**
* 描述
*/
depict?: string;
/**
* 排序
*/
sort?: number;
/**
* 选项
*/
questionnaireQuestionItems: QuestionItemForm[]
/**
* 评分预览
*/
rate?: number;
/**
* 时间预览
*/
dateTime?: string;
}
export interface QuestionQuery extends PageQuery {
/**
* 调查问卷id
*/
questionnaireId?: string | number;
/**
* 标题
*/
head?: string;
/**
* 问题类型(1单行文本2多行文本3单选题4多选题5评分题6日期选择)
*/
type?: string;
/**
* 是否必填(1不必填2必填)
*/
isRequired?: string;
/**
* 描述
*/
depict?: string;
/**
* 排序
*/
sort?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { QuestionItemVO, QuestionItemForm, QuestionItemQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询调查问卷问题选项列表
* @param params
* @returns 调查问卷问题选项列表
*/
export function questionItemList(params?: QuestionItemQuery) {
return requestClient.get<PageResult<QuestionItemVO>>('/property/questionItem/list', { params });
}
/**
* 导出调查问卷问题选项列表
* @param params
* @returns 调查问卷问题选项列表
*/
export function questionItemExport(params?: QuestionItemQuery) {
return commonExport('/property/questionItem/export', params ?? {});
}
/**
* 查询调查问卷问题选项详情
* @param id id
* @returns 调查问卷问题选项详情
*/
export function questionItemInfo(id: ID) {
return requestClient.get<QuestionItemVO>(`/property/questionItem/${id}`);
}
/**
* 新增调查问卷问题选项
* @param data
* @returns void
*/
export function questionItemAdd(data: QuestionItemForm) {
return requestClient.postWithMsg<void>('/property/questionItem', data);
}
/**
* 更新调查问卷问题选项
* @param data
* @returns void
*/
export function questionItemUpdate(data: QuestionItemForm) {
return requestClient.putWithMsg<void>('/property/questionItem', data);
}
/**
* 删除调查问卷问题选项
* @param id id
* @returns void
*/
export function questionItemRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/questionItem/${id}`);
}

View File

@@ -0,0 +1,79 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface QuestionItemVO {
/**
* id
*/
id: string | number;
/**
* 问题id
*/
questionId: string | number;
/**
* 选项内容
*/
itemContent: string;
/**
* 排序
*/
sort: number;
/**
* 备注
*/
remark: string;
}
export interface QuestionItemForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 问题id
*/
questionId?: string | number;
/**
* 选项内容
*/
itemContent?: string;
/**
* 排序
*/
sort?: number;
/**
* 备注
*/
remark?: string;
}
export interface QuestionItemQuery extends PageQuery {
/**
* 问题id
*/
questionId?: string | number;
/**
* 选项内容
*/
itemContent?: string;
/**
* 排序
*/
sort?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { QuestionnaireVO, QuestionnaireForm, QuestionnaireQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询调查问卷列表
* @param params
* @returns 调查问卷列表
*/
export function questionnaireList(params?: QuestionnaireQuery) {
return requestClient.get<PageResult<QuestionnaireVO>>('/property/questionnaire/list', { params });
}
/**
* 导出调查问卷列表
* @param params
* @returns 调查问卷列表
*/
export function questionnaireExport(params?: QuestionnaireQuery) {
return commonExport('/property/questionnaire/export', params ?? {});
}
/**
* 查询调查问卷详情
* @param id id
* @returns 调查问卷详情
*/
export function questionnaireInfo(id: ID) {
return requestClient.get<QuestionnaireVO>(`/property/questionnaire/${id}`);
}
/**
* 新增调查问卷
* @param data
* @returns void
*/
export function questionnaireAdd(data: QuestionnaireForm) {
return requestClient.postWithMsg<void>('/property/questionnaire', data);
}
/**
* 更新调查问卷
* @param data
* @returns void
*/
export function questionnaireUpdate(data: QuestionnaireForm) {
return requestClient.putWithMsg<void>('/property/questionnaire', data);
}
/**
* 删除调查问卷
* @param id id
* @returns void
*/
export function questionnaireRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/questionnaire/${id}`);
}

View File

@@ -0,0 +1,126 @@
import type { PageQuery, BaseEntity } from '#/api/common';
import type {
QuestionForm,
QuestionVO
} from "#/api/property/customerService/questionnaire/question/model";
export interface QuestionnaireVO {
/**
* id
*/
id: string | number;
/**
* 标题
*/
head: string;
/**
* 描述
*/
depict: string;
/**
* 是否匿名收集
*/
isAnonyCollec: string;
/**
* 是否多次提交
*/
isCommit: string;
/**
* 截止日期
*/
deadline: string;
/**
* 状态(1草稿2已发布3未发布)
*/
status: string;
/**
* 问题
*/
questionnaireQuestionVos:QuestionVO[];
}
export interface QuestionnaireForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 标题
*/
head?: string;
/**
* 描述
*/
depict?: string;
/**
* 是否匿名收集
*/
isAnonyCollec?: string;
/**
* 是否多次提交
*/
isCommit?: string;
/**
* 截止日期
*/
deadline?: string;
/**
* 状态(1草稿2已发布3未发布)
*/
status?: string;
/**
* 问题
*/
questionnaireQuestions:QuestionForm[];
}
export interface QuestionnaireQuery extends PageQuery {
/**
* 标题
*/
head?: string;
/**
* 描述
*/
depict?: string;
/**
* 是否匿名收集
*/
isAnonyCollec?: string;
/**
* 是否多次提交
*/
isCommit?: string;
/**
* 截止日期
*/
deadline?: string;
/**
* 状态(1草稿2已发布3未发布)
*/
status?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,79 @@
import type { LightInfoVO, LightInfoForm, LightInfoQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询灯控开关信息列表
* @param params
* @returns 灯控开关信息列表
*/
export function lightInfoList(params?: LightInfoQuery) {
return requestClient.get<PageResult<LightInfoVO>>('/property/lightInfo/list', { params });
}
/**
* 导出灯控开关信息列表
* @param params
* @returns 灯控开关信息列表
*/
export function lightInfoExport(params?: LightInfoQuery) {
return commonExport('/property/lightInfo/export', params ?? {});
}
/**
* 查询灯控开关信息详情
* @param id id
* @returns 灯控开关信息详情
*/
export function lightInfoInfo(id: ID) {
return requestClient.get<LightInfoVO>(`/property/lightInfo/${id}`);
}
/**
* 新增灯控开关信息
* @param data
* @returns void
*/
export function lightInfoAdd(data: LightInfoForm) {
return requestClient.postWithMsg<void>('/property/lightInfo', data);
}
/**
* 更新灯控开关信息
* @param data
* @returns void
*/
export function lightInfoUpdate(data: LightInfoForm) {
return requestClient.putWithMsg<void>('/property/lightInfo', data);
}
/**
* 删除灯控开关信息
* @param id id
* @returns void
*/
export function lightInfoRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/lightInfo/${id}`);
}
/**
* 更新灯控开关状态
* @param data
* @returns void
*/
export function switchSingleLight(data: LightInfoForm) {
return requestClient.postWithMsg<void>('/property/lightInfo/switch', data);
}
/**
* 批量更新灯控开关状态
* @param data
* @returns void
*/
export function switchBatchLight(data: LightInfoForm) {
return requestClient.postWithMsg<void>('/property/lightInfo/switch', data);
}

View File

@@ -0,0 +1,134 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface LightInfoVO {
/**
* 主键id
*/
id: string | number;
/**
* 位置描述
*/
locationRemark: string;
/**
* 开关状态01
*/
isOn: boolean;
/**
* 灯控模块编码
*/
code: number;
/**
* 园区编码
*/
communityId: string | number;
/**
* 建筑名称
*/
buildingId: string | number;
/**
* 单元编码
*/
unitId: string | number;
/**
* 所属楼层ID
*/
floorId: string | number;
/**
* 楼层
*/
floorName: string;
}
export interface LightInfoForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 位置描述
*/
locationRemark?: string;
/**
* 开关状态01
*/
isOn: boolean;
/**
* 灯控模块编码
*/
code?: number;
/**
* 园区编码
*/
communityId?: string | number;
/**
* 建筑名称
*/
buildingId?: string | number;
/**
* 单元编码
*/
unitId?: string | number;
/**
* 所属楼层ID
*/
floorId?: string | number;
}
export interface LightInfoQuery extends PageQuery {
/**
* 位置描述
*/
locationRemark?: string;
/**
* 开关状态01
*/
isOn?: number;
/**
* 灯控模块编码
*/
code?: number;
/**
* 园区编码
*/
communityId?: string | number;
/**
* 建筑名称
*/
buildingId?: string | number;
/**
* 单元编码
*/
unitId?: string | number;
/**
* 所属楼层ID
*/
floorId?: string | number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -61,6 +61,8 @@ export interface MaintainPlanVO {
userId: string[];
machineMaintainPlanStaffBoList:any[];
machineMaintainPlanStaffVos:any[];
}
export interface MaintainPlanForm extends BaseEntity {

View File

@@ -61,9 +61,9 @@ export function floorRemove(id: ID | IDS) {
}
/**
* 根据单元ID查询楼层
* 根据楼层ID查询楼层
* @param id id
*/
export function queryByUnitId(id: ID | IDS) {
return requestClient.get<FloorVO[]>(`/property/floor/queryByUnitId/${id}`);
export function queryByBuildingId(id: ID | IDS) {
return requestClient.get<FloorVO[]>(`/property/floor/queryByBuildingId/${id}`);
}

View File

@@ -0,0 +1,61 @@
import type { TaskDetailVO, TaskDetailForm, TaskDetailQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询巡检明细列表
* @param params
* @returns 巡检明细列表
*/
export function taskDetailList(params?: TaskDetailQuery) {
return requestClient.get<PageResult<TaskDetailVO>>('/property/taskDetail/list', { params });
}
/**
* 导出巡检明细列表
* @param params
* @returns 巡检明细列表
*/
export function taskDetailExport(params?: TaskDetailQuery) {
return commonExport('/property/taskDetail/export', params ?? {});
}
/**
* 查询巡检明细详情
* @param id id
* @returns 巡检明细详情
*/
export function taskDetailInfo(id: ID) {
return requestClient.get<TaskDetailVO>(`/property/taskDetail/${id}`);
}
/**
* 新增巡检明细
* @param data
* @returns void
*/
export function taskDetailAdd(data: TaskDetailForm) {
return requestClient.postWithMsg<void>('/property/taskDetail', data);
}
/**
* 更新巡检明细
* @param data
* @returns void
*/
export function taskDetailUpdate(data: TaskDetailForm) {
return requestClient.putWithMsg<void>('/property/taskDetail', data);
}
/**
* 删除巡检明细
* @param id id
* @returns void
*/
export function taskDetailRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/taskDetail/${id}`);
}

View File

@@ -0,0 +1,334 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface TaskDetailVO {
/**
* 主键id
*/
id: string | number;
/**
* 任务id
*/
taskId: string | number;
/**
* 路线id
*/
routeId: string | number;
/**
* 巡检计划id
*/
planId: string | number;
/**
* 巡检点id
*/
pointId: string | number;
/**
* 巡检方式
*/
patrolType: string;
/**
* 签到类型(1.现场拍照、2.摄像头签到、3.现场扫码)
*/
signType: string;
/**
* 实际巡检时间
*/
actualInspectionTime: string;
/**
* 实际签到状态(1已签到2.未签到)
*/
actualSignState: string;
/**
* 巡检状态(0未完成,1已完成)
*/
inspectionState: string;
/**
* 巡检图片
*/
inspectionImage: string;
/**
* 计划巡检人
*/
planInspectionPerson: string;
/**
* 实际巡检人
*/
actualInspectionPerson: string;
/**
* 任务状态
*/
taskStatus: string;
/**
* 巡检结果
*/
inspectionResults: string;
/**
* 巡检描述
*/
inspectionDesc: string;
/**
* 巡检位置
*/
inspectionLocation: string;
/**
* 实际巡检时间
*/
inspectionTime: string;
/**
* 备注
*/
remark: string;
/**
* 点开始时间
*/
pointStartTime: string;
/**
* 点结束时间
*/
pointEndTime: string;
/**
* 搜索值
*/
searchValue: string;
}
export interface TaskDetailForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 任务id
*/
taskId?: string | number;
/**
* 路线id
*/
routeId?: string | number;
/**
* 巡检计划id
*/
planId?: string | number;
/**
* 巡检点id
*/
pointId?: string | number;
/**
* 巡检方式
*/
patrolType?: string;
/**
* 签到类型(1.现场拍照、2.摄像头签到、3.现场扫码)
*/
signType?: string;
/**
* 实际巡检时间
*/
actualInspectionTime?: string;
/**
* 实际签到状态(1已签到2.未签到)
*/
actualSignState?: string;
/**
* 巡检状态(0未完成,1已完成)
*/
inspectionState?: string;
/**
* 巡检图片
*/
inspectionImage?: string;
/**
* 计划巡检人
*/
planInspectionPerson?: string;
/**
* 实际巡检人
*/
actualInspectionPerson?: string;
/**
* 任务状态
*/
taskStatus?: string;
/**
* 巡检结果
*/
inspectionResults?: string;
/**
* 巡检描述
*/
inspectionDesc?: string;
/**
* 巡检位置
*/
inspectionLocation?: string;
/**
* 实际巡检时间
*/
inspectionTime?: string;
/**
* 备注
*/
remark?: string;
/**
* 点开始时间
*/
pointStartTime?: string;
/**
* 点结束时间
*/
pointEndTime?: string;
/**
* 搜索值
*/
searchValue?: string;
}
export interface TaskDetailQuery extends PageQuery {
/**
* 任务id
*/
taskId?: string | number;
/**
* 路线id
*/
routeId?: string | number;
/**
* 巡检计划id
*/
planId?: string | number;
/**
* 巡检点id
*/
pointId?: string | number;
/**
* 巡检方式
*/
patrolType?: string;
/**
* 签到类型(1.现场拍照、2.摄像头签到、3.现场扫码)
*/
signType?: string;
/**
* 实际巡检时间
*/
actualInspectionTime?: string;
/**
* 实际签到状态(1已签到2.未签到)
*/
actualSignState?: string;
/**
* 巡检状态(0未完成,1已完成)
*/
inspectionState?: string;
/**
* 巡检图片
*/
inspectionImage?: string;
/**
* 计划巡检人
*/
planInspectionPerson?: string;
/**
* 实际巡检人
*/
actualInspectionPerson?: string;
/**
* 任务状态
*/
taskStatus?: string;
/**
* 巡检结果
*/
inspectionResults?: string;
/**
* 巡检描述
*/
inspectionDesc?: string;
/**
* 巡检位置
*/
inspectionLocation?: string;
/**
* 实际巡检时间
*/
inspectionTime?: string;
/**
* 点开始时间
*/
pointStartTime?: string;
/**
* 点结束时间
*/
pointEndTime?: string;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -19,7 +19,7 @@ export interface InspectionPlanVO {
/**
* 巡检周期
*/
inspectionPlanPeriod: number;
inspectionPlanPeriod: string;
/**
* 任务提前分组

View File

@@ -46,6 +46,10 @@ export interface InspectionPointVO {
*/
searchValue: string;
itemName: string;
createTime: string;
}
export interface InspectionPointForm extends BaseEntity {

View File

@@ -0,0 +1,61 @@
import type { KnowledgeVO, KnowledgeForm, KnowledgeQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询维保知识管理列表
* @param params
* @returns 维保知识管理列表
*/
export function knowledgeList(params?: KnowledgeQuery) {
return requestClient.get<PageResult<KnowledgeVO>>('/property/knowledge/list', { params });
}
/**
* 导出维保知识管理列表
* @param params
* @returns 维保知识管理列表
*/
export function knowledgeExport(params?: KnowledgeQuery) {
return commonExport('/property/knowledge/export', params ?? {});
}
/**
* 查询维保知识管理详情
* @param id id
* @returns 维保知识管理详情
*/
export function knowledgeInfo(id: ID) {
return requestClient.get<KnowledgeVO>(`/property/knowledge/${id}`);
}
/**
* 新增维保知识管理
* @param data
* @returns void
*/
export function knowledgeAdd(data: KnowledgeForm) {
return requestClient.postWithMsg<void>('/property/knowledge', data);
}
/**
* 更新维保知识管理
* @param data
* @returns void
*/
export function knowledgeUpdate(data: KnowledgeForm) {
return requestClient.putWithMsg<void>('/property/knowledge', data);
}
/**
* 删除维保知识管理
* @param id id
* @returns void
*/
export function knowledgeRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/knowledge/${id}`);
}

View File

@@ -0,0 +1,131 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface KnowledgeVO {
/**
* 主键
*/
id: string | number;
/**
* 标题
*/
title: string;
/**
* 状态(0草稿1状态2已发布)
*/
status: string;
/**
* 封面
*/
covers: string;
coversPath: string|undefined;
/**
* 内容
*/
content: string;
/**
* 描述
*/
depict: string;
/**
* 发布时间
*/
releaseTime: string;
/**
* 位置类型(0操作指引,1处理案例2常见问题)
*/
type: string;
}
export interface KnowledgeForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 标题
*/
title?: string;
/**
* 状态(0草稿1状态2已发布)
*/
status?: string;
/**
* 封面
*/
covers?: string;
/**
* 内容
*/
content?: string;
/**
* 描述
*/
depict?: string;
/**
* 发布时间
*/
releaseTime?: string;
/**
* 位置类型(0操作指引,1处理案例2常见问题)
*/
type?: string;
}
export interface KnowledgeQuery extends PageQuery {
/**
* 标题
*/
title?: string;
/**
* 状态(0草稿1状态2已发布)
*/
status?: string;
/**
* 封面
*/
covers?: string;
/**
* 内容
*/
content?: string;
/**
* 描述
*/
depict?: string;
/**
* 发布时间
*/
releaseTime?: string;
/**
* 位置类型(0操作指引,1处理案例2常见问题)
*/
type?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { LeaveApplicationVO, LeaveApplicationForm, LeaveApplicationQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询请假申请列表
* @param params
* @returns 请假申请列表
*/
export function leaveApplicationList(params?: LeaveApplicationQuery) {
return requestClient.get<PageResult<LeaveApplicationVO>>('/property/leaveApplication/list', { params });
}
/**
* 导出请假申请列表
* @param params
* @returns 请假申请列表
*/
export function leaveApplicationExport(params?: LeaveApplicationQuery) {
return commonExport('/property/leaveApplication/export', params ?? {});
}
/**
* 查询请假申请详情
* @param id id
* @returns 请假申请详情
*/
export function leaveApplicationInfo(id: ID) {
return requestClient.get<LeaveApplicationVO>(`/property/leaveApplication/${id}`);
}
/**
* 新增请假申请
* @param data
* @returns void
*/
export function leaveApplicationAdd(data: LeaveApplicationForm) {
return requestClient.postWithMsg<void>('/property/leaveApplication', data);
}
/**
* 更新请假申请
* @param data
* @returns void
*/
export function leaveApplicationUpdate(data: LeaveApplicationForm) {
return requestClient.putWithMsg<void>('/property/leaveApplication', data);
}
/**
* 删除请假申请
* @param id id
* @returns void
*/
export function leaveApplicationRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/leaveApplication/${id}`);
}

View File

@@ -0,0 +1,189 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface LeaveApplicationVO {
/**
*
*/
id: string | number;
/**
* 用户ID关联用户表
*/
userId: string | number;
/**
* 申请人姓名
*/
username: string;
/**
* 部门ID关联部门表
*/
departmentId: string | number;
/**
* 部门名称
*/
departmentName: string;
/**
* 请假类型
*/
leaveType: number;
/**
* 开始时间
*/
startTime: string;
/**
* 结束时间
*/
endTime: string;
/**
* 合计时间如3天5个小时
*/
totalDuration: string;
/**
* 请假事由
*/
reason: string;
/**
* 申请状态1'草稿',2'待审批',3'已批准',4'已拒绝':5'已取消'
*/
status: number;
/**
* 搜索值
*/
searchValue: string;
}
export interface LeaveApplicationForm extends BaseEntity {
/**
*
*/
id?: string | number;
/**
* 用户ID关联用户表
*/
userId?: string | number;
/**
* 申请人姓名
*/
username?: string;
/**
* 部门ID关联部门表
*/
departmentId?: string | number;
/**
* 部门名称
*/
departmentName?: string;
/**
* 请假类型
*/
leaveType?: number;
/**
* 开始时间
*/
startTime?: string;
/**
* 结束时间
*/
endTime?: string;
/**
* 合计时间如3天5个小时
*/
totalDuration?: string;
/**
* 请假事由
*/
reason?: string;
/**
* 申请状态1'草稿',2'待审批',3'已批准',4'已拒绝':5'已取消'
*/
status?: number;
/**
* 搜索值
*/
searchValue?: string;
}
export interface LeaveApplicationQuery extends PageQuery {
/**
* 用户ID关联用户表
*/
userId?: string | number;
/**
* 申请人姓名
*/
username?: string;
/**
* 部门ID关联部门表
*/
departmentId?: string | number;
/**
* 部门名称
*/
departmentName?: string;
/**
* 请假类型
*/
leaveType?: number;
/**
* 开始时间
*/
startTime?: string;
/**
* 结束时间
*/
endTime?: string;
/**
* 合计时间如3天5个小时
*/
totalDuration?: string;
/**
* 请假事由
*/
reason?: string;
/**
* 申请状态1'草稿',2'待审批',3'已批准',4'已拒绝':5'已取消'
*/
status?: number;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { WorkflowDefinitionVO, WorkflowDefinitionForm, WorkflowDefinitionQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询流程定义列表
* @param params
* @returns 流程定义列表
*/
export function workflowDefinitionList(params?: WorkflowDefinitionQuery) {
return requestClient.get<PageResult<WorkflowDefinitionVO>>('/property/workflowDefinition/list', { params });
}
/**
* 导出流程定义列表
* @param params
* @returns 流程定义列表
*/
export function workflowDefinitionExport(params?: WorkflowDefinitionQuery) {
return commonExport('/property/workflowDefinition/export', params ?? {});
}
/**
* 查询流程定义详情
* @param id id
* @returns 流程定义详情
*/
export function workflowDefinitionInfo(id: ID) {
return requestClient.get<WorkflowDefinitionVO>(`/property/workflowDefinition/${id}`);
}
/**
* 新增流程定义
* @param data
* @returns void
*/
export function workflowDefinitionAdd(data: WorkflowDefinitionForm) {
return requestClient.postWithMsg<void>('/property/workflowDefinition', data);
}
/**
* 更新流程定义
* @param data
* @returns void
*/
export function workflowDefinitionUpdate(data: WorkflowDefinitionForm) {
return requestClient.putWithMsg<void>('/property/workflowDefinition', data);
}
/**
* 删除流程定义
* @param id id
* @returns void
*/
export function workflowDefinitionRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/workflowDefinition/${id}`);
}

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