LogList.aspx 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LogList.aspx.cs" Inherits="LYFZ.WanYuKeFu.LogList" %>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <script src="/lib/jquery-1.7.2.min.js" type="text/javascript"></script>
  7. <title></title>
  8. </head>
  9. <body>
  10. <div>
  11. <div>
  12. <span>输入要调试的企业ID:</span>
  13. <input name="txtDongleDomaine" id="txtDongleDomaine" type="text" value="" style="width:300px;" />
  14. <input name="btnAddDongleDomaine" id="btnAddDongleDomaine" onclick="AddDongleDomaine()" type="button" value="添加" />
  15. <input name="btnDelDongleDomaine" id="btnDelDongleDomaine" onclick="DelDongleDomaine()" type="button" value="删除所有企业ID" />
  16. </div>
  17. <ul>
  18. <li><a href="LogList.aspx?logs=y">开启日志功能</a></li>
  19. <li><a href="LogList.aspx?logs=n">关闭日志功能</a></li>
  20. <li><a href="LogList.aspx?logs=del">删除日志功能</a></li>
  21. </ul>
  22. <h1><%=tempLogs %></h1>
  23. <h2>待调试企业ID</h2>
  24. <div>
  25. <%=ddomaineList %>
  26. </div>
  27. <h2>待调试日志信息</h2>
  28. <div>
  29. <%=global_asax.GetWeiXinlogs() %>
  30. </div>
  31. </div>
  32. <script type="text/javascript">
  33. $(document).ready(function () {
  34. });
  35. function AddDongleDomaine() {
  36. var ddomaine = $("#txtDongleDomaine").val();
  37. if (ddomaine) {
  38. document.location = "LogList.aspx?type=add&ddomaine=" + ddomaine;
  39. } else {
  40. alert("请输入要调试的企业ID");
  41. }
  42. }
  43. function DelDongleDomaine()
  44. {
  45. document.location = "LogList.aspx?type=del";
  46. }
  47. </script>
  48. </body>
  49. </html>