| | |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface ReportDailyDepartmentEntity { |
| | | /** |
| | | * ID |
| | | */ |
| | | id?: number; |
| | | |
| | | /** |
| | | * 日期 |
| | | */ |
| | | date?: Date; |
| | | |
| | | /** |
| | | * 部门ID |
| | | */ |
| | | departmentId?: number; |
| | | |
| | | /** |
| | | * 部门名称 |
| | | */ |
| | | departmentName?: string; |
| | | |
| | | /** |
| | | * 总重量 |
| | | */ |
| | | weightTotal?: number; |
| | | |
| | | /** |
| | | * sw60重量 |
| | | */ |
| | | weightSw60?: number; |
| | | |
| | | /** |
| | | * sw61重量 |
| | | */ |
| | | weightSw61?: number; |
| | | |
| | | /** |
| | | * sw62重量 |
| | | */ |
| | | weightSw62?: number; |
| | | |
| | | /** |
| | | * sw63重量 |
| | | */ |
| | | weightSw63?: number; |
| | | |
| | | /** |
| | | * sw64重量 |
| | | */ |
| | | weightSw64?: number; |
| | | |
| | | /** |
| | | * sw62_001重量 |
| | | */ |
| | | weightSw62001?: number; |
| | | |
| | | /** |
| | | * sw62_002重量 |
| | | */ |
| | | weightSw62002?: number; |
| | | |
| | | /** |
| | | * sw62_003重量 |
| | | */ |
| | | weightSw62003?: number; |
| | | |
| | | /** |
| | | * sw62_004重量 |
| | | */ |
| | | weightSw62004?: number; |
| | | |
| | | /** |
| | | * sw62_005重量 |
| | | */ |
| | | weightSw62005?: number; |
| | | |
| | | /** |
| | | * sw62_006重量 |
| | | */ |
| | | weightSw62006?: number; |
| | | |
| | | /** |
| | | * sw62_007重量 |
| | | */ |
| | | weightSw62007?: number; |
| | | |
| | | /** |
| | | * 总称重次数 |
| | | */ |
| | | timeTotal?: number; |
| | | |
| | | /** |
| | | * sw60次数 |
| | | */ |
| | | timeSw60?: number; |
| | | |
| | | /** |
| | | * sw61次数 |
| | | */ |
| | | timeSw61?: number; |
| | | |
| | | /** |
| | | * sw62次数 |
| | | */ |
| | | timeSw62?: number; |
| | | |
| | | /** |
| | | * sw63次数 |
| | | */ |
| | | timeSw63?: number; |
| | | |
| | | /** |
| | | * sw64次数 |
| | | */ |
| | | timeSw64?: number; |
| | | |
| | | /** |
| | | * sw62001次数 |
| | | */ |
| | | timeSw62001?: number; |
| | | |
| | | /** |
| | | * sw62002次数 |
| | | */ |
| | | timeSw62002?: number; |
| | | |
| | | /** |
| | | * sw62003次数 |
| | | */ |
| | | timeSw62003?: number; |
| | | |
| | | /** |
| | | * sw62004次数 |
| | | */ |
| | | timeSw62004?: number; |
| | | |
| | | /** |
| | | * sw62005次数 |
| | | */ |
| | | timeSw62005?: number; |
| | | |
| | | /** |
| | | * sw62006次数 |
| | | */ |
| | | timeSw62006?: number; |
| | | |
| | | /** |
| | | * sw62007次数 |
| | | */ |
| | | timeSw62007?: number; |
| | | |
| | | /** |
| | | * 总碳排量 |
| | | */ |
| | | carbonTotal?: number; |
| | | |
| | | /** |
| | | * sw60碳排量 |
| | | */ |
| | | carbonSw60?: number; |
| | | |
| | | /** |
| | | * sw61碳排量 |
| | | */ |
| | | carbonSw61?: number; |
| | | |
| | | /** |
| | | * sw62碳排量 |
| | | */ |
| | | carbonSw62?: number; |
| | | |
| | | /** |
| | | * sw63碳排量 |
| | | */ |
| | | carbonSw63?: number; |
| | | |
| | | /** |
| | | * sw64碳排量 |
| | | */ |
| | | carbonSw64?: number; |
| | | |
| | | /** |
| | | * sw62001碳排量 |
| | | */ |
| | | carbonSw62001?: number; |
| | | |
| | | /** |
| | | * sw62002碳排量 |
| | | */ |
| | | carbonSw62002?: number; |
| | | |
| | | /** |
| | | * sw62003碳排量 |
| | | */ |
| | | carbonSw62003?: number; |
| | | |
| | | /** |
| | | * sw62004碳排量 |
| | | */ |
| | | carbonSw62004?: number; |
| | | |
| | | /** |
| | | * sw62005碳排量 |
| | | */ |
| | | carbonSw62005?: number; |
| | | |
| | | /** |
| | | * sw62006碳排量 |
| | | */ |
| | | carbonSw62006?: number; |
| | | |
| | | /** |
| | | * sw62007碳排量 |
| | | */ |
| | | carbonSw62007?: number; |
| | | |
| | | /** |
| | | * sw62估算销售额 |
| | | */ |
| | | estimatedSalesSw62?: number; |
| | | |
| | | /** |
| | | * sw62_001估算销售额 |
| | | */ |
| | | estimatedSalesSw62001?: number; |
| | | |
| | | /** |
| | | * sw62_002估算销售额 |
| | | */ |
| | | estimatedSalesSw62002?: number; |
| | | |
| | | /** |
| | | * sw62_003估算销售额 |
| | | */ |
| | | estimatedSalesSw62003?: number; |
| | | |
| | | /** |
| | | * sw62_004估算销售额 |
| | | */ |
| | | estimatedSalesSw62004?: number; |
| | | |
| | | /** |
| | | * sw62_005估算销售额 |
| | | */ |
| | | estimatedSalesSw62005?: number; |
| | | |
| | | /** |
| | | * sw62_006估算销售额 |
| | | */ |
| | | estimatedSalesSw62006?: number; |
| | | |
| | | /** |
| | | * sw62_007估算销售额 |
| | | */ |
| | | estimatedSalesSw62007?: number; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | createTime?: string; |
| | | |
| | | /** |
| | | * 更新时间 |
| | | */ |
| | | updateTime?: string; |
| | | |
| | | /** |
| | | * 任意键值 |
| | | */ |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface ReportDailysiteEntity { |
| | | /** |
| | | * ID |
| | | */ |
| | | id?: number; |
| | | |
| | | /** |
| | | * 日期 |
| | | */ |
| | | date?: Date; |
| | | |
| | | /** |
| | | * 站点ID |
| | | */ |
| | | siteId?: number; |
| | | |
| | | /** |
| | | * 站点名称 |
| | | */ |
| | | siteName?: string; |
| | | |
| | | /** |
| | | * 总重量 |
| | | */ |
| | | weightTotal?: number; |
| | | |
| | | /** |
| | | * sw60重量 |
| | | */ |
| | | weightSw60?: number; |
| | | |
| | | /** |
| | | * sw61重量 |
| | | */ |
| | | weightSw61?: number; |
| | | |
| | | /** |
| | | * sw62重量 |
| | | */ |
| | | weightSw62?: number; |
| | | |
| | | /** |
| | | * sw63重量 |
| | | */ |
| | | weightSw63?: number; |
| | | |
| | | /** |
| | | * sw64重量 |
| | | */ |
| | | weightSw64?: number; |
| | | |
| | | /** |
| | | * sw62_001重量 |
| | | */ |
| | | weightSw62001?: number; |
| | | |
| | | /** |
| | | * sw62_002重量 |
| | | */ |
| | | weightSw62002?: number; |
| | | |
| | | /** |
| | | * sw62_003重量 |
| | | */ |
| | | weightSw62003?: number; |
| | | |
| | | /** |
| | | * sw62_004重量 |
| | | */ |
| | | weightSw62004?: number; |
| | | |
| | | /** |
| | | * sw62_005重量 |
| | | */ |
| | | weightSw62005?: number; |
| | | |
| | | /** |
| | | * sw62_006重量 |
| | | */ |
| | | weightSw62006?: number; |
| | | |
| | | /** |
| | | * sw62_007重量 |
| | | */ |
| | | weightSw62007?: number; |
| | | |
| | | /** |
| | | * 总称重次数 |
| | | */ |
| | | timeTotal?: number; |
| | | |
| | | /** |
| | | * sw60次数 |
| | | */ |
| | | timeSw60?: number; |
| | | |
| | | /** |
| | | * sw61次数 |
| | | */ |
| | | timeSw61?: number; |
| | | |
| | | /** |
| | | * sw62次数 |
| | | */ |
| | | timeSw62?: number; |
| | | |
| | | /** |
| | | * sw63次数 |
| | | */ |
| | | timeSw63?: number; |
| | | |
| | | /** |
| | | * sw64次数 |
| | | */ |
| | | timeSw64?: number; |
| | | |
| | | /** |
| | | * sw62001次数 |
| | | */ |
| | | timeSw62001?: number; |
| | | |
| | | /** |
| | | * sw62002次数 |
| | | */ |
| | | timeSw62002?: number; |
| | | |
| | | /** |
| | | * sw62003次数 |
| | | */ |
| | | timeSw62003?: number; |
| | | |
| | | /** |
| | | * sw62004次数 |
| | | */ |
| | | timeSw62004?: number; |
| | | |
| | | /** |
| | | * sw62005次数 |
| | | */ |
| | | timeSw62005?: number; |
| | | |
| | | /** |
| | | * sw62006次数 |
| | | */ |
| | | timeSw62006?: number; |
| | | |
| | | /** |
| | | * sw62007次数 |
| | | */ |
| | | timeSw62007?: number; |
| | | |
| | | /** |
| | | * 总碳排量 |
| | | */ |
| | | carbonTotal?: number; |
| | | |
| | | /** |
| | | * sw60碳排量 |
| | | */ |
| | | carbonSw60?: number; |
| | | |
| | | /** |
| | | * sw61碳排量 |
| | | */ |
| | | carbonSw61?: number; |
| | | |
| | | /** |
| | | * sw62碳排量 |
| | | */ |
| | | carbonSw62?: number; |
| | | |
| | | /** |
| | | * sw63碳排量 |
| | | */ |
| | | carbonSw63?: number; |
| | | |
| | | /** |
| | | * sw64碳排量 |
| | | */ |
| | | carbonSw64?: number; |
| | | |
| | | /** |
| | | * sw62001碳排量 |
| | | */ |
| | | carbonSw62001?: number; |
| | | |
| | | /** |
| | | * sw62002碳排量 |
| | | */ |
| | | carbonSw62002?: number; |
| | | |
| | | /** |
| | | * sw62003碳排量 |
| | | */ |
| | | carbonSw62003?: number; |
| | | |
| | | /** |
| | | * sw62004碳排量 |
| | | */ |
| | | carbonSw62004?: number; |
| | | |
| | | /** |
| | | * sw62005碳排量 |
| | | */ |
| | | carbonSw62005?: number; |
| | | |
| | | /** |
| | | * sw62006碳排量 |
| | | */ |
| | | carbonSw62006?: number; |
| | | |
| | | /** |
| | | * sw62007碳排量 |
| | | */ |
| | | carbonSw62007?: number; |
| | | |
| | | /** |
| | | * sw62估算销售额 |
| | | */ |
| | | estimatedSalesSw62?: number; |
| | | |
| | | /** |
| | | * sw62_001估算销售额 |
| | | */ |
| | | estimatedSalesSw62001?: number; |
| | | |
| | | /** |
| | | * sw62_002估算销售额 |
| | | */ |
| | | estimatedSalesSw62002?: number; |
| | | |
| | | /** |
| | | * sw62_003估算销售额 |
| | | */ |
| | | estimatedSalesSw62003?: number; |
| | | |
| | | /** |
| | | * sw62_004估算销售额 |
| | | */ |
| | | estimatedSalesSw62004?: number; |
| | | |
| | | /** |
| | | * sw62_005估算销售额 |
| | | */ |
| | | estimatedSalesSw62005?: number; |
| | | |
| | | /** |
| | | * sw62_006估算销售额 |
| | | */ |
| | | estimatedSalesSw62006?: number; |
| | | |
| | | /** |
| | | * sw62_007估算销售额 |
| | | */ |
| | | estimatedSalesSw62007?: number; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | createTime?: string; |
| | | |
| | | /** |
| | | * 更新时间 |
| | | */ |
| | | updateTime?: string; |
| | | |
| | | /** |
| | | * 任意键值 |
| | | */ |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface ReportJoblogEntity { |
| | | /** |
| | | * ID |
| | | */ |
| | | id?: number; |
| | | |
| | | /** |
| | | * 任务类型: SITE_DAILY(站点日汇总), DEPT_DAILY(部门日汇总) |
| | | */ |
| | | jobName?: string; |
| | | |
| | | /** |
| | | * 数据目标日期 |
| | | */ |
| | | dataDate?: Date; |
| | | |
| | | /** |
| | | * 开始时间 |
| | | */ |
| | | startTime?: Date; |
| | | |
| | | /** |
| | | * 结束时间 |
| | | */ |
| | | endTime?: Date; |
| | | |
| | | /** |
| | | * 状态: 未开始, 运行中, 成功, 失败 |
| | | */ |
| | | status?: enum; |
| | | |
| | | /** |
| | | * 处理记录数 |
| | | */ |
| | | recordsProcessed?: number; |
| | | |
| | | /** |
| | | * 失败次数 |
| | | */ |
| | | failedCount?: number; |
| | | |
| | | /** |
| | | * 错误堆栈信息 |
| | | */ |
| | | errorMessage?: string; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | createTime?: string; |
| | | |
| | | /** |
| | | * 更新时间 |
| | | */ |
| | | updateTime?: string; |
| | | |
| | | /** |
| | | * 任意键值 |
| | | */ |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface SpaceInfoEntity { |
| | | /** |
| | | * ID |
| | |
| | | list: BaseSysUserEntity[]; |
| | | } |
| | | |
| | | interface BasicdataBuyerPageResponse { |
| | | pagination: PagePagination; |
| | | list: BasicdataBuyerEntity[]; |
| | | } |
| | | |
| | | interface BasicdataDriverPageResponse { |
| | | pagination: PagePagination; |
| | | list: BasicdataDriverEntity[]; |
| | |
| | | list: BasicdataWastetypeEntity[]; |
| | | } |
| | | |
| | | interface BasicdataBuyerPageResponse { |
| | | pagination: PagePagination; |
| | | list: BasicdataBuyerEntity[]; |
| | | } |
| | | |
| | | interface DemoGoodsPageResponse { |
| | | pagination: PagePagination; |
| | | list: DemoGoodsEntity[]; |
| | |
| | | interface DictTypePageResponse { |
| | | pagination: PagePagination; |
| | | list: DictTypeEntity[]; |
| | | } |
| | | |
| | | interface OperationWastesalePageResponse { |
| | | pagination: PagePagination; |
| | | list: OperationWastesaleEntity[]; |
| | | } |
| | | |
| | | interface PluginInfoPageResponse { |
| | |
| | | list: RecycleDataEntity[]; |
| | | } |
| | | |
| | | interface ReportDailydepartmentPageResponse { |
| | | pagination: PagePagination; |
| | | list: ReportDailyDepartmentEntity[]; |
| | | } |
| | | |
| | | interface ReportDailysitePageResponse { |
| | | pagination: PagePagination; |
| | | list: ReportDailysiteEntity[]; |
| | | } |
| | | |
| | | interface ReportJoblogPageResponse { |
| | | pagination: PagePagination; |
| | | list: ReportJoblogEntity[]; |
| | | } |
| | | |
| | | interface SpaceInfoPageResponse { |
| | | pagination: PagePagination; |
| | | list: SpaceInfoEntity[]; |
| | |
| | | interface UserInfoPageResponse { |
| | | pagination: PagePagination; |
| | | list: UserInfoEntity[]; |
| | | } |
| | | |
| | | interface OperationWastesalePageResponse { |
| | | pagination: PagePagination; |
| | | list: OperationWastesaleEntity[]; |
| | | } |
| | | |
| | | interface BaseCoding { |
| | |
| | | request: Request; |
| | | } |
| | | |
| | | interface BasicdataBuyer { |
| | | /** |
| | | * 删除 |
| | | */ |
| | | delete(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | update(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 单个信息 |
| | | */ |
| | | info(data?: any): Promise<BasicdataBuyerEntity>; |
| | | |
| | | /** |
| | | * 列表查询 |
| | | */ |
| | | list(data?: any): Promise<BasicdataBuyerEntity[]>; |
| | | |
| | | /** |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<BasicdataBuyerPageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | add(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 权限标识 |
| | | */ |
| | | permission: { |
| | | delete: string; |
| | | update: string; |
| | | info: string; |
| | | list: string; |
| | | page: string; |
| | | add: string; |
| | | }; |
| | | |
| | | /** |
| | | * 权限状态 |
| | | */ |
| | | _permission: { |
| | | delete: boolean; |
| | | update: boolean; |
| | | info: boolean; |
| | | list: boolean; |
| | | page: boolean; |
| | | add: boolean; |
| | | }; |
| | | |
| | | request: Request; |
| | | } |
| | | |
| | | interface BasicdataDriver { |
| | | /** |
| | | * 删除 |
| | |
| | | request: Request; |
| | | } |
| | | |
| | | interface BasicdataBuyer { |
| | | /** |
| | | * 删除 |
| | | */ |
| | | delete(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | update(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 单个信息 |
| | | */ |
| | | info(data?: any): Promise<BasicdataBuyerEntity>; |
| | | |
| | | /** |
| | | * 列表查询 |
| | | */ |
| | | list(data?: any): Promise<BasicdataBuyerEntity[]>; |
| | | |
| | | /** |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<BasicdataBuyerPageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | add(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 权限标识 |
| | | */ |
| | | permission: { |
| | | delete: string; |
| | | update: string; |
| | | info: string; |
| | | list: string; |
| | | page: string; |
| | | add: string; |
| | | }; |
| | | |
| | | /** |
| | | * 权限状态 |
| | | */ |
| | | _permission: { |
| | | delete: boolean; |
| | | update: boolean; |
| | | info: boolean; |
| | | list: boolean; |
| | | page: boolean; |
| | | add: boolean; |
| | | }; |
| | | |
| | | request: Request; |
| | | } |
| | | |
| | | interface DemoGoods { |
| | | /** |
| | | * 删除 |
| | |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<DictTypePageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | add(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 权限标识 |
| | | */ |
| | | permission: { |
| | | delete: string; |
| | | update: string; |
| | | info: string; |
| | | list: string; |
| | | page: string; |
| | | add: string; |
| | | }; |
| | | |
| | | /** |
| | | * 权限状态 |
| | | */ |
| | | _permission: { |
| | | delete: boolean; |
| | | update: boolean; |
| | | info: boolean; |
| | | list: boolean; |
| | | page: boolean; |
| | | add: boolean; |
| | | }; |
| | | |
| | | request: Request; |
| | | } |
| | | |
| | | interface OperationWastesale { |
| | | /** |
| | | * 删除 |
| | | */ |
| | | delete(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | update(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 单个信息 |
| | | */ |
| | | info(data?: any): Promise<OperationWastesaleEntity>; |
| | | |
| | | /** |
| | | * 列表查询 |
| | | */ |
| | | list(data?: any): Promise<OperationWastesaleEntity[]>; |
| | | |
| | | /** |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<OperationWastesalePageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | |
| | | request: Request; |
| | | } |
| | | |
| | | interface ReportDailydepartment { |
| | | /** |
| | | * 删除 |
| | | */ |
| | | delete(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | update(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 单个信息 |
| | | */ |
| | | info(data?: any): Promise<ReportDailyDepartmentEntity>; |
| | | |
| | | /** |
| | | * 列表查询 |
| | | */ |
| | | list(data?: any): Promise<ReportDailyDepartmentEntity[]>; |
| | | |
| | | /** |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<ReportDailydepartmentPageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | add(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 权限标识 |
| | | */ |
| | | permission: { |
| | | delete: string; |
| | | update: string; |
| | | info: string; |
| | | list: string; |
| | | page: string; |
| | | add: string; |
| | | }; |
| | | |
| | | /** |
| | | * 权限状态 |
| | | */ |
| | | _permission: { |
| | | delete: boolean; |
| | | update: boolean; |
| | | info: boolean; |
| | | list: boolean; |
| | | page: boolean; |
| | | add: boolean; |
| | | }; |
| | | |
| | | request: Request; |
| | | } |
| | | |
| | | interface ReportDailysite { |
| | | /** |
| | | * 删除 |
| | | */ |
| | | delete(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | update(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 单个信息 |
| | | */ |
| | | info(data?: any): Promise<ReportDailysiteEntity>; |
| | | |
| | | /** |
| | | * 列表查询 |
| | | */ |
| | | list(data?: any): Promise<ReportDailysiteEntity[]>; |
| | | |
| | | /** |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<ReportDailysitePageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | add(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 权限标识 |
| | | */ |
| | | permission: { |
| | | delete: string; |
| | | update: string; |
| | | info: string; |
| | | list: string; |
| | | page: string; |
| | | add: string; |
| | | }; |
| | | |
| | | /** |
| | | * 权限状态 |
| | | */ |
| | | _permission: { |
| | | delete: boolean; |
| | | update: boolean; |
| | | info: boolean; |
| | | list: boolean; |
| | | page: boolean; |
| | | add: boolean; |
| | | }; |
| | | |
| | | request: Request; |
| | | } |
| | | |
| | | interface ReportJoblog { |
| | | /** |
| | | * 删除 |
| | | */ |
| | | delete(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | update(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 单个信息 |
| | | */ |
| | | info(data?: any): Promise<ReportJoblogEntity>; |
| | | |
| | | /** |
| | | * 列表查询 |
| | | */ |
| | | list(data?: any): Promise<ReportJoblogEntity[]>; |
| | | |
| | | /** |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<ReportJoblogPageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | add(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 权限标识 |
| | | */ |
| | | permission: { |
| | | delete: string; |
| | | update: string; |
| | | info: string; |
| | | list: string; |
| | | page: string; |
| | | add: string; |
| | | }; |
| | | |
| | | /** |
| | | * 权限状态 |
| | | */ |
| | | _permission: { |
| | | delete: boolean; |
| | | update: boolean; |
| | | info: boolean; |
| | | list: boolean; |
| | | page: boolean; |
| | | add: boolean; |
| | | }; |
| | | |
| | | request: Request; |
| | | } |
| | | |
| | | interface SpaceInfo { |
| | | /** |
| | | * 删除 |
| | |
| | | request: Request; |
| | | } |
| | | |
| | | interface OperationWastesale { |
| | | /** |
| | | * 删除 |
| | | */ |
| | | delete(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | update(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 单个信息 |
| | | */ |
| | | info(data?: any): Promise<OperationWastesaleEntity>; |
| | | |
| | | /** |
| | | * 列表查询 |
| | | */ |
| | | list(data?: any): Promise<OperationWastesaleEntity[]>; |
| | | |
| | | /** |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<OperationWastesalePageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | add(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 权限标识 |
| | | */ |
| | | permission: { |
| | | delete: string; |
| | | update: string; |
| | | info: string; |
| | | list: string; |
| | | page: string; |
| | | add: string; |
| | | }; |
| | | |
| | | /** |
| | | * 权限状态 |
| | | */ |
| | | _permission: { |
| | | delete: boolean; |
| | | update: boolean; |
| | | info: boolean; |
| | | list: boolean; |
| | | page: boolean; |
| | | add: boolean; |
| | | }; |
| | | |
| | | request: Request; |
| | | } |
| | | |
| | | interface RequestOptions { |
| | | url: string; |
| | | method?: "OPTIONS" | "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "TRACE" | "CONNECT"; |
| | |
| | | }; |
| | | }; |
| | | basicdata: { |
| | | buyer: BasicdataBuyer; |
| | | driver: BasicdataDriver; |
| | | iot: BasicdataIot; |
| | | site: BasicdataSite; |
| | | sorter: BasicdataSorter; |
| | | vehicle: BasicdataVehicle; |
| | | wastetype: BasicdataWastetype; |
| | | buyer: BasicdataBuyer; |
| | | }; |
| | | demo: { goods: DemoGoods; tenant: DemoTenant }; |
| | | dict: { info: DictInfo; type: DictType }; |
| | | operation: { wastesale: OperationWastesale }; |
| | | plugin: { info: PluginInfo }; |
| | | push: { |
| | | auditlog: PushAuditlog; |
| | |
| | | weight: PushWeight; |
| | | }; |
| | | recycle: { data: RecycleData }; |
| | | report: { |
| | | dailydepartment: ReportDailydepartment; |
| | | dailysite: ReportDailysite; |
| | | joblog: ReportJoblog; |
| | | }; |
| | | space: { info: SpaceInfo; type: SpaceType }; |
| | | task: { info: TaskInfo }; |
| | | user: { address: UserAddress; info: UserInfo }; |
| | | operation: { wastesale: OperationWastesale }; |
| | | }; |
| | | } |
| | |
| | | [{"prefix":"/admin/base/coding","name":"","api":[{"method":"get","path":"/getModuleTree"},{"method":"post","path":"/createCode"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/comm","name":"","api":[{"method":"post","path":"/personUpdate"},{"method":"get","path":"/uploadMode"},{"method":"get","path":"/permmenu"},{"method":"get","path":"/program"},{"method":"get","path":"/person"},{"method":"post","path":"/upload"},{"method":"post","path":"/logout"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/open","name":"","api":[{"method":"get","path":"/refreshToken"},{"method":"get","path":"/captcha"},{"method":"post","path":"/login"},{"method":"get","path":"/html"},{"method":"get","path":"/eps"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/department","name":"BaseSysDepartmentEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/order"},{"method":"post","path":"/list"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/log","name":"BaseSysLogEntity","api":[{"method":"post","path":"/setKeep"},{"method":"get","path":"/getKeep"},{"method":"post","path":"/clear"},{"method":"post","path":"/page"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"name","type":"string","length":"","comment":"姓名","nullable":true,"source":"b.name"},{"propertyName":"action","type":"string","length":"","comment":"行为","nullable":false,"source":"a.action"},{"propertyName":"ip","type":"string","length":"","comment":"ip","nullable":true,"source":"a.ip"}]}},{"prefix":"/admin/base/sys/menu","name":"BaseSysMenuEntity","api":[{"method":"post","path":"/create"},{"method":"post","path":"/export"},{"method":"post","path":"/import"},{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/parse"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/param","name":"BaseSysParamEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/html"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"dataType","type":"number","length":"","comment":"数据类型 0-字符串 1-富文本 2-文件 ","nullable":false,"defaultValue":0,"source":"a.dataType"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"name","type":"string","length":"","comment":"名称","nullable":false,"source":"a.name"},{"propertyName":"keyName","type":"string","length":"","comment":"键","nullable":false,"source":"a.keyName"}]}},{"prefix":"/admin/base/sys/role","name":"BaseSysRoleEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"name","type":"string","length":"","comment":"名称","nullable":false,"source":"a.name"},{"propertyName":"label","type":"string","length":"50","comment":"角色标签","nullable":true,"source":"a.label"}]}},{"prefix":"/admin/base/sys/user","name":"BaseSysUserEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/move"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/basicdata/buyer","name":"BasicdataBuyerEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"departmentId","type":"bigint","length":"","comment":"部门ID","nullable":true,"source":"a.departmentId"},{"propertyName":"name","type":"string","length":"200","comment":"名称","nullable":false,"source":"a.name"},{"propertyName":"contact","type":"string","length":"50","comment":"联系人","nullable":true,"source":"a.contact"}],"fieldLike":[{"propertyName":"name","type":"string","length":"200","comment":"名称","nullable":false,"source":"a.name"},{"propertyName":"address","type":"string","length":"255","comment":"地址","nullable":true,"source":"a.address"}],"keyWordLikeFields":[]}},{"prefix":"/admin/basicdata/driver","name":"BasicdataDriverEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"departmentId","type":"bigint","length":"","comment":"所属单位","nullable":true,"source":"a.departmentId"},{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":0,"dict":["激活","禁用"],"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"businessId","type":"string","length":"64","comment":"身份证号","nullable":false,"source":"a.businessId"},{"propertyName":"phone","type":"string","length":"32","comment":"手机号","nullable":true,"source":"a.phone"},{"propertyName":"licenseNo","type":"string","length":"64","comment":"驾驶证号","nullable":true,"source":"a.licenseNo"}]}},{"prefix":"/admin/basicdata/iot","name":"BasicdataIotEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"iotTypeCode","type":"string","length":"","comment":"终端类型","nullable":false,"source":"a.iotTypeCode"},{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":1,"dict":["禁用","启用"],"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"iotName","type":"string","length":"","comment":"终端名称","nullable":false,"source":"a.iotName"},{"propertyName":"iotCode","type":"string","length":"","comment":"终端编码","nullable":false,"source":"a.iotCode"}]}},{"prefix":"/admin/basicdata/site","name":"BasicdataSiteEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"departmentId","type":"number","length":"","comment":"归属单位","nullable":false,"source":"a.departmentId"},{"propertyName":"siteType","type":"string","length":"","comment":"站点类型","nullable":false,"defaultValue":"收集点","dict":"sitetype","source":"a.siteType"},{"propertyName":"status","type":"number","length":"","comment":"是否启用","nullable":false,"defaultValue":1,"dict":["禁用","启用"],"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"address","type":"string","length":"","comment":"地址","nullable":false,"source":"a.address"},{"propertyName":"leader","type":"string","length":"","comment":"负责人","nullable":false,"source":"a.leader"}]}},{"prefix":"/admin/basicdata/sorter","name":"BasicdataSorterEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":0,"dict":["在职","离职","禁用"],"source":"a.status"},{"propertyName":"departmentId","type":"bigint","length":"","comment":"所属单位","nullable":true,"source":"a.departmentId"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"businessName","type":"string","length":"64","comment":"姓名","nullable":false,"source":"a.businessName"},{"propertyName":"businessId","type":"string","length":"32","comment":"身份证号","nullable":true,"source":"a.businessId"},{"propertyName":"phone","type":"string","length":"32","comment":"手机号","nullable":true,"source":"a.phone"}]}},{"prefix":"/admin/basicdata/vehicle","name":"BasicdataVehicleEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"vehicleType","type":"string","length":"","comment":"车型","nullable":false,"defaultValue":"厢式货车","dict":"vehicletype","source":"a.vehicleType"},{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":0,"dict":["启用","禁用"],"source":"a.status"},{"propertyName":"departmentId","type":"bigint","length":"","comment":"所属单位","nullable":true,"source":"a.departmentId"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"businessId","type":"string","length":"32","comment":"车牌号","nullable":false,"source":"a.businessId"},{"propertyName":"defaultDriver","type":"bigint","length":"","comment":"默认司机","nullable":true,"source":"a.defaultDriver"}]}},{"prefix":"/admin/basicdata/wastetype","name":"BasicdataWastetypeEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"isRecyclable","type":"number","length":"","comment":"是否可回收","nullable":false,"defaultValue":0,"dict":["否","是"],"source":"a.isRecyclable"},{"propertyName":"status","type":"number","length":"","comment":"是否启用","nullable":false,"defaultValue":1,"dict":["禁用","启用"],"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"name","type":"string","length":"","comment":"名称","nullable":false,"source":"a.name"},{"propertyName":"code","type":"string","length":"","comment":"代码","nullable":false,"source":"a.code"}]}},{"prefix":"/admin/demo/goods","name":"DemoGoodsEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":1,"dict":["禁用","启用"],"source":"a.status"}],"fieldLike":[{"propertyName":"title","type":"string","length":"50","comment":"标题","nullable":false,"source":"a.title"}],"keyWordLikeFields":[{"propertyName":"description","type":"string","length":"","comment":"描述","nullable":true,"source":"a.description"}]}},{"prefix":"/admin/demo/tenant","name":"DemoGoodsEntity","api":[{"method":"post","path":"/noTenant"},{"method":"post","path":"/noUse"},{"method":"post","path":"/use"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/dict/info","name":"DictInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/types"},{"method":"post","path":"/data"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/dict/type","name":"DictTypeEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/operation/wastesale","name":"OperationWastesaleEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"departmentId","type":"bigint","length":"","comment":"部门ID","nullable":false,"source":"a.departmentId"}],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/plugin/info","name":"PluginInfoEntity","api":[{"method":"post","path":"/install"},{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/push/auditlog","name":"PushAuditlogEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"deviceNo","type":"string","length":"","comment":"客户端ID","nullable":false,"source":"a.deviceNo"},{"propertyName":"pushType","type":"string","length":"","comment":"推送类型","nullable":false,"defaultValue":"weight","dict":["weight","health_gps","vehicle_gps","driver_anomaly","others"],"source":"a.pushType"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"errorMessage","type":"text","length":"","comment":"错误返回信息","nullable":true,"source":"a.errorMessage"}]}},{"prefix":"/admin/push/cameragps","name":"PushCameraGpsEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"string","length":"","comment":"定位精度","nullable":false,"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"sn","type":"string","length":"","comment":"设备序列号","nullable":false,"source":"a.sn"}]}},{"prefix":"/admin/push/deviceonoff","name":"PushDeviceOnoffEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"deviceId","type":"string","length":"","comment":"设备ID","nullable":false,"source":"a.deviceId"},{"propertyName":"subSerial","type":"string","length":"","comment":"子序列号","nullable":true,"source":"a.subSerial"},{"propertyName":"deviceName","type":"string","length":"","comment":"设备名称","nullable":true,"source":"a.deviceName"}]}},{"prefix":"/admin/push/siteweight","name":"PushSiteweightEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"deviceNo","type":"string","length":"","comment":"设备号","nullable":false,"source":"a.deviceNo"},{"propertyName":"siteType","type":"string","length":"","comment":"站点类型","nullable":false,"defaultValue":"收集点","dict":"sitetype","source":"d.siteType"}],"fieldLike":[{"propertyName":"deviceNo","type":"string","length":"","comment":"设备号","nullable":false,"source":"a.deviceNo"}],"keyWordLikeFields":[]}},{"prefix":"/admin/push/vehiclegps","name":"PushVehicleGpsEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"string","length":"","comment":"定位精度","nullable":false,"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"sn","type":"string","length":"","comment":"设备序列号","nullable":false,"source":"a.sn"},{"propertyName":"vehicleNo","type":"string","length":"","comment":"车牌号","nullable":true,"source":"a.vehicleNo"}]}},{"prefix":"/admin/push/weight","name":"PushWeightEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"deviceNo","type":"string","length":"","comment":"设备号","nullable":false,"source":"a.deviceNo"},{"propertyName":"garbageType","type":"string","length":"","comment":"垃圾类型","nullable":false,"source":"a.garbageType"}],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/recycle/data","name":"RecycleDataEntity","api":[{"method":"post","path":"/restore"},{"method":"get","path":"/info"},{"method":"post","path":"/page"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"userName","type":"string","length":"","comment":"姓名","nullable":true,"source":"b.name"},{"propertyName":"url","type":"string","length":"","comment":"请求的接口","nullable":true,"source":"a.url"}]}},{"prefix":"/admin/space/info","name":"SpaceInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"type","type":"string","length":"","comment":"类型","nullable":false,"source":"a.type"},{"propertyName":"classifyId","type":"number","length":"","comment":"分类ID","nullable":true,"source":"a.classifyId"}],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/space/type","name":"SpaceTypeEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/task/info","name":"TaskInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/start"},{"method":"post","path":"/once"},{"method":"post","path":"/stop"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"get","path":"/log"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"number","length":"","comment":"状态 0-停止 1-运行","nullable":false,"defaultValue":1,"source":"a.status"},{"propertyName":"type","type":"number","length":"","comment":"状态 0-系统 1-用户","nullable":false,"defaultValue":0,"source":"a.type"}],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/user/address","name":"UserAddressEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/user/info","name":"UserInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":1,"dict":["禁用","正常","已注销"],"source":"a.status"},{"propertyName":"gender","type":"number","length":"","comment":"性别","nullable":false,"defaultValue":0,"dict":["未知","男","女"],"source":"a.gender"},{"propertyName":"loginType","type":"number","length":"","comment":"登录方式","nullable":false,"defaultValue":0,"dict":["小程序","公众号","H5"],"source":"a.loginType"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"nickName","type":"string","length":"","comment":"昵称","nullable":true,"source":"a.nickName"},{"propertyName":"phone","type":"string","length":"","comment":"手机号","nullable":true,"source":"a.phone"}]}}] |
| | | [{"prefix":"/admin/base/coding","name":"","api":[{"method":"get","path":"/getModuleTree"},{"method":"post","path":"/createCode"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/comm","name":"","api":[{"method":"post","path":"/personUpdate"},{"method":"get","path":"/uploadMode"},{"method":"get","path":"/permmenu"},{"method":"get","path":"/program"},{"method":"get","path":"/person"},{"method":"post","path":"/upload"},{"method":"post","path":"/logout"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/open","name":"","api":[{"method":"get","path":"/refreshToken"},{"method":"get","path":"/captcha"},{"method":"post","path":"/login"},{"method":"get","path":"/html"},{"method":"get","path":"/eps"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/department","name":"BaseSysDepartmentEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/order"},{"method":"post","path":"/list"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/log","name":"BaseSysLogEntity","api":[{"method":"post","path":"/setKeep"},{"method":"get","path":"/getKeep"},{"method":"post","path":"/clear"},{"method":"post","path":"/page"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"name","type":"string","length":"","comment":"姓名","nullable":true,"source":"b.name"},{"propertyName":"action","type":"string","length":"","comment":"行为","nullable":false,"source":"a.action"},{"propertyName":"ip","type":"string","length":"","comment":"ip","nullable":true,"source":"a.ip"}]}},{"prefix":"/admin/base/sys/menu","name":"BaseSysMenuEntity","api":[{"method":"post","path":"/create"},{"method":"post","path":"/export"},{"method":"post","path":"/import"},{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/parse"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/base/sys/param","name":"BaseSysParamEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/html"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"dataType","type":"number","length":"","comment":"数据类型 0-字符串 1-富文本 2-文件 ","nullable":false,"defaultValue":0,"source":"a.dataType"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"name","type":"string","length":"","comment":"名称","nullable":false,"source":"a.name"},{"propertyName":"keyName","type":"string","length":"","comment":"键","nullable":false,"source":"a.keyName"}]}},{"prefix":"/admin/base/sys/role","name":"BaseSysRoleEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"name","type":"string","length":"","comment":"名称","nullable":false,"source":"a.name"},{"propertyName":"label","type":"string","length":"50","comment":"角色标签","nullable":true,"source":"a.label"}]}},{"prefix":"/admin/base/sys/user","name":"BaseSysUserEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/move"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/basicdata/buyer","name":"BasicdataBuyerEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"departmentId","type":"bigint","length":"","comment":"部门ID","nullable":true,"source":"a.departmentId"},{"propertyName":"name","type":"string","length":"200","comment":"名称","nullable":false,"source":"a.name"},{"propertyName":"contact","type":"string","length":"50","comment":"联系人","nullable":true,"source":"a.contact"}],"fieldLike":[{"propertyName":"name","type":"string","length":"200","comment":"名称","nullable":false,"source":"a.name"},{"propertyName":"address","type":"string","length":"255","comment":"地址","nullable":true,"source":"a.address"}],"keyWordLikeFields":[]}},{"prefix":"/admin/basicdata/driver","name":"BasicdataDriverEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"departmentId","type":"bigint","length":"","comment":"所属单位","nullable":true,"source":"a.departmentId"},{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":0,"dict":["激活","禁用"],"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"businessId","type":"string","length":"64","comment":"身份证号","nullable":false,"source":"a.businessId"},{"propertyName":"phone","type":"string","length":"32","comment":"手机号","nullable":true,"source":"a.phone"},{"propertyName":"licenseNo","type":"string","length":"64","comment":"驾驶证号","nullable":true,"source":"a.licenseNo"}]}},{"prefix":"/admin/basicdata/iot","name":"BasicdataIotEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"iotTypeCode","type":"string","length":"","comment":"终端类型","nullable":false,"source":"a.iotTypeCode"},{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":1,"dict":["禁用","启用"],"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"iotName","type":"string","length":"","comment":"终端名称","nullable":false,"source":"a.iotName"},{"propertyName":"iotCode","type":"string","length":"","comment":"终端编码","nullable":false,"source":"a.iotCode"}]}},{"prefix":"/admin/basicdata/site","name":"BasicdataSiteEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"departmentId","type":"number","length":"","comment":"归属单位","nullable":false,"source":"a.departmentId"},{"propertyName":"siteType","type":"string","length":"","comment":"站点类型","nullable":false,"defaultValue":"收集点","dict":"sitetype","source":"a.siteType"},{"propertyName":"status","type":"number","length":"","comment":"是否启用","nullable":false,"defaultValue":1,"dict":["禁用","启用"],"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"address","type":"string","length":"","comment":"地址","nullable":false,"source":"a.address"},{"propertyName":"leader","type":"string","length":"","comment":"负责人","nullable":false,"source":"a.leader"}]}},{"prefix":"/admin/basicdata/sorter","name":"BasicdataSorterEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":0,"dict":["在职","离职","禁用"],"source":"a.status"},{"propertyName":"departmentId","type":"bigint","length":"","comment":"所属单位","nullable":true,"source":"a.departmentId"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"businessName","type":"string","length":"64","comment":"姓名","nullable":false,"source":"a.businessName"},{"propertyName":"businessId","type":"string","length":"32","comment":"身份证号","nullable":true,"source":"a.businessId"},{"propertyName":"phone","type":"string","length":"32","comment":"手机号","nullable":true,"source":"a.phone"}]}},{"prefix":"/admin/basicdata/vehicle","name":"BasicdataVehicleEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"vehicleType","type":"string","length":"","comment":"车型","nullable":false,"defaultValue":"厢式货车","dict":"vehicletype","source":"a.vehicleType"},{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":0,"dict":["启用","禁用"],"source":"a.status"},{"propertyName":"departmentId","type":"bigint","length":"","comment":"所属单位","nullable":true,"source":"a.departmentId"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"businessId","type":"string","length":"32","comment":"车牌号","nullable":false,"source":"a.businessId"},{"propertyName":"defaultDriver","type":"bigint","length":"","comment":"默认司机","nullable":true,"source":"a.defaultDriver"}]}},{"prefix":"/admin/basicdata/wastetype","name":"BasicdataWastetypeEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"isRecyclable","type":"number","length":"","comment":"是否可回收","nullable":false,"defaultValue":0,"dict":["否","是"],"source":"a.isRecyclable"},{"propertyName":"status","type":"number","length":"","comment":"是否启用","nullable":false,"defaultValue":1,"dict":["禁用","启用"],"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"name","type":"string","length":"","comment":"名称","nullable":false,"source":"a.name"},{"propertyName":"code","type":"string","length":"","comment":"代码","nullable":false,"source":"a.code"}]}},{"prefix":"/admin/demo/goods","name":"DemoGoodsEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":1,"dict":["禁用","启用"],"source":"a.status"}],"fieldLike":[{"propertyName":"title","type":"string","length":"50","comment":"标题","nullable":false,"source":"a.title"}],"keyWordLikeFields":[{"propertyName":"description","type":"string","length":"","comment":"描述","nullable":true,"source":"a.description"}]}},{"prefix":"/admin/demo/tenant","name":"DemoGoodsEntity","api":[{"method":"post","path":"/noTenant"},{"method":"post","path":"/noUse"},{"method":"post","path":"/use"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/dict/info","name":"DictInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/types"},{"method":"post","path":"/data"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/dict/type","name":"DictTypeEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/operation/wastesale","name":"OperationWastesaleEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"departmentId","type":"bigint","length":"","comment":"部门ID","nullable":false,"source":"a.departmentId"}],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/plugin/info","name":"PluginInfoEntity","api":[{"method":"post","path":"/install"},{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/push/auditlog","name":"PushAuditlogEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"deviceNo","type":"string","length":"","comment":"客户端ID","nullable":false,"source":"a.deviceNo"},{"propertyName":"pushType","type":"string","length":"","comment":"推送类型","nullable":false,"defaultValue":"weight","dict":["weight","health_gps","vehicle_gps","driver_anomaly","others"],"source":"a.pushType"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"errorMessage","type":"text","length":"","comment":"错误返回信息","nullable":true,"source":"a.errorMessage"}]}},{"prefix":"/admin/push/cameragps","name":"PushCameraGpsEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"string","length":"","comment":"定位精度","nullable":false,"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"sn","type":"string","length":"","comment":"设备序列号","nullable":false,"source":"a.sn"}]}},{"prefix":"/admin/push/deviceonoff","name":"PushDeviceOnoffEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"deviceId","type":"string","length":"","comment":"设备ID","nullable":false,"source":"a.deviceId"},{"propertyName":"subSerial","type":"string","length":"","comment":"子序列号","nullable":true,"source":"a.subSerial"},{"propertyName":"deviceName","type":"string","length":"","comment":"设备名称","nullable":true,"source":"a.deviceName"}]}},{"prefix":"/admin/push/siteweight","name":"PushSiteweightEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"deviceNo","type":"string","length":"","comment":"设备号","nullable":false,"source":"a.deviceNo"},{"propertyName":"siteType","type":"string","length":"","comment":"站点类型","nullable":false,"defaultValue":"收集点","dict":"sitetype","source":"d.siteType"}],"fieldLike":[{"propertyName":"deviceNo","type":"string","length":"","comment":"设备号","nullable":false,"source":"a.deviceNo"}],"keyWordLikeFields":[]}},{"prefix":"/admin/push/vehiclegps","name":"PushVehicleGpsEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"string","length":"","comment":"定位精度","nullable":false,"source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"sn","type":"string","length":"","comment":"设备序列号","nullable":false,"source":"a.sn"},{"propertyName":"vehicleNo","type":"string","length":"","comment":"车牌号","nullable":true,"source":"a.vehicleNo"}]}},{"prefix":"/admin/push/weight","name":"PushWeightEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"deviceNo","type":"string","length":"","comment":"设备号","nullable":false,"source":"a.deviceNo"},{"propertyName":"garbageType","type":"string","length":"","comment":"垃圾类型","nullable":false,"source":"a.garbageType"}],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/recycle/data","name":"RecycleDataEntity","api":[{"method":"post","path":"/restore"},{"method":"get","path":"/info"},{"method":"post","path":"/page"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"userName","type":"string","length":"","comment":"姓名","nullable":true,"source":"b.name"},{"propertyName":"url","type":"string","length":"","comment":"请求的接口","nullable":true,"source":"a.url"}]}},{"prefix":"/admin/report/dailydepartment","name":"ReportDailyDepartmentEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"date","type":"date","length":"","comment":"日期","nullable":false,"source":"a.date"},{"propertyName":"departmentId","type":"number","length":"","comment":"部门ID","nullable":false,"source":"a.departmentId"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"departmentName","type":"string","length":"","comment":"部门名称","nullable":false,"source":"a.departmentName"}]}},{"prefix":"/admin/report/dailysite","name":"ReportDailysiteEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"date","type":"date","length":"","comment":"日期","nullable":false,"source":"a.date"},{"propertyName":"siteId","type":"number","length":"","comment":"站点ID","nullable":false,"source":"a.siteId"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"siteName","type":"string","length":"","comment":"站点名称","nullable":false,"source":"a.siteName"}]}},{"prefix":"/admin/report/joblog","name":"ReportJoblogEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"dataDate","type":"date","length":"","comment":"数据目标日期","nullable":false,"source":"a.dataDate"},{"propertyName":"status","type":"enum","length":"","comment":"状态: 未开始, 运行中, 成功, 失败","nullable":false,"defaultValue":"INIT","source":"a.status"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"jobName","type":"string","length":"","comment":"任务类型: SITE_DAILY(站点日汇总), DEPT_DAILY(部门日汇总)","nullable":false,"source":"a.jobName"}]}},{"prefix":"/admin/space/info","name":"SpaceInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"type","type":"string","length":"","comment":"类型","nullable":false,"source":"a.type"},{"propertyName":"classifyId","type":"number","length":"","comment":"分类ID","nullable":true,"source":"a.classifyId"}],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/space/type","name":"SpaceTypeEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/task/info","name":"TaskInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"post","path":"/start"},{"method":"post","path":"/once"},{"method":"post","path":"/stop"},{"method":"get","path":"/info"},{"method":"post","path":"/page"},{"method":"get","path":"/log"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"number","length":"","comment":"状态 0-停止 1-运行","nullable":false,"defaultValue":1,"source":"a.status"},{"propertyName":"type","type":"number","length":"","comment":"状态 0-系统 1-用户","nullable":false,"defaultValue":0,"source":"a.type"}],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/user/address","name":"UserAddressEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[],"fieldLike":[],"keyWordLikeFields":[]}},{"prefix":"/admin/user/info","name":"UserInfoEntity","api":[{"method":"post","path":"/delete"},{"method":"post","path":"/update"},{"method":"get","path":"/info"},{"method":"post","path":"/list"},{"method":"post","path":"/page"},{"method":"post","path":"/add"}],"search":{"fieldEq":[{"propertyName":"status","type":"number","length":"","comment":"状态","nullable":false,"defaultValue":1,"dict":["禁用","正常","已注销"],"source":"a.status"},{"propertyName":"gender","type":"number","length":"","comment":"性别","nullable":false,"defaultValue":0,"dict":["未知","男","女"],"source":"a.gender"},{"propertyName":"loginType","type":"number","length":"","comment":"登录方式","nullable":false,"defaultValue":0,"dict":["小程序","公众号","H5"],"source":"a.loginType"}],"fieldLike":[],"keyWordLikeFields":[{"propertyName":"nickName","type":"string","length":"","comment":"昵称","nullable":true,"source":"a.nickName"},{"propertyName":"phone","type":"string","length":"","comment":"手机号","nullable":true,"source":"a.phone"}]}}] |
| New file |
| | |
| | | { |
| | | "未开始":"未开始", |
| | | "运行中":"运行中", |
| | | "成功":"成功", |
| | | "失败":"失败", |
| | | "任务名称":"任务名称", |
| | | "数据日期":"数据日期", |
| | | "日期范围":"日期范围", |
| | | "更新时间":"更新时间", |
| | | "处理记录数":"处理记录数", |
| | | "失败次数":"失败次数", |
| | | "错误堆栈信息":"错误堆栈信息", |
| | | "开始时间":"开始时间", |
| | | "结束时间":"结束时间", |
| | | "日期":"日期", |
| | | "站点ID":"站点名称", |
| | | "总重量":"总重量", |
| | | "sw60重量":"sw60重量", |
| | | "sw61重量":"sw61重量", |
| | | "sw62重量":"sw62重量", |
| | | "sw63重量":"sw63重量", |
| | | "sw64重量":"sw64重量", |
| | | "总称重次数":"总称重次数", |
| | | "sw60次数":"sw60次数", |
| | | "sw61次数":"sw61次数", |
| | | "sw62次数":"sw62次数", |
| | | "sw63次数":"sw63次数", |
| | | "sw64次数":"sw64次数", |
| | | "总碳排量":"总碳排量(kgCO₂e/kg)", |
| | | "sw60碳排量":"sw60碳排量", |
| | | "sw61碳排量":"sw61碳排量", |
| | | "sw62碳排量":"sw62碳排量", |
| | | "sw63碳排量":"sw63碳排量", |
| | | "sw64碳排量":"sw64碳排量", |
| | | "sw62估算销售额":"sw62估算销售额", |
| | | "INIT":"INIT", |
| | | "RUNNING":"RUNNING", |
| | | "SUCCESS":"SUCCESS", |
| | | "FAILED":"FAILED", |
| | | "数据目标日期":"数据目标日期", |
| | | "状态: 未开始, 运行中, 成功, 失败":"状态: 未开始, 运行中, 成功, 失败", |
| | | "任务类型: SITE_DAILY(站点日汇总), DEPT_DAILY(部门日汇总)":"任务类型: SITE_DAILY(站点日汇总), DEPT_DAILY(部门日汇总)" |
| | | } |
| New file |
| | |
| | | { |
| | | "未开始":"未开始", |
| | | "运行中":"运行中", |
| | | "成功":"成功", |
| | | "失败":"失败", |
| | | "任务名称":"任务名称", |
| | | "数据日期":"数据日期", |
| | | "日期范围":"日期范围", |
| | | "更新时间":"更新时间", |
| | | "处理记录数":"处理记录数", |
| | | "失败次数":"失败次数", |
| | | "错误堆栈信息":"错误堆栈信息", |
| | | "开始时间":"开始时间", |
| | | "结束时间":"结束时间", |
| | | "日期":"日期", |
| | | "站点ID":"站点名称", |
| | | "总重量":"总重量", |
| | | "sw60重量":"sw60重量", |
| | | "sw61重量":"sw61重量", |
| | | "sw62重量":"sw62重量", |
| | | "sw63重量":"sw63重量", |
| | | "sw64重量":"sw64重量", |
| | | "总称重次数":"总称重次数", |
| | | "sw60次数":"sw60次数", |
| | | "sw61次数":"sw61次数", |
| | | "sw62次数":"sw62次数", |
| | | "sw63次数":"sw63次数", |
| | | "sw64次数":"sw64次数", |
| | | "总碳排量":"总碳排量(kgCO₂e/kg)", |
| | | "sw60碳排量":"sw60碳排量", |
| | | "sw61碳排量":"sw61碳排量", |
| | | "sw62碳排量":"sw62碳排量", |
| | | "sw63碳排量":"sw63碳排量", |
| | | "sw64碳排量":"sw64碳排量", |
| | | "sw62估算销售额":"sw62估算销售额", |
| | | "INIT":"INIT", |
| | | "RUNNING":"RUNNING", |
| | | "SUCCESS":"SUCCESS", |
| | | "FAILED":"FAILED", |
| | | "数据目标日期":"数据目标日期", |
| | | "状态: 未开始, 运行中, 成功, 失败":"状态: 未开始, 运行中, 成功, 失败", |
| | | "任务类型: SITE_DAILY(站点日汇总), DEPT_DAILY(部门日汇总)":"任务类型: SITE_DAILY(站点日汇总), DEPT_DAILY(部门日汇总)" |
| | | } |
| New file |
| | |
| | | { |
| | | "未开始":"未开始", |
| | | "运行中":"运行中", |
| | | "成功":"成功", |
| | | "失败":"失败", |
| | | "任务名称":"任务名称", |
| | | "数据日期":"数据日期", |
| | | "日期范围":"日期范围", |
| | | "更新时间":"更新时间", |
| | | "处理记录数":"处理记录数", |
| | | "失败次数":"失败次数", |
| | | "错误堆栈信息":"错误堆栈信息", |
| | | "开始时间":"开始时间", |
| | | "结束时间":"结束时间", |
| | | "日期":"日期", |
| | | "站点ID":"站点名称", |
| | | "总重量":"总重量", |
| | | "sw60重量":"sw60重量", |
| | | "sw61重量":"sw61重量", |
| | | "sw62重量":"sw62重量", |
| | | "sw63重量":"sw63重量", |
| | | "sw64重量":"sw64重量", |
| | | "总称重次数":"总称重次数", |
| | | "sw60次数":"sw60次数", |
| | | "sw61次数":"sw61次数", |
| | | "sw62次数":"sw62次数", |
| | | "sw63次数":"sw63次数", |
| | | "sw64次数":"sw64次数", |
| | | "总碳排量":"总碳排量(kgCO₂e/kg)", |
| | | "sw60碳排量":"sw60碳排量", |
| | | "sw61碳排量":"sw61碳排量", |
| | | "sw62碳排量":"sw62碳排量", |
| | | "sw63碳排量":"sw63碳排量", |
| | | "sw64碳排量":"sw64碳排量", |
| | | "sw62估算销售额":"sw62估算销售额", |
| | | "INIT":"INIT", |
| | | "RUNNING":"RUNNING", |
| | | "SUCCESS":"SUCCESS", |
| | | "FAILED":"FAILED", |
| | | "数据目标日期":"数据目标日期", |
| | | "状态: 未开始, 运行中, 成功, 失败":"状态: 未开始, 运行中, 成功, 失败", |
| | | "任务类型: SITE_DAILY(站点日汇总), DEPT_DAILY(部门日汇总)":"任务类型: SITE_DAILY(站点日汇总), DEPT_DAILY(部门日汇总)" |
| | | } |
| New file |
| | |
| | | <template> |
| | | <cl-crud ref="Crud"> |
| | | <cl-row> |
| | | <!-- 刷新按钮 --> |
| | | <cl-refresh-btn /> |
| | | <!-- 新增按钮 --> |
| | | <!--cl-add-btn /--> |
| | | <!-- 删除按钮 --> |
| | | <!--cl-multi-delete-btn /--> |
| | | <cl-flex1 /> |
| | | <!-- 条件搜索 --> |
| | | <cl-search ref="Search" /> |
| | | </cl-row> |
| | | |
| | | <cl-row> |
| | | <!-- 数据表格 --> |
| | | <cl-table ref="Table" /> |
| | | </cl-row> |
| | | |
| | | <cl-row> |
| | | <cl-flex1 /> |
| | | <!-- 分页控件 --> |
| | | <cl-pagination /> |
| | | </cl-row> |
| | | |
| | | <!-- 新增、编辑 --> |
| | | <!--cl-upsert ref="Upsert" /--> |
| | | </cl-crud> |
| | | </template> |
| | | |
| | | <script lang="ts" setup> |
| | | defineOptions({ |
| | | name: "report-dailydepartment" |
| | | }); |
| | | |
| | | import { useCrud, useTable, useUpsert, useSearch } from "@cool-vue/crud"; |
| | | import { useCool } from "/@/cool"; |
| | | import { useI18n } from "vue-i18n"; |
| | | |
| | | const { service } = useCool(); |
| | | const { t } = useI18n(); |
| | | |
| | | // cl-upsert |
| | | /* |
| | | const Upsert = useUpsert({ |
| | | items: [ |
| | | { |
| | | label: t('日期'), |
| | | prop: "date", |
| | | component: { |
| | | name: "el-date-picker", |
| | | props: { type: "date", valueFormat: "YYYY-MM-DD" } |
| | | }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('选择站点'), |
| | | prop: "siteId", |
| | | component: { vm: SiteSelect }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('站点名称'), |
| | | prop: "siteName", |
| | | component: { name: "el-input", props: { clearable: true } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('总重量'), |
| | | prop: "weightTotal", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw60重量'), |
| | | prop: "weightSw60", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw61重量'), |
| | | prop: "weightSw61", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62重量'), |
| | | prop: "weightSw62", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw63重量'), |
| | | prop: "weightSw63", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw64重量'), |
| | | prop: "weightSw64", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_001重量'), |
| | | prop: "weightSw62001", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_002重量'), |
| | | prop: "weightSw62002", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_003重量'), |
| | | prop: "weightSw62003", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_004重量'), |
| | | prop: "weightSw62004", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_005重量'), |
| | | prop: "weightSw62005", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_006重量'), |
| | | prop: "weightSw62006", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_007重量'), |
| | | prop: "weightSw62007", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('总称重次数'), |
| | | prop: "timeTotal", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw60次数'), |
| | | prop: "timeSw60", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw61次数'), |
| | | prop: "timeSw61", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62次数'), |
| | | prop: "timeSw62", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw63次数'), |
| | | prop: "timeSw63", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw64次数'), |
| | | prop: "timeSw64", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62001次数'), |
| | | prop: "timeSw62001", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62002次数'), |
| | | prop: "timeSw62002", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62003次数'), |
| | | prop: "timeSw62003", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62004次数'), |
| | | prop: "timeSw62004", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62005次数'), |
| | | prop: "timeSw62005", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62006次数'), |
| | | prop: "timeSw62006", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62007次数'), |
| | | prop: "timeSw62007", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('总碳排量'), |
| | | prop: "carbonTotal", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw60碳排量'), |
| | | prop: "carbonSw60", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw61碳排量'), |
| | | prop: "carbonSw61", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62碳排量'), |
| | | prop: "carbonSw62", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw63碳排量'), |
| | | prop: "carbonSw63", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw64碳排量'), |
| | | prop: "carbonSw64", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62001碳排量'), |
| | | prop: "carbonSw62001", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62002碳排量'), |
| | | prop: "carbonSw62002", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62003碳排量'), |
| | | prop: "carbonSw62003", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62004碳排量'), |
| | | prop: "carbonSw62004", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62005碳排量'), |
| | | prop: "carbonSw62005", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62006碳排量'), |
| | | prop: "carbonSw62006", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62007碳排量'), |
| | | prop: "carbonSw62007", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62估算销售额'), |
| | | prop: "estimatedSalesSw62", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_001估算销售额'), |
| | | prop: "estimatedSalesSw62001", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_002估算销售额'), |
| | | prop: "estimatedSalesSw62002", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_003估算销售额'), |
| | | prop: "estimatedSalesSw62003", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_004估算销售额'), |
| | | prop: "estimatedSalesSw62004", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_005估算销售额'), |
| | | prop: "estimatedSalesSw62005", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_006估算销售额'), |
| | | prop: "estimatedSalesSw62006", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_007估算销售额'), |
| | | prop: "estimatedSalesSw62007", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | } |
| | | ] |
| | | }); |
| | | */ |
| | | // cl-table |
| | | const Table = useTable({ |
| | | columns: [ |
| | | { type: "selection" }, |
| | | { |
| | | label: t('日期'), |
| | | prop: "date", |
| | | minWidth: 140, |
| | | sortable: "custom", |
| | | component: { name: "cl-date-text", props: { format: "YYYY-MM-DD" } } |
| | | }, |
| | | { label: t('部门名称'), prop: "departmentName", minWidth: 140 }, |
| | | { label: t('总重量'), prop: "weightTotal", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw60重量'), prop: "weightSw60", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw61重量'), prop: "weightSw61", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw62重量'), prop: "weightSw62", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw63重量'), prop: "weightSw63", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw64重量'), prop: "weightSw64", minWidth: 140, sortable: "custom" }, |
| | | { label: t('总称重次数'), prop: "timeTotal", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw60次数'), prop: "timeSw60", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw61次数'), prop: "timeSw61", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw62次数'), prop: "timeSw62", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw63次数'), prop: "timeSw63", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw64次数'), prop: "timeSw64", minWidth: 140, sortable: "custom" }, |
| | | { label: t('总碳排量'), prop: "carbonTotal", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw60碳排量'), prop: "carbonSw60", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw61碳排量'), prop: "carbonSw61", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw62碳排量'), prop: "carbonSw62", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw63碳排量'), prop: "carbonSw63", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw64碳排量'), prop: "carbonSw64", minWidth: 140, sortable: "custom" }, |
| | | { |
| | | label: t('sw62估算销售额'), |
| | | prop: "estimatedSalesSw62", |
| | | minWidth: 140, |
| | | sortable: "custom" |
| | | }, |
| | | { |
| | | label: t('创建时间'), |
| | | prop: "createTime", |
| | | minWidth: 170, |
| | | sortable: "desc", |
| | | component: { name: "cl-date-text" } |
| | | }, |
| | | /* |
| | | { |
| | | label: t('更新时间'), |
| | | prop: "updateTime", |
| | | minWidth: 170, |
| | | sortable: "custom", |
| | | component: { name: "cl-date-text" } |
| | | }, |
| | | { type: "op", buttons: ["edit", "delete"] } |
| | | */ |
| | | ] |
| | | }); |
| | | |
| | | // cl-search |
| | | const Search = useSearch(); |
| | | |
| | | // cl-crud |
| | | const Crud = useCrud( |
| | | { |
| | | service: service.report.dailydepartment |
| | | }, |
| | | (app) => { |
| | | app.refresh(); |
| | | } |
| | | ); |
| | | |
| | | // 刷新 |
| | | function refresh(params?: any) { |
| | | Crud.value?.refresh(params); |
| | | } |
| | | </script> |
| New file |
| | |
| | | <template> |
| | | <cl-crud ref="Crud"> |
| | | <cl-row> |
| | | <!-- 刷新按钮 --> |
| | | <cl-refresh-btn /> |
| | | <!-- 新增按钮 --> |
| | | <!--cl-add-btn /--> |
| | | <!-- 删除按钮 --> |
| | | <!--cl-multi-delete-btn /-->// ...只展示部分字段... // |
| | | <cl-flex1 /> |
| | | <!-- 条件搜索 --> |
| | | <cl-search ref="Search" /> |
| | | </cl-row> |
| | | |
| | | <cl-row> |
| | | <!-- 数据表格 --> |
| | | <cl-table ref="Table" /> |
| | | </cl-row> |
| | | |
| | | <cl-row> |
| | | <cl-flex1 /> |
| | | <!-- 分页控件 --> |
| | | <cl-pagination /> |
| | | </cl-row> |
| | | |
| | | <!-- 新增、编辑 --> |
| | | <!--cl-upsert ref="Upsert" /--> |
| | | </cl-crud> |
| | | </template> |
| | | |
| | | <script lang="ts" setup> |
| | | defineOptions({ |
| | | name: "report-dailysite" |
| | | }); |
| | | |
| | | import { useCrud, useTable, useUpsert, useSearch } from "@cool-vue/crud"; |
| | | import { useCool } from "/@/cool"; |
| | | import { useI18n } from "vue-i18n"; |
| | | |
| | | const { service } = useCool(); |
| | | const { t } = useI18n(); |
| | | |
| | | // cl-upsert |
| | | |
| | | /* |
| | | const Upsert = useUpsert({ |
| | | items: [ |
| | | { |
| | | label: t('日期'), |
| | | prop: "date", |
| | | component: { |
| | | name: "el-date-picker", |
| | | props: { type: "date", valueFormat: "YYYY-MM-DD" } |
| | | }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('站点ID'), |
| | | prop: "siteId", |
| | | component: { name: "el-input", props: { clearable: true } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('站点名称'), |
| | | prop: "siteName", |
| | | component: { name: "el-input", props: { clearable: true } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('总重量'), |
| | | prop: "weightTotal", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw60重量'), |
| | | prop: "weightSw60", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw61重量'), |
| | | prop: "weightSw61", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62重量'), |
| | | prop: "weightSw62", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw63重量'), |
| | | prop: "weightSw63", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw64重量'), |
| | | prop: "weightSw64", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_001重量'), |
| | | prop: "weightSw62001", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_002重量'), |
| | | prop: "weightSw62002", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_003重量'), |
| | | prop: "weightSw62003", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_004重量'), |
| | | prop: "weightSw62004", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_005重量'), |
| | | prop: "weightSw62005", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_006重量'), |
| | | prop: "weightSw62006", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_007重量'), |
| | | prop: "weightSw62007", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('总称重次数'), |
| | | prop: "timeTotal", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw60次数'), |
| | | prop: "timeSw60", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw61次数'), |
| | | prop: "timeSw61", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62次数'), |
| | | prop: "timeSw62", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw63次数'), |
| | | prop: "timeSw63", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw64次数'), |
| | | prop: "timeSw64", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62001次数'), |
| | | prop: "timeSw62001", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62002次数'), |
| | | prop: "timeSw62002", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62003次数'), |
| | | prop: "timeSw62003", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62004次数'), |
| | | prop: "timeSw62004", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62005次数'), |
| | | prop: "timeSw62005", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62006次数'), |
| | | prop: "timeSw62006", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62007次数'), |
| | | prop: "timeSw62007", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('总碳排量'), |
| | | prop: "carbonTotal", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw60碳排量'), |
| | | prop: "carbonSw60", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw61碳排量'), |
| | | prop: "carbonSw61", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62碳排量'), |
| | | prop: "carbonSw62", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw63碳排量'), |
| | | prop: "carbonSw63", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw64碳排量'), |
| | | prop: "carbonSw64", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62001碳排量'), |
| | | prop: "carbonSw62001", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62002碳排量'), |
| | | prop: "carbonSw62002", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62003碳排量'), |
| | | prop: "carbonSw62003", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62004碳排量'), |
| | | prop: "carbonSw62004", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62005碳排量'), |
| | | prop: "carbonSw62005", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62006碳排量'), |
| | | prop: "carbonSw62006", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62007碳排量'), |
| | | prop: "carbonSw62007", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62估算销售额'), |
| | | prop: "estimatedSalesSw62", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_001估算销售额'), |
| | | prop: "estimatedSalesSw62001", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_002估算销售额'), |
| | | prop: "estimatedSalesSw62002", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_003估算销售额'), |
| | | prop: "estimatedSalesSw62003", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_004估算销售额'), |
| | | prop: "estimatedSalesSw62004", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_005估算销售额'), |
| | | prop: "estimatedSalesSw62005", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_006估算销售额'), |
| | | prop: "estimatedSalesSw62006", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('sw62_007估算销售额'), |
| | | prop: "estimatedSalesSw62007", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | } |
| | | ] |
| | | }); |
| | | |
| | | */ |
| | | |
| | | // cl-table |
| | | const Table = useTable({ |
| | | columns: [ |
| | | { type: "selection" }, |
| | | { |
| | | label: t('日期'), |
| | | prop: "date", |
| | | minWidth: 140, |
| | | sortable: "custom", |
| | | component: { name: "cl-date-text", props: { format: "YYYY-MM-DD" } } |
| | | }, |
| | | { label: t('站点名称'), prop: "siteName", minWidth: 140 }, |
| | | { label: t('总重量'), prop: "weightTotal", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw60重量'), prop: "weightSw60", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw61重量'), prop: "weightSw61", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw62重量'), prop: "weightSw62", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw63重量'), prop: "weightSw63", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw64重量'), prop: "weightSw64", minWidth: 140, sortable: "custom" }, |
| | | { label: t('总称重次数'), prop: "timeTotal", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw60次数'), prop: "timeSw60", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw61次数'), prop: "timeSw61", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw62次数'), prop: "timeSw62", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw63次数'), prop: "timeSw63", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw64次数'), prop: "timeSw64", minWidth: 140, sortable: "custom" }, |
| | | { label: t('总碳排量'), prop: "carbonTotal", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw60碳排量'), prop: "carbonSw60", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw61碳排量'), prop: "carbonSw61", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw62碳排量'), prop: "carbonSw62", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw63碳排量'), prop: "carbonSw63", minWidth: 140, sortable: "custom" }, |
| | | { label: t('sw64碳排量'), prop: "carbonSw64", minWidth: 140, sortable: "custom" }, |
| | | { |
| | | label: t('sw62估算销售额'), |
| | | prop: "estimatedSalesSw62", |
| | | minWidth: 140, |
| | | sortable: "custom" |
| | | }, |
| | | { |
| | | label: t('创建时间'), |
| | | prop: "createTime", |
| | | minWidth: 170, |
| | | sortable: "desc", |
| | | component: { name: "cl-date-text" } |
| | | }, |
| | | /* |
| | | { |
| | | label: t('更新时间'), |
| | | prop: "updateTime", |
| | | minWidth: 170, |
| | | sortable: "custom", |
| | | component: { name: "cl-date-text" } |
| | | }, |
| | | { type: "op", buttons: ["edit", "delete"] } |
| | | */ |
| | | ] |
| | | }); |
| | | |
| | | // cl-search |
| | | const Search = useSearch(); |
| | | |
| | | // cl-crud |
| | | const Crud = useCrud( |
| | | { |
| | | service: service.report.dailysite |
| | | }, |
| | | (app) => { |
| | | app.refresh(); |
| | | } |
| | | ); |
| | | |
| | | // 刷新 |
| | | function refresh(params?: any) { |
| | | Crud.value?.refresh(params); |
| | | } |
| | | </script> |
| New file |
| | |
| | | <template> |
| | | <cl-crud ref="Crud"> |
| | | <cl-row> |
| | | <!-- 刷新按钮 --> |
| | | <cl-refresh-btn /> |
| | | <!-- 新增按钮 --> |
| | | <!--cl-add-btn /--> |
| | | <!-- 删除按钮 --> |
| | | <!--cl-multi-delete-btn /--> |
| | | <cl-flex1 /> |
| | | <!-- 条件搜索 --> |
| | | <cl-search ref="Search" /> |
| | | </cl-row> |
| | | |
| | | <cl-row> |
| | | <!-- 数据表格 --> |
| | | <cl-table ref="Table" /> |
| | | </cl-row> |
| | | |
| | | <cl-row> |
| | | <cl-flex1 /> |
| | | <!-- 分页控件 --> |
| | | <cl-pagination /> |
| | | </cl-row> |
| | | |
| | | <!-- 新增、编辑 --> |
| | | <!--cl-upsert ref="Upsert" /--> |
| | | </cl-crud> |
| | | </template> |
| | | |
| | | <script lang="ts" setup> |
| | | defineOptions({ |
| | | name: "report-joblog" |
| | | }); |
| | | |
| | | import { useCrud, useTable, useUpsert, useSearch } from "@cool-vue/crud"; |
| | | import { useCool } from "/@/cool"; |
| | | import { useI18n } from "vue-i18n"; |
| | | import { reactive } from "vue"; |
| | | |
| | | const { service } = useCool(); |
| | | const { t } = useI18n(); |
| | | |
| | | // 选项 |
| | | const options = reactive({ |
| | | status: [ |
| | | { label: t('INIT'), value: 'INIT' }, |
| | | { label: t('RUNNING'), value: 'RUNNING' }, |
| | | { label: t('SUCCESS'), value: 'SUCCESS' }, |
| | | { label: t('FAILED'), value: 'FAILED' } |
| | | ] |
| | | }); |
| | | |
| | | // cl-upsert |
| | | const Upsert = useUpsert({ |
| | | items: [ |
| | | { |
| | | label: t('任务名称'), |
| | | prop: "jobName", |
| | | component: { name: "el-input", props: { clearable: true } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('数据日期'), |
| | | prop: "dataDate", |
| | | component: { |
| | | name: "el-date-picker", |
| | | props: { type: "date", valueFormat: "YYYY-MM-DD" } |
| | | }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('日期范围'), |
| | | prop: "date", |
| | | component: { |
| | | name: "el-date-picker", |
| | | props: { |
| | | type: "daterange", |
| | | valueFormat: "YYYY-MM-DD 00:00:00", |
| | | defaultTime: ["2000-01-31T16:00:00.000Z", "2000-02-01T15:59:59.000Z"] |
| | | } |
| | | }, |
| | | span: 12, |
| | | hook: "datetimeRange" |
| | | }, |
| | | { |
| | | label: t('状态'), |
| | | prop: "status", |
| | | component: { name: "el-radio-group", options: options.status }, |
| | | value: 0, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('处理记录数'), |
| | | prop: "recordsProcessed", |
| | | hook: "number", |
| | | component: { name: "el-input-number", props: { min: 0 } }, |
| | | span: 12, |
| | | required: true |
| | | }, |
| | | { |
| | | label: t('错误堆栈信息'), |
| | | prop: "errorMessage", |
| | | component: { name: "el-input", props: { type: "textarea", rows: 4 } } |
| | | } |
| | | ] |
| | | }); |
| | | |
| | | // cl-table |
| | | const Table = useTable({ |
| | | columns: [ |
| | | { type: "selection" }, |
| | | { label: t('任务名称'), prop: "jobName", minWidth: 140 }, |
| | | { |
| | | label: t('数据日期'), |
| | | prop: "dataDate", |
| | | minWidth: 140, |
| | | sortable: "custom", |
| | | component: { name: "cl-date-text", props: { format: "YYYY-MM-DD" } } |
| | | }, |
| | | { |
| | | label: t('开始时间'), |
| | | prop: "startTime", |
| | | minWidth: 140, |
| | | sortable: "custom", |
| | | component: { name: "cl-date-text", props: { format: "YYYY-MM-DD HH:mm:ss" } } |
| | | }, |
| | | { |
| | | label: t('结束时间'), |
| | | prop: "endTime", |
| | | minWidth: 140, |
| | | sortable: "custom", |
| | | component: { name: "cl-date-text", props: { format: "YYYY-MM-DD HH:mm:ss" } } |
| | | }, |
| | | { label: t('状态'), prop: "status", minWidth: 120, dict: options.status }, |
| | | { |
| | | label: t('处理记录数'), |
| | | prop: "recordsProcessed", |
| | | minWidth: 140, |
| | | sortable: "custom" |
| | | }, |
| | | { |
| | | label: t('失败次数'), |
| | | prop: "failedCount", |
| | | minWidth: 200 |
| | | }, |
| | | { |
| | | label: t('错误堆栈信息'), |
| | | prop: "errorMessage", |
| | | showOverflowTooltip: true, |
| | | minWidth: 200 |
| | | }, |
| | | { |
| | | label: t('创建时间'), |
| | | prop: "createTime", |
| | | minWidth: 170, |
| | | sortable: "desc", |
| | | component: { name: "cl-date-text" } |
| | | }, |
| | | /* |
| | | { |
| | | label: t('更新时间'), |
| | | prop: "updateTime", |
| | | minWidth: 170, |
| | | sortable: "custom", |
| | | component: { name: "cl-date-text" } |
| | | }, |
| | | { type: "op", buttons: ["edit", "delete"] } |
| | | */ |
| | | ] |
| | | }); |
| | | |
| | | // cl-search |
| | | const Search = useSearch(); |
| | | |
| | | // cl-crud |
| | | const Crud = useCrud( |
| | | { |
| | | service: service.report.joblog |
| | | }, |
| | | (app) => { |
| | | app.refresh(); |
| | | } |
| | | ); |
| | | |
| | | // 刷新 |
| | | function refresh(params?: any) { |
| | | Crud.value?.refresh(params); |
| | | } |
| | | </script> |