Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
SatelliteDigital
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
nijiawen
SatelliteDigital
Commits
b3508a7c
提交
b3508a7c
authored
4月 16, 2026
作者:
liujiaxing
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
曲线
上级
ece33aef
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
56 行增加
和
65 行删除
+56
-65
cdfCurve.vue
src/pages/all/components/cdf/cdfCurve.vue
+1
-1
instantCurve.vue
src/pages/all/components/instant/instantCurve.vue
+1
-1
errorDialog.vue
src/pages/lefts/component/errorDialog.vue
+53
-62
index.vue
src/pages/rights/index.vue
+1
-1
没有找到文件。
src/pages/all/components/cdf/cdfCurve.vue
浏览文件 @
b3508a7c
...
...
@@ -365,7 +365,7 @@ function initChart() {
// let res = params[0].axisValue + '
<
br
>
';
// res += `${params[0].marker} ${params[0].seriesName}: ${params[0].value[1]} ${props.lineArray ? props.yName?.value[params[0].seriesIndex] : props.yName?.value}`;
// return res;
console.log(params, props.legendName);
//
console.log(params, props.legendName);
let res = ''
if (params[0].seriesIndex == 0) {
...
...
src/pages/all/components/instant/instantCurve.vue
浏览文件 @
b3508a7c
...
...
@@ -156,7 +156,7 @@ function initChart() {
firstTime
=
new
Date
(
series1Data
.
value
[
0
][
0
]).
getTime
()
}
firstTime
=
new
Date
(
series1Data
.
value
[
0
][
0
]).
getTime
()
<
firstTime
?
new
Date
(
series1Data
.
value
[
0
][
0
]).
getTime
()
:
firstTime
lastTime
=
new
Date
(
series1Data
.
value
[
series1Data
.
value
.
length
-
1
][
0
]).
getTime
()
>
lastTime
?
new
Date
(
series1Data
.
value
[
series1Data
.
value
.
length
-
1
][
0
]
).
getTime
()
:
lastTime
lastTime
=
new
Date
(
series1Data
.
value
[
series1Data
.
value
.
length
-
1
][
0
]).
getTime
()
>
lastTime
?
new
Date
(
(
series1Data
.
value
[
series1Data
.
value
.
length
-
1
][
0
])
).
getTime
()
:
lastTime
seriesArr
.
push
({
color
:
props
.
color
[
index
],
name
:
props
.
legendName
[
index
],
...
...
src/pages/lefts/component/errorDialog.vue
浏览文件 @
b3508a7c
...
...
@@ -3,7 +3,7 @@
<!-- 顶部标题栏 -->
<div
class=
"header"
>
<div
class=
"header_title"
>
<h2>
{{
props
.
satlTitle
}}
</h2>
<h2>
{{
props
.
satlTitle
}}
</h2>
</div>
<div
class=
"close-btn"
@
click=
"closePanel"
>
×
</div>
</div>
...
...
@@ -28,22 +28,14 @@
<div
class=
"device-list"
>
<!-- 普通设备项 -->
<div
v-if=
"devices.length > 0"
>
<div
class=
"device-item"
v-for=
"(device, index) in devices"
:key=
"index"
:class=
"
{
<div
class=
"device-item"
v-for=
"(device, index) in devices"
:key=
"index"
:class=
"
{
'has-error': device.status === 'error',
expanded: device.expanded
}"
>
}">
<!-- 主设备行 -->
<div
class=
"device-row"
:class=
"device.status === 'error' ? 'has-error' : ''"
@
click=
"toggleExpand(device)"
>
<div
class=
"col device-name"
>
<span
v-if=
"device.status === 'error'"
class=
"toggle-icon"
>
<span
v-if=
"device.status === 'error'"
class=
"toggle-icon"
>
{{
device
.
expanded
?
'▾'
:
'▸'
}}
</span>
{{
device
.
name
}}
...
...
@@ -57,10 +49,8 @@
</div>
<!-- 故障详情 -->
<div
class=
"error-details-container"
v-if=
"device.status === 'error' && device.expanded && device.errorDetails"
>
<div
class=
"error-details-container"
v-if=
"device.status === 'error' && device.expanded && device.errorDetails"
>
<div
class=
"error-details"
>
{{
device
.
errorDetails
}}
</div>
...
...
@@ -68,10 +58,9 @@
</div>
</div>
<div
v-else
>
<div
class=
"no-data"
>
<p>
暂无数据
</p></div>
<div
class=
"no-data"
>
<p>
暂无数据
</p>
</div>
</div>
</div>
</div>
...
...
@@ -80,17 +69,9 @@
<div
class=
"device-list1"
>
<!-- 普通设备项 -->
<div
v-if=
"deviceStatusMap.length > 0"
>
<div
class=
"device-item"
v-for=
"(items, index) in deviceStatusMap"
:key=
"index"
>
<div
class=
"device-item"
v-for=
"(items, index) in deviceStatusMap"
:key=
"index"
>
<!-- 主设备行 -->
<div
class=
"device-row"
v-for=
"(item, index) in items"
:key=
"index"
>
<div
class=
"device-row"
v-for=
"(item, index) in items"
:key=
"index"
>
<div
class=
"col device-name"
>
{{
item
.
label
}}
...
...
@@ -107,15 +88,10 @@
</div>
</div>
<div
v-else
>
<div
class=
"no-data"
>
<p>
暂无数据
</p></div>
<div
v-else
>
<div
class=
"no-data"
>
<p>
暂无数据
</p>
</div>
</div>
</div>
<!-- 设备列表头部 -->
...
...
@@ -173,9 +149,9 @@
<
script
setup
>
import
{
onActivated
,
onMounted
,
ref
,
watch
}
from
'vue'
;
const
props
=
defineProps
([
'satlTitle'
,
'errorDeviceList'
,
"baseDeviceList"
])
const
props
=
defineProps
([
'satlTitle'
,
'errorDeviceList'
,
"baseDeviceList"
])
const
emits
=
defineEmits
([
'errorDialoghandleClose'
])
//console.log("展示了",props.errorDeviceList,props.baseDeviceList);
//console.log("展示了",props.errorDeviceList,props.baseDeviceList);
// 状态管理
const
activeTab
=
ref
(
'devices'
);
// 默认显示设备情况标签页
const
devices
=
ref
([])
...
...
@@ -192,7 +168,9 @@ const deviceStatusMap = ref([
// 监听 errorDeviceList 的变化
watch
(()
=>
props
.
errorDeviceList
,
(
newVal
)
=>
{
if
(
newVal
.
length
===
0
){
console
.
log
(
props
.
errorDeviceList
,
'故障详情'
);
if
(
newVal
.
length
===
0
)
{
devices
.
value
=
[]
return
}
...
...
@@ -230,35 +208,35 @@ watch(() => props.baseDeviceList, (newVal) => {
newVal
.
forEach
(
item
=>
{
deviceStatusMap
.
value
.
push
([{
label
:
`天线
${
item
.
number
}
发射功率 `
,
label
:
`天线
${
item
.
number
}
发射功率 `
,
value
:
item
.
power
||
'0'
,
status
:
item
.
power
!==
0
?
'normal'
:
'error'
,
status
:
item
.
power
!==
0
?
'normal'
:
'error'
,
},
{
label
:
`天线
${
item
.
number
}
发射EIRP `
,
label
:
`天线
${
item
.
number
}
发射EIRP `
,
value
:
item
.
eip
||
'-'
,
status
:
item
.
power
!==
0
?
'normal'
:
'error'
,
status
:
item
.
power
!==
0
?
'normal'
:
'error'
,
},
{
label
:
`天线
${
item
.
number
}
方位角 `
,
label
:
`天线
${
item
.
number
}
方位角 `
,
value
:
item
.
azimuth
||
'-'
,
status
:
item
.
power
!==
0
?
'normal'
:
'error'
,
status
:
item
.
power
!==
0
?
'normal'
:
'error'
,
},
{
label
:
`天线
${
item
.
number
}
俯仰角 `
,
label
:
`天线
${
item
.
number
}
俯仰角 `
,
value
:
item
.
elevation
||
'-'
,
status
:
item
.
power
!==
0
?
'normal'
:
'error'
,
status
:
item
.
power
!==
0
?
'normal'
:
'error'
,
},
])
})
//console.log("11111EIRP111111baseDeviceList",newVal,deviceStatusMap.value)
// deviceStatusMap.value = [
// {label: '天线发射频率',value: newVal.antennaTransmitPower ,status: 1 ? 'normal' : 'error',},
// {label: '天线发射EIRP',value: newVal.antennaEip ,status: 0? 'normal' : 'error',},
// {label: '天线方位角',value: newVal.antennaAzimuth ,status: 1 ? 'normal' : 'error',},
// {label: '天线俯仰角',value: newVal.antennaElevation ,status: 1 ? 'normal' : 'error',}
// ]
// deviceStatusMap.value = [
// {label: '天线发射频率',value: newVal.antennaTransmitPower ,status: 1 ? 'normal' : 'error',},
// {label: '天线发射EIRP',value: newVal.antennaEip ,status: 0? 'normal' : 'error',},
// {label: '天线方位角',value: newVal.antennaAzimuth ,status: 1 ? 'normal' : 'error',},
// {label: '天线俯仰角',value: newVal.antennaElevation ,status: 1 ? 'normal' : 'error',}
// ]
},
{
immediate
:
true
})
...
...
@@ -281,7 +259,8 @@ const closePanel = () => {
.device-monitor
{
width
:
280px
;
height
:
380px
;
position
:
fixed
;
/* 改为fixed定位 */
position
:
fixed
;
/* 改为fixed定位 */
bottom
:
0.5vh
;
left
:
20%
;
background
:
#1a1a1a
;
...
...
@@ -441,11 +420,13 @@ const closePanel = () => {
padding
:
0
;
background
:
linear-gradient
(
to
bottom
,
#1e1e2d
,
#191925
);
}
.content_info
{
.content_info
{
height
:
100%
;
/* background-color: #4488f5; */
}
/* 表格头部 */
.table-header
{
display
:
flex
;
...
...
@@ -469,16 +450,19 @@ const closePanel = () => {
flex
:
1.2
;
overflow
:
hidden
;
}
.device-name1
{
.device-name1
{
flex
:
1
;
text-align
:
right
;
padding-right
:
10px
;
}
.status
{
flex
:
1
;
right
:
10px
;
text-align
:
right
;
}
.status1
{
flex
:
1
;
right
:
10px
;
...
...
@@ -494,13 +478,15 @@ const closePanel = () => {
height
:
260px
;
color
:
#d1d0d0
;
}
.device-list1
{
.device-list1
{
padding
:
0
10px
;
max-height
:
290px
;
max-height
:
290px
;
overflow-y
:
auto
;
z-index
:
20
;
color
:
#d1d0d0
;
}
.device-item
{
margin-bottom
:
1px
;
border-radius
:
6px
;
...
...
@@ -529,9 +515,10 @@ const closePanel = () => {
}
.has-error
{
.has-error
{
overflow
:
hidden
;
}
.has-error
.device-row
{
position
:
relative
;
left
:
-20px
;
...
...
@@ -542,9 +529,11 @@ const closePanel = () => {
.has-error1
{
color
:
red
;
}
.notHas-error1
{
color
:
green
;
}
/* 展开/折叠图标 */
.toggle-icon
{
display
:
inline-block
;
...
...
@@ -648,6 +637,7 @@ const closePanel = () => {
color
:
#888888
;
min-height
:
260px
;
}
::-webkit-scrollbar
{
width
:
1px
!important
;
}
...
...
@@ -671,6 +661,7 @@ const closePanel = () => {
opacity
:
0
;
transform
:
translateY
(
-10px
);
}
to
{
opacity
:
1
;
transform
:
translateY
(
0
);
...
...
src/pages/rights/index.vue
浏览文件 @
b3508a7c
...
...
@@ -47,7 +47,7 @@ const yName1 = ref({
})
const
yName2
=
ref
({
type
:
false
,
value
:
[
'
s'
,
's
'
]
value
:
[
'
'
,
'
'
]
})
const
yName3
=
ref
({
type
:
true
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论