提交 2598e087 编写于 作者: Skyeye云's avatar Skyeye云

feat: 甘特图修改样式

上级 58f31d1f
...@@ -42,11 +42,13 @@ layui.config({ ...@@ -42,11 +42,13 @@ layui.config({
{unit: "day", step: 1, date: "%m-%d"} {unit: "day", step: 1, date: "%m-%d"}
]; ];
gantt.config.reorder_grid_columns = true; gantt.config.reorder_grid_columns = true;
gantt.config.columns = [{ gantt.config.columns = [
{name: "wbs", label: "序号", width: 50, template: gantt.getWBSCode},
{
name: "text", name: "text",
label: "产品", label: "产品",
width: 200, width: 200,
align: "center", align: "left",
tree: true, tree: true,
resize: true resize: true
}, { }, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册