123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmCrmCustomerLinkList.aspx.cs" Inherits="AppFms_Crm_frmCrmCustomerLinkList" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title>联系人</title>
- <link href="../../Themes/Default/eci.css" rel="stylesheet" />
- <!-- #include File="../../App/Common/PageLoad.aspx" -->
- <script type="text/javascript">
- function deleteAction(obj) {
- msg.confirm("确定要执行删除操作吗?", obj);
- }
- function addAction() {
- var url = "frmCrmCustomerLinkEdit.aspx";
- eci.open(url);
- }
- function editAction(obj) {
- var key = $(obj).getKey();
- var url = "frmCrmCustomerLinkEdit.aspx?key=" + key;
- eci.open(url);
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div id="root">
-
- <asp:ETitle runat="server" ID="pagetitle" Title="联系人"></asp:ETitle>
-
- <div id="divQuery" style="width: 100%;">
- <table id="tbQuery" class="grid" cellpadding="0" cellspacing="0">
- <tr>
- <th style="width: 10%"></th>
- <th style="width: 20%"></th>
- <th style="width: 10%"></th>
- <th style="width: 20%"></th>
- <th style="width: 10%"></th>
- <th style="width: 20%"></th>
- </tr>
- <tr>
- <td class="lbl">类型</td>
- <td><asp:ECombox runat="server" ID ="cboType" DataField="TYPE" Query="A.TYPE|string|=" AddEmpty="true" ECIType="LXRLX" Width="85%"></asp:ECombox></td>
- <td class="lbl">姓名</td>
- <td><asp:ETextBox runat="server" ID ="txtName" DataField="NAME" Query="A.NAME|string|like" Width="85%"></asp:ETextBox></td>
- <td class="lbl">生效状态</td>
- <td><asp:ECombox runat="server" ID ="cboStatus" DataField="STATUS" Query="A.STATUS|string|=" AddEmpty="true" ECIType="SXZT" Width="85%"></asp:ECombox></td>
- </tr>
- <tr>
- <td class="center" colspan="6">
- <asp:EButton runat="server" ID="btnSearch" Text="查询" Icon="find" />
- <asp:EButton runat="server" ID="btnReset" IsClient="true" Text="重置" Icon="reset" OnClientClick= "eci.reset('tbQuery');"/></td>
- </tr>
- </table>
- </div>
- <div id="toolbar">
- <asp:EButton runat="server" ID="btnAdd" Text="新增" Icon="Add" OnClientClick="addAction();" IsClient="true" />
- </div>
- <div id="datagrid">
- <asp:EGridView ID="gvData" Layout="divQuery,toolbar,pagetitle" runat="server"
- FitWindow="true" EnableSorting="True" EnableSelect="false" EnablePaging="true" EnableClickSelectRow="true"
- Width="1000px" KeyField="GUID" HAlign="center" OnClick="editAction">
- <Columns>
- <asp:TemplateField HeaderText="编辑" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80">
- <ItemTemplate>
- <asp:EButton runat="server" ID="btnEdit" Text="编辑" IsClient="true" Icon="edit" OnClientClick="editAction(this);" />
- </ItemTemplate>
- </asp:TemplateField>
- <asp:TemplateField HeaderText="删除" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80">
- <ItemTemplate>
- <asp:EButton runat="server" Icon="Delete" ID="btnDelete" Text="删除" IsClient="true" OnClientClick="return deleteAction(this);" CommandArgument='<%#Eval("GUID")%>' OnClick="btnDelete_Click" />
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="TYPE" HeaderText="类型" SortExpression="TYPE" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="NAME" HeaderText="姓名" SortExpression="NAME" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="MAIL" HeaderText="邮箱" SortExpression="MAIL" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="DEPT" HeaderText="部门" SortExpression="DEPT" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="STATE" HeaderText="职务" SortExpression="STATE" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="TEL" HeaderText="电话" SortExpression="TEL" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="STATUS" HeaderText="生效状态" SortExpression="STATUS" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="CREATE_USER_NAME" HeaderText="创建人" SortExpression="CREATE_USER_NAME" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="CREATE_DATE" HeaderText="创建日期" SortExpression="CREATE_DATE" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="UPDATE_USER_NAME" HeaderText="修改人" SortExpression="UPDATE_USER_NAME" ItemStyle-Width="150"></asp:BoundField>
- <asp:BoundField DataField="UPDATE_DATE" HeaderText="修改日期" SortExpression="UPDATE_DATE" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" ItemStyle-Width="150"></asp:BoundField>
- </Columns>
- </asp:EGridView>
- </div>
- </div>
- </form>
- </body>
- </html>
|