11 2021 档案

摘要:1 <Select 2 v-model:value="scaleConfigValue" 3 style="width: 100px; margin-right: 10px" 4 @select="setScaleConfigFuc" 5 > 6 <Option value="day">按天</Op 阅读全文
posted @ 2021-11-16 17:44 你在说啥 阅读(831) 评论(0) 推荐(0)
摘要:1 <Select 2 v-model:value="layoutConfigValue" 3 style="width: 100px; margin-right: 10px" 4 @select="setLayoutConfigFuc" 5 > 6 <Option value="gridAndTi 阅读全文
posted @ 2021-11-16 17:42 你在说啥 阅读(463) 评论(0) 推荐(0)
摘要:1、在甘特图中添加日历 https://docs.dhtmlx.com/gantt/api__gantt_addcalendar.html 1 task.calendar_id = 'default'; 2 // adding a previously created calendar 3 var 阅读全文
posted @ 2021-11-16 17:40 你在说啥 阅读(396) 评论(0) 推荐(0)
摘要:1 const ganttData = reactive<{ 2 // 全屏开启状态 3 fullScreenStatus: boolean; 4 }>({ 5 fullScreenStatus: false, 6 }); 7 8 function collapseExpandFullFuc() { 阅读全文
posted @ 2021-11-16 17:35 你在说啥 阅读(313) 评论(0) 推荐(0)
摘要:1、激活“分支”模式,允许在同一树级别内垂直重新排序任务。 https://docs.dhtmlx.com/gantt/api__gantt_order_branch_config.html 此选项允许重新排序任务,同时保存它们的树级别位置。例如,子任务永远不会成为父任务。 1 gantt.conf 阅读全文
posted @ 2021-11-16 17:32 你在说啥 阅读(1185) 评论(0) 推荐(0)
摘要:1、向时间线区域添加标记 https://docs.dhtmlx.com/gantt/api__gantt_addmarker.html 1 var todayMarker = gantt.addMarker({ 2 start_date: new Date(), 3 css: "today", 4 阅读全文
posted @ 2021-11-16 17:26 你在说啥 阅读(728) 评论(0) 推荐(0)
摘要:1、双击task时,弹出lightbox弹出框 https://docs.dhtmlx.com/gantt/api__gantt_details_on_dblclick_config.html 1 gantt.config.details_on_dblclick = true; 2 // task双 阅读全文
posted @ 2021-11-16 17:09 你在说啥 阅读(850) 评论(0) 推荐(0)
摘要:1、返回任务的可见高度 https://docs.dhtmlx.com/gantt/api__gantt_gettaskheight.html 1 var height = gantt.getTaskHeight(); // -> 30 2、计算任务的DOM元素在时间轴区域的位置和大小 https: 阅读全文
posted @ 2021-11-16 17:08 你在说啥 阅读(431) 评论(2) 推荐(0)
摘要:1、获取任务节点 https://docs.dhtmlx.com/gantt/api__gantt_gettask.html 1 gantt.addTask({ 2 id:7, 3 text:"Task #5", 4 start_date:"02-09-2013", 5 duration:28 6 阅读全文
posted @ 2021-11-16 16:58 你在说啥 阅读(642) 评论(0) 推荐(0)