feat(operations): add auditable source provider maintenance

This commit is contained in:
lingniu
2026-07-16 20:01:08 +08:00
parent c270140006
commit 9a5e6e0c4f
19 changed files with 430 additions and 67 deletions

View File

@@ -289,6 +289,8 @@ export const api = {
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
version: update.version,
providerName: update.providerName,
providerEvidence: update.providerEvidence,
enabled: update.enabled,
priority: update.priority,
remark: update.remark

View File

@@ -546,6 +546,7 @@ export interface VehicleSourceEvidence {
export interface VehicleLocationSourceEvidence {
protocol: string;
sourceLabel: string;
providerOverride: string;
terminalLabel: string;
sourceKind: string;
sourceRef?: string;
@@ -553,6 +554,7 @@ export interface VehicleLocationSourceEvidence {
recommended: boolean;
enabled: boolean;
priority: number;
policyRemark?: string;
online: boolean;
qualityStatus: string;
qualityReason: string;
@@ -597,6 +599,7 @@ export interface VehicleSourceEvidenceComparison {
export interface VehicleSourcePolicyAudit {
version: number;
changeType: 'policy' | 'provider';
protocol: string;
sourceRef: string;
sourceLabel: string;
@@ -624,6 +627,8 @@ export interface VehicleSourceDiagnostic {
export interface VehicleSourcePolicyUpdate {
version: number;
sourceRef: string;
providerName: string;
providerEvidence: string;
enabled: boolean;
priority: number;
remark: string;