Files
template-10519/src/api/hjm/hjmViolation/model/index.ts
赵忠林 52d2d7c773 feat(violation):重构违章列表页面并新增组件- 移除原有列表展示逻辑,使用Items组件渲染列表项
- 新增FixedButton组件用于底部固定按钮- 实现无限滚动加载功能替换原有分页
- 调整搜索栏样式和位置,优化用户体验- 根据用户角色过滤数据展示内容- 添加车辆图片字段支持
- 注释掉处理状态选择功能,待后续完善
2025-10-29 14:41:47 +08:00

47 lines
842 B
TypeScript

import type { PageParam } from '@/api/index';
/**
* 黄家明_违章记录
*/
export interface HjmViolation {
// 自增ID
id?: number;
// 车辆编号
code?: string;
// 车辆图片
image?: string;
// 标题
title?: string;
// 文章分类ID
categoryId?: number;
// 处罚金额
money?: string;
// 扣分
score?: string;
// 录入员
adminId?: number;
// 用户ID
userId?: number;
// 排序(数字越小越靠前)
sortNumber?: number;
// 备注
comments?: string;
// 状态, 0未处理, 1已处理
status?: number;
// 租户id
tenantId?: number;
// 创建时间
createTime?: string;
// 修改时间
updateTime?: string;
}
/**
* 黄家明_违章记录搜索条件
*/
export interface HjmViolationParam extends PageParam {
id?: number;
code?: string;
keywords?: string;
}