sect.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" data-ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Pragma" content="no-cache" />
  6. <meta http-equiv="Cache-Control" content="no-cache" />
  7. <meta http-equiv="Expires" content="0" />
  8. <title>机构设置</title>
  9. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  11. <script>document.write("<link rel='stylesheet' href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "'>");</script>
  12. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  13. </head>
  14. <body>
  15. <div class="sp-page" ng-controller="sectCtrl as ctl">
  16. <div class="sp-page-mgn">
  17. <div class="sp-page-pad">
  18. <div class="sp-page">
  19. <div class="sp-page-col">
  20. <div class="sp-page-title">
  21. <span>机构设置</span><a class="sp-page-back" href="index.html">返回上一级</a>
  22. </div>
  23. </div>
  24. <div class="sp-page-col sp-pull-right">
  25. <span class="sp-btn-blue sp-btm-md sp-btn-radius" ng-click="ctl.btnAdd()"><i
  26. class="fa fa-plus sp-mr-5"></i>;新建</span>
  27. </div>
  28. </div>
  29. <div class="sp-line-gray"></div>
  30. <table class="sp-table">
  31. <thead>
  32. <tr>
  33. <th style="width:60px;">序号</th>
  34. <th>机构名称</th>
  35. <th>操作</th>
  36. </tr>
  37. </thead>
  38. <tbody>
  39. <tr ng-repeat="item in ctl.rectList">
  40. <td ng-bind="$index+1"></td>
  41. <td ng-bind="item.SECTION"></td>
  42. <td class="sp-text-right">
  43. <span class="sp-btn-blue-outline sp-btn-radius"
  44. ng-click="ctl.btnEdit(item.CODE)">编&nbsp;辑</span>
  45. <span class="sp-btn-red-outline sp-btn-radius"
  46. ng-click="ctl.btnDelete(item.CODE)">删&nbsp;除</span>
  47. <span class="sp-btn-blue-outline sp-btn-radius"
  48. ng-click="ctl.btnSort($index,'上移')" ng-if="$index>0">上&nbsp;移</span>
  49. <span class="sp-btn-blue-outline sp-btn-radius"
  50. ng-click="ctl.btnSort($index,'下移')"
  51. ng-if="ctl.rectList.length>1 && $index!=ctl.rectList.length-1">下&nbsp;移</span>
  52. </td>
  53. </tr>
  54. </tbody>
  55. </table>
  56. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  57. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  58. </div>
  59. </div>
  60. </div>
  61. <!-- 新增修改机构信息 -->
  62. <div class="sp-layer" id="layer_box" style="width:500px;">
  63. <div class="sp-layer-head" style="background:#2176d6">
  64. <div class="sp-page sp-text-center sp-font16">
  65. <span ng-bind="ctl.layerTitle"></span>
  66. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  67. ×
  68. </div>
  69. </div>
  70. </div>
  71. <div class="sp-layer-body">
  72. <div class="sp-page">
  73. <table class="sp-grid-job" id="addInfoPart">
  74. <tbody>
  75. <tr>
  76. <td style="width:150px;">机构名称</td>
  77. <td>
  78. <input type="text" class="sp-input" ng-model="ctl.info.section" sp-required />
  79. </td>
  80. </tr>
  81. </tbody>
  82. </table>
  83. <div class="sp-page sp-text-center sp-pt-10 sp-pad-10">
  84. <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnSubmit()">
  85. <i class="fa fa-check sp-mr-5"></i>提 交
  86. </button>
  87. <button class="sp-btn-default sp-btn-radius" ng-click="ctl.btnClear()">
  88. <i class="fa fa-close sp-mr-5"></i>取 消
  89. </button>
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  96. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  97. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  98. <script src="../../apiurljs.js"></script>
  99. <script src="../../js/sm4.js"></script>
  100. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');</script>
  101. <script>document.write('<scri' + 'pt src="js/sect.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');</script>
  102. <script src="../../AFrontEnd/js/special/spng.js"></script>
  103. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  104. </body>
  105. </html>