完善各种需求
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user