Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mmc-stl-vue2
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
mmc-stl-vue2
Commits
4c0ddfaa
提交
4c0ddfaa
authored
12月 14, 2024
作者:
翁进城
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 修正机库任务下发
上级
19ca43cc
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
10 行增加
和
7 行删除
+10
-7
index.vue
...ayList/components/periodTask/components/taskAdd/index.vue
+4
-2
index.vue
...eft/components/airwayList/components/periodTask/index.vue
+2
-2
index.vue
...wayList/components/timedTask/components/taskAdd/index.vue
+2
-1
index.vue
...Left/components/airwayList/components/timedTask/index.vue
+2
-2
没有找到文件。
src/components/MMCFlightControlCenter/components/hangar/components/controlPanel/components/controlLeft/components/airwayList/components/periodTask/components/taskAdd/index.vue
浏览文件 @
4c0ddfaa
...
...
@@ -164,11 +164,13 @@ export default {
*/
onConfirm
()
{
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
let
form
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
));
form
.
time
=
[
`
${
form
.
date
[
0
]}
${
form
.
time
[
0
]}
`
,
`
${
form
.
date
[
1
]}
${
form
.
time
[
1
]}
`
];
if
(
valid
)
{
this
.
confirmLoading
=
true
;
this
.
rootNode
.
$emit
(
"taskBatchAdd"
,
{
type
:
3
,
//1: 日常任务 2.定时任务 3
.周期任务
taskList
:
[{
...
this
.
form
,
airway
:
this
.
selectedAirway
}],
//任务数据
type
:
2
,
//0: 日常任务 1.定时任务 2
.周期任务
taskList
:
[{
...
form
,
airway
:
this
.
selectedAirway
}],
//任务数据
hangar
:
this
.
hangar
,
callback
:
({
code
})
=>
{
this
.
confirmLoading
=
false
;
...
...
src/components/MMCFlightControlCenter/components/hangar/components/controlPanel/components/controlLeft/components/airwayList/components/periodTask/index.vue
浏览文件 @
4c0ddfaa
...
...
@@ -108,7 +108,7 @@ export default {
this
.
rootNode
.
$emit
(
"taskListGet"
,
{
pageNo
:
1
,
pageSize
:
100
,
type
:
3
,
// 1: 日常任务 2: 定时任务 3:
周期任务
type
:
2
,
// 0: 日常任务 1.定时任务 2.
周期任务
hangar
:
this
.
hangar
,
callback
:
(
res
)
=>
{
this
.
taskListAll
=
res
.
records
||
[];
...
...
@@ -150,7 +150,7 @@ export default {
item
.
loading
=
true
;
this
.
rootNode
.
$emit
(
"taskDel"
,
{
task
:
item
,
type
:
3
,
// 1: 日常任务 2: 定时任务 3:
周期任务
type
:
2
,
// 0: 日常任务 1.定时任务 2.
周期任务
callback
:
()
=>
{
this
.
getTaskList
();
}
,
...
...
src/components/MMCFlightControlCenter/components/hangar/components/controlPanel/components/controlLeft/components/airwayList/components/timedTask/components/taskAdd/index.vue
浏览文件 @
4c0ddfaa
...
...
@@ -181,11 +181,12 @@ export default {
return
{
...
item
,
airway
:
find
,
time
:
[
item
.
time
,
item
.
time
]
};
});
this
.
confirmLoading
=
true
;
this
.
rootNode
.
$emit
(
"taskBatchAdd"
,
{
type
:
2
,
//1: 日常任务 2.定时任务 3
.周期任务
type
:
1
,
//0: 日常任务 1.定时任务 2
.周期任务
taskList
:
list
,
//任务数据
hangar
:
this
.
hangar
,
callback
:
({
code
})
=>
{
...
...
src/components/MMCFlightControlCenter/components/hangar/components/controlPanel/components/controlLeft/components/airwayList/components/timedTask/index.vue
浏览文件 @
4c0ddfaa
...
...
@@ -112,7 +112,7 @@ export default {
this
.
rootNode
.
$emit
(
"taskListGet"
,
{
pageNo
:
1
,
pageSize
:
100
,
type
:
2
,
// 1: 日常任务 2: 定时任务 3:
周期任务
type
:
1
,
// 0: 日常任务 1.定时任务 2.
周期任务
hangar
:
this
.
hangar
,
callback
:
(
res
)
=>
{
this
.
taskListAll
=
res
.
records
||
[];
...
...
@@ -154,7 +154,7 @@ export default {
item
.
loading
=
true
;
this
.
rootNode
.
$emit
(
"taskDel"
,
{
task
:
item
,
type
:
2
,
// 1: 日常任务 2: 定时任务 3:
周期任务
type
:
0
,
// 0: 日常任务 1.定时任务 2.
周期任务
callback
:
()
=>
{
this
.
getTaskList
();
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论