mzgantt 1.0.8 → 1.0.10
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/README.en.md +7 -5
- package/cdn/edit.js +1 -1
- package/cdn/mzgantt.js +1 -1
- package/dist/edit.js +1 -1
- package/dist/mzgantt.js +1 -1
- package/package.json +1 -1
- package/readme.md +7 -5
- package/sample/sample.html +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mzgantt",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "MZGantt is a Gantt chart plugin developed with native js. Various front-end frameworks can be supported, you can quickly apply it to your web applications or mobile applications.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
package/readme.md
CHANGED
|
@@ -885,6 +885,8 @@ MZGantt提供丰富接口,操作或控制甘特图数据和特征。
|
|
|
885
885
|
|deleteRows|删除选择行|无|
|
|
886
886
|
|cloneRows |克隆选择行|无|
|
|
887
887
|
|updRows|更新行数据|参数1:新增位置 <br> add:当前行后;<br> insert:当前行前;<br> append:末尾;<br> addChild:添加子任务;<br> edit:修改<br> 参数2:任务模型数据<br> <br>注意:<br>行内编辑时,无需使用该方法。<br>该接口适合使用外部任务编辑弹框时,用于提交通过外部编辑弹框得到的数据(参数2)。|
|
|
888
|
+
|addBar|新增进度条|参数:`{start: 开始时间, end: 完成时间, reserver: 人员, theme: 主题, bar_id: 进度条id, title: 标题, aaa: '自定义内容1', bbb: '自定义内容2'}` |
|
|
889
|
+
|deleteBar|删除进度条|无|
|
|
888
890
|
|resetGantt |重置所有任务行编辑状态|无|
|
|
889
891
|
6. 过滤器
|
|
890
892
|
|<div style="width:170px">方法</div>| <div style="width:592px">说明</div>
|
|
@@ -934,11 +936,11 @@ MZGantt提供丰富接口,操作或控制甘特图数据和特征。
|
|
|
934
936
|
进入下载: <a href="https://gitee.com/tecjt_home/mzgantt_js">MZGantt甘特图插件(普通js版)</a>
|
|
935
937
|
或者使用CDN:
|
|
936
938
|
```
|
|
937
|
-
<link rel="stylesheet" type="text/css" href="https://gcore.jsdelivr.net/npm/mzgantt@1.0.
|
|
938
|
-
<script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.
|
|
939
|
-
<script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.
|
|
940
|
-
<script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.
|
|
941
|
-
<script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.
|
|
939
|
+
<link rel="stylesheet" type="text/css" href="https://gcore.jsdelivr.net/npm/mzgantt@1.0.10/cdn/mzgantt.css" />
|
|
940
|
+
<script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.10/cdn/mzgantt.js"></script>
|
|
941
|
+
<script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.10/cdn/edit.js"></script>
|
|
942
|
+
<script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.10/cdn/export.js"></script>
|
|
943
|
+
<script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.10/cdn/mobile.js"></script>
|
|
942
944
|
```
|
|
943
945
|
|
|
944
946
|
2. npm版(支持vue等):直接使用npm命令安装即可。
|
package/sample/sample.html
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
<meta name="author" content="ndes-global.com,tecjt.com" />
|
|
11
11
|
|
|
12
12
|
<!-- Import MZGantt CSS -->
|
|
13
|
-
<link rel="stylesheet" href="https://gcore.jsdelivr.net/npm/mzgantt@1.0.
|
|
13
|
+
<link rel="stylesheet" href="https://gcore.jsdelivr.net/npm/mzgantt@1.0.10/cdn/mzgantt.css">
|
|
14
14
|
|
|
15
15
|
<!-- Import MZGantt JS files -->
|
|
16
|
-
<script src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.
|
|
17
|
-
<script src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.
|
|
18
|
-
<script src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.
|
|
19
|
-
<script src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.
|
|
16
|
+
<script src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.10/cdn/mzgantt.js"></script>
|
|
17
|
+
<script src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.10/cdn/edit.js"></script>
|
|
18
|
+
<script src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.10/cdn/export.js"></script>
|
|
19
|
+
<script src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.10/cdn/mobile.js"></script>
|
|
20
20
|
|
|
21
21
|
<style>
|
|
22
22
|
body {
|