taizhang.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <title>从严治党项目管理</title>
  7. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  8. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  9. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  11. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  12. <script>document.write("<link href='../flowchart_app_imgcss/css/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  13. </head>
  14. <body>
  15. <div ng-controller="listCtrl as ctl" ng-cloak>
  16. <div class="wrapper wrapper-content">
  17. <div class="row">
  18. <div class="col-md-12">
  19. <div class="ibox float-e-margins">
  20. <div class="ibox-content">
  21. <div class="row">
  22. <div class="col-md-12">
  23. <div class="sp-box">
  24. 从严治党项目管理
  25. <div class="sp-pull-right">
  26. <a class="sp-pull-right sp-btn-gray sp-radius sp-btn-sm" ng-click="ctl.openLayer()">
  27. <i class="fa fa-search sp-mr-5"></i>查 询
  28. </a>
  29. <a class="sp-pull-right sp-btn-gray sp-radius sp-btn-sm" ng-click="ctl.addItem()">
  30. <i class="fa fa-plus sp-mr-5"></i>新 增
  31. </a>
  32. <a class="sp-pull-right sp-btn-gray sp-radius sp-btn-sm" onclick="sp.layer('#signIn')">
  33. <i class="fa fa-sign-in sp-mr-5"></i>导 入
  34. </a>
  35. </div>
  36. </div>
  37. <div class="sp-page">
  38. <table class="sp-table sp-mt-10">
  39. <thead>
  40. <tr>
  41. <th width="200">单位类型</th>
  42. <th width="400">机关党支部或直属单位名称</th>
  43. <th width="400">管理部门</th>
  44. <th>项目名称</th>
  45. <th width="300">完成时限</th>
  46. <th width="250">操作</th>
  47. </tr>
  48. </thead>
  49. <tbody>
  50. <tr ng-repeat="item in ctl.list">
  51. <td>
  52. <span ng-bind="item.DWLX1" ng-if="item.editFlag==false"></span>
  53. <select class="sp-select" ng-model="ctl.edit.DWLX" ng-if="item.editFlag==true">
  54. <option ng-repeat="item in ctl.DWLX" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  55. </select>
  56. </td>
  57. <td>
  58. <span ng-bind="item.DWMC" ng-if="item.editFlag==false"></span>
  59. <input type="text" class="sp-input" ng-model="ctl.edit.DWMC" ng-if="item.editFlag==true" />
  60. </td>
  61. <td>
  62. <span ng-bind="item.GLBM" ng-if="item.editFlag==false"></span>
  63. <input type="text" class="sp-input" ng-model="ctl.edit.GLBM" readonly ng-click="ctl.openDpList('edit')" ng-if="item.editFlag==true" />
  64. </td>
  65. <td>
  66. <span ng-bind="item.XMMC" ng-if="item.editFlag==false"></span>
  67. <input type="text" class="sp-input" ng-model="ctl.edit.XMMC" ng-if="item.editFlag==true" />
  68. </td>
  69. <td>
  70. <span ng-bind="item.WCSX" ng-if="item.editFlag==false"></span>
  71. <input type="text" class="sp-input" ng-model="ctl.edit.WCSX" ng-if="item.editFlag==true" />
  72. </td>
  73. <td>
  74. <button class="sp-btn-blue sp-btn-radius sp-btn-sm" ng-disabled="ctl.editFlag==true" ng-if="item.editFlag==false&&ctl.userId==item.CUSERID" ng-click="ctl.editItem(item)">编 辑</button>
  75. <button class="sp-btn-red sp-btn-radius sp-btn-sm" ng-disabled="ctl.editFlag==true" ng-if="item.editFlag==false&&ctl.userId==item.CUSERID" ng-click="ctl.deleteItem(item)">删 除</button>
  76. <button class="sp-btn-green sp-btn-radius sp-btn-sm" ng-if="item.editFlag==true" ng-click="ctl.saveItem(ctl.edit)">保 存</button>
  77. <button class="sp-btn-red sp-btn-radius sp-btn-sm" ng-if="item.editFlag==true" ng-click="item.editFlag=false;ctl.editFlag=false">取 消</button>
  78. <button class="sp-btn-blue sp-btn-radius sp-btn-sm" ng-if="$index>0" ng-click="ctl.sortItem($index,-1)">上移</button>
  79. <button class="sp-btn-blue sp-btn-radius sp-btn-sm" ng-if="$index<ctl.list.length-1" ng-click="ctl.sortItem($index,1)">下移</button>
  80. </td>
  81. </tr>
  82. <tr ng-if="ctl.addFlag==true">
  83. <td>
  84. <select class="sp-select" ng-model="ctl.add.DWLX">
  85. <option ng-repeat="item in ctl.DWLX" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  86. </select>
  87. </td>
  88. <td>
  89. <input type="text" class="sp-input" ng-model="ctl.add.DWMC" />
  90. </td>
  91. <td>
  92. <input type="text" class="sp-input" ng-model="ctl.add.GLBM" readonly ng-click="ctl.openDpList('add')" />
  93. </td>
  94. <td>
  95. <input type="text" class="sp-input" ng-model="ctl.add.XMMC" />
  96. </td>
  97. <td>
  98. <input type="text" class="sp-input" ng-model="ctl.add.WCSX" />
  99. </td>
  100. <td>
  101. <button class="sp-btn-green sp-btn-radius sp-btn-sm" ng-click="ctl.saveItem(ctl.add)">保 存</button>
  102. <button class="sp-btn-red sp-btn-radius sp-btn-sm" ng-click="ctl.addFlag=false">取 消</button>
  103. </td>
  104. </tr>
  105. </tbody>
  106. </table>
  107. <div class="sp-table-tip ng-hide" ng-show="ctl.list.length == 0">
  108. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. <div class="sp-layer" id="Search" style="width: 550px;">
  119. <div class="sp-layer-head" style="background:#2176d6">
  120. <div class="sp-page sp-text-center sp-font16">
  121. 筛选
  122. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  123. ×
  124. </div>
  125. </div>
  126. </div>
  127. <div class="sp-layer-body">
  128. <table class="sp-grid-job">
  129. <tbody>
  130. <tr>
  131. <td style="width:120px;">年份</td>
  132. <td>
  133. <select class="sp-select" style="width:calc(100% - 20px)" ng-model="ctl.searchYear">
  134. <option ng-repeat="item in ctl.years" value="{{item}}" ng-selected="item==ctl.searchYear">{{item}}</option>
  135. </select>
  136. <span style="line-height:30px">年</span>
  137. </td>
  138. </tr>
  139. <tr>
  140. <td style="width:120px;">机关党支部或直属单位名称</td>
  141. <td>
  142. <input type="text" class="sp-input" placeholder="请输入机关党支部或直属单位名称" ng-model="ctl.searchDWMC" />
  143. </td>
  144. </tr>
  145. </tbody>
  146. </table>
  147. <div class="sp-page sp-text-center sp-mt-20">
  148. <a class="sp-btn-blue sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  149. <a class="sp-btn-blue sp-radius" ng-click="ctl.initSearch()"><i class="fa fa-refresh sp-mr-5"></i>重 置</a>
  150. </div>
  151. </div>
  152. </div>
  153. <div class="sp-layer" id="DpList" style="width: 900px;">
  154. <div class="sp-layer-head" style="background:#2176d6">
  155. <div class="sp-page sp-text-center sp-font16">
  156. 部门列表
  157. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  158. ×
  159. </div>
  160. </div>
  161. </div>
  162. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  163. <div class="sp-page" style="height:290px;overflow:auto">
  164. <div class="sp-page">
  165. <label class="sp-col-25" title="{{item.SECTION}}" ng-repeat="item in ctl.dpList">
  166. <input type="radio" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkDpItem(item)" />
  167. {{item.SECTION}}
  168. </label>
  169. </div>
  170. </div>
  171. <div class="sp-page sp-text-center sp-pt-10">
  172. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitDpList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  173. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  174. </div>
  175. </div>
  176. </div>
  177. <div class="sp-layer" id="signIn" style="width:400px">
  178. <div class="sp-layer-head" style="background:#2176d6">
  179. <div class="sp-page sp-text-center sp-font16">
  180. 导入
  181. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  182. ×
  183. </div>
  184. </div>
  185. </div>
  186. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  187. <table class="sp-table">
  188. <tr>
  189. <td>
  190. <select class="sp-select" style="width:calc(100% - 20px)" ng-model="ctl.impYear">
  191. <option ng-repeat="item in ctl.years" value="{{item}}" ng-selected="item==ctl.impYear">{{item}}</option>
  192. </select><span style="line-height:30px">年</span>
  193. </td>
  194. <td>
  195. <a class="sp-color-blue" download="从严治党目录导入模板" href="moban.xlsx">模板下载</a>
  196. </td>
  197. </tr>
  198. <tr>
  199. <td colspan="2">
  200. <span style="display:inline-block;float:none" class="sp-btn-blue sp-radius upload">
  201. <span class="upload-tip"></span>
  202. <input id="fileupload-sign" class="upload-file-single" ng-click="ctl.upload_sign()" type="file" name="files[]" multiple>
  203. <i class="fa fa-upload sp-mr-5"></i>上 传
  204. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  205. </span>
  206. </td>
  207. </tr>
  208. </table>
  209. </div>
  210. </div>
  211. </div>
  212. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  213. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  214. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  215. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  216. <script src="../../apiurljs.js"></script>
  217. <script src="../../js/sm4.js"></script>
  218. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  219. <script>document.write('<scri' + 'pt src="js/taizhang.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  220. <script src="../../AFrontEnd/js/special/spng.js"></script>
  221. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  222. <!--附件-->
  223. <script src="../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  224. <script src="../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  225. <script src="../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  226. </body>
  227. </html>