天津投入产出系统后端
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.
 
 
 
 
 
 

44 lines
1.8 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage<QMAPP.Common.Web.Models.ImportMessageModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
导入结果
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPList() %>
<%=Model.TableHtml %>
<%=Html.QPEnd() %>
<%=Html.HiddenFor(p=>p.ErrorFile) %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<%=Html.QTButton("return", "ImportMsg", QMFrameWork.WebUI.IconCls.back, "Return();", (s, f) => { return true; })%>
<%=Html.QTButton("export", "ExportExcel", QMFrameWork.WebUI.IconCls.redo, "GetErrorFile();", (s, f) => { return true; })%>
</td>
<th>记录数:</th><td><%=Model.TotalRecordCount %>条&nbsp;&nbsp;</td>
<th>其中,新增:</th><td><%=Model.Message.insertNum%>条&nbsp;&nbsp;</td>
<th>更新:</th><td><%=Model.Message.updateNum%>条&nbsp;&nbsp;</td>
<th>失败:</th><td><%=Model.Message.failureNum%>条&nbsp;&nbsp;失败记录如下表:</td>
</tr>
</table>
<script language="javascript">
//下载错误信息文件
function GetErrorFile() {
submitByButton("/MessageOutput/GetErrorFile");
}
//返回
function Return() {
var returnUrl = "<%=Model.ReturnUrl %>";
if (returnUrl != null && returnUrl != "") {
submitByButton(returnUrl);
}
else {
window.history.back();
}
}
</script>
</asp:Content>