Compare commits
131 Commits
ec2f257a
...
85ecc8d9f4
Author | SHA1 | Date | |
---|---|---|---|
85ecc8d9f4 | |||
627cb088cf | |||
a718e57c3f | |||
7502bb9576 | |||
15581de676 | |||
1aac583b4e | |||
b44caa166a | |||
![]() |
9e87b0abbb | ||
![]() |
195d7fff7d | ||
9c219d91b2 | |||
c0cab95ef2 | |||
332d8eccba | |||
2bb489cbaa | |||
031c744877 | |||
b1d0c117fc | |||
1d9096e594 | |||
af0cfc3804 | |||
2cd8d752eb | |||
804e51ac7e | |||
f642b56e55 | |||
051e7df6c7 | |||
2373bd4957 | |||
![]() |
ed2e88b99e | ||
0d2a4db6a6 | |||
d8174111c2 | |||
f93b6d356b | |||
43b1af937b | |||
c866e04b89 | |||
afa9e303cb | |||
482d4b9199 | |||
fb963ff3a7 | |||
e860009b61 | |||
2f38afa645 | |||
80f0b9bd10 | |||
a3c0cbe2a5 | |||
b1265fb00c | |||
602e8951cc | |||
7d1c5357d8 | |||
0e0b30d159 | |||
38012ccdb1 | |||
9ab72435c7 | |||
171d3ef133 | |||
1d7fbf78b6 | |||
4199f46e4e | |||
50bc728ffb | |||
cfdb404ddc | |||
505bed4383 | |||
c38065b732 | |||
ddf8251ce8 | |||
06c625fa76 | |||
5e050a381c | |||
f5d7d70cc2 | |||
3031809692 | |||
0d5b964596 | |||
e28ddabf57 | |||
e21c76cc6f | |||
3827a13cbd | |||
11f74bcbc8 | |||
73b2d27fa6 | |||
4bf741f63d | |||
4b3d075266 | |||
63c3a8b550 | |||
d3033eb12d | |||
44b91fc587 | |||
79fe4c6412 | |||
0251d11988 | |||
971106c9d9 | |||
1a9e821f48 | |||
f84c4037fb | |||
a3b13789a6 | |||
cfa85a864c | |||
33f2197ea8 | |||
0a56fa2194 | |||
ea185bfcea | |||
b6f7558aaa | |||
ccaeb44f13 | |||
![]() |
2c1373fd17 | ||
![]() |
bef5cc55e9 | ||
40845f90aa | |||
38267d7a4a | |||
ebeec8c276 | |||
86e928430a | |||
19f8c57e23 | |||
bbb3c52af4 | |||
fa3c442545 | |||
9eac725934 | |||
![]() |
d24d03457a | ||
![]() |
f90f0152fe | ||
![]() |
285ac3e0ed | ||
![]() |
ffb32c817a | ||
![]() |
54cea19b78 | ||
![]() |
acd63bc96e | ||
![]() |
81a89bb4dc | ||
![]() |
b2d902a2e0 | ||
3e8ba86305 | |||
f01cb4abce | |||
ef24216dbc | |||
120b27e13a | |||
4819f881ed | |||
01ddd1174a | |||
ca24234e57 | |||
1bc8d02cec | |||
6f2e0be983 | |||
e06f8861cc | |||
730d8ca6f2 | |||
8ecf6b03aa | |||
2b10dc8fa2 | |||
8d3f5331a5 | |||
f2a90584b2 | |||
b5c47bc3f9 | |||
0b192801ab | |||
de569eb59a | |||
97a0417d50 | |||
7d5817ce33 | |||
027ba5b2a3 | |||
0b31030317 | |||
7371da5f48 | |||
652952e29c | |||
e1656bf104 | |||
8d517b3133 | |||
234c0f8096 | |||
1c3016c44b | |||
f620debe43 | |||
b802ff624b | |||
fae5d7877c | |||
87331ab607 | |||
905fbb5f06 | |||
![]() |
b2acba4114 | ||
![]() |
9c08cca095 | ||
85975db5ee | |||
a0f5599d92 |
@@ -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"
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
VITE_BASE=/
|
||||
VITE_BASE=/property
|
||||
|
||||
# 是否开启压缩,可以设置为 none, brotli, gzip
|
||||
VITE_COMPRESS=gzip
|
||||
|
@@ -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:",
|
||||
|
14
apps/web-antd/src/api/common.d.ts
vendored
@@ -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
|
||||
|
||||
}
|
||||
|
@@ -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}`);
|
||||
}
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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}`);
|
||||
}
|
64
apps/web-antd/src/api/property/assetManage/assetType/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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
|
||||
*/
|
||||
|
332
apps/web-antd/src/api/property/building/model.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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}`);
|
||||
}
|
219
apps/web-antd/src/api/property/businessManagement/workOrders/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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}`);
|
||||
}
|
112
apps/web-antd/src/api/property/businessManagement/workOrdersType/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
59
apps/web-antd/src/api/property/chargeManagement/index.ts
Normal 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}`);
|
||||
}
|
269
apps/web-antd/src/api/property/chargeManagement/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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}`);
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -70,14 +70,14 @@ export interface Clean_orderVO {
|
||||
* 联系电话
|
||||
*/
|
||||
phone: string;
|
||||
|
||||
relationList: any[];
|
||||
}
|
||||
|
||||
export interface Clean_orderForm extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id?: string | number;
|
||||
id?: string;
|
||||
|
||||
/**
|
||||
* 位置
|
||||
|
@@ -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
|
||||
*/
|
||||
|
151
apps/web-antd/src/api/property/community/model.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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}`);
|
||||
}
|
334
apps/web-antd/src/api/property/conservationManagement/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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
|
||||
*/
|
||||
|
99
apps/web-antd/src/api/property/floor/model.d.ts
vendored
@@ -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;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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}`);
|
||||
}
|
49
apps/web-antd/src/api/property/inspectionManagement/inspectionItem/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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}`);
|
||||
}
|
199
apps/web-antd/src/api/property/inspectionManagement/inspectionPlan/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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}`);
|
||||
}
|
139
apps/web-antd/src/api/property/inspectionManagement/inspectionPoint/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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}`);
|
||||
}
|
49
apps/web-antd/src/api/property/inspectionManagement/inspectionRoute/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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}`);
|
||||
}
|
169
apps/web-antd/src/api/property/inspectionManagement/inspectionTask/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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';
|
||||
|
@@ -222,3 +222,4 @@ export interface MeetbookingQuery extends PageQuery {
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
59
apps/web-antd/src/api/property/productManagement/index.ts
Normal 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}`);
|
||||
}
|
210
apps/web-antd/src/api/property/productManagement/model.d.ts
vendored
Normal 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;
|
||||
}
|
61
apps/web-antd/src/api/property/rentalOrder/index.ts
Normal 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}`);
|
||||
}
|
263
apps/web-antd/src/api/property/rentalOrder/model.d.ts
vendored
Normal 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;
|
||||
}
|
61
apps/web-antd/src/api/property/rentalPlan/index.ts
Normal 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}`);
|
||||
}
|
122
apps/web-antd/src/api/property/rentalPlan/model.d.ts
vendored
Normal 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;
|
||||
}
|
79
apps/web-antd/src/api/property/reportStatistics/index.ts
Normal 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');
|
||||
}
|
7
apps/web-antd/src/api/property/reportStatistics/model.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
export interface statisticsByTimeQuery {
|
||||
/**
|
||||
* 日期范围参数(1日 2周 3月)
|
||||
*
|
||||
*/
|
||||
timeUnit?: number;
|
||||
}
|
@@ -59,7 +59,7 @@ export interface PersonVO {
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
state: number;
|
||||
state: number|string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
|
@@ -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;
|
||||
|
||||
/**
|
||||
* 入驻时间
|
||||
*/
|
||||
|
61
apps/web-antd/src/api/property/room/index.ts
Normal 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}`);
|
||||
}
|
144
apps/web-antd/src/api/property/room/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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', );
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出会议室增值服务列表
|
@@ -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;
|
||||
}
|
@@ -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}`);
|
||||
}
|
262
apps/web-antd/src/api/property/roomBooking/conferenceReservationRecords/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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);
|
||||
}
|
59
apps/web-antd/src/api/property/roomBooking/conferenceReservations/model.d.ts
vendored
Normal 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;
|
||||
|
||||
}
|
@@ -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 });
|
||||
}
|
389
apps/web-antd/src/api/property/roomBooking/conferenceSettings/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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 });
|
||||
}
|
12
apps/web-antd/src/api/property/roomBooking/conferenceView/model.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
export interface getAppointmentListByDateQuery {
|
||||
/**
|
||||
* 日期
|
||||
*/
|
||||
appointmentDate?: string;
|
||||
}
|
||||
export interface getAppointmentListByIdQuery {
|
||||
/**
|
||||
* 会议室id
|
||||
*/
|
||||
meetId?: string;
|
||||
}
|
@@ -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 });
|
||||
}
|
@@ -1,5 +1,9 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface GetMeetNameVO {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
export interface RoomBookingVO {
|
||||
/**
|
||||
* 会议室id
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
61
apps/web-antd/src/api/property/unit/index.ts
Normal 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}`);
|
||||
}
|
99
apps/web-antd/src/api/property/unit/model.d.ts
vendored
Normal 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;
|
||||
}
|
@@ -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}`);
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
75
apps/web-antd/src/api/sis/accessControl/index.ts
Normal 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`);
|
||||
}
|
74
apps/web-antd/src/api/sis/authRecord/index.ts
Normal 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}`);
|
||||
}
|
56
apps/web-antd/src/api/sis/authRecord/model.d.ts
vendored
Normal 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;
|
||||
}
|
75
apps/web-antd/src/api/sis/deviceManage/index.ts
Normal 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`);
|
||||
}
|
249
apps/web-antd/src/api/sis/deviceManage/model.d.ts
vendored
Normal 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;
|
||||
}
|
61
apps/web-antd/src/api/sis/elevatorInfo/index.ts
Normal 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}`);
|
||||
}
|
294
apps/web-antd/src/api/sis/elevatorInfo/model.d.ts
vendored
Normal 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;
|
||||
}
|
63
apps/web-antd/src/api/sis/personLib/index.ts
Normal 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}`);
|
||||
}
|
146
apps/web-antd/src/api/sis/personLib/model.d.ts
vendored
Normal 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;
|
||||
}
|
61
apps/web-antd/src/api/sis/personLibImg/index.ts
Normal 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}`);
|
||||
}
|
196
apps/web-antd/src/api/sis/personLibImg/model.d.ts
vendored
Normal 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;
|
||||
}
|
BIN
apps/web-antd/src/assets/222.gif
Normal file
After Width: | Height: | Size: 25 MiB |
BIN
apps/web-antd/src/assets/digitalIntelligence/bg.png
Normal file
After Width: | Height: | Size: 556 KiB |
BIN
apps/web-antd/src/assets/digitalIntelligence/center-bg.png
Normal file
After Width: | Height: | Size: 360 KiB |
BIN
apps/web-antd/src/assets/digitalIntelligence/circle1.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
apps/web-antd/src/assets/digitalIntelligence/circle2.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
apps/web-antd/src/assets/digitalIntelligence/circle3.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
apps/web-antd/src/assets/digitalIntelligence/circle4.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
apps/web-antd/src/assets/energyConsumptionAnalysis/bg.png
Normal file
After Width: | Height: | Size: 549 KiB |
BIN
apps/web-antd/src/assets/energyConsumptionAnalysis/center-bg.png
Normal file
After Width: | Height: | Size: 570 KiB |
After Width: | Height: | Size: 803 B |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.1 KiB |