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.
126 lines
4.3 KiB
126 lines
4.3 KiB
4 years ago
|
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
||
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.WarnManage.WarnInformerModel>" %>
|
||
|
|
||
|
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
||
|
报警通知人员列表
|
||
|
</asp:Content>
|
||
|
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||
|
<%=Html.QPSeach(100,true) %>
|
||
|
<table id="condiTable">
|
||
|
<tr>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.INFORMNAME)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.INFORMNAME)%>
|
||
|
</td>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.INFORMCODE)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.INFORMCODE)%>
|
||
|
</td>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.WARNCODE)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.WARNCODE)%>
|
||
|
</td>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.INFOTYPE)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.INFOTYPE)%>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.MAIL)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.MAIL)%>
|
||
|
</td>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.MOBILEPHONENUMBER)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.MOBILEPHONENUMBER)%>
|
||
|
</td>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.STARTCREATEDATE)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.STARTCREATEDATE)%>
|
||
|
</td>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.ENDCREATEDATE)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.ENDCREATEDATE)%>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<div style="left: 1px; position: relative;">
|
||
|
</div>
|
||
|
<%=Html.QPEnd()%>
|
||
|
<%=Html.QPList() %>
|
||
|
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.WarnManage.WarnInformerModel>(Model)%>
|
||
|
<%=Html.QPEnd() %>
|
||
|
<%=Html.Hidden("selectKey")%>
|
||
|
<script language="javascript" type="text/javascript">
|
||
|
//添加
|
||
|
function Add() {
|
||
|
openAppWindow1('报警通知人员添加', 'WarnInformerEdit', '700', '415');
|
||
|
}
|
||
|
//修改
|
||
|
function Update() {
|
||
|
var ids = getSelectKey();
|
||
|
if (ids == "") {
|
||
|
MSI("提示", "请选择修改记录。");
|
||
|
return;
|
||
|
}
|
||
|
if (ids.indexOf(":") > 0) {
|
||
|
MSI("提示", "每次只能修改一条记录。");
|
||
|
return;
|
||
|
}
|
||
|
document.getElementById("selectKey").value = ids;
|
||
|
openAppWindow1('报警通知人员修改', 'WarnInformerEdit?PID=' + ids, '700', '410');
|
||
|
}
|
||
|
//删除
|
||
|
function Delete() {
|
||
|
var ids = getSelectKey();
|
||
|
if (ids == "") {
|
||
|
MSI("错误", "至少选择一条记录");
|
||
|
}
|
||
|
else {
|
||
|
document.getElementById("selectKey").value = ids;
|
||
|
MSQ("提示", "确定要删除选中的记录吗?", function () {
|
||
|
submitByButton("WarnInformerDelete");
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//查询
|
||
|
function Search() {
|
||
|
if (parseDate($("#STARTCREATEDATE").val()) > parseDate($("#ENDCREATEDATE").val())) {
|
||
|
alert("开始时间不能大于结束时间!");
|
||
|
return;
|
||
|
}
|
||
|
List(1)
|
||
|
}
|
||
|
</script>
|
||
|
</asp:Content>
|
||
|
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
|
||
|
<table cellpadding="0" cellspacing="0">
|
||
|
<tr>
|
||
|
<td align="center">
|
||
|
<%=Html.QTButtonSearch("WarnInfo", "List", "Search()", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
||
|
<%=Html.QTButtonAdd("WarnInfo", "Add", "Add()", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
||
|
<%=Html.QTButtonUpdate("WarnInfo", "Update", "Update()", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
||
|
<%=Html.QTButtonDelete("WarnInfo", "Delete", "Delete()", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
||
|
<%=Html.QTButtonBack("close", "List", "parent.closeAppWindow1();return false;")%>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</asp:Content>
|