|
|
@@ -75,10 +75,13 @@ export interface CameraDetailServer {
|
|
|
integrationState: number;
|
|
|
/** 状态: 0-启用, 1-禁用 */
|
|
|
status: number;
|
|
|
- /** 相机流 */
|
|
|
pushstreamIp: string;
|
|
|
- /** 渲染相机流 */
|
|
|
+ // 视频流绝对地址
|
|
|
+ pushstreamIpAbs: string;
|
|
|
+ /** 渲染框的视频流相对地址 */
|
|
|
pushstreamRenderUrl: string;
|
|
|
+ /** 渲染框的视频流绝对地址 */
|
|
|
+ pushstreamRenderUrlAbs: string;
|
|
|
/** 工位code */
|
|
|
workspaceCode: string;
|
|
|
|
|
|
@@ -183,21 +186,26 @@ export const addNVRCameraItem = (data: CameraNVRItem) => {
|
|
|
});
|
|
|
};
|
|
|
|
|
|
-
|
|
|
// 批量添加相机 - 下载场景code
|
|
|
export function downloadSpaceCode() {
|
|
|
- return http.request({
|
|
|
- url: '/addCameraList/downloadWorkspaceCodeForm',
|
|
|
- method: 'get',
|
|
|
- responseType: 'blob',
|
|
|
- }, { isShowErrorMessage: false, isTransformResponse: false });
|
|
|
-};
|
|
|
+ return http.request(
|
|
|
+ {
|
|
|
+ url: '/addCameraList/downloadWorkspaceCodeForm',
|
|
|
+ method: 'get',
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ { isShowErrorMessage: false, isTransformResponse: false },
|
|
|
+ );
|
|
|
+}
|
|
|
|
|
|
// 批量添加相机 - 下载模板
|
|
|
export function downloadBatchTemplate() {
|
|
|
- return http.request({
|
|
|
- url: '/skyeye/CAMERALIST_TEMPLATE/camera-upload-template.xlsx',
|
|
|
- method: 'get',
|
|
|
- responseType: 'blob',
|
|
|
- }, { urlPrefix: '/skyeye-file-upload', isShowErrorMessage: false, isTransformResponse: false });
|
|
|
-};
|
|
|
+ return http.request(
|
|
|
+ {
|
|
|
+ url: '/skyeye/CAMERALIST_TEMPLATE/camera-upload-template.xlsx',
|
|
|
+ method: 'get',
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ { urlPrefix: '/skyeye-file-upload', isShowErrorMessage: false, isTransformResponse: false },
|
|
|
+ );
|
|
|
+}
|