You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
2.3 KiB
67 lines
2.3 KiB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.WarnManage.EquipMentMaintainModel>" %>
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|
设备停机记录
|
|
</asp:Content>
|
|
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|
|
|
<%=Html.QPSeach(80,true) %>
|
|
<table id="condiTable" >
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.MACHINENAME)%>
|
|
</th>
|
|
<td align="left" >
|
|
<%=Html.QC(p => p.MACHINENAME)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.DOWNTIMESTARTTXT)%>
|
|
</th>
|
|
<td align="left" >
|
|
<%=Html.QC(p => p.DOWNTIMESTARTTXT)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.DOWNTIMEENDTXT)%>
|
|
</th>
|
|
<td align="left" >
|
|
<%=Html.QC(p => p.DOWNTIMEENDTXT)%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div style="left: 1px; position: relative;"></div>
|
|
|
|
<%=Html.QPEnd()%>
|
|
<%=Html.QPList() %>
|
|
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.WarnManage.EquipMentMaintainModel>(Model)%>
|
|
<%=Html.QPEnd() %>
|
|
<%=Html.Hidden("selectKey")%>
|
|
<script language="javascript" type="text/javascript">
|
|
|
|
//导出
|
|
function Export() {
|
|
document.getElementById("selectKey").value = getSelectKey();
|
|
submitByButton("ExportExcel");
|
|
}
|
|
//查询
|
|
function Serch() {
|
|
if (parseDate($("#DOWNTIMESTARTTXT").val()) > parseDate($("#DOWNTIMEENDTXT").val())) {
|
|
alert("开始时间不能大于结束时间!");
|
|
return;
|
|
}
|
|
List(1)
|
|
}
|
|
$(function () { List(1); });
|
|
</script>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
|
|
<table cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td align="center">
|
|
<%=Html.QTButtonSearch("ProductArchives", "List", "Serch()")%>
|
|
<%=Html.QTButton("export", "ExportExcel", QMFrameWork.WebUI.IconCls.redo, "Export()", (s, f) => { return true; })%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</asp:Content>
|
|
|
|
|