|
@@ -248,6 +248,7 @@ const Product = observer(() => {
|
|
|
dataIndex: 'id',
|
|
dataIndex: 'id',
|
|
|
width: 300,
|
|
width: 300,
|
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
|
|
|
+ fixed: 'left',
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '名称',
|
|
title: '名称',
|
|
@@ -258,7 +259,7 @@ const Product = observer(() => {
|
|
|
{
|
|
{
|
|
|
title: '接入方式',
|
|
title: '接入方式',
|
|
|
dataIndex: 'transportProtocol',
|
|
dataIndex: 'transportProtocol',
|
|
|
- width: 120,
|
|
|
|
|
|
|
+ width: 150,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: '设备类型',
|
|
title: '设备类型',
|
|
@@ -278,7 +279,7 @@ const Product = observer(() => {
|
|
|
status: 'gateway',
|
|
status: 'gateway',
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
- width: 120,
|
|
|
|
|
|
|
+ width: 150,
|
|
|
render: (_, row) => <>{row.deviceType ? row.deviceType.text : undefined}</>,
|
|
render: (_, row) => <>{row.deviceType ? row.deviceType.text : undefined}</>,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -317,6 +318,8 @@ const Product = observer(() => {
|
|
|
id: 'pages.system.description',
|
|
id: 'pages.system.description',
|
|
|
defaultMessage: '说明',
|
|
defaultMessage: '说明',
|
|
|
}),
|
|
}),
|
|
|
|
|
+ ellipsis: true,
|
|
|
|
|
+ width: 300,
|
|
|
// hideInSearch: true,
|
|
// hideInSearch: true,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -385,6 +388,7 @@ const Product = observer(() => {
|
|
|
}),
|
|
}),
|
|
|
valueType: 'option',
|
|
valueType: 'option',
|
|
|
width: 200,
|
|
width: 200,
|
|
|
|
|
+ fixed: 'right',
|
|
|
render: (_, record) => tools(record),
|
|
render: (_, record) => tools(record),
|
|
|
},
|
|
},
|
|
|
];
|
|
];
|
|
@@ -405,6 +409,7 @@ const Product = observer(() => {
|
|
|
columns={columns}
|
|
columns={columns}
|
|
|
actionRef={actionRef}
|
|
actionRef={actionRef}
|
|
|
options={{ fullScreen: true }}
|
|
options={{ fullScreen: true }}
|
|
|
|
|
+ scroll={{ x: 1366 }}
|
|
|
// request={async (params = {}) => {
|
|
// request={async (params = {}) => {
|
|
|
// return await lastValueFrom(
|
|
// return await lastValueFrom(
|
|
|
// service.queryZipCount(encodeQuery({ ...params, sorts: { id: 'ascend' } })),
|
|
// service.queryZipCount(encodeQuery({ ...params, sorts: { id: 'ascend' } })),
|