myCompletedMatters.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!doctype html>
  2. <html class="no-js">
  3. <head>
  4. <title>办结事宜</title>
  5. <meta charset="utf-8">
  6. <script src="../assets/js/importJs.js"></script>
  7. <script type="text/javascript">
  8. importCss(["/weixin/assets/css/page.css"]);
  9. //导入JS
  10. importJs(["/weixin/assets/js/pageScroll.js"]);
  11. </script>
  12. </head>
  13. <body>
  14. <div class="page">
  15. <header data-am-widget="header" class="am-header am-header-default">
  16. <div class="am-header-left am-header-nav">
  17. <span class="am-icon-chevron-left" id="btn-back" onclick="history.back();"></span>
  18. </div>
  19. <h1 class="am-header-title" id="colTitle">
  20. 办结事宜
  21. </h1>
  22. <div class="am-header-right am-header-nav">
  23. <a href="../index.html" class="" title="返回主页" >
  24. <i class="am-header-icon fa fa-home" ></i>
  25. </a>
  26. </div>
  27. </header>
  28. <div id="wrapper" data-am-widget="list_news"
  29. class="am-list-news am-list-news-default">
  30. <div class="am-list-news-bd">
  31. <div class="pull-action loading" id="pull-down">
  32. <span class="am-icon-arrow-down pull-label"
  33. id="pull-down-label"> 下拉刷新</span>
  34. <span class="am-icon-spinner am-icon-spin"></span>
  35. </div>
  36. <ul class="am-list" id="events-list">
  37. <li class="am-list-item-desced">
  38. <div class="am-list-item-text">正在加载内容... </div>
  39. </li>
  40. </ul>
  41. <div class="pull-action" id="pull-up">
  42. <span class="am-icon-arrow-up pull-label" id="pull-up-label"> 上拉加载更多</span>
  43. <span class="am-icon-spinner am-icon-spin"></span>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <script type="text/x-handlebars-template" id="tpi-list-item">
  49. {{#each this}}
  50. <li class="am-list-item-desced" data-id="{{runId}}">
  51. <a href="getProcessRun.html?runId={{runId}}" class="am-list-item-hd" >{{{subject}}}</a><span class="am-list-date">发起时间:{{formatDate createtime 'yyyy-MM-dd hh:mm'}}</span>
  52. </li>
  53. {{/each}}
  54. </script>
  55. <script>
  56. $(function() {
  57. var callBack=function(data){
  58. }
  59. var url=__ctx +"/weixin/bpm/getCompletedMattersList.ht";
  60. var app = new EventsList(null, {
  61. url: url,
  62. params: {
  63. page: 1,
  64. startFromMobile: 1,
  65. pageSize: 10,
  66. callback:callBack
  67. }
  68. });
  69. app.init();
  70. document.addEventListener('touchmove', function(e) {
  71. e.preventDefault();
  72. }, false);
  73. });
  74. </script>
  75. </body>
  76. </html>