131 Commits

Author SHA1 Message Date
fyy
85ecc8d9f4 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-11 15:46:10 +08:00
fyy
627cb088cf fix: 修复大屏rem设置影响全局bug 2025-07-11 15:45:25 +08:00
a718e57c3f 1、巡检路线接口修改
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-11 15:01:08 +08:00
FLL
7502bb9576 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-11 14:55:47 +08:00
FLL
15581de676 预约记录 2025-07-11 14:50:19 +08:00
fyy
1aac583b4e Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12m54s
2025-07-11 11:38:43 +08:00
fyy
b44caa166a fix: 修复保洁绿植bug 2025-07-11 11:37:04 +08:00
15683799673
9e87b0abbb Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 2m42s
2025-07-11 07:37:01 +08:00
15683799673
195d7fff7d 授权逻辑更改 2025-07-11 07:36:51 +08:00
9c219d91b2 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-10 23:08:25 +08:00
c0cab95ef2 refactor(sis): 修改人像图片字段名
- 将字段名从 'imgUrl' 修改为 'imgOssId',以适应后端接口变更
2025-07-10 23:05:01 +08:00
lxj
332d8eccba 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-07-10 18:39:11 +08:00
lxj
2bb489cbaa 页面修改 2025-07-10 18:35:21 +08:00
fyy
031c744877 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-10 17:54:32 +08:00
fyy
b1d0c117fc feat: 接入大屏修复bug 2025-07-10 17:52:54 +08:00
1d9096e594 1、巡检管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-10 17:33:46 +08:00
FLL
af0cfc3804 预约记录
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-10 17:31:58 +08:00
FLL
2cd8d752eb 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-07-10 16:21:36 +08:00
FLL
804e51ac7e 预约记录 2025-07-10 16:20:47 +08:00
FLL
f642b56e55 预约记录 2025-07-10 16:20:21 +08:00
051e7df6c7 1、巡检项目
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-10 16:13:53 +08:00
FLL
2373bd4957 预约记录 2025-07-10 14:30:51 +08:00
15683799673
ed2e88b99e 增加电梯页面
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-10 08:45:59 +08:00
fyy
0d2a4db6a6 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-09 18:20:21 +08:00
fyy
d8174111c2 feat: 会议室查看 2025-07-09 18:18:48 +08:00
f93b6d356b 1、工单处理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-09 18:12:28 +08:00
FLL
43b1af937b 预约记录
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-09 17:39:48 +08:00
FLL
c866e04b89 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-09 15:04:14 +08:00
FLL
afa9e303cb 预约记录 2025-07-09 15:04:05 +08:00
482d4b9199 1、工单类型
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-09 15:03:17 +08:00
fb963ff3a7 1、工单处理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-09 10:36:42 +08:00
FLL
e860009b61 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 4m1s
2025-07-08 17:40:58 +08:00
FLL
2f38afa645 预约记录 2025-07-08 17:40:51 +08:00
80f0b9bd10 1、会议室设置保存
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-08 17:39:09 +08:00
a3c0cbe2a5 1、会议室预约
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-08 17:33:42 +08:00
b1265fb00c 1、会议室设置
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s
2025-07-07 17:30:51 +08:00
FLL
602e8951cc 会议管理
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s
2025-07-07 17:24:28 +08:00
FLL
7d1c5357d8 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m44s
2025-07-07 16:31:29 +08:00
FLL
0e0b30d159 会议管理 2025-07-07 16:31:20 +08:00
fyy
38012ccdb1 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m42s
2025-07-07 14:38:31 +08:00
fyy
9ab72435c7 feat: 绿植租赁方案添加产品数量 2025-07-07 14:38:01 +08:00
FLL
171d3ef133 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m1s
2025-07-05 17:47:36 +08:00
FLL
1d7fbf78b6 会议管理 2025-07-05 17:47:26 +08:00
4199f46e4e 更新 .gitea/workflows/dev.yml
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-05 17:44:25 +08:00
50bc728ffb 1、租赁订单详情
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-05 17:42:37 +08:00
cfdb404ddc 更新 .gitea/workflows/dev.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35m30s
2025-07-05 17:03:15 +08:00
505bed4383 更新 .gitea/workflows/dev.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6m51s
2025-07-05 14:36:56 +08:00
c38065b732 更新 .gitea/workflows/dev.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m17s
2025-07-05 14:24:40 +08:00
FLL
ddf8251ce8 会议管理 2025-07-05 11:43:25 +08:00
FLL
06c625fa76 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-07-05 09:59:33 +08:00
FLL
5e050a381c 会议管理 2025-07-05 09:59:25 +08:00
fyy
f5d7d70cc2 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 8s
2025-07-05 09:11:56 +08:00
fyy
3031809692 feat: 合并代码 2025-07-05 09:11:29 +08:00
0d5b964596 1、租赁订单
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-04 17:58:09 +08:00
FLL
e28ddabf57 会议管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-04 17:56:14 +08:00
FLL
e21c76cc6f 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-03 17:49:34 +08:00
FLL
3827a13cbd 会议管理 2025-07-03 17:49:23 +08:00
11f74bcbc8 1、入驻人员调整
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-03 11:48:02 +08:00
73b2d27fa6 1、租赁订单
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-02 18:00:26 +08:00
FLL
4bf741f63d 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-02 17:56:15 +08:00
FLL
4b3d075266 绿植管理 2025-07-02 17:56:04 +08:00
fyy
63c3a8b550 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-02 14:43:17 +08:00
fyy
d3033eb12d feat: 绿植租赁方案对接完成 2025-07-02 14:42:17 +08:00
FLL
44b91fc587 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-07-02 11:04:00 +08:00
FLL
79fe4c6412 绿植管理 2025-07-02 11:02:14 +08:00
lxj
0251d11988 接口新增路径同步
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-02 10:07:31 +08:00
lxj
971106c9d9 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-02 09:51:44 +08:00
lxj
1a9e821f48 接口路径添加add 2025-07-02 09:51:00 +08:00
fyy
f84c4037fb 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-02 09:49:00 +08:00
fyy
a3b13789a6 fix: 服务地址选择 2025-07-02 09:48:21 +08:00
cfa85a864c 1、租赁订单管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-01 17:57:12 +08:00
fyy
33f2197ea8 feat: 构架绿植租赁方案管理页面
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-07-01 17:48:47 +08:00
fyy
0a56fa2194 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-01 14:40:59 +08:00
fyy
ea185bfcea feat: 前端完成保洁订单流程 2025-07-01 14:39:49 +08:00
FLL
b6f7558aaa 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-01 11:22:39 +08:00
FLL
ccaeb44f13 访客管理 2025-07-01 11:22:30 +08:00
15683799673
2c1373fd17 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-01 08:44:30 +08:00
15683799673
bef5cc55e9 门禁授权操作优化 2025-07-01 08:44:21 +08:00
40845f90aa 1、绿植租赁订单
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-30 18:11:49 +08:00
fyy
38267d7a4a 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-06-30 18:00:06 +08:00
fyy
ebeec8c276 feat: 测试保洁订单 2025-06-30 17:59:17 +08:00
FLL
86e928430a 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-06-30 17:58:46 +08:00
FLL
19f8c57e23 访客管理 2025-06-30 17:58:33 +08:00
fyy
bbb3c52af4 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-06-30 17:44:09 +08:00
fyy
fa3c442545 feat: 测试保洁订单 2025-06-30 17:42:56 +08:00
9eac725934 1、绿植租赁订单
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-30 14:45:06 +08:00
15683799673
d24d03457a 增加门禁授权操作
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-30 06:58:16 +08:00
15683799673
f90f0152fe 增加门禁授权操作
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-30 06:56:40 +08:00
15683799673
285ac3e0ed 增加门禁授权操作
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-30 06:16:40 +08:00
15683799673
ffb32c817a 增加门禁设备
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2025-06-29 02:59:14 +08:00
15683799673
54cea19b78 综合模块完成
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-28 22:49:40 +08:00
15683799673
acd63bc96e 1
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-28 02:41:09 +08:00
15683799673
81a89bb4dc 人像库页面优化
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
增加人像图片
2025-06-28 01:29:34 +08:00
15683799673
b2d902a2e0 人像页面完成
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-27 22:19:56 +08:00
fyy
3e8ba86305 feat: 保洁接口对接
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-27 18:03:13 +08:00
f01cb4abce 1、入驻单位、人员优化
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-27 17:56:05 +08:00
lxj
ef24216dbc 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-06-27 17:13:56 +08:00
lxj
120b27e13a 人像库页面完成 2025-06-27 17:13:34 +08:00
FLL
4819f881ed 收费管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-27 15:55:02 +08:00
FLL
01ddd1174a 综合管理 2025-06-27 15:16:06 +08:00
lxj
ca24234e57 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7m3s
# Conflicts:
#	packages/@core/base/shared/src/constants/dict-enum.ts
2025-06-26 22:03:17 +08:00
lxj
1bc8d02cec 增加人像页面 2025-06-26 22:02:40 +08:00
6f2e0be983 1、单元
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7m16s
2、房间
2025-06-26 18:04:51 +08:00
fyy
e06f8861cc 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-06-26 18:03:07 +08:00
fyy
730d8ca6f2 feat: 更新保洁页面 2025-06-26 18:02:43 +08:00
FLL
8ecf6b03aa 小区,建筑,楼层
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2025-06-26 17:59:00 +08:00
FLL
2b10dc8fa2 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6m0s
# Conflicts:
#	apps/web-antd/vite.config.mts
2025-06-26 09:51:51 +08:00
FLL
8d3f5331a5 产品管理 2025-06-26 09:50:41 +08:00
fyy
f2a90584b2 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6m3s
2025-06-26 09:34:01 +08:00
fyy
b5c47bc3f9 feat: 初始化绿植养护租赁管理页面 2025-06-26 09:33:34 +08:00
0b192801ab 更新 .gitea/workflows/dev.yml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6m55s
2025-06-25 16:37:37 +08:00
de569eb59a cicd
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6m47s
2025-06-25 16:25:03 +08:00
97a0417d50 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-06-25 16:24:42 +08:00
fyy
7d5817ce33 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-06-25 16:20:35 +08:00
fyy
027ba5b2a3 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5 2025-06-25 16:19:55 +08:00
0b31030317 baseUrl 2025-06-25 16:17:15 +08:00
FLL
7371da5f48 2
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6m25s
2025-06-25 15:04:15 +08:00
FLL
652952e29c 1
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2025-06-25 14:40:35 +08:00
e1656bf104 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6m9s
2025-06-25 11:38:30 +08:00
8d517b3133 资产审批 2025-06-25 11:37:28 +08:00
fyy
234c0f8096 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6m9s
2025-06-25 11:18:22 +08:00
fyy
1c3016c44b feat: 新增绿植租赁管理菜单 2025-06-25 11:17:58 +08:00
f620debe43 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6m15s
2025-06-25 09:51:31 +08:00
b802ff624b cicd 2025-06-25 09:50:50 +08:00
fae5d7877c 1、资产
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2025-06-25 09:46:22 +08:00
87331ab607 1、资产管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-06-25 09:42:38 +08:00
905fbb5f06 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 6m15s
2025-06-25 09:28:32 +08:00
15683799673
b2acba4114 增加人像库页面
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5m48s
2025-06-25 00:37:48 +08:00
15683799673
9c08cca095 增加人像库
增加人像库图片
2025-06-24 23:55:59 +08:00
fyy
85975db5ee Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 7m1s
2025-06-24 16:45:56 +08:00
fyy
a0f5599d92 feat: 设置一个保洁订单可选多个服务 2025-06-24 16:43:49 +08:00
306 changed files with 27623 additions and 5697 deletions

View File

@@ -3,20 +3,35 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: http://127.0.0.1:3000/bichangxiong/checkout@v4 # 使用 Gitea 镜像
uses: http://47.109.37.87:3000/bichangxiong/checkout@v4 # 使用 Gitea 镜像
with:
fetch-depth: 1 # 只拉取最新一次提交
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: pnpm
run: npm i pnpm -g
- name: node
run: pnpm i
- name: Build
run: pnpm build:antd
- name: cp
run: robocopy ./apps/web-antd/dist C:\devtool\nginx-1.28.0\html\web-antd /E
- 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"

View File

@@ -1,4 +1,4 @@
VITE_BASE=/
VITE_BASE=/property
# 是否开启压缩,可以设置为 none, brotli, gzip
VITE_COMPRESS=gzip

View File

@@ -48,6 +48,7 @@
"crypto-js": "^4.2.0",
"dayjs": "catalog:",
"echarts": "^5.5.1",
"echarts-gl": "^2.0.9",
"jsencrypt": "^3.3.2",
"lodash-es": "^4.17.21",
"pinia": "catalog:",

View File

@@ -38,5 +38,19 @@ export interface PageQuery {
orderByColumn?: string;
pageNum?: number;
pageSize?: number;
[key: string]: any;
}
export interface TreeNode<T = any> {
level: number;
code: T;
ParentCode: T;
label: string;
children: TreeNode<T>;
title?: string;
key?:any
disabled: boolean
}

View File

@@ -1,61 +0,0 @@
import type { AccessControlVO, AccessControlForm, AccessControlQuery } 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 accessControlList(params?: AccessControlQuery) {
return requestClient.get<PageResult<AccessControlVO>>('/property/accessControl/list', { params });
}
/**
* 导出门禁管理列表
* @param params
* @returns 门禁管理列表
*/
export function accessControlExport(params?: AccessControlQuery) {
return commonExport('/property/accessControl/export', params ?? {});
}
/**
* 查询门禁管理详情
* @param id id
* @returns 门禁管理详情
*/
export function accessControlInfo(id: ID) {
return requestClient.get<AccessControlVO>(`/property/accessControl/${id}`);
}
/**
* 新增门禁管理
* @param data
* @returns void
*/
export function accessControlAdd(data: AccessControlForm) {
return requestClient.postWithMsg<void>('/property/accessControl', data);
}
/**
* 更新门禁管理
* @param data
* @returns void
*/
export function accessControlUpdate(data: AccessControlForm) {
return requestClient.putWithMsg<void>('/property/accessControl', data);
}
/**
* 删除门禁管理
* @param id id
* @returns void
*/
export function accessControlRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/accessControl/${id}`);
}

View File

@@ -1,271 +0,0 @@
export interface AccessControlVO {
/**
* id
*/
id: string | number;
/**
* 门禁设备编码
*/
accessCode: string;
/**
* 门禁名称
*/
accessName: string;
/**
* 园区编码
*/
communityCode: string;
/**
* 建筑编码
*/
buildingCode: string;
/**
* 门禁设备ip
*/
accessIp: string;
/**
* 设备端口
*/
accessPort: number;
/**
* 门禁设备类型
*/
accssType: number;
/**
* 工程编号
*/
factoryCode: string;
/**
* 控制卡类型1-系统2-E8
*/
controlType: number;
/**
* 控制卡类型编码
*/
controlCode: string;
/**
* 外部编码
*/
outCode: string;
/**
* 组织编码
*/
orgCode: string;
/**
* 数据状态1有效0无效
*/
dataState: number;
/**
* 创建时间
*/
createTime: string;
/**
* 创建人
*/
createEmpId: string | number;
/**
* 修改时间
*/
modifyTime: string;
}
export interface AccessControlForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 门禁设备编码
*/
accessCode?: string;
/**
* 门禁名称
*/
accessName?: string;
/**
* 园区编码
*/
communityCode?: string;
/**
* 建筑编码
*/
buildingCode?: string;
/**
* 门禁设备ip
*/
accessIp?: string;
/**
* 设备端口
*/
accessPort?: number;
/**
* 门禁设备类型
*/
accssType?: number;
/**
* 工程编号
*/
factoryCode?: string;
/**
* 控制卡类型1-系统2-E8
*/
controlType?: number;
/**
* 控制卡类型编码
*/
controlCode?: string;
/**
* 外部编码
*/
outCode?: string;
/**
* 组织编码
*/
orgCode?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 创建时间
*/
createTime?: string;
/**
* 创建人
*/
createEmpId?: string | number;
/**
* 修改时间
*/
modifyTime?: string;
}
export interface AccessControlQuery extends PageQuery {
/**
* id
*/
id?: string | number;
/**
* 门禁设备编码
*/
accessCode?: string;
/**
* 门禁名称
*/
accessName?: string;
/**
* 园区编码
*/
communityCode?: string;
/**
* 建筑编码
*/
buildingCode?: string;
/**
* 门禁设备ip
*/
accessIp?: string;
/**
* 设备端口
*/
accessPort?: number;
/**
* 门禁设备类型
*/
accssType?: number;
/**
* 工程编号
*/
factoryCode?: string;
/**
* 控制卡类型1-系统2-E8
*/
controlType?: number;
/**
* 控制卡类型编码
*/
controlCode?: string;
/**
* 外部编码
*/
outCode?: string;
/**
* 组织编码
*/
orgCode?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 创建时间
*/
createTime?: string;
/**
* 创建人
*/
createEmpId?: string | number;
/**
* 修改时间
*/
modifyTime?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,65 @@
import type { AssetTypeVO, AssetTypeForm, AssetTypeQuery } 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 assetTypeList(params?: AssetTypeQuery) {
return requestClient.get<PageResult<AssetTypeVO>>('/property/assetType/list', { params });
}
export function assetTypeselect() {
return requestClient.get<AssetTypeVO[]>('/property/assetType/list');
}
/**
* 导出资产类型列表
* @param params
* @returns 资产类型列表
*/
export function assetTypeExport(params?: AssetTypeQuery) {
return commonExport('/property/assetType/export', params ?? {});
}
/**
* 查询资产类型详情
* @param id id
* @returns 资产类型详情
*/
export function assetTypeInfo(id: ID) {
return requestClient.get<AssetTypeVO>(`/property/assetType/${id}`);
}
/**
* 新增资产类型
* @param data
* @returns void
*/
export function assetTypeAdd(data: AssetTypeForm) {
return requestClient.postWithMsg<void>('/property/assetType', data);
}
/**
* 更新资产类型
* @param data
* @returns void
*/
export function assetTypeUpdate(data: AssetTypeForm) {
return requestClient.putWithMsg<void>('/property/assetType', data);
}
/**
* 删除资产类型
* @param id id
* @returns void
*/
export function assetTypeRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/assetType/${id}`);
}

View File

@@ -0,0 +1,64 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface AssetTypeVO {
/**
* 主键
*/
id: string | number;
/**
* 分类名称
*/
assetTypeName: string;
/**
* 排序
*/
sort: number;
/**
* 创建时间
*/
createTime: string;
/**
* 创建人
*/
createBy: string;
}
export interface AssetTypeForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 分类名称
*/
assetTypeName?: string;
/**
* 排序
*/
sort?: number;
}
export interface AssetTypeQuery extends PageQuery {
/**
* 分类名称
*/
assetTypeName?: string;
/**
* 排序
*/
sort?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -7,34 +7,34 @@ import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询建筑管理列表
* 查询建筑列表
* @param params
* @returns 建筑管理列表
* @returns 建筑列表
*/
export function buildingList(params?: BuildingQuery) {
return requestClient.get<PageResult<BuildingVO>>('/property/building/list', { params });
}
/**
* 导出建筑管理列表
* 导出建筑列表
* @param params
* @returns 建筑管理列表
* @returns 建筑列表
*/
export function buildingExport(params?: BuildingQuery) {
return commonExport('/property/building/export', params ?? {});
}
/**
* 查询建筑管理详情
* 查询建筑详情
* @param id id
* @returns 建筑管理详情
* @returns 建筑详情
*/
export function buildingInfo(id: ID) {
return requestClient.get<BuildingVO>(`/property/building/${id}`);
}
/**
* 新增建筑管理
* 新增建筑
* @param data
* @returns void
*/
@@ -43,7 +43,7 @@ export function buildingAdd(data: BuildingForm) {
}
/**
* 更新建筑管理
* 更新建筑
* @param data
* @returns void
*/
@@ -52,7 +52,7 @@ export function buildingUpdate(data: BuildingForm) {
}
/**
* 删除建筑管理
* 删除建筑
* @param id id
* @returns void
*/

View File

@@ -1,20 +1,15 @@
import type { PageQuery, BaseEntity } from '#/api/common';
import type { BaseEntity, PageQuery } from '#/api/common';
export interface BuildingVO {
/**
*
*
*/
id: string | number;
/**
* 园区编码
*/
communityCode: string;
/**
* 建筑编码
*/
buildingCode: string;
communityId: string | number;
/**
* 建筑名称
@@ -22,19 +17,29 @@ export interface BuildingVO {
buildingName: string;
/**
*
* 总层数
*/
province: string;
floorCount: number;
/**
*
* 单元数
*/
city: string;
unitCount: number;
/**
*
* 建筑类型('1住宅','2商业','3:混合')
*/
district: string;
buildType: number;
/**
* 电梯数量
*/
elevatorCount: number;
/**
* 竣工日期
*/
completionDate: string;
/**
* 地址
@@ -50,104 +55,18 @@ export interface BuildingVO {
* 维度
*/
lat: string;
/**
* 产权性质(1:自持2承租3自持+承租,4政府免费使用)
*/
cqxz: number;
/**
* 不动产编号
*/
bdcbh: string;
/**
* 产权编号
*/
cqbh: string;
/**
* 图地编号
*/
tdbh: string;
/**
* 建筑面积
*/
jzmj: number;
/**
* 产权面积
*/
cqmj: number;
/**
* 可租面积
*/
kzmj: number;
/**
* 自用面积
*/
zymj: number;
/**
* 配套面积
*/
ptmj: number;
/**
* 车位面积
*/
cwmj: number;
/**
* 标准层高
*/
bzcg: number;
/**
* 排序字段
*/
sort: number;
/**
* 组织编码
*/
orgCode: string;
/**
* 数据状态1有效0无效
*/
dataState: number;
/**
* 修改时间
*/
modifyTime: string;
/**
* 搜索值
*/
searchValue: string;
}
export interface BuildingForm extends BaseEntity {
/**
*
*
*/
id?: string | number;
/**
* 园区编码
*/
communityCode?: string;
/**
* 建筑编码
*/
buildingCode?: string;
communityId?: string | number;
/**
* 建筑名称
@@ -155,19 +74,29 @@ export interface BuildingForm extends BaseEntity {
buildingName?: string;
/**
*
* 总层数
*/
province?: string;
floorCount?: number;
/**
*
* 单元数
*/
city?: string;
unitCount?: number;
/**
*
* 建筑类型('1住宅','2商业','3:混合')
*/
district?: string;
buildType?: number;
/**
* 电梯数量
*/
elevatorCount?: number;
/**
* 竣工日期
*/
completionDate?: string;
/**
* 地址
@@ -183,99 +112,13 @@ export interface BuildingForm extends BaseEntity {
* 维度
*/
lat?: string;
/**
* 产权性质(1:自持2承租3自持+承租,4政府免费使用)
*/
cqxz?: number;
/**
* 不动产编号
*/
bdcbh?: string;
/**
* 产权编号
*/
cqbh?: string;
/**
* 图地编号
*/
tdbh?: string;
/**
* 建筑面积
*/
jzmj?: number;
/**
* 产权面积
*/
cqmj?: number;
/**
* 可租面积
*/
kzmj?: number;
/**
* 自用面积
*/
zymj?: number;
/**
* 配套面积
*/
ptmj?: number;
/**
* 车位面积
*/
cwmj?: number;
/**
* 标准层高
*/
bzcg?: number;
/**
* 排序字段
*/
sort?: number;
/**
* 组织编码
*/
orgCode?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 修改时间
*/
modifyTime?: string;
/**
* 搜索值
*/
searchValue?: string;
}
export interface BuildingQuery extends PageQuery {
/**
* 园区编码
*/
communityCode?: string;
/**
* 建筑编码
*/
buildingCode?: string;
communityId?: string | number;
/**
* 建筑名称
@@ -283,19 +126,29 @@ export interface BuildingQuery extends PageQuery {
buildingName?: string;
/**
*
* 总层数
*/
province?: string;
floorCount?: number;
/**
*
* 单元数
*/
city?: string;
unitCount?: number;
/**
*
* 建筑类型('1住宅','2商业','3:混合')
*/
district?: string;
buildType?: number;
/**
* 电梯数量
*/
elevatorCount?: number;
/**
* 竣工日期
*/
completionDate?: string;
/**
* 地址
@@ -312,88 +165,13 @@ export interface BuildingQuery extends PageQuery {
*/
lat?: string;
/**
* 产权性质(1:自持2承租3自持+承租,4政府免费使用)
*/
cqxz?: number;
/**
* 不动产编号
*/
bdcbh?: string;
/**
* 产权编号
*/
cqbh?: string;
/**
* 图地编号
*/
tdbh?: string;
/**
* 建筑面积
*/
jzmj?: number;
/**
* 产权面积
*/
cqmj?: number;
/**
* 可租面积
*/
kzmj?: number;
/**
* 自用面积
*/
zymj?: number;
/**
* 配套面积
*/
ptmj?: number;
/**
* 车位面积
*/
cwmj?: number;
/**
* 标准层高
*/
bzcg?: number;
/**
* 排序字段
*/
sort?: number;
/**
* 组织编码
* 日期范围参数
*/
orgCode?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 修改时间
*/
modifyTime?: string;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -1,306 +0,0 @@
export interface BuildingVO {
/**
* id
*/
id: string | number;
/**
* 园区编码
*/
communityCode: string;
/**
* 建筑编码
*/
buildingCode: string;
/**
* 建筑名称
*/
buildingName: string;
/**
* 省
*/
province: string;
/**
* 市
*/
city: string;
/**
* 区
*/
district: string;
/**
* 地址
*/
addr: string;
/**
* 经度
*/
lon: string;
/**
* 维度
*/
lat: string;
/**
* 产权性质(1:自持2承租3自持+承租,4政府免费使用)
*/
cqxz: number;
/**
* 不动产编号
*/
bdcbh: string;
/**
* 产权编号
*/
cqbh: string;
/**
* 图地编号
*/
tdbh: string;
/**
* 建筑面积
*/
jzmj: number;
/**
* 产权面积
*/
cqmj: number;
/**
* 可租面积
*/
kzmj: number;
/**
* 自用面积
*/
zymj: number;
/**
* 配套面积
*/
ptmj: number;
/**
* 车位面积
*/
cwmj: number;
/**
* 标准层高
*/
bzcg: number;
/**
* 排序字段
*/
order: number;
/**
* 组织编码
*/
orgCode: string;
}
export interface BuildingForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 园区编码
*/
communityCode?: string;
/**
* 建筑编码
*/
buildingCode?: string;
/**
* 建筑名称
*/
buildingName?: string;
/**
* 省
*/
province?: string;
/**
* 市
*/
city?: string;
/**
* 区
*/
district?: string;
/**
* 地址
*/
addr?: string;
/**
* 经度
*/
lon?: string;
/**
* 维度
*/
lat?: string;
/**
* 产权性质(1:自持2承租3自持+承租,4政府免费使用)
*/
cqxz?: number;
/**
* 不动产编号
*/
bdcbh?: string;
/**
* 产权编号
*/
cqbh?: string;
/**
* 图地编号
*/
tdbh?: string;
/**
* 建筑面积
*/
jzmj?: number;
/**
* 产权面积
*/
cqmj?: number;
/**
* 可租面积
*/
kzmj?: number;
/**
* 自用面积
*/
zymj?: number;
/**
* 配套面积
*/
ptmj?: number;
/**
* 车位面积
*/
cwmj?: number;
/**
* 标准层高
*/
bzcg?: number;
/**
* 排序字段
*/
order?: number;
/**
* 组织编码
*/
orgCode?: string;
}
export interface BuildingQuery extends PageQuery {
/**
* 园区编码
*/
communityCode?: string;
/**
* 建筑编码
*/
buildingCode?: string;
/**
* 建筑名称
*/
buildingName?: string;
/**
* 省
*/
province?: string;
/**
* 市
*/
city?: string;
/**
* 区
*/
district?: string;
/**
* 地址
*/
addr?: string;
/**
* 经度
*/
lon?: string;
/**
* 维度
*/
lat?: string;
/**
* 产权性质(1:自持2承租3自持+承租,4政府免费使用)
*/
cqxz?: number;
/**
* 不动产编号
*/
bdcbh?: string;
/**
* 产权编号
*/
cqbh?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { WorkOrdersVO, WorkOrdersForm, WorkOrdersQuery } 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 workOrdersList(params?: WorkOrdersQuery) {
return requestClient.get<PageResult<WorkOrdersVO>>('/property/workOrders/list', { params });
}
/**
* 导出工单处理列表
* @param params
* @returns 工单处理列表
*/
export function workOrdersExport(params?: WorkOrdersQuery) {
return commonExport('/property/workOrders/export', params ?? {});
}
/**
* 查询工单处理详情
* @param id id
* @returns 工单处理详情
*/
export function workOrdersInfo(id: ID) {
return requestClient.get<WorkOrdersVO>(`/property/workOrders/${id}`);
}
/**
* 新增工单处理
* @param data
* @returns void
*/
export function workOrdersAdd(data: WorkOrdersForm) {
return requestClient.postWithMsg<void>('/property/workOrders', data);
}
/**
* 更新工单处理
* @param data
* @returns void
*/
export function workOrdersUpdate(data: WorkOrdersForm) {
return requestClient.putWithMsg<void>('/property/workOrders', data);
}
/**
* 删除工单处理
* @param id id
* @returns void
*/
export function workOrdersRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/workOrders/${id}`);
}

View File

@@ -0,0 +1,219 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface WorkOrdersVO {
/**
* id
*/
id: string | number;
/**
* 工单编号
*/
orderNo: string;
/**
* 工单名称
*/
orderName: string;
/**
* 工单类型
*/
type: number;
/**
* 状态
*/
status: number;
/**
* 派单时间
*/
dispatchTime: string;
/**
* 发起人姓名
*/
initiatorName: string;
/**
* 发起人手机号
*/
initiatorPhone: string;
/**
* 处理人姓名
*/
handler: string;
/**
* 地址
*/
location: string;
/**
* 计划完成时间
*/
planCompleTime: string;
/**
* 完成时间
*/
compleTime: string;
/**
* 评价
*/
serviceEvalua: string;
/**
* 是否超时
*/
isTimeOut: number;
}
export interface WorkOrdersForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 工单编号
*/
orderNo?: string;
/**
* 工单名称
*/
orderName?: string;
/**
* 工单类型
*/
type?: number;
/**
* 状态
*/
status?: number;
/**
* 派单时间
*/
dispatchTime?: string;
/**
* 发起人姓名
*/
initiatorName?: string;
/**
* 发起人手机号
*/
initiatorPhone?: string;
/**
* 处理人姓名
*/
handler?: string;
/**
* 地址
*/
location?: string;
/**
* 计划完成时间
*/
planCompleTime?: string;
/**
* 完成时间
*/
compleTime?: string;
/**
* 评价
*/
serviceEvalua?: string;
/**
* 是否超时
*/
isTimeOut?: number;
}
export interface WorkOrdersQuery extends PageQuery {
/**
* 工单编号
*/
orderNo?: string;
/**
* 工单名称
*/
orderName?: string;
/**
* 工单类型
*/
type?: number;
/**
* 状态
*/
status?: number;
/**
* 派单时间
*/
dispatchTime?: string;
/**
* 发起人姓名
*/
initiatorName?: string;
/**
* 发起人手机号
*/
initiatorPhone?: string;
/**
* 处理人姓名
*/
handler?: string;
/**
* 地址
*/
location?: string;
/**
* 计划完成时间
*/
planCompleTime?: string;
/**
* 完成时间
*/
compleTime?: string;
/**
* 评价
*/
serviceEvalua?: string;
/**
* 是否超时
*/
isTimeOut?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,59 @@
import type { WorkOrdersTypeVO, WorkOrdersTypeForm, WorkOrdersTypeQuery } 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 workOrdersTypeList(params?: WorkOrdersTypeQuery) {
return requestClient.get<PageResult<WorkOrdersTypeVO>>('/property/workOrdersType/list', { params });
}
/**
* 导出工单类型管理列表
* @param params
* @returns 工单类型管理列表
*/
export function workOrdersTypeExport(params?: WorkOrdersTypeQuery) {
return commonExport('/property/workOrdersType/export', params ?? {});
}
/**
* 查询工单类型管理详情
* @param id id
* @returns 工单类型管理详情
*/
export function workOrdersTypeInfo(id: ID) {
return requestClient.get<WorkOrdersTypeVO>(`/property/workOrdersType/${id}`);
}
/**
* 新增工单类型管理
* @param data
* @returns void
*/
export function workOrdersTypeAdd(data: WorkOrdersTypeForm) {
return requestClient.postWithMsg<void>('/property/workOrdersType', data);
}
/**
* 更新工单类型管理
* @param data
* @returns void
*/
export function workOrdersTypeUpdate(data: WorkOrdersTypeForm) {
return requestClient.putWithMsg<void>('/property/workOrdersType', data);
}
/**
* 删除工单类型管理
* @param id id
* @returns void
*/
export function workOrdersTypeRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/workOrdersType/${id}`);
}

View File

@@ -0,0 +1,112 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface WorkOrdersTypeVO {
/**
* id
*/
id: string | number;
/**
* 工单类型编号
*/
orderTypeNo: string;
/**
* 工单类型名称
*/
orderTypeName: string;
/**
* 运作模式
*/
operationMode: string;
/**
* 排序值
*/
sort: number;
/**
* 累计工单数量
*/
number: number;
/**
* 是否支持转单(0支持,1不支持)
*/
isTransfers: number;
}
export interface WorkOrdersTypeForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 工单类型编号
*/
orderTypeNo?: string;
/**
* 工单类型名称
*/
orderTypeName?: string;
/**
* 运作模式
*/
operationMode?: string;
/**
* 排序值
*/
sort?: number;
/**
* 累计工单数量
*/
number?: number;
/**
* 是否支持转单(0支持,1不支持)
*/
isTransfers?: number;
}
export interface WorkOrdersTypeQuery extends PageQuery {
/**
* 工单类型编号
*/
orderTypeNo?: string;
/**
* 工单类型名称
*/
orderTypeName?: string;
/**
* 运作模式
*/
operationMode?: string;
/**
* 排序值
*/
sort?: number;
/**
* 累计工单数量
*/
number?: number;
/**
* 是否支持转单(0支持,1不支持)
*/
isTransfers?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -1,320 +0,0 @@
export interface CeremonialServeVO {
/**
* id
*/
id: string | number;
/**
* 分类id
*/
classificationId: string | number;
/**
* 预订id
*/
roomBookId: string | number;
/**
* 服务数量
*/
serveNum: number;
/**
* 服务分类
*/
serveType: number;
/**
* 产品名称
*/
serveName: string;
/**
* 预订状态0待确认1已确认2已取消3已完成
*/
serveStatus: number;
/**
* 创建时间
*/
createTime: string;
/**
* 创建人
*/
createBy: string;
/**
* 创建人id
*/
createById: string | number;
/**
* 更新时间
*/
updateTime: string;
/**
* 更新人
*/
updateBy: string;
/**
* 更新人id
*/
updateById: string | number;
/**
* 确认人id
*/
confirmId: string | number;
/**
* 服务开始时间
*/
beginTime: string;
/**
* 服务结束时间
*/
endTime: string;
/**
* 服务总价格
*/
servePrice: number;
/**
* 数据状态(模拟删除 0:删除 1:未删除)
*/
dataStauts: number;
/**
* 产品图片
*/
serveImage: string;
/**
* 产品图片Url
*/
serveImageUrl: string;
/**
* 排序
*/
sort: number;
}
export interface CeremonialServeForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 分类id
*/
classificationId?: string | number;
/**
* 预订id
*/
roomBookId?: string | number;
/**
* 服务数量
*/
serveNum?: number;
/**
* 服务分类
*/
serveType?: number;
/**
* 产品名称
*/
serveName?: string;
/**
* 预订状态0待确认1已确认2已取消3已完成
*/
serveStatus?: number;
/**
* 创建时间
*/
createTime?: string;
/**
* 创建人
*/
createBy?: string;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新时间
*/
updateTime?: string;
/**
* 更新人
*/
updateBy?: string;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 确认人id
*/
confirmId?: string | number;
/**
* 服务开始时间
*/
beginTime?: string;
/**
* 服务结束时间
*/
endTime?: string;
/**
* 服务总价格
*/
servePrice?: number;
/**
* 数据状态(模拟删除 0:删除 1:未删除)
*/
dataStauts?: number;
/**
* 产品图片
*/
serveImage?: string;
/**
* 排序
*/
sort?: number;
}
export interface CeremonialServeQuery extends PageQuery {
/**
* id
*/
id?: string | number;
/**
* 分类id
*/
classificationId?: string | number;
/**
* 预订id
*/
roomBookId?: string | number;
/**
* 服务数量
*/
serveNum?: number;
/**
* 服务分类
*/
serveType?: number;
/**
* 产品名称
*/
serveName?: string;
/**
* 预订状态0待确认1已确认2已取消3已完成
*/
serveStatus?: number;
/**
* 创建时间
*/
createTime?: string;
/**
* 创建人
*/
createBy?: string;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新时间
*/
updateTime?: string;
/**
* 更新人
*/
updateBy?: string;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 确认人id
*/
confirmId?: string | number;
/**
* 服务开始时间
*/
beginTime?: string;
/**
* 服务结束时间
*/
endTime?: string;
/**
* 服务总价格
*/
servePrice?: number;
/**
* 数据状态(模拟删除 0:删除 1:未删除)
*/
dataStauts?: number;
/**
* 产品图片
*/
serveImage?: string;
/**
* 排序
*/
sort?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -1,76 +0,0 @@
export interface CeremonialserveRoombookingVO {
/**
* id
*/
id: string | number;
/**
* 服务id
*/
ceremonialServeId: string | number;
/**
* 预订id
*/
roomBookingId: string | number;
/**
* 服务和预订总价格
*/
totalPrice: number;
}
export interface CeremonialserveRoombookingForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 服务id
*/
ceremonialServeId?: string | number;
/**
* 预订id
*/
roomBookingId?: string | number;
/**
* 服务和预订总价格
*/
totalPrice?: number;
}
export interface CeremonialserveRoombookingQuery extends PageQuery {
/**
* id
*/
id?: string | number;
/**
* 服务id
*/
ceremonialServeId?: string | number;
/**
* 预订id
*/
roomBookingId?: string | number;
/**
* 服务和预订总价格
*/
totalPrice?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,59 @@
import type { OrderChargeVO, OrderChargeForm, OrderChargeQuery } 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 orderChargeList(params?: OrderChargeQuery) {
return requestClient.get<PageResult<OrderChargeVO>>('/property/orderCharge/list', { params });
}
/**
* 导出绿植租赁-订单收费列表
* @param params
* @returns 绿植租赁-订单收费列表
*/
export function orderChargeExport(params?: OrderChargeQuery) {
return commonExport('/property/orderCharge/export', params ?? {});
}
/**
* 查询绿植租赁-订单收费详情
* @param id id
* @returns 绿植租赁-订单收费详情
*/
export function orderChargeInfo(id: ID) {
return requestClient.get<OrderChargeVO>(`/property/orderCharge/${id}`);
}
/**
* 新增绿植租赁-订单收费
* @param data
* @returns void
*/
export function orderChargeAdd(data: OrderChargeForm) {
return requestClient.postWithMsg<void>('/property/orderCharge', data);
}
/**
* 更新绿植租赁-订单收费
* @param data
* @returns void
*/
export function orderChargeUpdate(data: OrderChargeForm) {
return requestClient.putWithMsg<void>('/property/orderCharge', data);
}
/**
* 删除绿植租赁-订单收费
* @param id id
* @returns void
*/
export function orderChargeRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/orderCharge/${id}`);
}

View File

@@ -0,0 +1,269 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface OrderChargeVO {
/**
* 主键
*/
id: string | number;
/**
* 订单id
*/
orderId: string | number;
/**
* 租赁人id系统用户
*/
userId: string | number;
/**
* 租赁人名称
*/
userName: string;
/**
* 租金
*/
rent: number;
/**
* 押金
*/
deposit: number;
/**
* 违约金
*/
penalty: number;
/**
* 总金额
*/
totalAmount: number;
/**
* 收费日期
*/
chargeDate: string;
/**
* 支付方式
*/
paymentMethod: string | number;
/**
* 开票状态
*/
invoiceStatus: string | number;
/**
* 发票类型
*/
invoiceType: string | number;
/**
* 收费状态
*/
chargeStatus: string | number;
}
export interface OrderChargeForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 订单id
*/
orderId?: string | number;
/**
* 租赁人id系统用户
*/
userId?: string | number;
/**
* 租赁人名称
*/
userName?: string;
/**
* 租金
*/
rent?: number;
/**
* 押金
*/
deposit?: number;
/**
* 违约金
*/
penalty?: number;
/**
* 总金额
*/
totalAmount?: number;
/**
* 收费日期
*/
chargeDate?: string;
/**
* 支付方式
*/
paymentMethod?: string | number;
/**
* 开票状态
*/
invoiceStatus?: string | number;
/**
* 发票类型
*/
invoiceType?: string | number;
/**
* 收费状态
*/
chargeStatus?: string | number;
}
export interface OrderChargeQuery extends PageQuery {
/**
* 订单id
*/
orderId?: string | number;
/**
* 租赁人id系统用户
*/
userId?: string | number;
/**
* 租赁人名称
*/
userName?: string;
/**
* 租金
*/
rent?: number;
/**
* 押金
*/
deposit?: number;
/**
* 违约金
*/
penalty?: number;
/**
* 总金额
*/
totalAmount?: number;
/**
* 收费日期
*/
chargeDate?: string;
/**
* 支付方式
*/
paymentMethod?: string | number;
/**
* 开票状态
*/
invoiceStatus?: string | number;
/**
* 发票类型
*/
invoiceType?: string | number;
/**
* 收费状态
*/
chargeStatus?: string | number;
/**
* 日期范围参数
*/
params?: any;
}
export interface orderChargeDetailForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 订单id
*/
orderId?: string | number;
/**
* 租赁人id系统用户
*/
userId?: string | number;
/**
* 租赁人名称
*/
userName?: string;
/**
* 租金
*/
rent?: number;
/**
* 押金
*/
deposit?: number;
/**
* 违约金
*/
penalty?: number;
/**
* 总金额
*/
totalAmount?: number;
/**
* 收费日期
*/
chargeDate?: string;
/**
* 支付方式
*/
paymentMethod?: string | number;
/**
* 开票状态
*/
invoiceStatus?: string | number;
/**
* 发票类型
*/
invoiceType?: string | number;
/**
* 收费状态
*/
chargeStatus?: string | number;
}

View File

@@ -1,28 +1,37 @@
import type { CityAreaVO, CityAreaForm, CityAreaQuery } from './model';
import type { CityAreaForm, CityAreaQuery, CityAreaVO } 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 行政区划
列表
*/
* 查询行政区划
列表
* @param params
* @returns 行政区划
列表
*/
export function cityAreaList(params?: CityAreaQuery) {
return requestClient.get<PageResult<CityAreaVO>>('/property/cityArea/list', { params });
return requestClient.get<PageResult<CityAreaVO>>('/property/cityArea/list', {
params,
});
}
/**
* 查询城市结构数
* @param params
*/
export function getCityAreaTreeList() {
return requestClient.get<CityAreaVO[]>('/property/cityArea/treeList');
}
/**
* 导出行政区划
列表
列表
* @param params
* @returns 行政区划
列表
列表
*/
export function cityAreaExport(params?: CityAreaQuery) {
return commonExport('/property/cityArea/export', params ?? {});
@@ -30,10 +39,10 @@ export function cityAreaExport(params?: CityAreaQuery) {
/**
* 查询行政区划
详情
详情
* @param areaCode id
* @returns 行政区划
详情
详情
*/
export function cityAreaInfo(areaCode: ID) {
return requestClient.get<CityAreaVO>(`/property/cityArea/${areaCode}`);

View File

@@ -1,126 +0,0 @@
export interface CityAreaVO {
/**
* 城市编码
*/
areaCode: string;
/**
* 城市名称
*/
areaName: string;
/**
* 101 省级 202 市州 303 区县
*/
areaLevel: string;
/**
* 父级城市编码
*/
parentAreaCode: string;
/**
* 父级城市名称
*/
parentAreaName: string;
/**
* 经度
*/
lon: string;
/**
* 维度
*/
lat: string;
}
export interface CityAreaForm extends BaseEntity {
/**
* 主键ID
*/
id?: string | number;
/**
* 城市编码
*/
areaCode?: string;
/**
* 城市名称
*/
areaName?: string;
/**
* 101 省级 202 市州 303 区县
*/
areaLevel?: string;
/**
* 父级城市编码
*/
parentAreaCode?: string;
/**
* 父级城市名称
*/
parentAreaName?: string;
/**
* 经度
*/
lon?: string;
/**
* 维度
*/
lat?: string;
}
export interface CityAreaQuery extends PageQuery {
/**
* 城市编码
*/
areaCode?: string;
/**
* 城市名称
*/
areaName?: string;
/**
* 101 省级 202 市州 303 区县
*/
areaLevel?: string;
/**
* 父级城市编码
*/
parentAreaCode?: string;
/**
* 父级城市名称
*/
parentAreaName?: string;
/**
* 经度
*/
lon?: string;
/**
* 维度
*/
lat?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -70,14 +70,14 @@ export interface Clean_orderVO {
* 联系电话
*/
phone: string;
relationList: any[];
}
export interface Clean_orderForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
id?: string;
/**
* 位置

View File

@@ -1,40 +1,51 @@
import type { CommunityVO, CommunityForm, CommunityQuery } from './model';
import type { CommunityForm, CommunityQuery, CommunityVO } 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 小区管理列表
*/
* 查询小区列表
* @param params
* @returns 小区列表
*/
export function communityList(params?: CommunityQuery) {
return requestClient.get<PageResult<CommunityVO>>('/property/community/list', { params });
return requestClient.get<PageResult<CommunityVO>>(
'/property/community/list',
{ params },
);
}
/**
* 导出小区管理列表
* 查询小区树结构
* @param params
* @returns 小区管理列表
* @returns 小区列表
*/
export function communityTree(level: number) {
return requestClient.get<CommunityVO[]>(`/property/community/tree/${level}`);
}
/**
* 导出小区列表
* @param params
* @returns 小区列表
*/
export function communityExport(params?: CommunityQuery) {
return commonExport('/property/community/export', params ?? {});
}
/**
* 查询小区管理详情
* 查询小区详情
* @param id id
* @returns 小区管理详情
* @returns 小区详情
*/
export function communityInfo(id: ID) {
return requestClient.get<CommunityVO>(`/property/community/${id}`);
}
/**
* 新增小区管理
* 新增小区
* @param data
* @returns void
*/
@@ -43,7 +54,7 @@ export function communityAdd(data: CommunityForm) {
}
/**
* 更新小区管理
* 更新小区
* @param data
* @returns void
*/
@@ -52,7 +63,7 @@ export function communityUpdate(data: CommunityForm) {
}
/**
* 删除小区管理
* 删除小区
* @param id id
* @returns void
*/

View File

@@ -1,8 +1,8 @@
import type { PageQuery, BaseEntity } from '#/api/common';
import type { BaseEntity, PageQuery } from '#/api/common';
export interface CommunityVO {
/**
* 主键
*
*/
id: string | number;
@@ -11,16 +11,14 @@ export interface CommunityVO {
*/
communityName: string;
/**
* 社区编码
*/
communityCode: string;
/**
* 社区类型 1园区2小区
*/
communityType: number;
cityFullCode: string;
cityFullName: string;
/**
* 省
*/
@@ -51,31 +49,40 @@ export interface CommunityVO {
*/
lat: string;
/**
* 占地面积(平方米)
*/
area: number;
/**
*
*/
builtYear: string;
/**
* 物业公司
*/
propertyCompany: string;
/**
* 联系电话
*/
contactPhone: string;
/**
* 社区描述
*/
description: string;
/**
* 小图图片
*/
img: string;
/**
* 组织编码
*/
orgCode: string;
/**
* 数据状态1有效0无效
*/
dataState: number;
/**
* 修改时间
*/
modifyTime: string;
}
export interface CommunityForm extends BaseEntity {
/**
* 主键
*
*/
id?: string | number;
@@ -84,16 +91,14 @@ export interface CommunityForm extends BaseEntity {
*/
communityName?: string;
/**
* 社区编码
*/
communityCode?: string;
/**
* 社区类型 1园区2小区
*/
communityType?: number;
cityFullName: string;
cityFullCode: string;
/**
* 省
*/
@@ -124,26 +129,35 @@ export interface CommunityForm extends BaseEntity {
*/
lat?: string;
/**
* 占地面积(平方米)
*/
area?: number;
/**
*
*/
builtYear?: string;
/**
* 物业公司
*/
propertyCompany?: string;
/**
* 联系电话
*/
contactPhone?: string;
/**
* 社区描述
*/
description?: string;
/**
* 小图图片
*/
img?: string;
/**
* 组织编码
*/
orgCode?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 修改时间
*/
modifyTime?: string;
}
export interface CommunityQuery extends PageQuery {
@@ -152,11 +166,6 @@ export interface CommunityQuery extends PageQuery {
*/
communityName?: string;
/**
* 社区编码
*/
communityCode?: string;
/**
* 社区类型 1园区2小区
*/
@@ -192,28 +201,38 @@ export interface CommunityQuery extends PageQuery {
*/
lat?: string;
/**
* 占地面积(平方米)
*/
area?: number;
/**
*
*/
builtYear?: string;
/**
* 物业公司
*/
propertyCompany?: string;
/**
* 联系电话
*/
contactPhone?: string;
/**
* 社区描述
*/
description?: string;
/**
* 小图图片
*/
img?: string;
/**
* 组织编码
* 日期范围参数
*/
orgCode?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 修改时间
*/
modifyTime?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -1,195 +0,0 @@
export interface CommunityVO {
/**
* 社区名称
*/
communityName: string;
/**
* 社区编码
*/
communityCode: string;
/**
* 社区类型 1园区2小区
*/
communityType: number;
/**
* 省
*/
province: string;
/**
* 市
*/
city: string;
/**
* 区
*/
district: string;
/**
* 地址
*/
addr: string;
/**
* 经度
*/
lon: string;
/**
* 维度
*/
lat: string;
/**
* 小图图片
*/
img: string;
/**
* 小图图片Url
*/
imgUrl: string;
/**
* 组织编码
*/
orgCode: string;
}
export interface CommunityForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 社区名称
*/
communityName?: string;
/**
* 社区编码
*/
communityCode?: string;
/**
* 社区类型 1园区2小区
*/
communityType?: number;
/**
* 省
*/
province?: string;
/**
* 市
*/
city?: string;
/**
* 区
*/
district?: string;
/**
* 地址
*/
addr?: string;
/**
* 经度
*/
lon?: string;
/**
* 维度
*/
lat?: string;
/**
* 小图图片
*/
img?: string;
/**
* 组织编码
*/
orgCode?: string;
}
export interface CommunityQuery extends PageQuery {
/**
* 社区名称
*/
communityName?: string;
/**
* 社区编码
*/
communityCode?: string;
/**
* 社区类型 1园区2小区
*/
communityType?: number;
/**
* 省
*/
province?: string;
/**
* 市
*/
city?: string;
/**
* 区
*/
district?: string;
/**
* 地址
*/
addr?: string;
/**
* 经度
*/
lon?: string;
/**
* 维度
*/
lat?: string;
/**
* 小图图片
*/
img?: string;
/**
* 组织编码
*/
orgCode?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -1,406 +0,0 @@
export interface ConferenceVO {
/**
* id
*/
id: string | number;
/**
* 会议室名称
*/
roomName: string;
/**
* 会议室编号
*/
roomNo: number;
/**
* 会议室位置
*/
roomLocation: string;
/**
* 会议室面积
*/
roomArea: string;
/**
* 会议室类型
*/
roomType: string;
/**
* 会议室容纳人数
*/
roomNumber: number;
/**
* 创建时间
*/
createTime: string;
/**
* 创建人
*/
createBy: string;
/**
* 创建人id
*/
createById: string | number;
/**
* 更新时间
*/
updateTime: string;
/**
* 更新人
*/
updateBy: string;
/**
* 更新人id
*/
updateById: string | number;
/**
* 会议室配套设施
*/
roomFacilities: string;
/**
* 会议室价格类型0免费1付费2面议
*/
feeType: number;
/**
* 费用金额
*/
feePrice: number;
/**
* 数据状态(模拟删除 0未删除 1删除
*/
dataStatus: number;
/**
* 负责人
*/
responsiblePerson: string;
/**
* 联系电话
*/
contactNumber: number;
/**
* 会议室照片
*/
pictures: string;
/**
* 会议室描述
*/
description: string;
/**
* 是否需要审核0需要审核1不需要审核
*/
review: number;
/**
* 启用状态0禁用1启用
*/
enabledStatus: number;
/**
* 开放星期1星期一2星期二
*/
openingWeek: number;
/**
* 开放开始时间
*/
openingBeginTime: string;
/**
* 开放结束时间
*/
openingEndTime: string;
}
export interface ConferenceForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 会议室名称
*/
roomName?: string;
/**
* 会议室编号
*/
roomNo?: number;
/**
* 会议室位置
*/
roomLocation?: string;
/**
* 会议室面积
*/
roomArea?: string;
/**
* 会议室类型
*/
roomType?: string;
/**
* 会议室容纳人数
*/
roomNumber?: number;
/**
* 创建时间
*/
createTime?: string;
/**
* 创建人
*/
createBy?: string;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新时间
*/
updateTime?: string;
/**
* 更新人
*/
updateBy?: string;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 会议室配套设施
*/
roomFacilities?: string;
/**
* 会议室价格类型0免费1付费2面议
*/
feeType?: number;
/**
* 费用金额
*/
feePrice?: number;
/**
* 数据状态(模拟删除 0未删除 1删除
*/
dataStatus?: number;
/**
* 负责人
*/
responsiblePerson?: string;
/**
* 联系电话
*/
contactNumber?: number;
/**
* 会议室照片
*/
pictures?: string;
/**
* 会议室描述
*/
description?: string;
/**
* 是否需要审核0需要审核1不需要审核
*/
review?: number;
/**
* 启用状态0禁用1启用
*/
enabledStatus?: number;
/**
* 开放星期1星期一2星期二
*/
openingWeek?: number;
/**
* 开放开始时间
*/
openingBeginTime?: string;
/**
* 开放结束时间
*/
openingEndTime?: string;
}
export interface ConferenceQuery extends PageQuery {
/**
* id
*/
id?: string | number;
/**
* 会议室名称
*/
roomName?: string;
/**
* 会议室编号
*/
roomNo?: number;
/**
* 会议室位置
*/
roomLocation?: string;
/**
* 会议室面积
*/
roomArea?: string;
/**
* 会议室类型
*/
roomType?: string;
/**
* 会议室容纳人数
*/
roomNumber?: number;
/**
* 创建时间
*/
createTime?: string;
/**
* 创建人
*/
createBy?: string;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新时间
*/
updateTime?: string;
/**
* 更新人
*/
updateBy?: string;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 会议室配套设施
*/
roomFacilities?: string;
/**
* 会议室价格类型0免费1付费2面议
*/
feeType?: number;
/**
* 费用金额
*/
feePrice?: number;
/**
* 数据状态(模拟删除 0未删除 1删除
*/
dataStatus?: number;
/**
* 负责人
*/
responsiblePerson?: string;
/**
* 联系电话
*/
contactNumber?: number;
/**
* 会议室照片
*/
pictures?: string;
/**
* 会议室描述
*/
description?: string;
/**
* 是否需要审核0需要审核1不需要审核
*/
review?: number;
/**
* 启用状态0禁用1启用
*/
enabledStatus?: number;
/**
* 开放星期1星期一2星期二
*/
openingWeek?: number;
/**
* 开放开始时间
*/
openingBeginTime?: string;
/**
* 开放结束时间
*/
openingEndTime?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,59 @@
import type { OrderMaintainVO, OrderMaintainForm, OrderMaintainQuery } 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 orderMaintainList(params?: OrderMaintainQuery) {
return requestClient.get<PageResult<OrderMaintainVO>>('/property/orderMaintain/list', { params });
}
/**
* 导出绿植租赁-订单养护管理列表
* @param params
* @returns 绿植租赁-订单养护管理列表
*/
export function orderMaintainExport(params?: OrderMaintainQuery) {
return commonExport('/property/orderMaintain/export', params ?? {});
}
/**
* 查询绿植租赁-订单养护管理详情
* @param id id
* @returns 绿植租赁-订单养护管理详情
*/
export function orderMaintainInfo(id: ID) {
return requestClient.get<OrderMaintainVO>(`/property/orderMaintain/${id}`);
}
/**
* 新增绿植租赁-订单养护管理
* @param data
* @returns void
*/
export function orderMaintainAdd(data: OrderMaintainForm) {
return requestClient.postWithMsg<void>('/property/orderMaintain', data);
}
/**
* 更新绿植租赁-订单养护管理
* @param data
* @returns void
*/
export function orderMaintainUpdate(data: OrderMaintainForm) {
return requestClient.putWithMsg<void>('/property/orderMaintain', data);
}
/**
* 删除绿植租赁-订单养护管理
* @param id id
* @returns void
*/
export function orderMaintainRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/orderMaintain/${id}`);
}

View File

@@ -0,0 +1,334 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface OrderMaintainVO {
/**
* 主键
*/
id: string | number;
/**
* 养护名称
*/
maintainName: string;
/**
* 小区id
*/
communityId: string | number;
/**
* 建筑id
*/
buildingId: string | number;
/**
* 楼层id
*/
floorId: string | number;
/**
* 服务类型
*/
serveType: string | number;
/**
* 养护周期类型
*/
periodType: string | number;
/**
* 养护周期频次
*/
periodFrequency: number;
/**
* 订单id
*/
orderId: string | number;
/**
* 计划执行时间
*/
startTime: string;
/**
* 计划完成时间
*/
endTime: string;
/**
* 巡检结果
*/
inspectResult: string | number;
/**
* 处理措施
*/
measure: string;
/**
* 客户评分
*/
customerScore: number;
/**
* 客户反馈
*/
customerAdvice: string;
/**
* 处理状态
*/
state: string | number;
}
export interface OrderMaintainForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 养护名称
*/
maintainName?: string;
/**
* 小区id
*/
communityId?: string | number;
/**
* 建筑id
*/
buildingId?: string | number;
/**
* 楼层id
*/
floorId?: string | number;
/**
* 服务类型
*/
serveType?: string | number;
/**
* 养护周期类型
*/
periodType?: string | number;
/**
* 养护周期频次
*/
periodFrequency?: number;
/**
* 订单id
*/
orderId?: string | number;
/**
* 计划执行时间
*/
startTime?: string;
/**
* 计划完成时间
*/
endTime?: string;
/**
* 巡检结果
*/
inspectResult?: string | number;
/**
* 处理措施
*/
measure?: string;
/**
* 客户评分
*/
customerScore?: number;
/**
* 客户反馈
*/
customerAdvice?: string;
/**
* 处理状态
*/
state?: string | number;
}
export interface OrderMaintainQuery extends PageQuery {
/**
* 养护名称
*/
maintainName?: string;
/**
* 小区id
*/
communityId?: string | number;
/**
* 建筑id
*/
buildingId?: string | number;
/**
* 楼层id
*/
floorId?: string | number;
/**
* 服务类型
*/
serveType?: string | number;
/**
* 养护周期类型
*/
periodType?: string | number;
/**
* 养护周期频次
*/
periodFrequency?: number;
/**
* 订单id
*/
orderId?: string | number;
/**
* 计划执行时间
*/
startTime?: string;
/**
* 计划完成时间
*/
endTime?: string;
/**
* 巡检结果
*/
inspectResult?: string | number;
/**
* 处理措施
*/
measure?: string;
/**
* 客户评分
*/
customerScore?: number;
/**
* 客户反馈
*/
customerAdvice?: string;
/**
* 处理状态
*/
state?: string | number;
/**
* 日期范围参数
*/
params?: any;
}
export interface conservationManagement extends BaseEntity {
/**
* 主键
*/
id: string | number;
/**
* 养护名称
*/
maintainName: string;
/**
* 服务地点
*/
roomName:string;
/**
* 小区id
*/
communityId: string | number;
/**
* 建筑id
*/
buildingId: string | number;
/**
* 楼层id
*/
floorId: string | number;
/**
* 服务类型
*/
serveType: string | number;
/**
* 养护周期类型
*/
periodType: string | number;
/**
* 养护周期频次
*/
periodFrequency: number;
/**
* 订单id
*/
orderId: string | number;
/**
* 计划执行时间
*/
startTime: string;
/**
* 计划完成时间
*/
endTime: string;
/**
* 巡检结果
*/
inspectResult: string | number;
/**
* 处理措施
*/
measure: string;
/**
* 客户评分
*/
customerScore: number;
/**
* 客户反馈
*/
customerAdvice: string;
/**
* 处理状态
*/
state: string | number;
}

View File

@@ -1,91 +0,0 @@
export interface DeviceTypeVO {
/**
* 设备类型编码
*/
dvNo: string;
/**
* 设备类型名称
*/
dvName: string;
/**
* 设备厂商名称
*/
factoryNo: string;
/**
* 备注
*/
remark: string;
/**
* 数据状态1有效0无效
*/
dataState: number;
}
export interface DeviceTypeForm extends BaseEntity {
/**
* 数据库id
*/
id?: string | number;
/**
* 设备类型编码
*/
dvNo?: string;
/**
* 设备类型名称
*/
dvName?: string;
/**
* 设备厂商名称
*/
factoryNo?: string;
/**
* 备注
*/
remark?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
}
export interface DeviceTypeQuery extends PageQuery {
/**
* 设备类型编码
*/
dvNo?: string;
/**
* 设备类型名称
*/
dvName?: string;
/**
* 设备厂商名称
*/
factoryNo?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -1,86 +0,0 @@
export interface E8ConfigVO {
/**
* E8 名称
*/
e8Name: string;
/**
* E8服务地址
*/
e8ServerUrl: string;
/**
* E8服务提供的secret
*/
e8Secret: string;
/**
* 组织编码
*/
orgCode: string;
}
export interface E8ConfigForm extends BaseEntity {
/**
* ID
*/
id?: string | number;
/**
* E8 名称
*/
e8Name?: string;
/**
* E8服务地址
*/
e8ServerUrl?: string;
/**
* E8服务提供的secret
*/
e8Secret?: string;
/**
* 组织编码
*/
orgCode?: string;
}
export interface E8ConfigQuery extends PageQuery {
/**
* E8 名称
*/
e8Name?: string;
/**
* E8服务地址
*/
e8ServerUrl?: string;
/**
* E8服务提供的secret
*/
e8Secret?: string;
/**
* 组织编码
*/
orgCode?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -1,71 +0,0 @@
export interface FactoryVO {
/**
* 厂商编码
*/
factoryNo: string;
/**
* 设备厂商名称
*/
factoryName: string;
/**
* 备注
*/
remark: string;
/**
* 数据状态1有效0无效
*/
dataState: number;
}
export interface FactoryForm extends BaseEntity {
/**
* 数据库id
*/
id?: string | number;
/**
* 设备厂商名称
*/
factoryName?: string;
/**
* 备注
*/
remark?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
}
export interface FactoryQuery extends PageQuery {
/**
* 厂商编码
*/
factoryNo?: string;
/**
* 设备厂商名称
*/
factoryName?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -7,34 +7,34 @@ import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询楼层管理列表
* 查询楼层列表
* @param params
* @returns 楼层管理列表
* @returns 楼层列表
*/
export function floorList(params?: FloorQuery) {
return requestClient.get<PageResult<FloorVO>>('/property/floor/list', { params });
}
/**
* 导出楼层管理列表
* 导出楼层列表
* @param params
* @returns 楼层管理列表
* @returns 楼层列表
*/
export function floorExport(params?: FloorQuery) {
return commonExport('/property/floor/export', params ?? {});
}
/**
* 查询楼层管理详情
* 查询楼层详情
* @param id id
* @returns 楼层管理详情
* @returns 楼层详情
*/
export function floorInfo(id: ID) {
return requestClient.get<FloorVO>(`/property/floor/${id}`);
}
/**
* 新增楼层管理
* 新增楼层
* @param data
* @returns void
*/
@@ -43,7 +43,7 @@ export function floorAdd(data: FloorForm) {
}
/**
* 更新楼层管理
* 更新楼层
* @param data
* @returns void
*/
@@ -52,7 +52,7 @@ export function floorUpdate(data: FloorForm) {
}
/**
* 删除楼层管理
* 删除楼层
* @param id id
* @returns void
*/

View File

@@ -2,19 +2,14 @@ import type { PageQuery, BaseEntity } from '#/api/common';
export interface FloorVO {
/**
* 社区编码
*
*/
communityCode: string;
id: string | number;
/**
* 建筑名称
* 单元编码
*/
buildingCode: string;
/**
* 楼层编码
*/
floorCode: number;
unitId: string | number;
/**
* 楼层数名称
@@ -22,32 +17,37 @@ export interface FloorVO {
floorName: string;
/**
* 组织编码
* 楼层号
*/
orgCode: string;
floorNumber: number;
/**
* 楼层类型
*/
floorType: number;
/**
* 房间数量
*/
roomCount: number;
/**
* 层高
*/
floorHeight: number;
}
export interface FloorForm extends BaseEntity {
/**
* ID
*
*/
id?: string | number;
/**
* 社区编码
* 单元编码
*/
communityCode?: string;
/**
* 建筑名称
*/
buildingCode?: string;
/**
* 楼层编码
*/
floorCode?: number;
unitId?: string | number;
/**
* 楼层数名称
@@ -55,27 +55,32 @@ export interface FloorForm extends BaseEntity {
floorName?: string;
/**
* 组织编码
* 楼层号
*/
orgCode?: string;
floorNumber?: number;
/**
* 楼层类型
*/
floorType?: number;
/**
* 房间数量
*/
roomCount?: number;
/**
* 层高
*/
floorHeight?: number;
}
export interface FloorQuery extends PageQuery {
/**
* 社区编码
* 单元编码
*/
communityCode?: string;
/**
* 建筑名称
*/
buildingCode?: string;
/**
* 楼层编码
*/
floorCode?: number;
unitId?: string | number;
/**
* 楼层数名称
@@ -83,14 +88,24 @@ export interface FloorQuery extends PageQuery {
floorName?: string;
/**
* 组织编码
* 楼层号
*/
orgCode?: string;
floorNumber?: number;
/**
* 数据状态1有效0无效
* 楼层类型
*/
dataState?: number;
floorType?: number;
/**
* 房间数量
*/
roomCount?: number;
/**
* 层高
*/
floorHeight?: number;
/**
* 日期范围参数

View File

@@ -1,101 +0,0 @@
export interface FloorVO {
/**
* 社区编码
*/
communityCode: string;
/**
* 建筑名称
*/
buildingCode: string;
/**
* 楼层编码
*/
floorCode: number;
/**
* 楼层数名称
*/
floorName: string;
/**
* 组织编码
*/
orgCode: string;
}
export interface FloorForm extends BaseEntity {
/**
* 数据库id
*/
id?: string | number;
/**
* 社区编码
*/
communityCode?: string;
/**
* 建筑名称
*/
buildingCode?: string;
/**
* 楼层编码
*/
floorCode?: number;
/**
* 楼层数名称
*/
floorName?: string;
/**
* 组织编码
*/
orgCode?: string;
}
export interface FloorQuery extends PageQuery {
/**
* 社区编码
*/
communityCode?: string;
/**
* 建筑名称
*/
buildingCode?: string;
/**
* 楼层编码
*/
floorCode?: number;
/**
* 楼层数名称
*/
floorName?: string;
/**
* 组织编码
*/
orgCode?: string;
/**
* 数据状态1有效0无效
*/
dataState?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { InspectionItemVO, InspectionItemForm, InspectionItemQuery } 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 inspectionItemList(params?: InspectionItemQuery) {
return requestClient.get<PageResult<InspectionItemVO>>('/property/item/list', { params });
}
/**
* 导出巡检项目列表
* @param params
* @returns 巡检项目列表
*/
export function inspectionItemExport(params?: InspectionItemQuery) {
return commonExport('/property/inspectionItem/export', params ?? {});
}
/**
* 查询巡检项目详情
* @param id id
* @returns 巡检项目详情
*/
export function inspectionItemInfo(id: ID) {
return requestClient.get<InspectionItemVO>(`/property/item/${id}`);
}
/**
* 新增巡检项目
* @param data
* @returns void
*/
export function inspectionItemAdd(data: InspectionItemForm) {
return requestClient.postWithMsg<void>('/property/item', data);
}
/**
* 更新巡检项目
* @param data
* @returns void
*/
export function inspectionItemUpdate(data: InspectionItemForm) {
return requestClient.putWithMsg<void>('/property/item', data);
}
/**
* 删除巡检项目
* @param id id
* @returns void
*/
export function inspectionItemRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/item/${id}`);
}

View File

@@ -0,0 +1,49 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface InspectionItemVO {
/**
* 主键id
*/
id: string | number;
/**
* 项目名称
*/
itemName: string;
/**
* 备注
*/
remark: string;
}
export interface InspectionItemForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 项目名称
*/
itemName?: string;
/**
* 备注
*/
remark?: string;
}
export interface InspectionItemQuery extends PageQuery {
/**
* 项目名称
*/
itemName?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { InspectionPlanVO, InspectionPlanForm, InspectionPlanQuery } 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 inspectionPlanList(params?: InspectionPlanQuery) {
return requestClient.get<PageResult<InspectionPlanVO>>('/property/inspectionPlan/list', { params });
}
/**
* 导出巡检计划列表
* @param params
* @returns 巡检计划列表
*/
export function inspectionPlanExport(params?: InspectionPlanQuery) {
return commonExport('/property/inspectionPlan/export', params ?? {});
}
/**
* 查询巡检计划详情
* @param id id
* @returns 巡检计划详情
*/
export function inspectionPlanInfo(id: ID) {
return requestClient.get<InspectionPlanVO>(`/property/inspectionPlan/${id}`);
}
/**
* 新增巡检计划
* @param data
* @returns void
*/
export function inspectionPlanAdd(data: InspectionPlanForm) {
return requestClient.postWithMsg<void>('/property/inspectionPlan', data);
}
/**
* 更新巡检计划
* @param data
* @returns void
*/
export function inspectionPlanUpdate(data: InspectionPlanForm) {
return requestClient.putWithMsg<void>('/property/inspectionPlan', data);
}
/**
* 删除巡检计划
* @param id id
* @returns void
*/
export function inspectionPlanRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/inspectionPlan/${id}`);
}

View File

@@ -0,0 +1,199 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface InspectionPlanVO {
/**
* 主键id
*/
id: string | number;
/**
* 巡检计划名称
*/
planName: string;
/**
* 巡检路线id
*/
inspectionRouteId: string | number;
/**
* 巡检周期
*/
inspectionPlanPeriod: number;
/**
* 任务提前分组
*/
beforeTime: number;
/**
* 开始日期
*/
startDate: string;
/**
* 结束日期
*/
endDate: string;
/**
* 开始时间
*/
startTime: string;
/**
* 结束时间
*/
endTime: string;
/**
* 签到方式(0现场定位,1现场定位)
*/
signType: number;
/**
* 允许补检(0允许1不允许)
*/
canReexamine: number;
/**
* 选择员工
*/
userId: string | number;
/**
* 备注
*/
remark: string;
}
export interface InspectionPlanForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 巡检计划名称
*/
planName?: string;
/**
* 巡检路线id
*/
inspectionRouteId?: string | number;
/**
* 巡检周期
*/
inspectionPlanPeriod?: number;
/**
* 任务提前分组
*/
beforeTime?: number;
/**
* 开始日期
*/
startDate?: string;
/**
* 结束日期
*/
endDate?: string;
/**
* 开始时间
*/
startTime?: string;
/**
* 结束时间
*/
endTime?: string;
/**
* 签到方式(0现场定位,1现场定位)
*/
signType?: number;
/**
* 允许补检(0允许1不允许)
*/
canReexamine?: number;
/**
* 选择员工
*/
userId?: string | number;
/**
* 备注
*/
remark?: string;
}
export interface InspectionPlanQuery extends PageQuery {
/**
* 巡检计划名称
*/
planName?: string;
/**
* 巡检路线id
*/
inspectionRouteId?: string | number;
/**
* 巡检周期
*/
inspectionPlanPeriod?: number;
/**
* 任务提前分组
*/
beforeTime?: number;
/**
* 开始日期
*/
startDate?: string;
/**
* 结束日期
*/
endDate?: string;
/**
* 开始时间
*/
startTime?: string;
/**
* 结束时间
*/
endTime?: string;
/**
* 签到方式(0现场定位,1现场定位)
*/
signType?: number;
/**
* 允许补检(0允许1不允许)
*/
canReexamine?: number;
/**
* 选择员工
*/
userId?: string | number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { InspectionPointVO, InspectionPointForm, InspectionPointQuery } 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 inspectionPointList(params?: InspectionPointQuery) {
return requestClient.get<PageResult<InspectionPointVO>>('/property/point/list', { params });
}
/**
* 导出巡检点列表
* @param params
* @returns 巡检点列表
*/
export function inspectionPointExport(params?: InspectionPointQuery) {
return commonExport('/property/inspectionPoint/export', params ?? {});
}
/**
* 查询巡检点详情
* @param id id
* @returns 巡检点详情
*/
export function inspectionPointInfo(id: ID) {
return requestClient.get<InspectionPointVO>(`/property/point/${id}`);
}
/**
* 新增巡检点
* @param data
* @returns void
*/
export function inspectionPointAdd(data: InspectionPointForm) {
return requestClient.postWithMsg<void>('/property/point', data);
}
/**
* 更新巡检点
* @param data
* @returns void
*/
export function inspectionPointUpdate(data: InspectionPointForm) {
return requestClient.putWithMsg<void>('/property/point', data);
}
/**
* 删除巡检点
* @param id id
* @returns void
*/
export function inspectionPointRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/point/${id}`);
}

View File

@@ -0,0 +1,139 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface InspectionPointVO {
/**
* 主键id
*/
id: string | number;
/**
* 巡检项目id
*/
itemId: string | number;
/**
* 巡检点名称
*/
pointName: string;
/**
* 巡检点类型
*/
pointType: number;
/**
* nfc编码
*/
nfcCode: string;
/**
* 备注
*/
remark: string;
/**
* 创建人id
*/
createById: string | number;
/**
* 更新人id
*/
updateById: string | number;
/**
* 搜索值
*/
searchValue: string;
}
export interface InspectionPointForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 巡检项目id
*/
itemId?: string | number;
/**
* 巡检点名称
*/
pointName?: string;
/**
* 巡检点类型
*/
pointType?: number;
/**
* nfc编码
*/
nfcCode?: string;
/**
* 备注
*/
remark?: string;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
}
export interface InspectionPointQuery extends PageQuery {
/**
* 巡检项目id
*/
itemId?: string | number;
/**
* 巡检点名称
*/
pointName?: string;
/**
* 巡检点类型
*/
pointType?: number;
/**
* nfc编码
*/
nfcCode?: string;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { InspectionRouteVO, InspectionRouteForm, InspectionRouteQuery } 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 inspectionRouteList(params?: InspectionRouteQuery) {
return requestClient.get<PageResult<InspectionRouteVO>>('/property/route/list', { params });
}
/**
* 导出巡检路线列表
* @param params
* @returns 巡检路线列表
*/
export function inspectionRouteExport(params?: InspectionRouteQuery) {
return commonExport('/property/route/export', params ?? {});
}
/**
* 查询巡检路线详情
* @param id id
* @returns 巡检路线详情
*/
export function inspectionRouteInfo(id: ID) {
return requestClient.get<InspectionRouteVO>(`/property/route/${id}`);
}
/**
* 新增巡检路线
* @param data
* @returns void
*/
export function inspectionRouteAdd(data: InspectionRouteForm) {
return requestClient.postWithMsg<void>('/property/route', data);
}
/**
* 更新巡检路线
* @param data
* @returns void
*/
export function inspectionRouteUpdate(data: InspectionRouteForm) {
return requestClient.putWithMsg<void>('/property/route', data);
}
/**
* 删除巡检路线
* @param id id
* @returns void
*/
export function inspectionRouteRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/route/${id}`);
}

View File

@@ -0,0 +1,49 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface InspectionRouteVO {
/**
* 主键id
*/
id: string | number;
/**
* 路线名称
*/
routeName: string;
/**
* 备注
*/
remark: string;
}
export interface InspectionRouteForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 路线名称
*/
routeName?: string;
/**
* 备注
*/
remark?: string;
}
export interface InspectionRouteQuery extends PageQuery {
/**
* 路线名称
*/
routeName?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { InspectionTaskVO, InspectionTaskForm, InspectionTaskQuery } 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 inspectionTaskList(params?: InspectionTaskQuery) {
return requestClient.get<PageResult<InspectionTaskVO>>('/property/inspectionTask/list', { params });
}
/**
* 导出巡检任务列表
* @param params
* @returns 巡检任务列表
*/
export function inspectionTaskExport(params?: InspectionTaskQuery) {
return commonExport('/property/inspectionTask/export', params ?? {});
}
/**
* 查询巡检任务详情
* @param id id
* @returns 巡检任务详情
*/
export function inspectionTaskInfo(id: ID) {
return requestClient.get<InspectionTaskVO>(`/property/inspectionTask/${id}`);
}
/**
* 新增巡检任务
* @param data
* @returns void
*/
export function inspectionTaskAdd(data: InspectionTaskForm) {
return requestClient.postWithMsg<void>('/property/inspectionTask', data);
}
/**
* 更新巡检任务
* @param data
* @returns void
*/
export function inspectionTaskUpdate(data: InspectionTaskForm) {
return requestClient.putWithMsg<void>('/property/inspectionTask', data);
}
/**
* 删除巡检任务
* @param id id
* @returns void
*/
export function inspectionTaskRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/inspectionTask/${id}`);
}

View File

@@ -0,0 +1,169 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface InspectionTaskVO {
/**
* 主键id
*/
id: string | number;
/**
* 巡检计划id
*/
inspectionPlanId: string | number;
/**
* 实际巡检时间
*/
actInsTime: string;
/**
* 当前巡检人
*/
actUserId: string | number;
/**
* 巡检方式
*/
taskType: string;
/**
* 转移描述
*/
transferDesc: string;
/**
* 巡检状态
*/
status: string;
/**
* 备注
*/
remark: string;
/**
* 创建人id
*/
createById: string | number;
/**
* 更新人id
*/
updateById: string | number;
/**
* 搜索值
*/
searchValue: string;
}
export interface InspectionTaskForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 巡检计划id
*/
inspectionPlanId?: string | number;
/**
* 实际巡检时间
*/
actInsTime?: string;
/**
* 当前巡检人
*/
actUserId?: string | number;
/**
* 巡检方式
*/
taskType?: string;
/**
* 转移描述
*/
transferDesc?: string;
/**
* 巡检状态
*/
status?: string;
/**
* 备注
*/
remark?: string;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
}
export interface InspectionTaskQuery extends PageQuery {
/**
* 巡检计划id
*/
inspectionPlanId?: string | number;
/**
* 实际巡检时间
*/
actInsTime?: string;
/**
* 当前巡检人
*/
actUserId?: string | number;
/**
* 巡检方式
*/
taskType?: string;
/**
* 转移描述
*/
transferDesc?: string;
/**
* 巡检状态
*/
status?: string;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -1,4 +1,4 @@
import type { MeetbookingVO, MeetbookingForm, MeetbookingQuery } from './model';
import type { MeetbookingVO, MeetbookingForm, MeetbookingQuery, MeetbookingAppointmentQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';

View File

@@ -222,3 +222,4 @@ export interface MeetbookingQuery extends PageQuery {
*/
params?: any;
}

View File

@@ -0,0 +1,59 @@
import type { PropertyVO, PropertyForm, PropertyQuery } 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 plantsProductList(params?: PropertyQuery) {
return requestClient.get<PageResult<PropertyVO>>('/property/plantsProduct/list', { params });
}
/**
* 导出绿植租赁-绿植产品列表
* @param params
* @returns 绿植租赁-绿植产品列表
*/
export function plantsProductExport(params?: PropertyQuery) {
return commonExport('/property/plantsProduct/export', params ?? {});
}
/**
* 查询绿植租赁-绿植产品详情
* @param id id
* @returns 绿植租赁-绿植产品详情
*/
export function plantsProductInfo(id: ID) {
return requestClient.get<PropertyVO>(`/property/plantsProduct/${id}`);
}
/**
* 新增绿植租赁-绿植产品
* @param data
* @returns void
*/
export function plantsProductAdd(data: PropertyForm) {
return requestClient.postWithMsg<void>('/property/plantsProduct', data);
}
/**
* 更新绿植租赁-绿植产品
* @param data
* @returns void
*/
export function plantsProductUpdate(data: PropertyForm) {
return requestClient.putWithMsg<void>('/property/plantsProduct', data);
}
/**
* 删除绿植租赁-绿植产品
* @param id id
* @returns void
*/
export function plantsProductRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/plantsProduct/${id}`);
}

View File

@@ -0,0 +1,210 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface PropertyVO {
/**
* 主键
*/
id: string | number;
/**
* 产品编号
*/
plantCode: string;
/**
* 产品名称
*/
plantName: string;
/**
* 产品分类
*/
plantType: number|string;
/**
* 产品图片
*/
imgPath: string;
/**
* 规格
*/
specification: string;
/**
* 租金
*/
rent: number;
/**
* 库存数量
*/
inventory: number;
/**
* 状态0下架 1上架
*/
state: number|string;
/**
* 备注
*/
remark: string;
}
export interface PropertyForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 产品编号
*/
plantCode?: string;
/**
* 产品名称
*/
plantName?: string;
/**
* 产品分类
*/
plantType?: number|string;
/**
* 产品图片
*/
imgPath?: string;
/**
* 规格
*/
specification?: string;
/**
* 租金
*/
rent?: number;
/**
* 库存数量
*/
inventory?: number;
/**
* 状态0下架 1上架
*/
state?: number|string;
/**
* 备注
*/
remark?: string;
}
export interface PropertyQuery extends PageQuery {
/**
* 产品编号
*/
plantCode?: string;
/**
* 产品名称
*/
plantName?: string;
/**
* 产品分类
*/
plantType?: number|string;
/**
* 产品图片
*/
imgPath?: string;
/**
* 规格
*/
specification?: string;
/**
* 租金
*/
rent?: number;
/**
* 库存数量
*/
inventory?: number;
/**
* 状态0下架 1上架
*/
state?: number|string;
/**
* 日期范围参数
*/
params?: any;
}
export interface plantsProduct extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 产品编号
*/
plantCode?: string;
/**
* 产品名称
*/
plantName?: string;
/**
* 产品分类
*/
plantType?: number|string;
/**
* 产品图片
*/
imgPath?: string;
/**
* 规格
*/
specification?: number|string;
/**
* 租金
*/
rent?: number;
/**
* 库存数量
*/
inventory?: number;
/**
* 状态0下架 1上架
*/
state?: number|string;
/**
* 备注
*/
remark?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { RentalOrderVO, RentalOrderForm, RentalOrderQuery } 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 rentalOrderList(params?: RentalOrderQuery) {
return requestClient.get<PageResult<RentalOrderVO>>('/property/rentalOrder/list', { params });
}
/**
* 导出绿植租赁-订单管理列表
* @param params
* @returns 绿植租赁-订单管理列表
*/
export function rentalOrderExport(params?: RentalOrderQuery) {
return commonExport('/property/rentalOrder/export', params ?? {});
}
/**
* 查询绿植租赁-订单管理详情
* @param id id
* @returns 绿植租赁-订单管理详情
*/
export function rentalOrderInfo(id: ID) {
return requestClient.get<RentalOrderVO>(`/property/rentalOrder/${id}`);
}
/**
* 新增绿植租赁-订单管理
* @param data
* @returns void
*/
export function rentalOrderAdd(data: RentalOrderForm) {
return requestClient.postWithMsg<void>('/property/rentalOrder', data);
}
/**
* 更新绿植租赁-订单管理
* @param data
* @returns void
*/
export function rentalOrderUpdate(data: RentalOrderForm) {
return requestClient.putWithMsg<void>('/property/rentalOrder', data);
}
/**
* 删除绿植租赁-订单管理
* @param id id
* @returns void
*/
export function rentalOrderRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/rentalOrder/${id}`);
}

View File

@@ -0,0 +1,263 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface RentalOrderVO {
/**
* 主键
*/
id: string | number;
/**
* 订单号
*/
orderNo: string;
/**
* 客户名称
*/
customerName: string;
/**
* 客户类型
*/
customerType: number;
/**
* 租赁周期
*/
rentalPeriod: number;
/**
* 租赁开始时间
*/
startTime: string;
/**
* 租赁结束时间
*/
endTime: string;
/**
* 应付总额
*/
totalAmount: number;
/**
* 租赁方式
*/
rentalType: number;
/**
* 租赁方案id
*/
planId: string | number;
/**
* 绿植产品id
*/
productId: string | number;
/**
* 租赁产品数量
*/
productNum: number;
/**
* 支付状态
*/
paymentStatus: number;
/**
* 是否续租
*/
isRelet: number;
/**
* 合同状态
*/
contractStatus: number;
/**
* 合同编号
*/
contractCode: string;
/**
* 签署时间
*/
signTime: string;
}
export interface RentalOrderForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 订单号
*/
orderNo?: string;
/**
* 客户名称
*/
customerName?: string;
/**
* 客户类型
*/
customerType?: number;
/**
* 租赁周期
*/
rentalPeriod?: number;
/**
* 租赁开始时间
*/
startTime?: string;
/**
* 租赁结束时间
*/
endTime?: string;
/**
* 应付总额
*/
totalAmount?: number;
/**
* 租赁方式
*/
rentalType?: number;
/**
* 租赁方案id
*/
planId?: string | number;
/**
* 绿植产品id
*/
productId?: string | number;
/**
* 租赁产品数量
*/
productNum?: number;
/**
* 支付状态
*/
paymentStatus?: number;
/**
* 是否续租
*/
isRelet?: number;
/**
* 合同状态
*/
contractStatus?: number;
/**
* 合同编号
*/
contractCode?: string;
/**
* 签署时间
*/
signTime?: string;
}
export interface RentalOrderQuery extends PageQuery {
/**
* 订单号
*/
orderNo?: string;
/**
* 客户名称
*/
customerName?: string;
/**
* 客户类型
*/
customerType?: number;
/**
* 租赁周期
*/
rentalPeriod?: number;
/**
* 租赁开始时间
*/
startTime?: string;
/**
* 租赁结束时间
*/
endTime?: string;
/**
* 应付总额
*/
totalAmount?: number;
/**
* 租赁方式
*/
rentalType?: number;
/**
* 租赁方案id
*/
planId?: string | number;
/**
* 绿植产品id
*/
productId?: string | number;
/**
* 租赁产品数量
*/
productNum?: number;
/**
* 支付状态
*/
paymentStatus?: number;
/**
* 是否续租
*/
isRelet?: number;
/**
* 合同状态
*/
contractStatus?: number;
/**
* 合同编号
*/
contractCode?: string;
/**
* 签署时间
*/
signTime?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { RentalPlanVO, RentalPlanForm, RentalPlanQuery } 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 rentalPlanList(params?: RentalPlanQuery) {
return requestClient.get<PageResult<RentalPlanVO>>('/property/rentalPlan/list', { params });
}
/**
* 导出绿植租赁-租赁方案列表
* @param params
* @returns 绿植租赁-租赁方案列表
*/
export function rentalPlanExport(params?: RentalPlanQuery) {
return commonExport('/property/rentalPlan/export', params ?? {});
}
/**
* 查询绿植租赁-租赁方案详情
* @param id id
* @returns 绿植租赁-租赁方案详情
*/
export function rentalPlanInfo(id: ID) {
return requestClient.get<RentalPlanVO>(`/property/rentalPlan/${id}`);
}
/**
* 新增绿植租赁-租赁方案
* @param data
* @returns void
*/
export function rentalPlanAdd(data: RentalPlanForm) {
return requestClient.postWithMsg<void>('/property/rentalPlan', data);
}
/**
* 更新绿植租赁-租赁方案
* @param data
* @returns void
*/
export function rentalPlanUpdate(data: RentalPlanForm) {
return requestClient.putWithMsg<void>('/property/rentalPlan', data);
}
/**
* 删除绿植租赁-租赁方案
* @param id id
* @returns void
*/
export function rentalPlanRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/rentalPlan/${id}`);
}

View File

@@ -0,0 +1,122 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface RentalPlanVO {
/**
* 主键
*/
id: string | number;
/**
* 方案名称
*/
planName: string;
/**
* 租赁周期
*/
rentalPeriod: number;
/**
* 适用场景
*/
scene: string;
/**
* 价格
*/
price: number;
/**
* 状态
*/
state: number;
/**
* 备注
*/
remarks: string;
/**
* 绿植产品包
*/
productList: any[];
}
export interface RentalPlanForm extends BaseEntity {
/**
* 主键
*/
id?: string | number | undefined;
/**
* 方案名称
*/
planName?: string;
/**
* 租赁周期
*/
rentalPeriod?: number;
/**
* 适用场景
*/
scene?: string;
/**
* 价格
*/
price?: number;
/**
* 状态
*/
state?: number;
/**
* 备注
*/
remarks?: string;
/**
* 方案下绿植产品
*/
productList?:any[];
}
export interface RentalPlanQuery extends PageQuery {
/**
* 方案名称
*/
planName?: string;
/**
* 租赁周期
*/
rentalPeriod?: number;
/**
* 适用场景
*/
scene?: string;
/**
* 价格
*/
price?: number;
/**
* 状态
*/
state?: number;
/**
* 备注
*/
remarks?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,79 @@
import type { statisticsByTimeQuery } from './model';
import { requestClient } from '#/api/request';
/**
* 查询订单数量趋势
* @param timeUnit
* @returns void
*/
export function statisticsByTime(params:statisticsByTimeQuery) {
return requestClient.get<any>('/property/rentalOrder/statisticsByTime', { params });
}
/**
* 用户类型统计订单数
* @param timeUnit
* @returns void
*/
export function countByCusType() {
return requestClient.get<any>('/property/rentalOrder/countByCusType');
}
/**
* 查询客户续租率统计
* @param
* @returns void
*/
export function countRenewRate() {
return requestClient.get<any>('/property/rentalOrder/countRenewRate');
}
/**
* 按租赁方式统计租赁金额
* @param
* @returns void
*/
export function countByRentalType() {
return requestClient.get<any>('/property/rentalOrder/countByRentalType');
}
/**
* 统计订单总数和租赁金额总数
* @param
* @returns void
*/
export function countOrderAndAmount( ) {
return requestClient.get<any>('/property/rentalOrder/countOrderAndAmount', );
}
/**
* 计算绿植养护完成率
* @param
* @returns void
*/
export function countAchievedRate() {
return requestClient.get<any>('/property/orderMaintain/countAchievedRate');
}
/**
* 统计养护完成情况
* @param
* @returns void
*/
export function countAchieved() {
return requestClient.get<any>('/property/orderMaintain/countAchieved');
}
/**
* 按用户评分统计养护
* @param
* @returns void
*/
export function countByCusScore() {
return requestClient.get<any>('/property/orderMaintain/countByCusScore');
}
/**
* 统计下单客户总数
* @param
* @returns void
*/
export function countCustomers() {
return requestClient.get<any>('/property/rentalOrder/countCustomers');
}

View File

@@ -0,0 +1,7 @@
export interface statisticsByTimeQuery {
/**
* 日期范围参数(1日 2周 3月)
*
*/
timeUnit?: number;
}

View File

@@ -59,7 +59,7 @@ export interface PersonVO {
/**
* 状态
*/
state: number;
state: number|string;
/**
* 备注

View File

@@ -29,7 +29,7 @@ export interface Resident_unitVO {
/**
* 联系电话
*/
phone: number;
phone: string;
/**
* 入驻位置
@@ -87,7 +87,7 @@ export interface Resident_unitForm extends BaseEntity {
/**
* 联系电话
*/
phone?: number;
phone?: string;
/**
* 入驻位置
@@ -140,7 +140,7 @@ export interface Resident_unitQuery extends PageQuery {
/**
* 联系电话
*/
phone?: number;
phone?: string;
/**
* 入驻位置
@@ -197,13 +197,15 @@ export interface Unit extends BaseEntity {
/**
* 联系电话
*/
phone?: number;
phone?: string;
/**
* 入驻位置
*/
location?: string;
locationDetail?: string;
/**
* 入驻时间
*/

View File

@@ -0,0 +1,61 @@
import type { RoomVO, RoomForm, RoomQuery } 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 roomList(params?: RoomQuery) {
return requestClient.get<PageResult<RoomVO>>('/property/room/list', { params });
}
/**
* 导出房间信息列表
* @param params
* @returns 房间信息列表
*/
export function roomExport(params?: RoomQuery) {
return commonExport('/property/room/export', params ?? {});
}
/**
* 查询房间信息详情
* @param id id
* @returns 房间信息详情
*/
export function roomInfo(id: ID) {
return requestClient.get<RoomVO>(`/property/room/${id}`);
}
/**
* 新增房间信息
* @param data
* @returns void
*/
export function roomAdd(data: RoomForm) {
return requestClient.postWithMsg<void>('/property/room', data);
}
/**
* 更新房间信息
* @param data
* @returns void
*/
export function roomUpdate(data: RoomForm) {
return requestClient.putWithMsg<void>('/property/room', data);
}
/**
* 删除房间信息
* @param id id
* @returns void
*/
export function roomRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/room/${id}`);
}

View File

@@ -0,0 +1,144 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface RoomVO {
/**
*
*/
id: string | number;
/**
* 所属楼层ID
*/
floorId: string | number;
/**
* 房间号(如101,202)
*/
roomNumber: string;
/**
* 房间类型('住宅','商铺','办公室','设备间','公共区域')
*/
roomType: number;
/**
* 面积(平方米)
*/
area: number;
/**
* 户型(如2室1厅1卫)
*/
layout: string;
/**
* 朝向('东','南','西','北','东南','东北','西南','西北')
*/
orientation: number;
/**
* 是否可售
*/
isForSale: number;
/**
* 状态('空置','已售','已租','自用'
*/
status: number;
}
export interface RoomForm extends BaseEntity {
/**
*
*/
id?: string | number;
/**
* 所属楼层ID
*/
floorId?: string | number;
/**
* 房间号(如101,202)
*/
roomNumber?: string;
/**
* 房间类型('住宅','商铺','办公室','设备间','公共区域')
*/
roomType?: number;
/**
* 面积(平方米)
*/
area?: number;
/**
* 户型(如2室1厅1卫)
*/
layout?: string;
/**
* 朝向('东','南','西','北','东南','东北','西南','西北')
*/
orientation?: number;
/**
* 是否可售
*/
isForSale?: number;
/**
* 状态('空置','已售','已租','自用'
*/
status?: number;
}
export interface RoomQuery extends PageQuery {
/**
* 所属楼层ID
*/
floorId?: string | number;
/**
* 房间号(如101,202)
*/
roomNumber?: string;
/**
* 房间类型('住宅','商铺','办公室','设备间','公共区域')
*/
roomType?: number;
/**
* 面积(平方米)
*/
area?: number;
/**
* 户型(如2室1厅1卫)
*/
layout?: string;
/**
* 朝向('东','南','西','北','东南','东北','西南','西北')
*/
orientation?: number;
/**
* 是否可售
*/
isForSale?: number;
/**
* 状态('空置','已售','已租','自用'
*/
status?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -14,6 +14,9 @@ import { requestClient } from '#/api/request';
export function attachList(params?: AttachQuery) {
return requestClient.get<PageResult<AttachVO>>('/property/attach/list', { params });
}
export function attachListAll() {
return requestClient.get<AttachVO[]>('/property/attach/attachList', );
}
/**
*

View File

@@ -34,13 +34,12 @@ export interface AttachVO {
/**
*
*/
state: number;
state: string | number;
/**
*
*/
createTime: string;
}
export interface AttachForm extends BaseEntity {
@@ -77,7 +76,7 @@ export interface AttachForm extends BaseEntity {
/**
*
*/
state?: number;
state?: string | number;
}
@@ -110,10 +109,52 @@ export interface AttachQuery extends PageQuery {
/**
*
*/
state?: number;
state?: string | number;
/**
*
*/
params?: any;
}
export interface conferenceAddServices extends BaseEntity {
/**
*
*/
id: string | number;
/**
* id
*/
meetId: string | number;
/**
*
*/
projectName: string;
/**
*
*/
price: number;
/**
*
*/
unit: string;
/**
*
*/
type: string;
/**
*
*/
state: string | number;
/**
*
*/
createTime: string;
}

View File

@@ -0,0 +1,59 @@
import type { BookingVO, BookingForm, BookingQuery } 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';
/**
* 查询booking列表
* @param params
* @returns booking列表
*/
export function bookingList(params?: BookingQuery) {
return requestClient.get<PageResult<BookingVO>>('/property/meetbooking/list', { params });
}
/**
* 导出booking列表
* @param params
* @returns booking列表
*/
export function bookingExport(params?: BookingQuery) {
return commonExport('/system/booking/export', params ?? {});
}
/**
* 查询booking详情
* @param id id
* @returns booking详情
*/
export function bookingInfo(id: ID) {
return requestClient.get<BookingVO>(`/property/meetbooking/${id}`);
}
/**
* 新增booking
* @param data
* @returns void
*/
export function bookingAdd(data: BookingForm) {
return requestClient.postWithMsg<void>('/system/booking', data);
}
/**
* 更新booking
* @param data
* @returns void
*/
export function bookingUpdate(data: BookingForm) {
return requestClient.putWithMsg<void>('/property/meetbooking', data);
}
/**
* 删除booking
* @param id id
* @returns void
*/
export function bookingRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/system/booking/${id}`);
}

View File

@@ -0,0 +1,262 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface BookingVO {
/**
* 主键
*/
id: string | number;
/**
* 会议室名称
*/
name: string;
/**
* 会议室id
*/
meetId: string | number;
/**
* 会议室地址
*/
meetLocation: string;
/**
* 所属单位
*/
unit: string;
/**
* 预定人
*/
person: string;
/**
* 联系方式
*/
phone: string;
/**
* 预定开始时间
*/
scheduledStarttime: string;
/**
* 预定结束时间
*/
scheduledEndtime: string;
/**
* 参会人数
*/
personSum: number;
/**
* 费用
*/
price: number;
/**
* 是否包含增值服务
*/
attach: number;
/**
* 支付状态
*/
payState: number;
/**
* 状态
*/
state: number;
/**
* 创建人id
*/
createById: string | number;
/**
* 更新人id
*/
updateById: string | number;
/**
* 搜索值
*/
searchValue: string;
}
export interface BookingForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 会议室名称
*/
name?: string;
/**
* 会议室id
*/
meetId?: string | number;
/**
* 会议室地址
*/
meetLocation?: string;
/**
* 所属单位
*/
unit?: string;
/**
* 预定人
*/
person?: string;
/**
* 联系方式
*/
phone?: string;
/**
* 预定开始时间
*/
scheduledStarttime?: string;
/**
* 预定结束时间
*/
scheduledEndtime?: string;
/**
* 参会人数
*/
personSum?: number;
/**
* 费用
*/
price?: number;
/**
* 是否包含增值服务
*/
attach?: number;
/**
* 支付状态
*/
payState?: number;
/**
* 状态
*/
state?: number;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
}
export interface BookingQuery extends PageQuery {
/**
* 会议室名称
*/
name?: string;
/**
* 会议室id
*/
meetId?: string | number;
/**
* 会议室地址
*/
meetLocation?: string;
/**
* 所属单位
*/
unit?: string;
/**
* 预定人
*/
person?: string;
/**
* 联系方式
*/
phone?: string;
/**
* 预定开始时间
*/
scheduledStarttime?: string;
/**
* 预定结束时间
*/
scheduledEndtime?: string;
/**
* 参会人数
*/
personSum?: number;
/**
* 费用
*/
price?: number;
/**
* 是否包含增值服务
*/
attach?: number;
/**
* 支付状态
*/
payState?: number;
/**
* 状态
*/
state?: number;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,12 @@
import type { ReservationForm} from './model';
import { requestClient } from '#/api/request';
/**
* 新增会议管理
* @param data
* @returns void
*/
export function reservationAdd(data: ReservationForm) {
return requestClient.postWithMsg<void>('/property/meetbooking', data);
}

View File

@@ -0,0 +1,59 @@
import type { BaseEntity } from '#/api/common';
export interface ReservationForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 会议室id
*/
meetId?: string | number;
/**
* 预约人
*/
person?: string;
/**
* 所属单位
*/
unit?: string;
/**
* 参会人数
*/
personSum?: string;
/**
* 会议主题
*/
conferenceTheme?: string;
/**
* 预约日期
*/
appointmentDate?: string;
/**
* 预约开始时段
*/
appointmentBeginTime?: string;
/**
* 预约结束时段
*/
appointmentEndTime?: string;
/**
* 备注
*/
remark?: string;
/**
* 是否需要增值服务0需要1不需要
*/
attach?: number;
}

View File

@@ -0,0 +1,65 @@
import type {MeetVO, MeetForm, MeetQuery, MeetBo} 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 meetList(params?: MeetQuery) {
return requestClient.get<PageResult<MeetVO>>('/property/meet/list', { params });
}
/**
* 导出会议室设置列表
* @param params
* @returns 会议室设置列表
*/
export function meetExport(params?: MeetQuery) {
return commonExport('/property/meet/export', params ?? {});
}
/**
* 查询会议室设置详情
* @param id id
* @returns 会议室设置详情
*/
export function meetInfo(id: ID) {
return requestClient.get<MeetVO>(`/property/meet/${id}`);
}
/**
* 新增会议室设置
* @param data
* @returns void
*/
export function meetAdd(data: MeetForm) {
return requestClient.postWithMsg<void>('/property/meet', data);
}
/**
* 更新会议室设置
* @param data
* @returns void
*/
export function meetUpdate(data: MeetForm) {
return requestClient.putWithMsg<void>('/property/meet', data);
}
/**
* 删除会议室设置
* @param id id
* @returns void
*/
export function meetRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/meet/${id}`);
}
export function notlist(params?: MeetBo) {
return requestClient.get<PageResult<MeetVO>>('/property/meet/notlist', { params });
}

View File

@@ -0,0 +1,389 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface MeetVO {
/**
* 主键
*/
id: string | number;
/**
* 会议室名称
*/
name: string;
/**
* 位置
*/
location: string;
/**
* 容纳人数
*/
personNumber: number;
/**
* 基础服务
*/
baseService: string;
/**
* 基础价格
*/
basePrice: number;
/**
* 增值服务是否启用
*/
attach: number;
/**
* 负责人
*/
principals: string;
/**
* 描述
*/
descs: string;
/**
* 联系电话
*/
phoneNo: string;
/**
* 是否审核
*/
isCheck: string;
/**
* 开放时间
*/
openHours: string;
/**
* 状态
*/
status: string;
/**
*费用模式
*/
expenseType: string;
/**
* 图片
*/
picture: string;
}
export interface MeetForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 会议室名称
*/
name?: string;
/**
* 位置
*/
location?: string;
/**
* 容纳人数
*/
personNumber?: number;
/**
* 基础服务
*/
baseServiceId?: string | number;
/**
* 基础价格
*/
basePrice?: number;
/**
* 增值服务是否启用
*/
attach?: number;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
/**
* 负责人
*/
principals: string;
/**
* 描述
*/
descs: string;
/**
* 联系电话
*/
phoneNo: string;
/**
* 是否审核
*/
isCheck: string;
/**
* 开放时间
*/
openHours: string;
/**
* 状态
*/
status: string;
/**
*费用模式
*/
expenseType: string;
/**
* 图片
*/
picture: string;
}
export interface MeetQuery extends PageQuery {
/**
* 会议室名称
*/
name?: string;
/**
* 位置
*/
location?: string;
/**
* 容纳人数
*/
personNumber?: number;
/**
* 基础服务
*/
baseServiceId?: string | number;
/**
* 基础价格
*/
basePrice?: number;
/**
* 增值服务是否启用
*/
attach?: number;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
/**
* 负责人
*/
principals: string;
/**
* 描述
*/
descs: string;
/**
* 联系电话
*/
phoneNo: string;
/**
* 是否审核
*/
isCheck: string;
/**
* 开放时间
*/
openHours: string;
/**
* 状态
*/
status: string;
/**
*费用模式
*/
expenseType: string;
/**
* 图片
*/
picture: string;
}
export interface conferenceSettingsDetail extends BaseEntity {
/**
* 主键
*/
id: string | number;
/**
* 会议室名称
*/
name: string;
/**
* 位置
*/
location: string;
locationName: string;
/**
* 容纳人数
*/
personNumber: number;
/**
* 基础服务
*/
baseServiceId: string | number;
baseService: string;
/**
* 基础价格
*/
basePrice: number;
/**
* 增值服务是否启用
*/
attach: number;
/**
* 创建人id
*/
createById: string | number;
/**
* 更新人id
*/
updateById: string | number;
/**
* 搜索值
*/
searchValue: string;
/**
* 负责人
*/
principals: string;
principalsName: string;
/**
* 描述
*/
descs: string;
/**
* 联系电话
*/
phoneNo: string;
/**
* 是否审核
*/
isCheck: string;
/**
* 开放时间
*/
openHours: string;
/**
* 状态
*/
status: string;
/**
*费用模式
*/
expenseType: string;
/**
* 图片
*/
picture: string;
}
export interface MeetBo{
/**
* 会议室名称
*/
name?: string;
/**
* 位置
*/
location?: string;
/**
* 容纳人数
*/
personNumber?: number;
/**
* 基础服务
*/
baseServiceId?: string | number;
/**
* 基础价格
*/
basePrice?: number;
/**
* 增值服务是否启用
*/
attach?: number;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
/**
* 开放时间
*/
openHours?: string;
}

View File

@@ -0,0 +1,21 @@
import type { getAppointmentListByDateQuery,getAppointmentListByIdQuery } from './model';
import type { PageResult } from '#/api/common';
import { requestClient } from '#/api/request';
/**
* 按照日期查询已预约会议预约记录列表
* @param params
* @returns 会议预约列表
*/
export function getAppointmentListByDate(params?: getAppointmentListByDateQuery) {
return requestClient.get<any>('/property/meetbooking/appointment-list', { params });
}
/**
* 按照会议室Id查询已预约会议预约记录列表
* @param params
* @returns 会议预约列表
*/
export function getAppointmentListBymeetId(params?: getAppointmentListByIdQuery) {
return requestClient.get<any>('/property/meetbooking/meet-appointment-list', { params });
}

View File

@@ -0,0 +1,12 @@
export interface getAppointmentListByDateQuery {
/**
* 日期
*/
appointmentDate?: string;
}
export interface getAppointmentListByIdQuery {
/**
* 会议室id
*/
meetId?: string;
}

View File

@@ -1,4 +1,4 @@
import type { RoomBookingVO, RoomBookingForm, RoomBookingQuery } from './model';
import type { RoomBookingVO, RoomBookingForm, RoomBookingQuery,GetMeetNameVO } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
@@ -6,6 +6,15 @@ import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询会议室名称列表
* @param getMeetName 后端约定传'getMeetName'
* @returns 会议室名称列表
*/
export function getMeetName() {
return requestClient.get<PageResult<GetMeetNameVO>>(`/property/enum-fetcher/enum-values/${'getMeetName'}`);
}
/**
* 查询会议管理列表
* @param params
@@ -59,3 +68,11 @@ export function roomBookingUpdate(data: RoomBookingForm) {
export function roomBookingRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/roomBooking/${id}`);
}
/**
* 按照日期查询已预约会议预约记录列表
* @param params
* @returns 会议预约列表
*/
export function meetbookingAppointmentList(params?: MeetbookingAppointmentQuery) {
return requestClient.get<PageResult<MeetbookingVO>>('/property/meetbooking/appointment-list', { params });
}

View File

@@ -1,5 +1,9 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface GetMeetNameVO {
id: string;
name: string;
}
export interface RoomBookingVO {
/**
* 会议室id

View File

@@ -1,406 +0,0 @@
export interface RoomBookingVO {
/**
* id
*/
id: string | number;
/**
* 会议室id
*/
tbConferenceId: string | number;
/**
* 预约状态0未预定 1使用中 2已预订
*/
bookingStatus: number;
/**
* 审核状态0未审核 1通过 2未通过
*/
reviewStatus: number;
/**
* 会议预订人
*/
bookingName: string;
/**
* 使用单位
*/
userUnit: string;
/**
* 会议主题
*/
conferenceTheme: string;
/**
* 预约日期
*/
appointmentDate: string;
/**
* 预约开始时段
*/
appointmentBeginTime: string;
/**
* 预约结束时段
*/
appointmentEndTime: string;
/**
* 参会人员
*/
attendeesName: string;
/**
* 参会人数
*/
approverCount: number;
/**
* 签到开始时间
*/
checkInStartTime: string;
/**
* 签到结束时间
*/
checkInEndTime: string;
/**
* 审批人
*/
approver: string;
/**
* 审批时间
*/
approverTime: string;
/**
* 评价
*/
evaluate: string;
/**
* 备注
*/
remark: string;
/**
* 是否需要增值服务0需要1不需要
*/
addServices: number;
/**
* 创建人id
*/
createById: string | number;
/**
* 创建人
*/
createBy: string;
/**
* 创建时间
*/
createTime: string;
/**
* 更新人id
*/
updateById: string | number;
/**
* 更新人
*/
updateBy: string;
/**
* 更新时间
*/
updateTime: string;
/**
* 数据状态(模拟删除 0未删除 1删除
*/
dataStatus: number;
}
export interface RoomBookingForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 会议室id
*/
tbConferenceId?: string | number;
/**
* 预约状态0未预定 1使用中 2已预订
*/
bookingStatus?: number;
/**
* 审核状态0未审核 1通过 2未通过
*/
reviewStatus?: number;
/**
* 会议预订人
*/
bookingName?: string;
/**
* 使用单位
*/
userUnit?: string;
/**
* 会议主题
*/
conferenceTheme?: string;
/**
* 预约日期
*/
appointmentDate?: string;
/**
* 预约开始时段
*/
appointmentBeginTime?: string;
/**
* 预约结束时段
*/
appointmentEndTime?: string;
/**
* 参会人员
*/
attendeesName?: string;
/**
* 参会人数
*/
approverCount?: number;
/**
* 签到开始时间
*/
checkInStartTime?: string;
/**
* 签到结束时间
*/
checkInEndTime?: string;
/**
* 审批人
*/
approver?: string;
/**
* 审批时间
*/
approverTime?: string;
/**
* 评价
*/
evaluate?: string;
/**
* 备注
*/
remark?: string;
/**
* 是否需要增值服务0需要1不需要
*/
addServices?: number;
/**
* 创建人id
*/
createById?: string | number;
/**
* 创建人
*/
createBy?: string;
/**
* 创建时间
*/
createTime?: string;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 更新人
*/
updateBy?: string;
/**
* 更新时间
*/
updateTime?: string;
/**
* 数据状态(模拟删除 0未删除 1删除
*/
dataStatus?: number;
}
export interface RoomBookingQuery extends PageQuery {
/**
* id
*/
id?: string | number;
/**
* 会议室id
*/
tbConferenceId?: string | number;
/**
* 预约状态0未预定 1使用中 2已预订
*/
bookingStatus?: number;
/**
* 审核状态0未审核 1通过 2未通过
*/
reviewStatus?: number;
/**
* 会议预订人
*/
bookingName?: string;
/**
* 使用单位
*/
userUnit?: string;
/**
* 会议主题
*/
conferenceTheme?: string;
/**
* 预约日期
*/
appointmentDate?: string;
/**
* 预约开始时段
*/
appointmentBeginTime?: string;
/**
* 预约结束时段
*/
appointmentEndTime?: string;
/**
* 参会人员
*/
attendeesName?: string;
/**
* 参会人数
*/
approverCount?: number;
/**
* 签到开始时间
*/
checkInStartTime?: string;
/**
* 签到结束时间
*/
checkInEndTime?: string;
/**
* 审批人
*/
approver?: string;
/**
* 审批时间
*/
approverTime?: string;
/**
* 评价
*/
evaluate?: string;
/**
* 备注
*/
remark?: string;
/**
* 是否需要增值服务0需要1不需要
*/
addServices?: number;
/**
* 创建人id
*/
createById?: string | number;
/**
* 创建人
*/
createBy?: string;
/**
* 创建时间
*/
createTime?: string;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 更新人
*/
updateBy?: string;
/**
* 更新时间
*/
updateTime?: string;
/**
* 数据状态(模拟删除 0未删除 1删除
*/
dataStatus?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { UnitVO, UnitForm, UnitQuery } 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 unitList(params?: UnitQuery) {
return requestClient.get<PageResult<UnitVO>>('/property/unit/list', { params });
}
/**
* 导出单元列表
* @param params
* @returns 单元列表
*/
export function unitExport(params?: UnitQuery) {
return commonExport('/property/unit/export', params ?? {});
}
/**
* 查询单元详情
* @param id id
* @returns 单元详情
*/
export function unitInfo(id: ID) {
return requestClient.get<UnitVO>(`/property/unit/${id}`);
}
/**
* 新增单元
* @param data
* @returns void
*/
export function unitAdd(data: UnitForm) {
return requestClient.postWithMsg<void>('/property/unit', data);
}
/**
* 更新单元
* @param data
* @returns void
*/
export function unitUpdate(data: UnitForm) {
return requestClient.putWithMsg<void>('/property/unit', data);
}
/**
* 删除单元
* @param id id
* @returns void
*/
export function unitRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/unit/${id}`);
}

View File

@@ -0,0 +1,99 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface UnitVO {
/**
* 主键id
*/
id: string | number;
/**
* 建筑名称
*/
buildingId: string | number;
/**
* 单元名称
*/
unitName: string;
/**
* 单元层数
*/
floorCount: number;
/**
* 单元户数
*/
householdCount: number;
/**
* 楼梯数量
*/
stairCount: number;
}
export interface UnitForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 建筑名称
*/
buildingId?: string | number;
/**
* 单元名称
*/
unitName?: string;
/**
* 单元层数
*/
floorCount?: number;
/**
* 单元户数
*/
householdCount?: number;
/**
* 楼梯数量
*/
stairCount?: number;
}
export interface UnitQuery extends PageQuery {
/**
* 建筑名称
*/
buildingId?: string | number;
/**
* 单元名称
*/
unitName?: string;
/**
* 单元层数
*/
floorCount?: number;
/**
* 单元户数
*/
householdCount?: number;
/**
* 楼梯数量
*/
stairCount?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -1,8 +1,6 @@
import type { VisitorManagementVO, VisitorManagementForm, VisitorManagementQuery } 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';
@@ -59,3 +57,4 @@ export function visitorManagementUpdate(data: VisitorManagementForm) {
export function visitorManagementRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/visitorManagement/${id}`);
}

View File

@@ -70,7 +70,6 @@ export interface VisitorManagementVO {
* 预约状态0待确认1已确认2已取消3已完成
*/
serveStatus: number;
}
export interface VisitorManagementForm extends BaseEntity {
@@ -143,7 +142,6 @@ export interface VisitorManagementForm extends BaseEntity {
* 预约状态0待确认1已确认2已取消3已完成
*/
serveStatus?: number;
}
export interface VisitorManagementQuery extends PageQuery {
@@ -217,3 +215,76 @@ export interface VisitorManagementQuery extends PageQuery {
*/
params?: any;
}
export interface VisitorManagementDetail extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 访客姓名
*/
visitorName?: string;
/**
* 所属公司
*/
visitorUnit?: string;
/**
* 访客电话
*/
visitorPhone?: string;
/**
* 拜访事由
*/
visitingReason?: string;
/**
* 被访人
*/
interviewedPerson?: string;
/**
* 被访单位
*/
interviewedUnit?: string;
/**
* 被访人联系方式
*/
interviewedPhone?: string;
/**
* 拜访开始时间
*/
visitingBeginTime?: string;
/**
* 拜访结束时间
*/
visitingEndTime?: string;
/**
* 预约车位0预约1不预约
*/
bookingParkingSpace?: number;
/**
* 车牌号
*/
licensePlate?: string;
/**
* 人脸图片
*/
facePictures?: string;
/**
* 预约状态0待确认1已确认2已取消3已完成
*/
serveStatus?: number;
}

View File

@@ -1,146 +0,0 @@
export interface VisitorManagementVO {
/**
* 访客姓名
*/
visitorName: string;
/**
* 访客电话
*/
visitorPhone: string;
/**
* 拜访事由
*/
visitingReason: string;
/**
* 拜访开始时间
*/
visitingBeginTime: string;
/**
* 拜访结束时间
*/
visitingEndTime: string;
/**
* 预约车位0预约1不预约
*/
bookingParkingSpace: number;
/**
* 车牌号
*/
licensePlate: string;
/**
* 人脸图片
*/
facePictures: string;
/**
* 预约状态0待确认1已确认2已取消3已完成
*/
serveStatus: number;
}
export interface VisitorManagementForm extends BaseEntity {
/**
* id
*/
id?: string | number;
/**
* 访客姓名
*/
visitorName?: string;
/**
* 访客电话
*/
visitorPhone?: string;
/**
* 拜访事由
*/
visitingReason?: string;
/**
* 预约车位0预约1不预约
*/
bookingParkingSpace?: number;
/**
* 车牌号
*/
licensePlate?: string;
/**
* 人脸图片
*/
facePictures?: string;
/**
* 预约状态0待确认1已确认2已取消3已完成
*/
serveStatus?: number;
}
export interface VisitorManagementQuery extends PageQuery {
/**
* 访客姓名
*/
visitorName?: string;
/**
* 访客电话
*/
visitorPhone?: string;
/**
* 拜访事由
*/
visitingReason?: string;
/**
* 拜访开始时间
*/
visitingBeginTime?: string;
/**
* 拜访结束时间
*/
visitingEndTime?: string;
/**
* 预约车位0预约1不预约
*/
bookingParkingSpace?: number;
/**
* 车牌号
*/
licensePlate?: string;
/**
* 人脸图片
*/
facePictures?: string;
/**
* 预约状态0待确认1已确认2已取消3已完成
*/
serveStatus?: number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,75 @@
import type {
AccessControlForm,
AccessControlQuery,
AccessControlVO,
} from './model';
import type { ID, IDS, PageResult, TreeNode } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询门禁管理列表
* @param params
* @returns 门禁管理列表
*/
export function accessControlList(params?: AccessControlQuery) {
return requestClient.get<PageResult<AccessControlVO>>(
'/sis/accessControl/list',
{ params },
);
}
/**
* 导出门禁管理列表
* @param params
* @returns 门禁管理列表
*/
export function accessControlExport(params?: AccessControlQuery) {
return commonExport('/sis/accessControl/export', params ?? {});
}
/**
* 查询门禁管理详情
* @param id id
* @returns 门禁管理详情
*/
export function accessControlInfo(id: ID) {
return requestClient.get<AccessControlVO>(`/sis/accessControl/${id}`);
}
/**
* 新增门禁管理
* @param data
* @returns void
*/
export function accessControlAdd(data: AccessControlForm) {
return requestClient.postWithMsg<void>('/sis/accessControl', data);
}
/**
* 更新门禁管理
* @param data
* @returns void
*/
export function accessControlUpdate(data: AccessControlForm) {
return requestClient.putWithMsg<void>('/sis/accessControl', data);
}
/**
* 删除门禁管理
* @param id id
* @returns void
*/
export function accessControlRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/sis/accessControl/${id}`);
}
/**
* 查询门禁书
* @returns void
*/
export function queryTree() {
return requestClient.get<TreeNode<Number>[]>(`/sis/accessControl/tree`);
}

View File

@@ -0,0 +1,74 @@
import type { AuthRecordForm, AuthRecordQuery, AuthRecordVO } from './model';
import type { ID, IDS, PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询授权记录列表
* @param params
* @returns 授权记录列表
*/
export function authRecordList(params?: AuthRecordQuery) {
return requestClient.get<PageResult<AuthRecordVO>>('/sis/authRecord/list', {
params,
});
}
/**
* 导出授权记录列表
* @param params
* @returns 授权记录列表
*/
export function authRecordExport(params?: AuthRecordQuery) {
return commonExport('/sis/authRecord/export', params ?? {});
}
/**
* 查询授权记录详情
* @param id id
* @returns 授权记录详情
*/
export function authRecordInfo(id: ID) {
return requestClient.get<AuthRecordVO>(`/sis/authRecord/${id}`);
}
/**
* 新增授权记录
* @param data
* @returns void
*/
export function authRecordAdd(data: AuthRecordForm) {
return requestClient.postWithMsg<void>('/sis/authRecord/add', data);
}
/**
* 更新授权记录
* @param data
* @returns void
*/
export function authRecordUpdate(data: AuthRecordForm) {
return requestClient.putWithMsg<void>('/sis/authRecord', data);
}
/**
* 删除授权记录
* @param id id
* @returns void
*/
export function authRecordRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/sis/authRecord/${id}`);
}
/**
* 对人员库进行授权
* @param params id
*/
export function authPersonLib(params: any) {
return requestClient.postWithMsg<void>(`/sis/authRecord/authLib`, params);
}
export function queryAuthDevice(id: ID) {
return requestClient.get<AuthRecordVO[]>(`/sis/authRecord/authDevice/${id}`);
}

View File

@@ -0,0 +1,56 @@
import type { BaseEntity, PageQuery } from '#/api/common';
export interface AuthRecordVO {
/**
* 主键id
*/
id: string | number;
/**
* 人像id
*/
imgId: string | number;
/**
* 门禁id
*/
acdId: string | number;
deviceId: string | number;
}
export interface AuthRecordForm extends BaseEntity {
/**
* 主键id
*/
libId?: string | number;
/**
* 人像id
*/
imgIds?: string[] | number[];
/**
* 门禁id
*/
acIds?: string[] | number[];
issue: boolean;
}
export interface AuthRecordQuery extends PageQuery {
/**
* 人像id
*/
imgId?: string | number;
/**
* 门禁id
*/
acdId?: string | number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,75 @@
import type {
DeviceManageForm,
DeviceManageQuery,
DeviceManageVO,
} from './model';
import type { ID, IDS, PageResult, TreeNode } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询设备管理列表
* @param params
* @returns 设备管理列表
*/
export function deviceManageList(params?: DeviceManageQuery) {
return requestClient.get<PageResult<DeviceManageVO>>(
'/sis/deviceManage/list',
{ params },
);
}
/**
* 导出设备管理列表
* @param params
* @returns 设备管理列表
*/
export function deviceManageExport(params?: DeviceManageQuery) {
return commonExport('/sis/deviceManage/export', params ?? {});
}
/**
* 查询设备管理详情
* @param id id
* @returns 设备管理详情
*/
export function deviceManageInfo(id: ID) {
return requestClient.get<DeviceManageVO>(`/sis/deviceManage/${id}`);
}
/**
* 新增设备管理
* @param data
* @returns void
*/
export function deviceManageAdd(data: DeviceManageForm) {
return requestClient.postWithMsg<void>('/sis/deviceManage', data);
}
/**
* 更新设备管理
* @param data
* @returns void
*/
export function deviceManageUpdate(data: DeviceManageForm) {
return requestClient.putWithMsg<void>('/sis/deviceManage', data);
}
/**
* 删除设备管理
* @param id id
* @returns void
*/
export function deviceManageRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/sis/deviceManage/${id}`);
}
/**
* 查询门禁书
* @returns void
*/
export function queryTree() {
return requestClient.get<TreeNode<Number>[]>(`/sis/deviceManage/tree`);
}

View File

@@ -0,0 +1,249 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface DeviceManageVO {
/**
* 主键id
*/
id: string | number;
/**
* 设备编码
*/
deviceNo: string;
/**
* 设备名称
*/
deviceName: string;
/**
* 设备ip
*/
deviceIp: string;
/**
* 设备端口
*/
devicePort: number;
/**
* 设备账号
*/
deviceAccount: string;
/**
* 设备密码
*/
devicePwd: string;
/**
* 设备
*/
deviceMac: string;
/**
* 设备在线状态 0:离线 1:在线 2:未知
*/
deviceStatus: number;
/**
* 父级设备id
*/
parentId: string | number;
/**
* 设备通道编号
*/
channelNo: string;
/**
* 录像机ip
*/
vcrIp: string;
/**
* 录像机端口
*/
vcrPort: number;
/**
* 录像机账号
*/
vcrAccount: string;
/**
* 录像机密码
*/
vcrPwd: string;
/**
* 门禁id
*/
accessControlId: string | number;
}
export interface DeviceManageForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 设备编码
*/
deviceNo?: string;
/**
* 设备名称
*/
deviceName?: string;
/**
* 设备ip
*/
deviceIp?: string;
/**
* 设备端口
*/
devicePort?: number;
/**
* 设备账号
*/
deviceAccount?: string;
/**
* 设备密码
*/
devicePwd?: string;
/**
* 设备
*/
deviceMac?: string;
/**
* 设备在线状态 0:离线 1:在线 2:未知
*/
deviceStatus?: number;
/**
* 父级设备id
*/
parentId?: string | number;
/**
* 设备通道编号
*/
channelNo?: string;
/**
* 录像机ip
*/
vcrIp?: string;
/**
* 录像机端口
*/
vcrPort?: number;
/**
* 录像机账号
*/
vcrAccount?: string;
/**
* 录像机密码
*/
vcrPwd?: string;
/**
* 门禁id
*/
accessControlId?: string | number;
}
export interface DeviceManageQuery extends PageQuery {
/**
* 设备编码
*/
deviceNo?: string;
/**
* 设备名称
*/
deviceName?: string;
/**
* 设备ip
*/
deviceIp?: string;
/**
* 设备端口
*/
devicePort?: number;
/**
* 设备账号
*/
deviceAccount?: string;
/**
* 设备密码
*/
devicePwd?: string;
/**
* 设备
*/
deviceMac?: string;
/**
* 设备在线状态 0:离线 1:在线 2:未知
*/
deviceStatus?: number;
/**
* 父级设备id
*/
parentId?: string | number;
/**
* 设备通道编号
*/
channelNo?: string;
/**
* 录像机ip
*/
vcrIp?: string;
/**
* 录像机端口
*/
vcrPort?: number;
/**
* 录像机账号
*/
vcrAccount?: string;
/**
* 录像机密码
*/
vcrPwd?: string;
/**
* 门禁id
*/
accessControlId?: string | number;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { ElevatorInfoVO, ElevatorInfoForm, ElevatorInfoQuery } 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 elevatorInfoList(params?: ElevatorInfoQuery) {
return requestClient.get<PageResult<ElevatorInfoVO>>('/sis/elevatorInfo/list', { params });
}
/**
* 导出电梯基本信息列表
* @param params
* @returns 电梯基本信息列表
*/
export function elevatorInfoExport(params?: ElevatorInfoQuery) {
return commonExport('/sis/elevatorInfo/export', params ?? {});
}
/**
* 查询电梯基本信息详情
* @param elevatorId id
* @returns 电梯基本信息详情
*/
export function elevatorInfoInfo(elevatorId: ID) {
return requestClient.get<ElevatorInfoVO>(`/sis/elevatorInfo/${elevatorId}`);
}
/**
* 新增电梯基本信息
* @param data
* @returns void
*/
export function elevatorInfoAdd(data: ElevatorInfoForm) {
return requestClient.postWithMsg<void>('/sis/elevatorInfo', data);
}
/**
* 更新电梯基本信息
* @param data
* @returns void
*/
export function elevatorInfoUpdate(data: ElevatorInfoForm) {
return requestClient.putWithMsg<void>('/sis/elevatorInfo', data);
}
/**
* 删除电梯基本信息
* @param elevatorId id
* @returns void
*/
export function elevatorInfoRemove(elevatorId: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/sis/elevatorInfo/${elevatorId}`);
}

View File

@@ -0,0 +1,294 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface ElevatorInfoVO {
/**
*
*/
elevatorId: string | number;
/**
* 电梯编号
*/
elevatorCode: string;
/**
* 电梯名称
*/
elevatorName: string;
/**
* 安装位置
*/
location: string;
/**
* 品牌
*/
brand: string;
/**
* 型号
*/
model: string;
/**
* 生产日期
*/
manufactureDate: string;
/**
* 安装日期
*/
installationDate: string;
/**
* 最大载重(kg)
*/
maxLoad: number;
/**
* 服务楼层数
*/
floorsServed: number;
/**
* 维保公司
*/
maintenanceCompany: string;
/**
* 维保电话
*/
maintenancePhone: string;
/**
* 上次年检日期
*/
lastInspectionDate: string;
/**
* 下次年检日期
*/
nextInspectionDate: string;
/**
* 梯控厂商
*/
controlFactory: string;
/**
* 梯控设备ip
*/
controlIp: string;
/**
* 梯控设备编码
*/
controlPort: number;
/**
* 梯控设备登录账号
*/
controlAccount: string;
/**
* 梯控设备登录密码
*/
controlPwd: string;
}
export interface ElevatorInfoForm extends BaseEntity {
/**
*
*/
elevatorId?: string | number;
/**
* 电梯编号
*/
elevatorCode?: string;
/**
* 电梯名称
*/
elevatorName?: string;
/**
* 安装位置
*/
location?: string;
/**
* 品牌
*/
brand?: string;
/**
* 型号
*/
model?: string;
/**
* 生产日期
*/
manufactureDate?: string;
/**
* 安装日期
*/
installationDate?: string;
/**
* 最大载重(kg)
*/
maxLoad?: number;
/**
* 服务楼层数
*/
floorsServed?: number;
/**
* 维保公司
*/
maintenanceCompany?: string;
/**
* 维保电话
*/
maintenancePhone?: string;
/**
* 上次年检日期
*/
lastInspectionDate?: string;
/**
* 下次年检日期
*/
nextInspectionDate?: string;
/**
* 梯控厂商
*/
controlFactory?: string;
/**
* 梯控设备ip
*/
controlIp?: string;
/**
* 梯控设备编码
*/
controlPort?: number;
/**
* 梯控设备登录账号
*/
controlAccount?: string;
/**
* 梯控设备登录密码
*/
controlPwd?: string;
}
export interface ElevatorInfoQuery extends PageQuery {
/**
* 电梯编号
*/
elevatorCode?: string;
/**
* 电梯名称
*/
elevatorName?: string;
/**
* 安装位置
*/
location?: string;
/**
* 品牌
*/
brand?: string;
/**
* 型号
*/
model?: string;
/**
* 生产日期
*/
manufactureDate?: string;
/**
* 安装日期
*/
installationDate?: string;
/**
* 最大载重(kg)
*/
maxLoad?: number;
/**
* 服务楼层数
*/
floorsServed?: number;
/**
* 维保公司
*/
maintenanceCompany?: string;
/**
* 维保电话
*/
maintenancePhone?: string;
/**
* 上次年检日期
*/
lastInspectionDate?: string;
/**
* 下次年检日期
*/
nextInspectionDate?: string;
/**
* 梯控厂商
*/
controlFactory?: string;
/**
* 梯控设备ip
*/
controlIp?: string;
/**
* 梯控设备编码
*/
controlPort?: number;
/**
* 梯控设备登录账号
*/
controlAccount?: string;
/**
* 梯控设备登录密码
*/
controlPwd?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,63 @@
import type { PersonLibForm, PersonLibQuery, PersonLibVO } from './model';
import type { ID, IDS, PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
查询人像库列表
@param params
@returns 人像库列表
* @param params
*/
export function personLibList(params?: PersonLibQuery) {
return requestClient.get<PageResult<PersonLibVO>>('/sis/personLib/list', {
params,
});
}
/**
* 导出人像库列表
* @param params
* @returns 人像库列表
*/
export function personLibExport(params?: PersonLibQuery) {
return commonExport('/sis/personLib/export', params ?? {});
}
/**
* 查询人像库详情
* @param id id
* @returns 人像库详情
*/
export function personLibInfo(id: ID) {
return requestClient.get<PersonLibVO>(`/sis/personLib/${id}`);
}
/**
* 新增人像库
* @param data
* @returns void
*/
export function personLibAdd(data: PersonLibForm) {
return requestClient.postWithMsg<void>('/sis/personLib/add', data);
}
/**
* 更新人像库
* @param data
* @returns void
*/
export function personLibUpdate(data: PersonLibForm) {
return requestClient.putWithMsg<void>('/sis/personLib', data);
}
/**
* 删除人像库
* @param id id
* @returns void
*/
export function personLibRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/sis/personLib/${id}`);
}

View File

@@ -0,0 +1,146 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface PersonLibVO {
/**
* 主键id
*/
id: string | number;
/**
* 人员库编码
*/
libCode: string;
/**
* 人员库名称
*/
libName: string;
/**
* 人员库描述
*/
libDesc: string;
/**
* 库类型1人员库2工服库
*/
libType: number;
/**
* 库的业务类型 1: 门禁库2: 黑名单库
*/
busiType: number;
/**
* 创建人id
*/
createById: string | number;
/**
* 更新人id
*/
updateById: string | number;
/**
* 搜索值
*/
searchValue: string;
labelText: any;
}
export interface PersonLibForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 人员库编码
*/
libCode?: string;
/**
* 人员库名称
*/
libName?: string;
/**
* 人员库描述
*/
libDesc?: string;
/**
* 库类型1人员库2工服库
*/
libType?: number;
/**
* 库的业务类型 1: 门禁库2: 黑名单库
*/
busiType?: number;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
}
export interface PersonLibQuery extends PageQuery {
/**
* 人员库编码
*/
libCode?: string;
/**
* 人员库名称
*/
libName?: string;
/**
* 人员库描述
*/
libDesc?: string;
/**
* 库类型1人员库2工服库
*/
libType?: number;
/**
* 库的业务类型 1: 门禁库2: 黑名单库
*/
busiType?: number;
/**
* 创建人id
*/
createById?: string | number;
/**
* 更新人id
*/
updateById?: string | number;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { PersonLibImgVO, PersonLibImgForm, PersonLibImgQuery } 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 personLibImgList(params?: PersonLibImgQuery) {
return requestClient.get<PageResult<PersonLibImgVO>>('/sis/personLibImg/list', { params });
}
/**
* 导出人像信息列表
* @param params
* @returns 人像信息列表
*/
export function personLibImgExport(params?: PersonLibImgQuery) {
return commonExport('/sis/personLibImg/export', params ?? {});
}
/**
* 查询人像信息详情
* @param id id
* @returns 人像信息详情
*/
export function personLibImgInfo(id: ID) {
return requestClient.get<PersonLibImgVO>(`/sis/personLibImg/${id}`);
}
/**
* 新增人像信息
* @param data
* @returns void
*/
export function personLibImgAdd(data: PersonLibImgForm) {
return requestClient.postWithMsg<void>('/sis/personLibImg/add', data);
}
/**
* 更新人像信息
* @param data
* @returns void
*/
export function personLibImgUpdate(data: PersonLibImgForm) {
return requestClient.putWithMsg<void>('/sis/personLibImg', data);
}
/**
* 删除人像信息
* @param id id
* @returns void
*/
export function personLibImgRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/sis/personLibImg/${id}`);
}

View File

@@ -0,0 +1,196 @@
import type { BaseEntity, PageQuery } from '#/api/common';
export interface PersonLibImgVO {
/**
* 主键id
*/
id: number | string;
/**
* 人员库编码
*/
libCode: string;
/**
* 人像名称
*/
imgName: string;
/**
* 图片编码
*/
imgCode: string;
/**
* 图片的存储地址
*/
imgUrl: string;
/**
* 性别 1
2女 99未说明
*/
sex: number;
/**
* 邮箱
*/
email: string;
/**
* 联系方式
*/
tel: string;
/**
* 证件类型
1身份证 2护照
3行驶证 99其它
*/
certificateType: number;
/**
* 证件号码
*/
certificateNo: string;
/**
* 出生日期
*/
birthDate: string;
/**
* 搜索值
*/
searchValue: string;
}
export interface PersonLibImgForm extends BaseEntity {
/**
* 主键id
*/
id?: number | string;
/**
* 人员库编码
*/
libCode?: string;
/**
* 人像名称
*/
imgName?: string;
/**
* 图片编码
*/
imgCode?: string;
/**
* 图片的存储地址
*/
imgUrl?: string;
/**
* 性别 1
2女 99未说明
*/
sex?: number;
/**
* 邮箱
*/
email?: string;
/**
* 联系方式
*/
tel?: string;
/**
* 证件类型
1身份证 2护照
3行驶证 99其它
*/
certificateType?: number;
/**
* 证件号码
*/
certificateNo?: string;
/**
* 出生日期
*/
birthDate?: string;
/**
* 搜索值
*/
searchValue?: string;
}
export interface PersonLibImgQuery extends PageQuery {
/**
* 人员库编码
*/
libCode?: string;
/**
* 人像名称
*/
imgName?: string;
/**
* 图片编码
*/
imgCode?: string;
/**
* 图片的存储地址
*/
imgUrl?: string;
/**
* 性别 1
2女 99未说明
*/
sex?: number;
/**
* 邮箱
*/
email?: string;
/**
* 联系方式
*/
tel?: string;
/**
* 证件类型
1身份证 2护照
3行驶证 99其它
*/
certificateType?: number;
/**
* 证件号码
*/
certificateNo?: string;
/**
* 出生日期
*/
birthDate?: string;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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