cloud-web-corejs 1.0.54-dev.383 → 1.0.54-dev.385

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.383",
4
+ "version": "1.0.54-dev.385",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -30,7 +30,7 @@ export default {
30
30
  window.innerHeight ||
31
31
  document.documentElement.clientHeight ||
32
32
  document.body.clientHeight;
33
- this.tabheight = h - 170;
33
+ this.tabheight = h - 60;
34
34
  if (this.height) {
35
35
  this.tabheight = this.height;
36
36
  }
@@ -248,9 +248,9 @@ export default {
248
248
  // }
249
249
  // {name:"start_date", label:"开始时间", align: "center" },
250
250
  // {name:"end_date", label:"结束时间", align: "center" },
251
- ];
251
+ ];*/
252
252
  // 为每个bar增加class
253
- gantt.templates.task_class = function (start, end, item) {
253
+ /* gantt.templates.task_class = function (start, end, item) {
254
254
  switch (item.status) {
255
255
  case "400": // 已完成
256
256
  return "gantt_success";
@@ -314,7 +314,7 @@ export default {
314
314
  { id: "onTaskDblClick" }
315
315
  );*/
316
316
 
317
- // this.initConfig();
317
+ this.initConfig();
318
318
  // 清空旧数据
319
319
  gantt.clearAll();
320
320
  // 销毁gantt实例 按需开启