_Index.cshtml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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.GetWMSTile()| @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. @* <script src="~/Content/echarts/echarts.min.js"></script> *@
  21. @* <script src="~/Content/echarts55/echarts.min.js"></script>
  22. <script src="~/Content/echarts55/theme/shine.js"></script> *@
  23. @Html.AppendCssFile(
  24. "/wwwroot/Content/wms/style/wms-common.css",
  25. "/wwwroot/Content/wms/plugin/scroll/scroll.css",
  26. "/wwwroot/Content/wms/style/wms-iframe-index.css",
  27. "/wwwroot/Content/wms/plugin/layout/wms-layout.css",
  28. "/wwwroot/Content/wms/plugin/tree/wms-tree.css",
  29. "/wwwroot/Content/wms/plugin/select/wms-select.css",
  30. "/wwwroot/Content/wms/plugin/timeline/wms-timeline.css",
  31. "/wwwroot/Content/wms/plugin/formselect/wms-formselect.css",
  32. "/wwwroot/Content/wms/plugin/custmerquery/wms-custmerquery.css",
  33. "/wwwroot/Content/wms/plugin/date/wms-datepicker.css",
  34. "/wwwroot/Content/wms/plugin/datetime/wms-datetimepicker.css",
  35. "/wwwroot/Content/wms/plugin/grid/jfgrid.css"
  36. )
  37. @* @WebReportGlobals.Scripts()
  38. @WebReportGlobals.Styles()*@
  39. <script src="~/Content/datepicker/WdatePicker.js"></script>
  40. <!--[if lt IE 9]>
  41. <script src="~/Content/bootstrap/html5shiv.min.js"></script>
  42. <script src="~/Content/bootstrap/respond.min.js"></script>
  43. <![endif]-->
  44. <script>
  45. 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 "" };
  46. </script>
  47. @Html.SetCurrentUrl()
  48. </head>
  49. <body class="@Common.GetClientBrowser() @Common.GetBodyUITheme()">
  50. @RenderBody()
  51. @Html.AppendJsFile(
  52. "/wwwroot/Content/wms/plugin/resize/resize.js",
  53. "/wwwroot/Content/wms/plugin/mousewheel/mousewheel.js",
  54. "/wwwroot/Content/wms/plugin/scroll/scroll.js",
  55. "/wwwroot/Content/wms/plugin/layout/wms-layout.js",
  56. "/wwwroot/Content/wms/plugin/tree/wms-tree.js",
  57. "/wwwroot/Content/wms/plugin/select/wms-select.js",
  58. "/wwwroot/Content/wms/plugin/timeline/wms-timeline.js",
  59. "/wwwroot/Content/wms/plugin/formselect/wms-formselect.js",
  60. "/wwwroot/Content/wms/plugin/custmerquery/wms-custmerquery.js",
  61. "/wwwroot/Content/wms/plugin/date/wms-datepicker.js",
  62. "/wwwroot/Content/wms/plugin/datetime/wms-datetimepicker.js",
  63. "/wwwroot/Content/wms/script/wms-validator.js",
  64. "/wwwroot/Content/wms/script/wms-authorize.js",
  65. "/wwwroot/Content/wms/script/wms-form.js",
  66. "/wwwroot/Content/wms/plugin/grid/jfgrid.js",
  67. "/wwwroot/Content/wms/script/wms-Util.js"
  68. )
  69. <script>
  70. $(function () {
  71. $('#lr_layout').lrLayout();
  72. // 翻译指定标签
  73. $('.lrlg').each(function () {
  74. var $this = $(this);
  75. top.learun.language.get($this.text(), function (text) {
  76. $this.text(text);
  77. });
  78. });
  79. // 翻译表单标题
  80. $('.lr-form-item-title').each(function () {
  81. var $this = $(this);
  82. var $font = $this.find('font');
  83. $font.remove();
  84. top.learun.language.get($this.text(), function (text) {
  85. if ($font.length > 0) {
  86. $this.html(text + '<font face="宋体">*</font>');
  87. }
  88. else {
  89. $this.text(text);
  90. }
  91. });
  92. });
  93. // input placeholder 翻译
  94. $('input[placeholder]').each(function () {
  95. var $this = $(this);
  96. var _text = $this.attr('placeholder');
  97. top.learun.language.get(_text, function (text) {
  98. $this.attr('placeholder', text);
  99. });
  100. });
  101. if (!!window.bootstrap) {
  102. bootstrap(jQuery, top.learun);
  103. }
  104. //top.learun.httpAsync('GET', top.$.rootUrl + '/LR_SystemModule/Module/GetAuthorizeButtonColumnList', { url: lrCurrentUrl }, function (data) {
  105. // //lrModuleButtonList = data.btns;
  106. // //lrModuleColumnList = data.cols;
  107. // //lrModule = data.module;
  108. // if (!!window.bootstrap) {
  109. // bootstrap(jQuery, top.learun);
  110. // }
  111. //});
  112. });
  113. </script>
  114. </body>
  115. </html>