完善各种需求

This commit is contained in:
BBIT-Kai
2026-04-14 16:52:30 +08:00
parent 1c68762421
commit 44181bcf5a
19 changed files with 1848 additions and 282 deletions
@@ -1,6 +1,13 @@
import { requestClient } from '#/api/request';
export namespace TraceabilityApi {
export interface CoordinateValue {
lng?: number | null;
lat?: number | null;
address?: string;
source?: 'address' | 'manual' | 'map' | string;
}
export interface OssStoredValue {
bucketName: string;
objectName: string;
@@ -21,6 +28,7 @@ export namespace TraceabilityApi {
}
export interface FieldDefinition {
sort?: number;
key: string;
label: string;
type: string;
@@ -71,6 +79,7 @@ export namespace TraceabilityApi {
id: string;
name: string;
description: string;
remark: string;
productName: string;
industryName: string;
coverImage: string;
@@ -91,6 +100,7 @@ export namespace TraceabilityApi {
name: string;
previewCode: string;
description: string;
remark: string;
productName: string;
coverImage: string;
coverImagePreviewUrl?: string;