接单工单支持编辑与删除,修复编辑押金不生效问题

This commit is contained in:
yml2213
2026-08-01 18:35:12 +08:00
parent fddb757078
commit de33bfa74c
8 changed files with 408 additions and 1 deletions
+8
View File
@@ -187,6 +187,14 @@ export function apiPost<T>(url: string, data?: unknown) {
})
}
export function apiPut<T>(url: string, data?: unknown) {
return request<T>({
method: 'PUT',
url,
data: data as Record<string, unknown>,
})
}
export function apiPostForm<T>(url: string, data: FormData) {
return request<T>({
method: 'POST',