meetingQrPrint.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html>
  3. <head lang="en">
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  5. <link rel="stylesheet" type="text/css" href="../x_desktop/css/style.css" charset="UTF-8" />
  6. <link rel="stylesheet" type="text/css" href="css/v10/root.css" charset="UTF-8" />
  7. <link rel="stylesheet" type="text/css" href="css/v10/style.css" id="oo-css-skin" charset="UTF-8" />
  8. <link rel="stylesheet" href="../x_desktop/css/mBoxNotice.css" charset="UTF-8" />
  9. <link rel="stylesheet" href="../x_desktop/css/mBoxTooltip.css" charset="UTF-8" />
  10. <script src="../o2_core/o2.min.js?v=2.1.3"></script>
  11. <script src="../x_desktop/js/base.min.js?v=2.1.3"></script>
  12. <script>
  13. layout.addReady(function(){
  14. (function(layout){
  15. var uri = new URI(window.location.href);
  16. var meeting = uri.getData("meeting");
  17. var _load = function(){
  18. MWF.Actions.get("x_meeting_assemble_control").getCheckinQrCode( meeting, function(json){
  19. var img = new Element("img",{
  20. src : "data:image/png;base64,"+json.data.image,
  21. styles : {
  22. width : "600px",
  23. height : "600px"
  24. },
  25. events : {
  26. load : function(){ window.print() }
  27. }
  28. }).inject( $("contentArea") );
  29. }.bind(this));
  30. };
  31. if( meeting )_load();
  32. })(layout);
  33. });
  34. </script>
  35. <title>会议签到二维码</title>
  36. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  37. </head>
  38. <body style="height: 100%; width:800px;overflow: auto; margin:0px">
  39. <!--<div id="layout" style="overflow: auto; height:100%">-->
  40. <!--<div id="loaddingArea" style="overflow: hidden;width:0px; height:2px; background-color:#4e82bd; position: absolute; top: 0; z-index: 100"></div>-->
  41. <!--</div>-->
  42. <div id="contentArea" style="margin-top:100px;margin-left:100px">
  43. </div>
  44. </body>
  45. </html>