Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mmc-stl-vue2
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
mmc-stl-vue2
Commits
3f06b1b0
提交
3f06b1b0
authored
5月 21, 2025
作者:
翁进城
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 创建航线增加终点降落项
上级
4b0a5f81
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
24 行增加
和
3 行删除
+24
-3
index.vue
...eft/components/airwayList/components/airwayEdit/index.vue
+10
-1
index.vue
...el/components/controlLeft/components/airwayList/index.vue
+13
-1
uav.js
src/components/MMCFlightControlCenter/store/uav.js
+1
-1
没有找到文件。
src/components/MMCFlightControlCenter/components/uavApplications/components/controlPanel/components/controlLeft/components/airwayList/components/airwayEdit/index.vue
浏览文件 @
3f06b1b0
...
...
@@ -25,6 +25,12 @@
emitPath: false,
}" @change="changeNode">
</el-cascader>
</el-form-item>
<el-form-item
label=
"终点降落:"
required
>
<el-radio-group
v-model=
"finishedAction"
>
<el-radio
label=
"USING_INITIAL_DIRECTION"
>
是
</el-radio>
<el-radio
label=
"GO_HOME"
>
否
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"航线速度"
prop=
"speed"
>
<el-input
clearable
v-model=
"curForm.speed"
></el-input>
</el-form-item>
...
...
@@ -135,6 +141,7 @@ export default {
return
{
orgList
:
[],
name
:
""
,
//航线名
finishedAction
:
'GO_HOME'
,
//终点降落
departmentId
:
''
,
//部门id
flightLabel
:
""
,
//航线标签
form
:
[],
//表单集合
...
...
@@ -360,7 +367,8 @@ export default {
departmentId
:
this
.
departmentId
,
//部门id
name
:
this
.
name
,
speed
:
this
.
form
[
0
].
speed
,
flyTime
:
this
.
convertToSeconds
(
this
.
time
)
flyTime
:
this
.
convertToSeconds
(
this
.
time
),
finishedAction
:
this
.
finishedAction
,
};
try
{
let
res
=
await
AirLine
.
add
({
...
...
@@ -370,6 +378,7 @@ export default {
departmentId
:
airway
.
departmentId
,
sourceType
:
1
,
flyTime
:
airway
.
flyTime
,
finishedAction
:
airway
.
finishedAction
,
linePointSaveReqVOS
:
airway
.
content
.
map
((
point
)
=>
({
latitude
:
point
.
coordinate
.
latitude
,
longitude
:
point
.
coordinate
.
longitude
,
...
...
src/components/MMCFlightControlCenter/components/uavApplications/components/controlPanel/components/controlLeft/components/airwayList/index.vue
浏览文件 @
3f06b1b0
...
...
@@ -240,7 +240,19 @@ export default {
pageNo
:
1
,
pageSize
:
100
,
callback
:
(
res
)
=>
{
this
.
airwayList
=
res
?.
records
||
[];
this
.
airwayList
=
res
?.
records
||
[
/* {
id: item.id,
name: item.flightName,
organizationName: "无",
status: "可用", //空域状态
safe: item.safe ? 1 : 0, // 安全状态1: 安全 , 0: 待确定,
labelName: "无",
//航线数据
content,
finishedAction: "GO_HOME"
} */
];
this
.
$nextTick
(()
=>
{
if
(
id
)
{
this
.
selectedAirwayId
=
id
;
...
...
src/components/MMCFlightControlCenter/store/uav.js
浏览文件 @
3f06b1b0
...
...
@@ -732,7 +732,7 @@ const actions = {
flightSortiesID
:
flightSortieId
.
data
,
waypointList
:
waypointList
,
autoFlightSpeed
:
state
.
airlineData
.
baseSpeed
||
6
,
finishedAction
:
"GO_HOME"
,
finishedAction
:
state
.
airlineData
.
finishedAction
||
"GO_HOME"
,
headingMode
:
"AUTO"
,
isExitMissionOnRCSignalLostEnabled
:
true
,
maxFlightSpeed
:
12
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论