|
@@ -24,6 +24,7 @@ import type {
|
|
DeviceParamGroupRels,
|
|
DeviceParamGroupRels,
|
|
DeviceParamGroups,
|
|
DeviceParamGroups,
|
|
EquipmentInformationForm,
|
|
EquipmentInformationForm,
|
|
|
|
+ GatewayDataItem,
|
|
GroupingList,
|
|
GroupingList,
|
|
ListEquipmentParametersItem,
|
|
ListEquipmentParametersItem,
|
|
PhysicalInterfaceList,
|
|
PhysicalInterfaceList,
|
|
@@ -319,7 +320,7 @@ const fuzzyQuery = (value: string) => {
|
|
|
|
|
|
const postGatewayLinkProtocolList = (linkId: number, id: number, monitorType: string) => {
|
|
const postGatewayLinkProtocolList = (linkId: number, id: number, monitorType: string) => {
|
|
handleRequest(async () => {
|
|
handleRequest(async () => {
|
|
- const records = await getAllGatewayLinkProtocol<ListEquipmentParametersItem[]>({
|
|
|
|
|
|
+ const records = await getAllGatewayLinkProtocol<GatewayDataItem[]>({
|
|
linkId,
|
|
linkId,
|
|
monitorType,
|
|
monitorType,
|
|
searchContent: monitorType === 'monitor' ? monitorSearchContent.value : controlSearchContent.value,
|
|
searchContent: monitorType === 'monitor' ? monitorSearchContent.value : controlSearchContent.value,
|
|
@@ -329,8 +330,8 @@ const postGatewayLinkProtocolList = (linkId: number, id: number, monitorType: st
|
|
records.forEach((item) => {
|
|
records.forEach((item) => {
|
|
listAllEquipmentParameters.value.push({
|
|
listAllEquipmentParameters.value.push({
|
|
...item,
|
|
...item,
|
|
- deviceParamCode: item.gatewayParamCode,
|
|
|
|
- deviceParamName: item.gatewayParamName,
|
|
|
|
|
|
+ deviceParamCode: item.platformParamCode,
|
|
|
|
+ deviceParamName: item.platformParamName,
|
|
groupId: undefined,
|
|
groupId: undefined,
|
|
groupSerialNum: 1,
|
|
groupSerialNum: 1,
|
|
groupParamSerialNum: undefined,
|
|
groupParamSerialNum: undefined,
|
|
@@ -353,8 +354,8 @@ const postGatewayLinkProtocolList = (linkId: number, id: number, monitorType: st
|
|
records.forEach((item) => {
|
|
records.forEach((item) => {
|
|
remoteAllListEquipmentParameters.value.push({
|
|
remoteAllListEquipmentParameters.value.push({
|
|
...item,
|
|
...item,
|
|
- deviceParamCode: item.gatewayParamCode,
|
|
|
|
- deviceParamName: item.gatewayParamName,
|
|
|
|
|
|
+ deviceParamCode: item.platformParamCode,
|
|
|
|
+ deviceParamName: item.platformParamName,
|
|
groupId: undefined,
|
|
groupId: undefined,
|
|
groupSerialNum: 1,
|
|
groupSerialNum: 1,
|
|
groupParamSerialNum: undefined,
|
|
groupParamSerialNum: undefined,
|