lsc 2 anos atrás
pai
commit
5fca7ab590
1 arquivos alterados com 41 adições e 40 exclusões
  1. 41 40
      js/gm/DeskTop.js

+ 41 - 40
js/gm/DeskTop.js

@@ -2394,46 +2394,47 @@ U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
             }
             break;
         case "mind":
-            aTool = 3;
-            _iframe = $$("iframe", {
-                "frameborder": "no",
-                "border": "0",
-                "scrolling ": "no",
-                "style": {
-                    "cssText": "border:0;width:100%;height:100%"
-                },
-                "src": "/kityminder-editor/dist/index.html"
-            })
-            _box.appendChild(_iframe);
-            _box.appendChild(_jie);
-            _formdiv = new U.UF.UI.form(
-                "思维导图",
-                _box, { //"/jsmind/example/demo.html" 
-                "id": "mind",
-                "style": {
-                    "width": "90%",
-                    "height": "90%",
-                    "overflow": 'hidden'
-                },
-                "onresize": function () { }
-            }, {
-                closecallback: function () { }
-            }, {
-                "style": {
-                    "height": "36px"
-                }
-            }).form; //创建窗体
-            _taskbar = {
-                "id": str + _formdiv.id,
-                "style": {
-                    "backgroundImage": "url(/img/icon/mindMapping.png)"
-                },
-                "name": "思维导图",
-                "forms": _formdiv,
-                "click": function () {
-                    U.MD.D.I.openApplication(str, obj, info);
-                }
-            }
+            // aTool = 3;
+            // _iframe = $$("iframe", {
+            //     "frameborder": "no",
+            //     "border": "0",
+            //     "scrolling ": "no",
+            //     "style": {
+            //         "cssText": "border:0;width:100%;height:100%"
+            //     },
+            //     "src": "/kityminder-editor/dist/index.html"
+            // })
+            // _box.appendChild(_iframe);
+            // _box.appendChild(_jie);
+            // _formdiv = new U.UF.UI.form(
+            //     "思维导图",
+            //     _box, { //"/jsmind/example/demo.html" 
+            //     "id": "mind",
+            //     "style": {
+            //         "width": "90%",
+            //         "height": "90%",
+            //         "overflow": 'hidden'
+            //     },
+            //     "onresize": function () { }
+            // }, {
+            //     closecallback: function () { }
+            // }, {
+            //     "style": {
+            //         "height": "36px"
+            //     }
+            // }).form; //创建窗体
+            // _taskbar = {
+            //     "id": str + _formdiv.id,
+            //     "style": {
+            //         "backgroundImage": "url(/img/icon/mindMapping.png)"
+            //     },
+            //     "name": "思维导图",
+            //     "forms": _formdiv,
+            //     "click": function () {
+            //         U.MD.D.I.openApplication(str, obj, info);
+            //     }
+            // }
+            window.open("https://cloud.cocorobo.cn/kityminder-editor/dist/index.html", "思维导图", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0,  resizable=0, location=0, status=no");
             break;
         case "MindMap":
             aTool = 3;