云南曲靖微服务测试用例

This commit is contained in:
sjl
2025-07-25 16:28:14 +08:00
parent c47d524f9d
commit b874da9f96
4 changed files with 33 additions and 7 deletions

View File

@@ -228,6 +228,17 @@ const tableStore = new TableStore({
formatter: function (row) {
return row.cellValue ? row.cellValue : '/'
}
},
{
title: formData.value.statisticalType.name,
field: 'name',
align: 'left',
type: 'html',
treeNode: true,
width: 350,
formatter: function (row) {
return row.cellValue ? row.cellValue : '/'
}
},
{
title: '网络参数',
@@ -324,7 +335,6 @@ const tableStore = new TableStore({
loadCallback: () => {
tableStore.table.data = tree2List(tableStore.table.data, Math.random() * 1000)
tableStore.table.column[0].title = formData.value.statisticalType.name
tableStore.table.column[0].type = "html"
chartsRef.value && chartsRef.value.getTableStoreParams(tableStore.table.params)
setTimeout(() => {
activeName.value == 0 && tableRef.value && tableRef.value.getRef().setAllTreeExpand(true)
@@ -439,6 +449,23 @@ watch(
deep: true
}
)
watch(
() => tableStore.table,
(val) => {
if(val.data.length > 0){
tableStore.table.column[0].visible = true
tableStore.table.column[1].visible = false
}else{
tableStore.table.column[0].visible = false
tableStore.table.column[1].visible = true
}
},
{
immediate: true,
deep: true
}
)
</script>
<style lang="scss" scoped>

View File

@@ -497,8 +497,7 @@ const lookPoint = (e: any) => {
}
// 搜索
const DeviceQ = () => {
console.log(12313, QueryList.value)
showCollapse.value = true
if (inputQuery.value.length == 0) return

View File

@@ -90,8 +90,8 @@
<el-descriptions-item label="网络参数">
{{ infoWindowPoint.ip }}
</el-descriptions-item>
<el-descriptions-item label="PT变比">{{ infoWindowPoint.pt2 }}</el-descriptions-item>
<el-descriptions-item label="CT变比">{{ infoWindowPoint.ct2 }}</el-descriptions-item>
<el-descriptions-item label="PT变比">{{ infoWindowPoint.pt1 / infoWindowPoint.pt2 }}</el-descriptions-item>
<el-descriptions-item label="CT变比">{{ infoWindowPoint.ct1 / infoWindowPoint.ct2 }}</el-descriptions-item>
<el-descriptions-item label="生产厂家">
{{ infoWindowPoint.manufacturer }}
</el-descriptions-item>

View File

@@ -107,8 +107,8 @@
<el-descriptions-item label="网络参数">
{{ infoWindowPoint.ip }}
</el-descriptions-item>
<el-descriptions-item label="PT变比">{{ infoWindowPoint.pt2 }}</el-descriptions-item>
<el-descriptions-item label="CT变比">{{ infoWindowPoint.ct2 }}</el-descriptions-item>
<el-descriptions-item label="PT变比">{{ infoWindowPoint.pt1 / infoWindowPoint.pt2 }}</el-descriptions-item>
<el-descriptions-item label="CT变比">{{ infoWindowPoint.ct1 / infoWindowPoint.ct2 }}</el-descriptions-item>
<el-descriptions-item label="生产厂家">
{{ infoWindowPoint.manufacturer }}
</el-descriptions-item>