Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mmc-stl-vue2
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
mmc-stl-vue2
Commits
47a75e93
提交
47a75e93
authored
1月 09, 2025
作者:
梁启东
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 【驾驶中心-无人机-视频】需添加视频流权限配置【1005053】
上级
bca6ff51
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
22 行增加
和
1 行删除
+22
-1
App.vue
iframe/src/App.vue
+2
-0
pnpm-lock.yaml
pnpm-lock.yaml
+0
-0
index.vue
...ponents/uavList/components/list/components/item/index.vue
+2
-1
index.vue
src/components/MMCFlightControlCenter/index.vue
+17
-0
index.js
src/components/MMCFlightControlCenter/store/index.js
+1
-0
没有找到文件。
iframe/src/App.vue
浏览文件 @
47a75e93
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
:useSTLAirway=
"useSTLAirway"
:useSTLAirway=
"useSTLAirway"
:useTimedTask=
"useTimedTask"
:useTimedTask=
"useTimedTask"
:useTask=
"useTask"
:useTask=
"useTask"
:showVideoPanel=
"showVideoPanel"
@
tokenInvalid=
"dispatchEvent('tokenInvalid')"
@
tokenInvalid=
"dispatchEvent('tokenInvalid')"
@
refreshToken=
"dispatchEvent('refreshToken', $event)"
@
refreshToken=
"dispatchEvent('refreshToken', $event)"
@
uavChange=
"dispatchEvent('uavChange', $event)"
@
uavChange=
"dispatchEvent('uavChange', $event)"
...
@@ -55,6 +56,7 @@ export default {
...
@@ -55,6 +56,7 @@ export default {
taskListGetCB
:
null
,
//获取任务数据回调
taskListGetCB
:
null
,
//获取任务数据回调
useTask
:
false
,
//使用任务进行航线选择
useTask
:
false
,
//使用任务进行航线选择
callbackList
:
{},
callbackList
:
{},
showVideoPanel
:
false
,
//无人机是否展示视频面板
};
};
},
},
computed
:
{},
computed
:
{},
...
...
pnpm-lock.yaml
0 → 100644
浏览文件 @
47a75e93
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/components/MMCFlightControlCenter/components/uavApplications/components/uavList/components/list/components/item/index.vue
浏览文件 @
47a75e93
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
</div>
</div>
</div>
</div>
<div
class=
"device-fns"
>
<div
class=
"device-fns"
>
<div
<div
v-if=
"showVideoPanel"
class=
"iconfont icon-luxiang_xianxing"
class=
"iconfont icon-luxiang_xianxing"
:class=
"{ active: uav && device.deviceId === uav.deviceId && uav.showPlayer }"
:class=
"{ active: uav && device.deviceId === uav.deviceId && uav.showPlayer }"
title=
"视频"
title=
"视频"
...
@@ -158,6 +158,7 @@ export default {
...
@@ -158,6 +158,7 @@ export default {
"userInfo"
,
"userInfo"
,
"showAirwayEdit"
,
"showAirwayEdit"
,
"deptId"
,
"deptId"
,
'showVideoPanel'
,
]),
]),
},
},
watch
:
{
watch
:
{
...
...
src/components/MMCFlightControlCenter/index.vue
浏览文件 @
47a75e93
...
@@ -75,6 +75,12 @@ export default {
...
@@ -75,6 +75,12 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
default
:
false
,
},
},
//使用视频面板
showVideoPanel
:{
type
:
Boolean
,
default
:
false
,
},
userInfo
:
{
userInfo
:
{
type
:
Object
,
type
:
Object
,
default
()
{
default
()
{
...
@@ -194,6 +200,17 @@ export default {
...
@@ -194,6 +200,17 @@ export default {
});
});
},
},
},
},
showVideoPanel
:
{
immediate
:
true
,
handler
(
newVal
)
{
this
.
$store
.
commit
(
"MMCFlightControlCenter/setState"
,
{
key
:
"showVideoPanel"
,
value
:
newVal
,
});
},
},
},
},
beforeCreate
()
{
beforeCreate
()
{
crashMonitor
({
crashMonitor
({
...
...
src/components/MMCFlightControlCenter/store/index.js
浏览文件 @
47a75e93
...
@@ -43,6 +43,7 @@ export default {
...
@@ -43,6 +43,7 @@ export default {
useSTLAirway
:
true
,
//是否使用标准航线库
useSTLAirway
:
true
,
//是否使用标准航线库
useTimedTask
:
false
,
//是否使用定时任务
useTimedTask
:
false
,
//是否使用定时任务
useTask
:
false
,
//使用任务进行航线选择
useTask
:
false
,
//使用任务进行航线选择
showVideoPanel
:
false
,
//显示视频面板
baseUrl
:
''
,
//api请求的base url
baseUrl
:
''
,
//api请求的base url
wsUrl
:
''
,
//websocket的url
wsUrl
:
''
,
//websocket的url
mqttUrl
:
''
,
//无人机的mqtt地址
mqttUrl
:
''
,
//无人机的mqtt地址
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论