Merge branch 'develop' of http://10.0.0.88/web-project/zhst-lambo into develop
This commit is contained in:
commit
d6fab922a9
@ -15,7 +15,9 @@
|
|||||||
|
|
||||||
&__items {
|
&__items {
|
||||||
padding: 8px 4px;
|
padding: 8px 4px;
|
||||||
overflow: scroll;
|
width: 100%;
|
||||||
|
height: calc(100% - 105px);
|
||||||
|
overflow-y: scroll;
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -35,12 +35,14 @@ export interface AlgorithmConfigProps {
|
|||||||
drawListener?: (data: any) => void;
|
drawListener?: (data: any) => void;
|
||||||
algorithmTableDataSource?: {
|
algorithmTableDataSource?: {
|
||||||
id: string;
|
id: string;
|
||||||
// 模板名称
|
templateId:string; // 模版Id
|
||||||
templateName: string;
|
templateName: string; // 模板名称
|
||||||
// 运行周期
|
status:boolean; // 算法启用状态
|
||||||
operatingCycle: string;
|
operatingCycle: string; // 运行周期
|
||||||
// 算力占用
|
algorithmOccupied: number; // 算力占用
|
||||||
algorithmOccupied: number;
|
solutionId:string; // 算法Id
|
||||||
|
solutionName: string; // 算法名称
|
||||||
|
solutionParameter: ''; // josn格式算法配置
|
||||||
}[];
|
}[];
|
||||||
timeTemplateDataSource?: {
|
timeTemplateDataSource?: {
|
||||||
id: string;
|
id: string;
|
||||||
@ -58,6 +60,7 @@ export interface AlgorithmConfigProps {
|
|||||||
selectedKey?: string
|
selectedKey?: string
|
||||||
rowKey?: string
|
rowKey?: string
|
||||||
type: AlgorithmTableProps<any>['tableType']
|
type: AlgorithmTableProps<any>['tableType']
|
||||||
|
title?:string; // boxList列表的属性名称【点位列表、盒子列表】
|
||||||
onSelect?: (key: string, info?: any) => void
|
onSelect?: (key: string, info?: any) => void
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,7 +81,7 @@ const AlgorithmConfig = forwardRef<AlgorithmConfigRef, AlgorithmConfigProps>((pr
|
|||||||
selectedKey,
|
selectedKey,
|
||||||
type = 'multiple',
|
type = 'multiple',
|
||||||
rowKey = 'id',
|
rowKey = 'id',
|
||||||
onSelect
|
onSelect, title='盒子名称',
|
||||||
} = props
|
} = props
|
||||||
const drawImageRef = useRef<ImgViewRef>(null)
|
const drawImageRef = useRef<ImgViewRef>(null)
|
||||||
const { token } = useToken()
|
const { token } = useToken()
|
||||||
@ -94,8 +97,8 @@ const AlgorithmConfig = forwardRef<AlgorithmConfigRef, AlgorithmConfigProps>((pr
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex style={{ border: `1px solid ${token.colorBorder}`, backgroundColor: token.colorBgBase }}>
|
<Flex style={{ border: `1px solid ${token.colorBorder}`, backgroundColor: token.colorBgBase }}>
|
||||||
<div title="盒子列表" style={{ width: '13.9%' }}>
|
<div title={title} style={{ width: '13.9%' }}>
|
||||||
<Title>盒子列表</Title>
|
<Title>{title}</Title>
|
||||||
<div style={{ borderTop: `1px solid ${token.colorBorder}` }}>
|
<div style={{ borderTop: `1px solid ${token.colorBorder}` }}>
|
||||||
{boxList.map(item => {
|
{boxList.map(item => {
|
||||||
return (
|
return (
|
||||||
|
4
packages/request/es/index.d.ts
vendored
4
packages/request/es/index.d.ts
vendored
@ -5,7 +5,7 @@ export interface ReqConfigProps {
|
|||||||
errorHandler?: (error: any, opts: any) => void;
|
errorHandler?: (error: any, opts: any) => void;
|
||||||
errorThrower?: (err: any) => void;
|
errorThrower?: (err: any) => void;
|
||||||
};
|
};
|
||||||
authorization: string;
|
authorization?: string;
|
||||||
showMsg?: boolean;
|
showMsg?: boolean;
|
||||||
}
|
}
|
||||||
export declare const reqConfig: (config: ReqConfigProps) => {
|
export declare const reqConfig: (config: ReqConfigProps) => {
|
||||||
@ -15,7 +15,7 @@ export declare const reqConfig: (config: ReqConfigProps) => {
|
|||||||
errorHandler?: ((error: any, opts: any) => void) | undefined;
|
errorHandler?: ((error: any, opts: any) => void) | undefined;
|
||||||
errorThrower?: ((err: any) => void) | undefined;
|
errorThrower?: ((err: any) => void) | undefined;
|
||||||
};
|
};
|
||||||
authorization: string;
|
authorization?: string | undefined;
|
||||||
showMsg?: boolean | undefined;
|
showMsg?: boolean | undefined;
|
||||||
requestInterceptors: (((url: any, options: any) => {
|
requestInterceptors: (((url: any, options: any) => {
|
||||||
url: any;
|
url: any;
|
||||||
|
4
packages/request/lib/index.d.ts
vendored
4
packages/request/lib/index.d.ts
vendored
@ -5,7 +5,7 @@ export interface ReqConfigProps {
|
|||||||
errorHandler?: (error: any, opts: any) => void;
|
errorHandler?: (error: any, opts: any) => void;
|
||||||
errorThrower?: (err: any) => void;
|
errorThrower?: (err: any) => void;
|
||||||
};
|
};
|
||||||
authorization: string;
|
authorization?: string;
|
||||||
showMsg?: boolean;
|
showMsg?: boolean;
|
||||||
}
|
}
|
||||||
export declare const reqConfig: (config: ReqConfigProps) => {
|
export declare const reqConfig: (config: ReqConfigProps) => {
|
||||||
@ -15,7 +15,7 @@ export declare const reqConfig: (config: ReqConfigProps) => {
|
|||||||
errorHandler?: ((error: any, opts: any) => void) | undefined;
|
errorHandler?: ((error: any, opts: any) => void) | undefined;
|
||||||
errorThrower?: ((err: any) => void) | undefined;
|
errorThrower?: ((err: any) => void) | undefined;
|
||||||
};
|
};
|
||||||
authorization: string;
|
authorization?: string | undefined;
|
||||||
showMsg?: boolean | undefined;
|
showMsg?: boolean | undefined;
|
||||||
requestInterceptors: (((url: any, options: any) => {
|
requestInterceptors: (((url: any, options: any) => {
|
||||||
url: any;
|
url: any;
|
||||||
|
Loading…
Reference in New Issue
Block a user