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

75 lines
2.6 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.Web.Models.Sys.NoticeInfoModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
公告信息列表
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPSeach(85,true) %>
<table id="condiTable">
<tr>
<th>
<%=Html.QV(p=>p.NOTICETITLE) %>
</th>
<td>
<%=Html.QC(p => p.NOTICETITLE)%>
</td>
<th>
通知日期
</th>
<td>
<%=Html.QC(p => p.USETIMESTART)%>
</td>
<th>
</th>
<td>
<%=Html.QC(p => p.USETIMEEND)%>
</td>
</tr>
</table>
<%=Html.QPEnd()%>
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.Web.Models.Sys.MyNoticeInfoModel>(Model)%>
<%=Html.HiddenFor(p => p.CANREPLY)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<script language="javascript" type="text/javascript">
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table id="EditTable" cellpadding="0" cellspacing="0">
<tr>
<td>
<%=Html.QTButtonSearch("Notice", "NoticeList", "Search()")%>
</td>
</tr>
</table>
<script language="javascript" type="text/javascript">
//查看公告
function ClickNotice(obj) {
window.open("/Notice/ShowNotice?NoticeID=" + obj);
}
function Search() {
//判断通知日期的结束时间不能早于开始时间
var UsetimeStart = document.getElementById("USETIMESTART").value;
var UsetimeEnd = document.getElementById("USETIMEEND").value;
if (UsetimeStart != "" && UsetimeEnd != "") {
if (UsetimeStart > UsetimeEnd) {
MSI("提示", "通知日期的结束时间不能早于开始时间");
return;
}
}
List(1);
}
//查看公告
function ClickGridCell(rowIndex, field, value) {
$('#QDateGrid').datagrid('clearSelections');
if (field == "NOTICETITLE") {
rows = $('#QDateGrid').datagrid('getRows');
var id = rows[rowIndex].NOTICEID;
openAppWindow1('查看', 'ViewNotice?noticeID=' + id + '&check=true', '700', '480');
}
}
</script>
</asp:Content>