| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <html>
- <head>
- <style>
- th, td {
- min-width: 200px;
- max-width: 300px;
- }
- .form thead th {
- white-space: nowrap;
- }
- .container {
- width: calc(100% - 5px);
- height: calc(100% - 5px);
- overflow:hidden;
- }
- </style>
- </head>
- <body>
- <js.ss file="/ss/growHeight.js"/>
- <%-- 改。Lin
- <@form id="tjForm" action='@service{name:"importExcel2",dest:"env_import_info"}@' method="post"> --%>
- <form id="tjForm" action="<serv.ss name='grcz_impExcel' dest='objImp_info'/>" method="post">
- <input type='hidden' name='path' value="${uploadPath}"/>
- <%-- 去掉,直接用 Serv.obj,不传来传去。Lin
- <input type='hidden' name='object' value="${object}"/>
- --%>
- <%-- 去掉,ExcelServ.impExcel() < importExcel2() 没用到。Lin
- <input type='hidden' name='jsonData' value="${jsonData}"/>
- <input type='hidden' name='resultList' value="${resultList}" />
- --%>
- <equal.ss val="${empty errMsg}" val2="true">
- <div class="content-div" wdFitHeight="max:745px,min:100px,top:1">
- <div class="container">
- <table class="form">
- <thead>
- <tr>
- <rpt.ss name="${matchingHeads}" id="head">
- <th>${head}</th>
- </rpt.ss>
- </tr>
- </thead>
- <tbody>
- <rpt.ss name="${resultList}" id="lists">
- <tr>
- <rpt.ss name="${lists}" id="list">
- <td>${list}</td>
- </rpt.ss>
- </tr>
- </rpt.ss>
- </tbody>
- </table>
- </div>
- </div>
- <p>当前共有${size}条数据</p>
- <br>
- <p>导入此 Excel,确定吗?</p>
- </equal.ss>
- <equal.ss val="${empty errMsg}" val2="false">
- <p>${errMsg}</p>
- </equal.ss>
- <div class="bottom-div">
- <div class="bottom-down-div border-top">
- <equal.ss val="${empty errMsg}" val2="true">
- <input type="submit" value="确定" class="bottom-button" />
- <input type="button" name="button" onclick="wd.display.closeDialog();" value="取消" class="bottom-button">
- </equal.ss>
- <equal.ss val="${empty errMsg}" val2="false">
- <input type="button" name="button" onclick="wd.display.closeDialog();" value="关闭" class="bottom-button">
- </equal.ss>
- </div>
- </div>
- </form>
- </body>
- <script>
- // wdScroll="XY" 动态生成的滚动条位置会覆盖表格,导致显示不全
- $(".container").niceScroll({
- cursorcolor: "#b7b7b7",
- cursorwidth: "8px",
- autohidemode: false,
- cursorborder: "none",
- zindex: "9999",
- railpadding: { top: -8, right: -6, left: -6, bottom: -4 }
- })
- </script>
- </html>
|