| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <%--
- Created by IntelliJ IDEA.
- User: Future
- Date: 2021/8/13
- Time: 16:04
- To change this template use File | Settings | File Templates.
- --%>
- <%--
- Created by IntelliJ IDEA.
- User: Future
- Date: 2021/8/9
- Time: 6:51
- To change this template use File | Settings | File Templates.
- --%>
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
- <%@include file="/context/mytags.jsp" %>
- <t:base type="jquery,easyui,tools,DatePicker"></t:base>
- <style>
- .datagrid-toolbar form>span:nth-last-child(1)>span {
- width: 90px !important;
- }
- </style>
- <div class="easyui-layout" fit="true">
- <div region="center" style="padding:0px;border:0px">
- <t:datagrid name="garbageweight" fitColumns="true" checkbox="false" pageSize="20"
- title="垃圾重量统计" actionUrl="GarbageWeightController.do?datagrid"
- sortName="weighTime" sortOrder="desc" idField="id" queryMode="group">
- <t:dgCol title="主键" field="id" hidden="true" width="120"></t:dgCol>
- <t:dgCol title="车牌号" field="plate" query="true" queryMode="single" width="100"></t:dgCol>
- <t:dgCol title="垃圾类型" field="garbageType" query="true" dictionary="rubbishType" queryMode="single" width="100"></t:dgCol>
- <t:dgCol title="所属区域" field="areaRegion" query="true" dictionary="areaRegion" queryMode="single" width="110"></t:dgCol>
- <t:dgCol title="称重时间" field="weighTime" formatter="yyyy-MM-dd hh:mm:ss" query="true" queryMode="group" width="90"></t:dgCol>
- <t:dgCol title="净重(KG)" field="netWeight" query="false" queryMode="single" width="110"></t:dgCol>
- <t:dgCol title="额重(KG)" field="amountWeight" query="false" queryMode="single" width="110"></t:dgCol>
- <t:dgCol title="装载率(%)" field="loadingRate" query="false" queryMode="single" width="110"></t:dgCol>
- <t:dgCol title="站点" field="station" query="false" queryMode="single" width="110"></t:dgCol>
- <t:dgToolBar title="导入" icon="icon-putout" operationCode="putout" funname="ImportXls" width="400" height="200"></t:dgToolBar>
- <t:dgToolBar title="导出" icon="icon-put" operationCode="put" funname="ExportXls" width="400" height="200"></t:dgToolBar>
- </t:datagrid>
- </div>
- </div>
- <script type="text/javascript">
- $(function() {
- // $(":input[name='weighTime_begin']").css("width","150px");
- // $(":input[name='weighTime_begin']").css("margin","5px");
- // $(":input[name='weighTime_end']").css("width","150px");
- // $(":input[name='weighTime_end']").css("margin","5px");
- $("select[name='garbageType'] option[value='3']").remove()
- $("#garbageweightForm > span:nth-child(6) > span:nth-child(3)").css("display","")
- })
- //导入
- ImportXls = () => {
- openuploadwin('Excel导入', 'garbageWeightController.do?upload', "garbageweight");
- }
- //导出
- ExportXls = () => {
- JeecgExcelExport("garbageWeightController.do?exportXls", "garbageweight");
- }
- //模板下载
- ExportXlsByT= () =>{
- JeecgExcelExport("garbageWeightController.do?exportXlsByT", "garbageweight");
- }
- </script>
|