feat:区分投诉
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m44s

This commit is contained in:
uiuJun 2025-10-10 09:58:03 +08:00
parent 6014e42cb6
commit afa03b2fc2
2 changed files with 11 additions and 2 deletions

View File

@ -39,7 +39,10 @@ export default function Index({ title = '投诉列表' }) {
{...MyProTableProps.props}
request={async (params, sort) =>
MyProTableProps.request(
{ ...params, type: HouseWorkOrdersTypeEnum.Complaint.value },
{
...params,
type: [HouseWorkOrdersTypeEnum.Complaint.value],
},
sort,
Apis.WorkOrder.HouseWorkOrders.List,
)

View File

@ -41,7 +41,13 @@ export default function Index({ title = '工单管理' }) {
{...MyProTableProps.props}
request={async (params, sort) =>
MyProTableProps.request(
params,
{
...params,
type: [
HouseWorkOrdersTypeEnum.Repair.value,
HouseWorkOrdersTypeEnum.Incident.value,
],
},
sort,
Apis.WorkOrder.HouseWorkOrders.List,
)