文件服务表格高度问题&初始化选中便携式设备问题修改

This commit is contained in:
zhujiyan
2024-10-23 16:29:13 +08:00
parent 8131158545
commit 896362b62f
3 changed files with 22 additions and 8 deletions

View File

@@ -319,7 +319,6 @@ const nodeClick = async (e: anyObj) => {
await getTestRecordInfo(id)
.then(async res => {
deviceData.value = res.data
console.log(deviceData.value, '.......')
if (res.data.records.length == 1) {
activeName.value = res.data.records[0].id
} else {
@@ -334,7 +333,6 @@ const nodeClick = async (e: anyObj) => {
}
})
}
console.log(activeName.value, '7777777777777')
searchForm.value.index = [indexOptions.value[0].id]
schemeTreeRef.value.getPlanData(deviceData.value)
@@ -588,7 +586,6 @@ const init = (flag: boolean) => {
echartsData.value.yAxis[index].max = max
})
}
// console.log("🚀 ~ .1111 ~ echartsData.value :", echartsData.value)
loading.value = false
}
@@ -690,12 +687,10 @@ const handleExport = async () => {
}
let itemList: any = list[index].data[indexs]
if (itemList && itemList.length != 0) {
console.log(itemList, 'hhhhh')
itemList[1] = itemList[1] ? itemList[1] : '/'
index == list.length - 1 ? (strs += itemList[1]) : (strs += itemList[1] + ',')
} else {
index == list.length - 1 ? (strs += '/') : (strs += '/,')
console.log(index, 'my')
}
})
if (count == 0 && xAxis[indexs]) {