Listp.aspx 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Listp.aspx.cs" Inherits="Com.Jpsoft.Hospital.Web.Module.ExamineInfo.SORIS.Listp" %>
  2. <%@ Register Assembly="ZqWebControlLibrary" Namespace="FrameWork.WebControls" TagPrefix="cc1" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head runat="server">
  6. <title></title>
  7. <link type="text/css" rel="Stylesheet" href="<%=Page.ResolveClientUrl("~/") %>Css/main.css" />
  8. <script src='<%=Page.ResolveClientUrl("~/js/jquery.js") %>' type="text/javascript"></script>
  9. <script>
  10. $(function () {
  11. $("#pro").css("display", "none");
  12. });
  13. function Procee(uid, name) {
  14. alert(name);
  15. $("#pro").css("display", "");
  16. $("#txtUID").val(uid);
  17. $("#txtName").text(name);
  18. }
  19. </script>
  20. </head>
  21. <body>
  22. <form id="form1" runat="server">
  23. <div id="main">
  24. <div class="main_title">
  25. <div class="mainborder1">
  26. </div>
  27. <div class="mainborder3">
  28. </div>
  29. <div class="mainborder2">
  30. <div class="pagetitle">
  31. <div style="float: left">
  32. 医德医风>>表扬</div>
  33. <div style="float: right">
  34. <!--<a href="Insert.aspx" style="text-align: right">新增</a>-->
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="main_body">
  40. <table border="0" cellpadding="0" cellspacing="1" width="100%">
  41. <tr>
  42. <td>
  43. <%--<table border="0" cellpadding="0" cellspacing="1" width="100%">
  44. <tr>
  45. <td width="200px" align="right">
  46. 类型:
  47. </td>
  48. <td width="30%">
  49. <asp:DropDownList ID="DropDownList1" runat="server">
  50. </asp:DropDownList>
  51. </td>
  52. <td>
  53. <asp:Button ID="Button1" runat="server" Text="查询" CssClass="BtnNormal" OnClick="Button1_Click" />
  54. </td>
  55. </tr>
  56. </table>--%>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td>
  61. <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
  62. SkinID="gvskin" EnableModelValidation="True">
  63. <Columns>
  64. <asp:BoundField DataField="UID" HeaderText="编号" />
  65. <asp:BoundField DataField="Praisetime" HeaderText="时间" />
  66. <asp:BoundField DataField="Praisephone" HeaderText="电话" />
  67. <asp:BoundField DataField="TypeName" HeaderText="类别" />
  68. <asp:BoundField DataField="ygdm" HeaderText="员工工号" />
  69. <asp:BoundField DataField="ygxm" HeaderText="员工姓名" />
  70. <asp:BoundField DataField="ksmc" HeaderText="科室" />
  71. <asp:TemplateField HeaderText="是否处理">
  72. <ItemTemplate>
  73. <asp:Label ID="Label1" runat="server" Text='<%# GetBoolCN(Eval("Isprocess")) %>'></asp:Label>
  74. </ItemTemplate>
  75. </asp:TemplateField>
  76. <asp:TemplateField HeaderText="处理">
  77. <ItemTemplate>
  78. <div onclick='Procee(<%#Eval("UID") %>,"<%#Eval("ygxm") %>")' style="cursor:pointer">处理</div>
  79. </ItemTemplate>
  80. </asp:TemplateField>
  81. </Columns>
  82. </asp:GridView>
  83. <cc1:aspnetpager ID="AspNetPager1" runat="server" PageSize="18"
  84. OnPageChanged="AspNetPager1_PageChanged">
  85. </cc1:aspnetpager>
  86. </td>
  87. </tr>
  88. <tr id="pro">
  89. <td><br /><br /><br />
  90. <asp:TextBox ID="txtUID" style="display:none" runat="server"></asp:TextBox>
  91. 表扬 <asp:Label runat="server" Text="" ID="txtName"></asp:Label> &nbsp;的意见:<br />
  92. <asp:TextBox runat="server" ID="txtContext" TextMode="MultiLine" Width="60%" Height="80"></asp:TextBox>
  93. <br />
  94. <asp:TextBox runat="server" ID="txtLinkman"></asp:TextBox>
  95. <br />
  96. <asp:TextBox runat="server" ID="txtLinktime" onclick="WdatePicker();"></asp:TextBox>
  97. <asp:Button runat="server" Text="处理" onclick="Unnamed1_Click" />
  98. </td>
  99. </tr>
  100. </table>
  101. </div>
  102. <div class="main_foot">
  103. <div class="mainborder4">
  104. </div>
  105. <div class="mainborder6">
  106. </div>
  107. <div class="mainborder5">
  108. </div>
  109. </div>
  110. </div>
  111. </form>
  112. </body>
  113. </html>