main.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <style type="text/css">
  2. .queryform_item{float:left;width: 20%}
  3. .queryform_label{float:left;width: 7rem;text-align: right;}
  4. .queryform_inputblock{float:left;margin:1rem !important;width:13.5rem;}
  5. </style>
  6. <script type="text/javascript" src="/static/js/log.js"></script>
  7. <div class="children-content">
  8. <blockquote class="layui-elem-quote" style="padding:10px;line-height:25px;">
  9. 系统管理 / 数据备份与还原
  10. </blockquote>
  11. <div>
  12. <div style="position:relative;width:100%;">
  13. <div class="layui-panel" id="log_query_panel" style="height:5rem;line-height: 4.5rem;">
  14. <form class="layui-form layui-form-pane" action="">
  15. <div style="float:left;width: 100%">
  16. <button id="btnSearch" type="button" class="layui-btn layui-btn-normal" style="margin-left:40px;height:32px;line-height:32px;" onclick="LogObject.NewDbBackup();">备份</button>
  17. <button id="btnSearch" type="button" class="layui-btn layui-btn-normal" style="margin-left:40px;height:32px;line-height:32px;" onclick="LogObject.SearchDbBackupList();">刷新</button>
  18. </div>
  19. </form>
  20. </div>
  21. </div>
  22. <table id="table-dbbackup" lay-filter="oparation-data">
  23. </table>
  24. </div>
  25. </div>
  26. <script type="text/javascript">
  27. $(document).ready(function () {
  28. LogObject.SearchDbBackupList();
  29. $('#text_startdate,#text_enddate').val(Global.GetCurrentDate());
  30. layui.use(['form', 'layedit', 'laydate'], function () {
  31. var laydate = layui.laydate;
  32. laydate.render({
  33. elem: '#text_startdate,#text_enddate'
  34. });
  35. });
  36. });
  37. </script>