设备物模型属性和指令界面优化
This commit is contained in:
parent
9ef2ebd13a
commit
38427d204d
@ -28,8 +28,14 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
showOverflow: 'tooltip',
|
showOverflow: 'tooltip',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'identifier',
|
field: 'issueCommand',
|
||||||
title: '标识符',
|
title: '下发指令',
|
||||||
|
minWidth: 140,
|
||||||
|
showOverflow: 'tooltip',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'propertyArray',
|
||||||
|
title: '属性标识符集合',
|
||||||
minWidth: 140,
|
minWidth: 140,
|
||||||
showOverflow: 'tooltip',
|
showOverflow: 'tooltip',
|
||||||
},
|
},
|
||||||
|
|||||||
@ -22,21 +22,69 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
gridOptions: {
|
gridOptions: {
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
field: 'propertyName',
|
field: 'standardFieldDisplayName',
|
||||||
title: '属性名称',
|
title: '标准属性名称',
|
||||||
minWidth: 160,
|
minWidth: 160,
|
||||||
showOverflow: 'tooltip',
|
showOverflow: 'tooltip',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'identifier',
|
field: 'standardFieldName',
|
||||||
title: '标识符',
|
title: '标准属性标识符',
|
||||||
|
minWidth: 160,
|
||||||
|
showOverflow: 'tooltip',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'standardFieldValueType',
|
||||||
|
title: '标准属性值类型',
|
||||||
|
minWidth: 160,
|
||||||
|
showOverflow: 'tooltip',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'ioTPlatformRawFieldName',
|
||||||
|
title: '平台属性标识符',
|
||||||
|
minWidth: 160,
|
||||||
|
showOverflow: 'tooltip',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'ioTPlatformRawFieldDataType',
|
||||||
|
title: '平台属性值类型',
|
||||||
|
minWidth: 160,
|
||||||
|
showOverflow: 'tooltip',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'isValueNeedConvert',
|
||||||
|
title: '值类型是否转换',
|
||||||
|
minWidth: 120,
|
||||||
|
showOverflow: 'tooltip',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'parsingSequence',
|
||||||
|
title: '解析方式',
|
||||||
minWidth: 140,
|
minWidth: 140,
|
||||||
showOverflow: 'tooltip',
|
showOverflow: 'tooltip',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'dataType',
|
field: 'nativeSkipNumber',
|
||||||
title: '数据类型',
|
title: '正序跳过数量',
|
||||||
minWidth: 120,
|
minWidth: 140,
|
||||||
|
showOverflow: 'tooltip',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'nativeTakeNumber',
|
||||||
|
title: '正序获取数量',
|
||||||
|
minWidth: 140,
|
||||||
|
showOverflow: 'tooltip',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'reversalSkipNumber',
|
||||||
|
title: '反转跳过数量',
|
||||||
|
minWidth: 140,
|
||||||
|
showOverflow: 'tooltip',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'reversalTakeNumber',
|
||||||
|
title: '反转获取数量',
|
||||||
|
minWidth: 140,
|
||||||
showOverflow: 'tooltip',
|
showOverflow: 'tooltip',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -55,7 +103,8 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
|||||||
if (!deviceThingModelId.value) {
|
if (!deviceThingModelId.value) {
|
||||||
return { items: [], totalCount: 0 };
|
return { items: [], totalCount: 0 };
|
||||||
}
|
}
|
||||||
const { data } = await postDeviceThingModelManagementPropertyPageAsync({
|
const { data } =
|
||||||
|
await postDeviceThingModelManagementPropertyPageAsync({
|
||||||
body: {
|
body: {
|
||||||
pageIndex: page.currentPage,
|
pageIndex: page.currentPage,
|
||||||
pageSize: page.pageSize,
|
pageSize: page.pageSize,
|
||||||
@ -90,5 +139,3 @@ const [Modal, modalApi] = useVbenModal({
|
|||||||
</Grid>
|
</Grid>
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user