|
@@ -42,6 +42,30 @@ export interface View {
|
|
RatioFactorLength: number;
|
|
RatioFactorLength: number;
|
|
TargetEXI: number;
|
|
TargetEXI: number;
|
|
};
|
|
};
|
|
|
|
+ // 动物???
|
|
|
|
+ Common: {
|
|
|
|
+ CollimatorCenter: string;
|
|
|
|
+ CollimatorFilter: string;
|
|
|
|
+ CollimatorNoChange: boolean;
|
|
|
|
+ CollimatorSize: string;
|
|
|
|
+ CollimatorSizeLength: string;
|
|
|
|
+ CollimatorSizeWidth: string;
|
|
|
|
+ ImageHorizontalFlip: string;
|
|
|
|
+ ImageInvert: boolean;
|
|
|
|
+ ImageLaterality: string;
|
|
|
|
+ ImageRotate: string;
|
|
|
|
+ LabelPosition: string;
|
|
|
|
+ RatioFactorLength: number;
|
|
|
|
+ RatioFactorSize: number;
|
|
|
|
+ RatioFactorThickness: number;
|
|
|
|
+ RatioFactorWeight: number;
|
|
|
|
+ StandPos: string;
|
|
|
|
+ TargetEXI: number;
|
|
|
|
+ UseMaskMapMatrix: boolean;
|
|
|
|
+ ViewID: string;
|
|
|
|
+ XIndex: number;
|
|
|
|
+ YIndex: number;
|
|
|
|
+ };
|
|
};
|
|
};
|
|
sort: number;
|
|
sort: number;
|
|
is_enabled: boolean;
|
|
is_enabled: boolean;
|
|
@@ -84,7 +108,12 @@ export const fetchViews = async (
|
|
};
|
|
};
|
|
|
|
|
|
export const fetchViewDetail = async (id: string): Promise<View> => {
|
|
export const fetchViewDetail = async (id: string): Promise<View> => {
|
|
|
|
+ console.log(`[viewActions] Fetching view detail for ID: ${id}`);
|
|
const response = await axiosInstance.get(`/auth/protocol/view/${id}`);
|
|
const response = await axiosInstance.get(`/auth/protocol/view/${id}`);
|
|
|
|
+ console.log(
|
|
|
|
+ `[viewActions] View detail response:`,
|
|
|
|
+ JSON.stringify(response.data, null, 3)
|
|
|
|
+ );
|
|
return response.data.data;
|
|
return response.data.data;
|
|
};
|
|
};
|
|
|
|
|