Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
SatelliteDigital
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
nijiawen
SatelliteDigital
Commits
8b667ecf
提交
8b667ecf
authored
3月 06, 2026
作者:
zhuyongshuai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:点击时间段搜索没用的问题
上级
aeaa3e15
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
133 行增加
和
131 行删除
+133
-131
index.vue
src/pages/lefts/index.vue
+133
-131
没有找到文件。
src/pages/lefts/index.vue
浏览文件 @
8b667ecf
...
@@ -146,7 +146,8 @@
...
@@ -146,7 +146,8 @@
<div
v-if=
"scope.row.station.length !== 0"
>
<div
v-if=
"scope.row.station.length !== 0"
>
<div
v-for=
"(items, index) in scope.row.station"
:key=
"index"
>
<div
v-for=
"(items, index) in scope.row.station"
:key=
"index"
>
<div
v-if=
"isTimeInRange(useAppStoreInstance.globalTimeLineEndSelectTime, items.startTime, items.endTime)"
>
<div
v-if=
"isTimeInRange(useAppStoreInstance.globalTimeLineEndSelectTime, items.startTime, items.endTime)"
>
{{
items
.
siteName
}}
{{
items
.
siteName
}}
</div>
</div>
<div
v-else
>
-
</div>
<div
v-else
>
-
</div>
...
@@ -244,7 +245,7 @@
...
@@ -244,7 +245,7 @@
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<div
:class=
"
{ 'errorRed': activeTab != 'equipment'
&&
scope.row.monitor != '-' }">
{{
scope
.
row
.
monitor
<div
:class=
"
{ 'errorRed': activeTab != 'equipment'
&&
scope.row.monitor != '-' }">
{{
scope
.
row
.
monitor
===
0
?
'-'
:
scope
.
row
.
monitor
===
0
?
'-'
:
scope
.
row
.
monitor
}}
</div>
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"baseband"
label=
"基站"
width=
"40"
align=
"center"
>
<el-table-column
prop=
"baseband"
label=
"基站"
width=
"40"
align=
"center"
>
...
@@ -269,16 +270,8 @@
...
@@ -269,16 +270,8 @@
</div>
</div>
<el-dialog
v-model=
"errorDialogVisible"
<el-dialog
v-model=
"errorDialogVisible"
:show-close=
"false"
:modal=
"false"
width=
"300"
hight=
"50"
:show-close=
"false"
:destroy-on-close=
"true"
:close-on-click-modal=
"true"
style=
"background: rgba(0, 0, 0, 0);padding: 0;margin: 0;"
>
:modal=
"false"
width=
"300"
hight=
"50"
:destroy-on-close=
"true"
:close-on-click-modal=
"true"
style=
"background: rgba(0, 0, 0, 0);padding: 0;margin: 0;"
>
<errorDialog
:errorDeviceList=
"errorDeviceList"
:satlTitle=
"satlTitle"
:baseDeviceList=
"baseDeviceList"
<errorDialog
:errorDeviceList=
"errorDeviceList"
:satlTitle=
"satlTitle"
:baseDeviceList=
"baseDeviceList"
@
errorDialoghandleClose=
"errorDialoghandleClose"
></errorDialog>
@
errorDialoghandleClose=
"errorDialoghandleClose"
></errorDialog>
...
@@ -297,6 +290,7 @@ import wss from '@/utils/requestSocekt.js'
...
@@ -297,6 +290,7 @@ import wss from '@/utils/requestSocekt.js'
import
useAppStore
from
'@/store/module/app'
import
useAppStore
from
'@/store/module/app'
import
local
from
'@/utils/local.js'
import
local
from
'@/utils/local.js'
import
{
ElMessage
}
from
'element-plus'
;
import
{
ElMessage
}
from
'element-plus'
;
import
{
da
}
from
'element-plus/es/locales.mjs'
;
const
useAppStoreInstance
=
useAppStore
();
const
useAppStoreInstance
=
useAppStore
();
// 激活的标签页
// 激活的标签页
...
@@ -321,6 +315,9 @@ const globalIntervalTime = ref('')
...
@@ -321,6 +315,9 @@ const globalIntervalTime = ref('')
const
globalIntervalTimeTemp
=
ref
(
''
)
const
globalIntervalTimeTemp
=
ref
(
''
)
const
globaleAutoPlay
=
ref
(
true
)
const
globaleAutoPlay
=
ref
(
true
)
const
carouselKey
=
ref
(
0
)
const
carouselKey
=
ref
(
0
)
watch
(
globalIntervalTime
,
(
newValue
,
oldValue
)
=>
{
watch
(
globalIntervalTime
,
(
newValue
,
oldValue
)
=>
{
// //console.log("globalIntervalTime发生变化了");
// //console.log("globalIntervalTime发生变化了");
...
@@ -414,7 +411,7 @@ const satelliteData = ref();
...
@@ -414,7 +411,7 @@ const satelliteData = ref();
const
searchSateValue
=
ref
(
''
)
const
searchSateValue
=
ref
(
''
)
function
searchSatelliteList
()
{
function
searchSatelliteList
()
{
//console.log("cao cao2
", primitiveSatelliteData.value);
console
.
log
(
"拿到的数据
"
,
primitiveSatelliteData
.
value
);
const
filteredData
=
primitiveSatelliteData
.
value
.
filter
(
item
=>
const
filteredData
=
primitiveSatelliteData
.
value
.
filter
(
item
=>
item
.
name
.
toLowerCase
().
includes
(
searchSateValue
.
value
.
toLowerCase
())
||
item
.
name
.
toLowerCase
().
includes
(
searchSateValue
.
value
.
toLowerCase
())
||
...
@@ -422,7 +419,7 @@ function searchSatelliteList() {
...
@@ -422,7 +419,7 @@ function searchSatelliteList() {
item
.
manufacturer
.
toLowerCase
().
includes
(
searchSateValue
.
value
.
toLowerCase
())
||
item
.
manufacturer
.
toLowerCase
().
includes
(
searchSateValue
.
value
.
toLowerCase
())
||
item
.
status
.
toLowerCase
().
includes
(
searchSateValue
.
value
.
toLowerCase
())
item
.
status
.
toLowerCase
().
includes
(
searchSateValue
.
value
.
toLowerCase
())
);
);
// //
console.log(filteredData);
console
.
log
(
filteredData
);
satelliteData
.
value
=
filteredData
satelliteData
.
value
=
filteredData
}
}
...
@@ -489,24 +486,24 @@ function tableHandleRowClickFn(row, column, event) {
...
@@ -489,24 +486,24 @@ function tableHandleRowClickFn(row, column, event) {
// type:"DeviceFaultDialog",
// type:"DeviceFaultDialog",
// status:"open"
// status:"open"
// })))
// })))
if
(
window
.
ue5
)
{
if
(
window
.
ue5
)
{
window
.
ue5
(
"callBackAllDialogFn"
,
String
(
JSON
.
stringify
({
window
.
ue5
(
"callBackAllDialogFn"
,
String
(
JSON
.
stringify
({
type
:
"DeviceFaultDialog"
,
type
:
"DeviceFaultDialog"
,
status
:
"open"
status
:
"open"
})));
})));
}
}
}
}
}
}
function
errorDialoghandleClose
()
{
function
errorDialoghandleClose
()
{
errorDialogVisible
.
value
=
false
errorDialogVisible
.
value
=
false
if
(
window
.
ue5
)
{
if
(
window
.
ue5
)
{
window
.
ue5
(
"callBackAllDialogFn"
,
String
(
JSON
.
stringify
({
window
.
ue5
(
"callBackAllDialogFn"
,
String
(
JSON
.
stringify
({
type
:
"DeviceFaultDialog"
,
type
:
"DeviceFaultDialog"
,
status
:
"close"
status
:
"close"
})));
})));
}
}
}
}
function
handleCarouselChange
(
index
)
{
function
handleCarouselChange
(
index
)
{
...
@@ -562,11 +559,12 @@ const transformSatelliteData = (data) => {
...
@@ -562,11 +559,12 @@ const transformSatelliteData = (data) => {
const
wssTransformSatelliteData
=
(
data
)
=>
{
const
wssTransformSatelliteData
=
(
data
)
=>
{
// console.log("wssTransformSatelliteData:", data)
// 检查 data 是否为对象且不为 null
// 检查 data 是否为对象且不为 null
if
(
typeof
data
===
'object'
&&
data
!==
null
&&
!
Array
.
isArray
(
data
))
{
if
(
typeof
data
===
'object'
&&
data
!==
null
&&
!
Array
.
isArray
(
data
))
{
return
[{
return
[{
name
:
data
?.
satelliteName
||
''
,
name
:
data
?.
satelliteName
||
''
,
station
:
data
?.
siteName
===
null
?
'-'
:
data
?.
siteName
,
station
:
(
data
?.
siteName
===
null
||
data
?.
siteName
.
length
===
0
)
?
'-'
:
data
?.
siteName
,
manufacturer
:
data
?.
manufacturer
||
''
,
manufacturer
:
data
?.
manufacturer
||
''
,
status
:
data
?.
satelliteStatus
||
'正常'
,
status
:
data
?.
satelliteStatus
||
'正常'
,
statusClass
:
satelliteStatusMap
[
data
?.
satelliteStatus
||
'正常'
]
||
'normal'
,
statusClass
:
satelliteStatusMap
[
data
?.
satelliteStatus
||
'正常'
]
||
'normal'
,
...
@@ -576,7 +574,7 @@ const wssTransformSatelliteData = (data) => {
...
@@ -576,7 +574,7 @@ const wssTransformSatelliteData = (data) => {
// 如果意外传入了数组,仍然处理数组
// 如果意外传入了数组,仍然处理数组
return
data
.
map
(
item
=>
({
return
data
.
map
(
item
=>
({
name
:
item
?.
satelliteName
||
''
,
name
:
item
?.
satelliteName
||
''
,
station
:
item
?.
siteName
===
null
?
'-'
:
item
?.
siteName
,
station
:
(
item
?.
siteName
===
null
||
item
?.
siteName
.
length
===
0
)
?
'-'
:
item
?.
siteName
,
manufacturer
:
item
?.
manufacturer
||
''
,
manufacturer
:
item
?.
manufacturer
||
''
,
status
:
item
?.
satelliteStatus
||
'正常'
,
status
:
item
?.
satelliteStatus
||
'正常'
,
statusClass
:
satelliteStatusMap
[
item
?.
satelliteStatus
||
'正常'
]
||
'normal'
,
statusClass
:
satelliteStatusMap
[
item
?.
satelliteStatus
||
'正常'
]
||
'normal'
,
...
@@ -723,40 +721,40 @@ const wssTransformgroudSatelliteData = (data) => {
...
@@ -723,40 +721,40 @@ const wssTransformgroudSatelliteData = (data) => {
}));
}));
// 如果 data 不是对象也不是数组,返回空数组
// 如果 data 不是对象也不是数组,返回空数组
}
}
}
}
const
transformGroundSatelliteData
=
(
data
)
=>
{
const
transformGroundSatelliteData
=
(
data
)
=>
{
return
[
return
[
{
label
:
'地面站数'
,
value
:
data
?.
groundStationNum
===
null
?
0
:
data
?.
groundStationNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfGroundStations.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'地面站数'
,
value
:
data
?.
groundStationNum
===
null
?
0
:
data
?.
groundStationNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfGroundStations.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'开通格网数'
,
value
:
data
?.
openGridNum
===
null
?
0
:
data
?.
openGridNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/ActivateGridNumber.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'开通格网数'
,
value
:
data
?.
openGridNum
===
null
?
0
:
data
?.
openGridNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/ActivateGridNumber.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'弧段数量'
,
value
:
data
?.
arcNum
===
null
?
0
:
data
?.
arcNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfArcSegments.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'弧段数量'
,
value
:
data
?.
arcNum
===
null
?
0
:
data
?.
arcNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfArcSegments.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'执行情况-弧段'
,
value
:
data
?.
arcExecuteNum
===
null
?
0
:
data
?.
arcExecuteNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/ExecutionStatusArcSegment.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'执行情况-弧段'
,
value
:
data
?.
arcExecuteNum
===
null
?
0
:
data
?.
arcExecuteNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/ExecutionStatusArcSegment.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'上注完成情况(星)'
,
value
:
data
?.
arcCompleteNum
===
null
||
data
?.
arcCompleteNum
===
undefined
?
0
:
data
?.
arcCompleteNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/CompletionStatusOfTheAboveNote.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'上注完成情况(星)'
,
value
:
data
?.
arcCompleteNum
===
null
||
data
?.
arcCompleteNum
===
undefined
?
0
:
data
?.
arcCompleteNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/CompletionStatusOfTheAboveNote.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'上注失败星数(星)'
,
value
:
data
?.
arcFaultNum
===
null
||
data
?.
arcFaultNum
===
undefined
?
0
:
data
?.
arcFaultNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfStarsFailedToBet.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'上注失败星数(星)'
,
value
:
data
?.
arcFaultNum
===
null
||
data
?.
arcFaultNum
===
undefined
?
0
:
data
?.
arcFaultNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfStarsFailedToBet.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'设备故障'
,
value
:
data
?.
faultDeviceNum
===
null
?
0
:
data
?.
faultDeviceNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfFaultyDevices.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'设备故障'
,
value
:
data
?.
faultDeviceNum
===
null
?
0
:
data
?.
faultDeviceNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfFaultyDevices.png'
,
import
.
meta
.
url
).
href
},
]
]
};
};
const
wssTransformGroundSatelliteData
=
(
data
)
=>
{
const
wssTransformGroundSatelliteData
=
(
data
)
=>
{
// 检查 data 是否为对象且不为 null
// 检查 data 是否为对象且不为 null
if
(
typeof
data
===
'object'
&&
data
!==
null
&&
!
Array
.
isArray
(
data
))
{
if
(
typeof
data
===
'object'
&&
data
!==
null
&&
!
Array
.
isArray
(
data
))
{
return
[
return
[
{
label
:
'地面站数'
,
value
:
data
?.
groundStationNum
===
null
?
0
:
data
?.
groundStationNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfGroundStations.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'地面站数'
,
value
:
data
?.
groundStationNum
===
null
?
0
:
data
?.
groundStationNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfGroundStations.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'开通格网数'
,
value
:
data
?.
openGridNum
===
null
?
0
:
data
?.
openGridNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/ActivateGridNumber.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'开通格网数'
,
value
:
data
?.
openGridNum
===
null
?
0
:
data
?.
openGridNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/ActivateGridNumber.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'弧段数量'
,
value
:
data
?.
arcNum
===
null
?
0
:
data
?.
arcNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfArcSegments.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'弧段数量'
,
value
:
data
?.
arcNum
===
null
?
0
:
data
?.
arcNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfArcSegments.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'执行情况-弧段'
,
value
:
data
?.
arcExecuteNum
===
null
?
0
:
data
?.
arcExecuteNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/ExecutionStatusArcSegment.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'执行情况-弧段'
,
value
:
data
?.
arcExecuteNum
===
null
?
0
:
data
?.
arcExecuteNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/ExecutionStatusArcSegment.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'上注完成情况(星)'
,
value
:
data
?.
arcCompleteNum
===
null
||
data
?.
arcCompleteNum
===
undefined
?
0
:
data
?.
arcCompleteNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/CompletionStatusOfTheAboveNote.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'上注完成情况(星)'
,
value
:
data
?.
arcCompleteNum
===
null
||
data
?.
arcCompleteNum
===
undefined
?
0
:
data
?.
arcCompleteNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/CompletionStatusOfTheAboveNote.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'上注失败星数(星)'
,
value
:
data
?.
arcFaultNum
===
null
||
data
?.
arcFaultNum
===
undefined
?
0
:
data
?.
arcFaultNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfStarsFailedToBet.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'上注失败星数(星)'
,
value
:
data
?.
arcFaultNum
===
null
||
data
?.
arcFaultNum
===
undefined
?
0
:
data
?.
arcFaultNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfStarsFailedToBet.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'设备故障'
,
value
:
data
?.
faultDeviceNum
===
null
?
0
:
data
?.
faultDeviceNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfFaultyDevices.png'
,
import
.
meta
.
url
).
href
},
{
label
:
'设备故障'
,
value
:
data
?.
faultDeviceNum
===
null
?
0
:
data
?.
faultDeviceNum
,
CurrentURL
:
new
URL
(
'../../assets/images/leftGroundIcon/NumberOfFaultyDevices.png'
,
import
.
meta
.
url
).
href
},
];
];
}
}
// 如果 data 不是对象也不是数组,返回空数组
// 如果 data 不是对象也不是数组,返回空数组
...
@@ -768,7 +766,7 @@ const leftGetAllListInfo = () => {
...
@@ -768,7 +766,7 @@ const leftGetAllListInfo = () => {
coreMetrics
.
value
=
orbitMetrics
.
value
[
0
].
headerTitle
coreMetrics
.
value
=
orbitMetrics
.
value
[
0
].
headerTitle
})
})
stellateListInfoApi
().
then
(
res
=>
{
stellateListInfoApi
().
then
(
res
=>
{
//
console.log(res.data, "sas---------asasa"
);
//
console.log("sas---------asasa", res.data
);
primitiveSatelliteData
.
value
=
transformSatelliteData
(
res
.
data
)
primitiveSatelliteData
.
value
=
transformSatelliteData
(
res
.
data
)
// 按 satelliteName 排序,专门处理 "SS GEN1-15" 格式
// 按 satelliteName 排序,专门处理 "SS GEN1-15" 格式
primitiveSatelliteData
.
value
.
sort
((
a
,
b
)
=>
{
primitiveSatelliteData
.
value
.
sort
((
a
,
b
)
=>
{
...
@@ -806,6 +804,7 @@ onBeforeMount(() => {
...
@@ -806,6 +804,7 @@ onBeforeMount(() => {
// 监听 webSocket 结束变化,再根据api查一次数据库
// 监听 webSocket 结束变化,再根据api查一次数据库
watch
(()
=>
useAppStoreInstance
.
globalStartWss
,
(
newValue
,
oldValue
)
=>
{
watch
(()
=>
useAppStoreInstance
.
globalStartWss
,
(
newValue
,
oldValue
)
=>
{
if
(
!
newValue
)
{
if
(
!
newValue
)
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
leftGetAllListInfo
();
leftGetAllListInfo
();
...
@@ -860,111 +859,111 @@ const errorDeviceListDetailsDialog = ref([])
...
@@ -860,111 +859,111 @@ const errorDeviceListDetailsDialog = ref([])
const
tempCount
=
ref
(
0
)
const
tempCount
=
ref
(
0
)
watch
(()
=>
useAppStoreInstance
.
globalLeftWssCONTINE
,
val
=>
{
watch
(()
=>
useAppStoreInstance
.
globalLeftWssCONTINE
,
val
=>
{
const
JSONdata
=
val
const
JSONdata
=
val
// console.log("useAppStoreInstance.globalLeftWssCONTINE", JSONdata,(JSONdata.type === 'history' && !(JSONdata?.isLagrangeInterpolation === true) ),JSONdata.type === 'realtime');
// console.log("useAppStoreInstance.globalLeftWssCONTINE", JSONdata,(JSONdata.type === 'history' && !(JSONdata?.isLagrangeInterpolation === true) ),JSONdata.type === 'realtime');
if
(
JSONdata
.
type
===
'history'
)
{
if
(
JSONdata
.
type
===
'history'
)
{
const
satelliteList
=
[]
JSONdata
.
CurrData
.
forEach
(
items
=>
{
const
temp
=
items
.
satelliteBasicInfoResponse
temp
.
siteName
=
items
?.
currentGatewayAssociations
||
null
const
satelliteList
=
[]
JSONdata
.
CurrData
.
forEach
(
items
=>
{
const
temp
=
items
.
satelliteBasicInfoResponse
temp
.
siteName
=
items
?.
currentGatewayAssociations
||
null
satelliteList
.
push
(
temp
)
});
//console.log("我走了这里", satelliteList);
satelliteList
.
push
(
temp
)
});
//console.log("我走了这里", satelliteList);
primitiveSatelliteData
.
value
=
wssTransformSatelliteData
(
satelliteList
)
primitiveSatelliteData
.
value
=
wssTransformSatelliteData
(
satelliteList
)
primitiveSatelliteData
.
value
.
sort
((
a
,
b
)
=>
{
primitiveSatelliteData
.
value
.
sort
((
a
,
b
)
=>
{
return
a
.
name
.
localeCompare
(
b
.
name
,
undefined
,
{
return
a
.
name
.
localeCompare
(
b
.
name
,
undefined
,
{
numeric
:
true
,
// 启用数字排序
numeric
:
true
,
// 启用数字排序
sensitivity
:
'base'
// 忽略大小写和重音符号
sensitivity
:
'base'
// 忽略大小写和重音符号
});
});
});
//console.log("cao cao2,", primitiveSatelliteData.value,);
});
//console.log("cao cao2,", primitiveSatelliteData.value,);
satelliteData
.
value
=
primitiveSatelliteData
.
value
satelliteData
.
value
=
primitiveSatelliteData
.
value
primitiveEquipmentData
.
value
=
equipmentData
.
value
primitiveEquipmentData
.
value
=
equipmentData
.
value
//console.log('我是left,type == history获取的wssRespone:', JSONdata.groundStationDeviceCount);
//console.log('我是left,type == history获取的wssRespone:', JSONdata.groundStationDeviceCount);
// 地面数据,上层数据
// 地面数据,上层数据
groundMetrics
.
value
=
wssTransformGroundSatelliteData
(
JSONdata
.
groundSystem
)
groundMetrics
.
value
=
wssTransformGroundSatelliteData
(
JSONdata
.
groundSystem
)
primitiveFaultData
.
value
=
[]
primitiveFaultData
.
value
=
wssTransformgroudSatelliteData
(
JSONdata
.
deviceFaultCondition
)
faultData
.
value
=
primitiveFaultData
.
value
//console.log("此时的fault", primitiveFaultData.value);
if
(
searchEquipmentValue
.
value
!==
''
)
{
searchEquipmentList
()
}
errorDeviceListDetailsDialog
.
value
=
JSONdata
?.
gatewayStationDetails
primitiveEquipmentData
.
value
=
[]
primitiveFaultData
.
value
=
[]
primitiveEquipmentData
.
value
=
wssTransformgroudSatelliteData
(
JSONdata
.
groundStationDeviceCount
)
primitiveFaultData
.
value
=
wssTransformgroudSatelliteData
(
JSONdata
.
deviceFaultCondition
)
//console.log("此时的equipment", primitiveEquipmentData.value);
faultData
.
value
=
primitiveFaultData
.
value
//console.log("此时的fault", primitiveFaultData.value);
if
(
searchEquipmentValue
.
value
!==
''
)
{
searchEquipmentList
()
}
errorDeviceListDetailsDialog
.
value
=
JSONdata
?.
gatewayStationDetails
equipmentData
.
value
=
primitiveEquipmentData
.
value
primitiveEquipmentData
.
value
=
[]
if
(
searchEquipmentValue
.
value
!==
''
)
{
primitiveEquipmentData
.
value
=
wssTransformgroudSatelliteData
(
JSONdata
.
groundStationDeviceCount
)
searchEquipmentList
()
//console.log("此时的equipment", primitiveEquipmentData.value);
}
equipmentData
.
value
=
primitiveEquipmentData
.
value
if
(
searchEquipmentValue
.
value
!==
''
)
{
searchEquipmentList
()
}
}
if
(
JSONdata
.
type
===
'realtime'
)
{
}
console
.
log
(
"11111EIRP111111rowrealtime"
);
if
(
JSONdata
.
type
===
'realtime'
)
{
const
satelliteList
=
[]
console
.
log
(
"11111EIRP111111rowrealtime"
);
JSONdata
.
CurrData
.
forEach
(
items
=>
{
const
temp
=
items
.
satelliteBasicInfoResponse
const
satelliteList
=
[]
temp
.
siteName
=
items
.
siteName
JSONdata
.
CurrData
.
forEach
(
items
=>
{
satelliteList
.
push
(
temp
)
const
temp
=
items
.
satelliteBasicInfoResponse
});
temp
.
siteName
=
items
.
siteName
primitiveSatelliteData
.
value
=
wssTransformSatelliteData
(
satelliteList
)
satelliteList
.
push
(
temp
)
primitiveSatelliteData
.
value
.
sort
((
a
,
b
)
=>
{
});
return
a
.
name
.
localeCompare
(
b
.
name
,
undefined
,
{
primitiveSatelliteData
.
value
=
wssTransformSatelliteData
(
satelliteList
)
numeric
:
true
,
// 启用数字排序
primitiveSatelliteData
.
value
.
sort
((
a
,
b
)
=>
{
sensitivity
:
'base'
// 忽略大小写和重音符号
return
a
.
name
.
localeCompare
(
b
.
name
,
undefined
,
{
});
numeric
:
true
,
// 启用数字排序
sensitivity
:
'base'
// 忽略大小写和重音符号
});
});
//console.log("cao cao2,", primitiveSatelliteData.value,);
});
//console.log("cao cao2,", primitiveSatelliteData.value,);
satelliteData
.
value
=
primitiveSatelliteData
.
value
satelliteData
.
value
=
primitiveSatelliteData
.
value
primitiveEquipmentData
.
value
=
equipmentData
.
value
primitiveEquipmentData
.
value
=
equipmentData
.
value
// //console.log('我是left,type == history获取的wssRespone:', JSONdata.groundStationDeviceCount);
// //console.log('我是left,type == history获取的wssRespone:', JSONdata.groundStationDeviceCount);
// 地面数据,上层数据
// 地面数据,上层数据
// groundMetrics.value = wssTransformGroundSatelliteData(JSONdata.groundSystem)
// groundMetrics.value = wssTransformGroundSatelliteData(JSONdata.groundSystem)
// 地面数据,下层数据
// 地面数据,下层数据
// primitiveFaultData.value = []
// primitiveFaultData.value = []
// primitiveFaultData.value = wssTransformgroudSatelliteData(JSONdata.deviceFaultCondition)
// primitiveFaultData.value = wssTransformgroudSatelliteData(JSONdata.deviceFaultCondition)
// faultData.value = primitiveFaultData.value
// faultData.value = primitiveFaultData.value
// //console.log("此时的fault", primitiveFaultData.value);
// //console.log("此时的fault", primitiveFaultData.value);
// if (searchEquipmentValue.value !== '') {
// if (searchEquipmentValue.value !== '') {
// searchEquipmentList()
// searchEquipmentList()
// }
// }
// primitiveEquipmentData.value = []
// primitiveEquipmentData.value = []
// primitiveEquipmentData.value = wssTransformgroudSatelliteData(JSONdata.groundStationDeviceCount)
// primitiveEquipmentData.value = wssTransformgroudSatelliteData(JSONdata.groundStationDeviceCount)
// //console.log("此时的equipment", primitiveEquipmentData.value);
// //console.log("此时的equipment", primitiveEquipmentData.value);
// equipmentData.value = primitiveEquipmentData.value
// equipmentData.value = primitiveEquipmentData.value
// if (searchEquipmentValue.value !== '') {
// if (searchEquipmentValue.value !== '') {
// searchEquipmentList()
// searchEquipmentList()
// }
// }
}
}
tempCount
.
value
++
tempCount
.
value
++
},
{
deep
:
true
,
immediate
:
true
});
},
{
deep
:
true
,
immediate
:
true
});
...
@@ -2026,16 +2025,19 @@ onUnmounted(() => {
...
@@ -2026,16 +2025,19 @@ onUnmounted(() => {
background-color
:
#1C212B
;
background-color
:
#1C212B
;
color
:
#fff
;
color
:
#fff
;
border-color
:
#434a54
;
border-color
:
#434a54
;
}
}
:deep
(
.setting-input
.el-input__wrapper
)
{
:deep
(
.setting-input
.el-input__wrapper
)
{
box-shadow
:
none
;
box-shadow
:
none
;
border
:
none
;
border
:
none
;
}
}
:deep
(
.setting-input
.el-input__wrapper
.el-input__inner
)
{
:deep
(
.setting-input
.el-input__wrapper
.el-input__inner
)
{
box-shadow
:
none
;
box-shadow
:
none
;
border
:
none
;
border
:
none
;
}
}
.setting-checkbox
{
.setting-checkbox
{
margin-left
:
10px
;
margin-left
:
10px
;
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论