Coder Social home page Coder Social logo

关于实际开始时间 实际结束时间显示(只设置realStartDate或realEndDate 甘特图显示有误;两个字段都不配置,还会自动显示当天) about wl-gantt HOT 2 OPEN

Broccoli1029 avatar Broccoli1029 commented on July 22, 2024
关于实际开始时间 实际结束时间显示(只设置realStartDate或realEndDate 甘特图显示有误;两个字段都不配置,还会自动显示当天)

from wl-gantt.

Comments (2)

Broccoli1029 avatar Broccoli1029 commented on July 22, 2024

配置是:
<wlGantt
ref="wl-gantt-demo"
use-real-time
end-date="2021-5-31"
start-date="2021-4-01"
dateType="yearAndMonth"
:data="data"
:columns="columns"
:contextMenuOptions="contextMenuOptions"
@selection-change="selectionChange"
@expand-change="expandChange"
@timechange="timeChange"
@taskRemove="taskRemove"
@prechange="preChange"
@taskAdd="taskAdd"
>

数据是
[
{
"children": [
{
"endDate": "2021-05-02",
"id": "4d2d8219-c5d9-419d-8cb4-64756bc7b3d7",
"name": "正式验收",
"pid": "517b78e3-79c8-4b32-9252-d2ebd68698b6",
"startDate": "2021-04-27",
}
],
"endDate": "2021-05-02",
"id": "517b78e3-79c8-4b32-9252-d2ebd68698b6",
"name": "验收阶段",
"pid": "0",
"startDate": "2021-04-27",
}
]

显示为:
8860c023172f20f605ec4741e875397d

from wl-gantt.

hql7 avatar hql7 commented on July 22, 2024

from wl-gantt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.