跳到主要内容

auto_scheduling_use_progress

信息

此功能仅在 PRO 版本中可用。

警告

该属性在 v9.1 中已被废弃,请改用 gantt.config.auto_schedulinguse_progress 属性。

Description

设置调度算法处理已完成任务的方式

auto_scheduling_use_progress: boolean

Example

gantt.config.auto_scheduling_use_progress = true;

gantt.init("gantt_here");

默认值: false

Details

注释

此配置在 auto_schedulingcritical_path 扩展中定义,因此您需要激活 auto_schedulingcritical_path 插件。请在 Auto SchedulingCritical Path 文章中阅读详细信息。

当启用该属性时,关键路径、松弛时间和自动调度算法将考虑任务进度的数值,这与这些方法在 MS Project 中的工作方式类似,即:

  1. 已完成的任务(进度为 100% 的任务)始终没有松弛时间;

  2. 已完成的任务不参与自动调度的计算。连接前置任务与已完成任务的关系将被忽略;

  3. 已完成的任务不能成为关键任务。

Change log

  • 该属性在 v9.1 中已被废弃
  • 在 v8.0 中新增
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.