提交 7cadef8c 作者: 翁进城

fix: 定时任务与周期任务选择修正

上级 27ef7b71
......@@ -154,9 +154,10 @@ export default {
this.rootNode.$emit("taskListGet", {
pageNo: 1,
pageSize: 100,
// type: 0,
type: 0,
putDevice: 2,
// isHangar: true,
hangar: this.hangar,
// hangar: this.hangar,
// taskStatus: 1,
callback: (res) => {
this.taskList = res?.records || [];
......
......@@ -171,8 +171,8 @@ export default {
this.rootNode.$emit("taskListGet", {
pageNo: 1,
pageSize: 100,
// type: 2,
hangar: this.hangar,
type: 2,
// hangar: this.hangar,
// taskStatus: 1,
callback: (res) => {
this.taskList = res?.records || [];
......
......@@ -110,6 +110,7 @@ export default {
pageSize: 100,
type: 2, // 0: 日常任务 1.定时任务 2.周期任务
hangar: this.hangar,
putDevice: 2,
callback: (res) => {
this.taskListAll = res.records || [];
},
......
......@@ -107,8 +107,8 @@ export default {
this.rootNode.$emit("taskListGet", {
pageNo: 1,
pageSize: 100,
// type: 1,
hangar: this.hangar,
type: 1,
// hangar: this.hangar,
// taskStatus: 1,
callback: (res) => {
this.taskList = res?.records || [];
......
......@@ -114,6 +114,7 @@ export default {
pageSize: 100,
type: 1, // 0: 日常任务 1.定时任务 2.周期任务
hangar: this.hangar,
putDevice: 2,
callback: (res) => {
this.taskListAll = res.records || [];
},
......
......@@ -187,6 +187,7 @@ export default {
this.rootNode.$emit("taskListGet", {
pageNo: 1,
pageSize: 100,
type: 0,
// taskStatus: 1, // 任务状态 0:待审批 1:待执行 2:执行中 3:执行完成 4:审批不通过
callback: (res) => {
this.taskList = res?.records || [];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论