根据WBS编码返回对应的任务
const task = gantt.getTaskByWBSCode("1.2"); // => {id:"t1", text:"Task #1, unscheduled: true, duration: 1, …}