| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <link rel="stylesheet" type="text/css" href="/x_desktop/res/css/style.css" charset="UTF-8" />
- <link rel="stylesheet" href="/x_desktop/res/css/mBoxNotice.css" charset="UTF-8" />
- <link rel="stylesheet" href="/x_desktop/res/css/mBoxTooltip.css" charset="UTF-8" />
- <script src="/x_desktop/res/common.js?v=1.1.7"></script>
- <!--<script src="/x_desktop/res/framework/mootools/mootools-core-1.4.5-full-nocompat.js"></script>-->
- <!--<script src="/x_desktop/res/framework/mootools/mootools-more-1.4.0.1-all_2.js"></script>-->
- <script src="res/framework/mootools/mootools-1.6.0.min.js"></script>
- <script src="res/framework/Decimal.js"></script>
- <title>FORM PREVIEW</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <script>
- layout = window.layout || {};
- COMMON.DOM.addReady(function(){
- COMMON.AjaxModule.load("/x_desktop/res/framework/mootools/plugin/mBox.Notice.js", null, false);
- COMMON.AjaxModule.load("/x_desktop/res/framework/mootools/plugin/mBox.Tooltip.js", null, false);
- COMMON.setContentPath("/x_desktop");
- COMMON.AjaxModule.load("mwf", function(){
- MWF.defaultPath = "/x_desktop"+MWF.defaultPath;
- MWF.loadLP("zh-cn");
- MWF.require("MWF.xDesktop.Layout", function(){
- MWF.require("MWF.xDesktop.Authentication", null, false);
- (function(){
- layout.load = function(){
- if (this.isAuthentication()){
- this.processData = window.frameElement.retrieve("processData");
- MWF.require("MWF.widget.MWFRaphael", null, false);
- MWFRaphael.load(function(){
- this.paperNode = $("layout");
- this.paper = Raphael(this.paperNode, "100%", "99%");
- this.paper.container = this.paperNode;
- MWF.require("MWF.xApplication.process.ProcessDesigner.Process", function(){
- this.process = new MWF.APPPD.Process(this.paper, this.processData, this, {"style":"flat", "isView": true});
- this.process.load();
- }.bind(this));
- }.bind(this));
- }
- };
- layout.authentication = new MWF.xDesktop.Authentication({
- "onLogin": layout.load.bind(layout)
- });
- layout.isAuthentication = function(){
- var returnValue = true;
- this.authentication.isAuthenticated(function(json){
- this.user = json.data;
- }.bind(this), function(){
- this.authentication.loadLogin(this.node);
- returnValue = false;
- }.bind(this));
- return returnValue;
- };
- layout.load();
- })();
- });
- });
- });
- </script>
- </head>
- <body style="overflow: auto; margin: 0px;">
- <div id="layout" style="overflow: auto; height:100%">
- </div>
- </body>
- </html>
|