设备监控-指标详情devId修改
This commit is contained in:
@@ -60,7 +60,7 @@ const init = () => {
|
|||||||
echartsData.value = null
|
echartsData.value = null
|
||||||
loading.value = true
|
loading.value = true
|
||||||
getDeviceDataTrend({
|
getDeviceDataTrend({
|
||||||
devId:props.detail.pid,
|
devId:props.detail.devId,
|
||||||
endTime: datePickerRef.value.timeValue[1],
|
endTime: datePickerRef.value.timeValue[1],
|
||||||
lineId: props.detail.lineId,
|
lineId: props.detail.lineId,
|
||||||
startTime: datePickerRef.value.timeValue[0],
|
startTime: datePickerRef.value.timeValue[0],
|
||||||
|
|||||||
@@ -329,7 +329,8 @@ const handleReturn = () => {
|
|||||||
}
|
}
|
||||||
const getDeviceDataTrend = (e: any) => {
|
const getDeviceDataTrend = (e: any) => {
|
||||||
detail.value = {
|
detail.value = {
|
||||||
lineId: formInline.lineId,
|
devId: deviceId.value,
|
||||||
|
lineId: lineId.value,
|
||||||
...e
|
...e
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -459,9 +460,6 @@ const handleClick = async (tab?: any) => {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
// await getTabsDataByType(obj).then(res => {
|
|
||||||
// console.log(res, '趋势数据结果')
|
|
||||||
// })
|
|
||||||
trendRef.value && trendRef.value.getTrendRequest(obj)
|
trendRef.value && trendRef.value.getTrendRequest(obj)
|
||||||
}
|
}
|
||||||
//查询实时数据
|
//查询实时数据
|
||||||
@@ -495,9 +493,6 @@ const handleClick = async (tab?: any) => {
|
|||||||
}
|
}
|
||||||
//暂态事件表格请求参数
|
//暂态事件表格请求参数
|
||||||
eventRef.value && eventRef.value.getTableParams(obj)
|
eventRef.value && eventRef.value.getTableParams(obj)
|
||||||
// await getTabsDataByType(obj).then(res => {
|
|
||||||
// console.log(res, '0000000')
|
|
||||||
// })
|
|
||||||
}
|
}
|
||||||
//查询当前指标
|
//查询当前指标
|
||||||
if (!dataSet.value.includes('_')) {
|
if (!dataSet.value.includes('_')) {
|
||||||
@@ -590,7 +585,6 @@ watch(
|
|||||||
watch(
|
watch(
|
||||||
() => tableData.value,
|
() => tableData.value,
|
||||||
(val: any, oldVal: any) => {
|
(val: any, oldVal: any) => {
|
||||||
// console.log(val, '==========', oldVal)
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
onMounted(() => {})
|
onMounted(() => {})
|
||||||
|
|||||||
Reference in New Issue
Block a user