Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
SatelliteDigital
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
nijiawen
SatelliteDigital
Commits
f214a33e
提交
f214a33e
authored
4月 09, 2026
作者:
liujiaxing
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新
上级
84c9135c
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
20 行增加
和
8 行删除
+20
-8
timers.vue
src/pages/footer/component/timers.vue
+20
-8
index.vue
src/pages/lefts/index.vue
+0
-0
没有找到文件。
src/pages/footer/component/timers.vue
浏览文件 @
f214a33e
...
...
@@ -48,6 +48,7 @@
changeSpeed()
}" />
</el-select>
<div
class=
"resetClass"
@
click=
"resetclick"
>
重置模式
</div>
</div>
</div>
</div>
...
...
@@ -66,7 +67,6 @@
</div>
<span
class=
"marker-label"
:class=
"
{ 'selected-label': isMarkerInSelectedRange(marker) }"
v-if="((index) % showLength === 0 || index === timeMarkers.length - 1)" v-html="marker.label">
</span>
</div>
</div>
...
...
@@ -97,8 +97,6 @@
</
template
>
<
script
setup
>
import
{
VideoPlay
,
VideoPause
,
CaretLeft
,
CaretRight
}
from
'@element-plus/icons-vue'
;
import
{
ElLoading
,
ElMessage
}
from
'element-plus'
import
Loading
from
'@/pages/all/components/loadingComponent/index.js'
import
{
ref
,
onMounted
,
onUnmounted
,
computed
,
watch
,
nextTick
,
watchEffect
}
from
'vue'
;
...
...
@@ -106,7 +104,6 @@ import wss from '@/utils/requestSocekt.js'
import
wsTime
from
'@/utils/requestSocektTime.js'
import
useAppStore
from
'@/store/module/app'
import
dayjs
from
'dayjs'
;
import
{
timeInfoApi
}
from
'../../../api/Zodiac.js'
;
const
wssInstance
=
ref
(
wss
)
const
wsTimeInstance
=
ref
(
wsTime
)
...
...
@@ -347,7 +344,8 @@ const wssMessageHandle = () => {
//console.log('我是timer获取的wssRespone:', data);
//console.log("我走了seekConfirm",!(data?.isLagrangeInterpolation === true));
let
flagToNext
=
0
Loading
.
hide
()
Loading
.
hide
()
//接受到后端ws传递的消息,这时候隐藏loading
if
(
data
.
type
===
'control'
&&
!
(
data
.
controlType
===
'stop'
)
&&
!
(
data
.
controlType
===
'continue'
))
{
if
(
data
.
nextTimestamp
)
{
preTimeWindowEnd
.
value
=
data
.
nextTimestamp
||
data
.
dataTime
;
...
...
@@ -732,7 +730,7 @@ const timeMarkers = computed(() => {
current
.
setHours
(
current
.
getHours
()
+
1
);
// 每次 +1 小时
}
// console.log('markers',
markers)
console
.
log
(
'markers时间刻度信息----'
,
markers
)
return
markers
;
});
...
...
@@ -1330,6 +1328,10 @@ const formatDateTimeOne = (timeStr) => {
// }
// }
// 重置模式为实时模式
const
resetclick
=
()
=>
{
}
const
tempDateTime
=
ref
(
new
Date
(
useAppStoreInstance
.
globalTimeLineEndSelectTime
))
onMounted
(()
=>
{
wsTimeInstanceFn
();
//接受实时模式下的数据
...
...
@@ -1397,7 +1399,7 @@ onMounted(() => {
isRealtime
:
is_flag_isRealtime
.
value
,
taskCode
:
String
(
taskCode_everyChange
.
value
)
===
""
?
useAppStoreInstance
.
globalRecordMainSysTaskCode
||
(
useAppStoreInstance
.
globalSubsystemTaskCode
)
:
String
(
taskCode_everyChange
.
value
),
speed
:
playbackSpeed
.
value
,
status
:
isPlaying
.
value
?
"continue"
:
"stop"
,
//
status: isPlaying.value ? "continue" : "stop",
})))
console
.
log
(
"走了这里1"
);
}
...
...
@@ -1442,7 +1444,7 @@ const realTimeData = () => {
taskCode
:
String
(
taskCode_everyChange
.
value
)
===
""
?
useAppStoreInstance
.
globalRecordMainSysTaskCode
||
(
useAppStoreInstance
.
globalSubsystemTaskCode
)
:
String
(
taskCode_everyChange
.
value
),
currentTime
:
dayjs
(
selectedEndTime
.
value
).
format
(
'YYYY-MM-DD HH:mm'
),
status
:
isPlaying
.
value
?
"continue"
:
"stop"
,
//
status: isPlaying.value ? "continue" : "stop",
//时间参数
})))
...
...
@@ -1602,6 +1604,7 @@ onUnmounted(() => {
.right_block
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0
10px
;
}
...
...
@@ -1863,4 +1866,12 @@ onUnmounted(() => {
:deep
(
.el-select__suffix
)
{
opacity
:
0
;
}
.resetClass
{
height
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
cursor
:
pointer
;
}
</
style
>
\ No newline at end of file
src/pages/lefts/index.vue
浏览文件 @
f214a33e
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论