_ReportTemplate.cshtml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. @using WMS.BZWeb;
  2. <!DOCTYPE html>
  3. <html lang="zh-CN">
  4. <head>
  5. <meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
  6. <meta name="viewport" content="width=device-width" />
  7. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  9. <meta name="renderer" content="webkit">
  10. <meta name="viewport" content="width=device-width, initial-scale=1" />
  11. <link rel="icon" href="~/favicon.ico">
  12. <title>@Common.GetBodyUITheme()| @ViewBag.Title</title>
  13. <link href="~/Content/pace/pace-theme-minimal.css" rel="stylesheet" />
  14. <link href="~/Content/font/css/font-awesome.min.css" rel="stylesheet" />
  15. <link href="~/Content/bootstrap/bootstrap.min.css" rel="stylesheet" />
  16. <script src="~/Content/pace/pace.min.js"></script>
  17. <script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
  18. <script src="~/Content/bootstrap/bootstrap.min.js"></script>
  19. <script src="~/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
  20. @Html.AppendCssFile(
  21. "/wwwroot/Content/wms/style/wms-common.css",
  22. "/wwwroot/Content/wms/plugin/scroll/scroll.css",
  23. "/wwwroot/Content/wms/style/wms-iframe-index.css",
  24. "/wwwroot/Content/wms/plugin/layout/wms-layout.css",
  25. "/wwwroot/Content/wms/plugin/tree/wms-tree.css",
  26. "/wwwroot/Content/wms/plugin/select/wms-select.css",
  27. "/wwwroot/Content/wms/plugin/custmerquery/wms-custmerquery.css",
  28. "/wwwroot/Content/wms/plugin/date/wms-datepicker.css",
  29. "/wwwroot/Content/wms/plugin/grid/jfgrid.css",
  30. "/wwwroot/Content/wms/style/wms-reportTemplate.css"
  31. )
  32. <script src="~/Content/datepicker/WdatePicker.js"></script>
  33. <!--[if lt IE 9]>
  34. <script src="~/Content/bootstrap/html5shiv.min.js"></script>
  35. <script src="~/Content/bootstrap/respond.min.js"></script>
  36. <![endif]-->
  37. <script>
  38. function request(d) { for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) { var b = c[a].split("="); if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1]) } return "" };
  39. </script>
  40. @Html.SetCurrentUrl()
  41. </head>
  42. <body class="@Common.GetClientBrowser() @Common.GetBodyUITheme()">
  43. @RenderBody()
  44. @Html.AppendJsFile(
  45. "/wwwroot/Content/wms/plugin/resize/resize.js",
  46. "/wwwroot/Content/wms/plugin/mousewheel/mousewheel.js",
  47. "/wwwroot/Content/wms/plugin/scroll/scroll.js",
  48. "/wwwroot/Content/wms/plugin/layout/wms-layout.js",
  49. "/wwwroot/Content/wms/plugin/tree/wms-tree.js",
  50. "/wwwroot/Content/wms/plugin/select/wms-select.js",
  51. "/wwwroot/Content/wms/plugin/custmerquery/wms-custmerquery.js",
  52. "/wwwroot/Content/wms/plugin/date/wms-datepicker.js",
  53. "/wwwroot/Content/wms/script/wms-validator.js",
  54. "/wwwroot/Content/wms/script/wms-authorize.js",
  55. "/wwwroot/Content/wms/plugin/grid/jfgrid.js"
  56. )
  57. <script>
  58. $(function () {
  59. $('#lr_layout').lrLayout();
  60. // 翻译指定标签
  61. $('.lrlg').each(function () {
  62. var $this = $(this);
  63. top.learun.language.get($this.text(), function (text) {
  64. $this.text(text);
  65. });
  66. });
  67. // 翻译表单标题
  68. $('.lr-form-item-title').each(function () {
  69. var $this = $(this);
  70. var $font = $this.find('font');
  71. $font.remove();
  72. top.learun.language.get($this.text(), function (text) {
  73. if ($font.length > 0) {
  74. $this.html(text + '<font face="宋体">*</font>');
  75. }
  76. else {
  77. $this.text(text);
  78. }
  79. });
  80. });
  81. // input placeholder 翻译
  82. $('input[placeholder]').each(function () {
  83. var $this = $(this);
  84. var _text = $this.attr('placeholder');
  85. top.learun.language.get(_text, function (text) {
  86. $this.attr('placeholder', text);
  87. });
  88. });
  89. //top.learun.httpAsync('GET', top.$.rootUrl + '/LR_SystemModule/Module/GetAuthorizeButtonColumnList', { url: lrCurrentUrl }, function (data) {
  90. // lrModuleButtonList = data.btns;
  91. // lrModuleColumnList = data.cols;
  92. // lrModule = data.module;
  93. // if (!!window.bootstrap) {
  94. // bootstrap(jQuery, top.learun);
  95. // }
  96. //});
  97. });
  98. </script>
  99. </body>
  100. </html>