feat:工单类型添加 处理优先级字段
Some checks failed
/ Explore-Gitea-Actions (push) Has been cancelled

自动派单不显示抢单、派单按钮
This commit is contained in:
2025-08-25 14:43:32 +08:00
parent faababd9a4
commit 5975d1b94d
11 changed files with 127 additions and 46 deletions

View File

@@ -59,3 +59,19 @@ export function workOrdersUpdate(data: WorkOrdersForm) {
export function workOrdersRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/workOrders/${id}`);
}
/**
* 派单
* @param data
*/
export function workOrdersDispatch(data: WorkOrdersForm) {
return requestClient.putWithMsg<void>('/property/workOrders/dispatch', data);
}
/**
* 抢单
* @param data
*/
export function workOrdersGrab(data: WorkOrdersForm) {
return requestClient.putWithMsg<void>('/property/workOrders/grab', data);
}

View File

@@ -83,7 +83,7 @@ export interface WorkOrdersVO {
*/
imgUrl: string;
evaluateImgPath: string | undefined;
evaluateImgPath: string[];
/**
* 评价内容
*/
@@ -101,7 +101,7 @@ export interface WorkOrdersVO {
*/
orderImgUrl: string;
orderImgPath: string|undefined;
orderImgPath: string[];
reportingType: string;

View File

@@ -37,6 +37,11 @@ export interface WorkOrdersTypeVO {
isTransfers: string;
excludeId: string;
/**
* 处理优先级
*/
processingWeight: string;
}
export interface WorkOrdersTypeForm extends BaseEntity {
@@ -79,6 +84,11 @@ export interface WorkOrdersTypeForm extends BaseEntity {
* 上级类型id
*/
parentId?: string;
/**
* 处理优先级
*/
processingWeight: string;
}
export interface WorkOrdersTypeQuery extends PageQuery {