formeditZW.html 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  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. <script>document.write("<link href='../../flowchart_app_imgcss/css/formeditZW.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. <script>document.write("<link href='../../flowchart_app_imgcss/css/canvasQianzi.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. </head>
  16. <body>
  17. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  18. <div class="wrapper wrapper-content">
  19. <div class="row">
  20. <div class="col-md-12">
  21. <div class="ibox float-e-margins">
  22. <div class="ibox-content">
  23. <div class="row">
  24. <div class="col-md-12">
  25. <div class="sp-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
  26. <div class="sp-box" style="background: #008A94; padding-right: 10px; line-height: 30px; ">
  27. <div class="sp-page sp-color-white" style="width: 200px; margin: 7px 0; text-indent: 10px" ng-bind="ctl.flowTitle"></div>
  28. <div class="sp-page-col sp-pull-right sp-ml-30">
  29. <div class="sp-page-col" ng-repeat="item in ctl.buttonList">
  30. <button class="sp-md sp-radius sp-mt-5" style="padding: 4px 10px;" ng-class="{'sp-btn-gray':item.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item.CODE.indexOf('SENDITEM')!=-1}" ng-click="ctl.btnEvent(item)" ng-if="item.CODE!='array'&&ctl.dotype==1||(ctl.dotype!=1&&item.EXPLAIN=='1')">
  31. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  32. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  33. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  34. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  35. {{item.CNAME}}
  36. </button>
  37. <button style="padding: 4px 10px; position: relative" class="sp-btn-md sp-radius sp-btn-blue tiaoahao" ng-if="item.CODE=='array'">
  38. {{item.CNAME}}
  39. <div class="sp-page" style="width:auto;background:#fff;border:1px solid #ccc;position:absolute;top:28px;left:50%;transform:translateX(-50%);z-index:12;display:none">
  40. <div class="sp-box sp-text-center" ng-repeat="item1 in item.data">
  41. <span class="sp-radius" ng-class="{'sp-btn-gray':item1.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item1.CODE.indexOf('SENDITEM')!=-1}" ng-click="ctl.btnEvent(item1)">{{item1.CNAME}}</span>
  42. </div>
  43. </div>
  44. </button>
  45. </div>
  46. <button style="padding:4px 10px;" class="sp-btn-gray sp-md sp-radius sp-mt-5" onclick="javascript: window.close(); localStorage.setItem('GlWorkPlatform-shouwenbg-refresh', 1)">
  47. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  48. 关闭
  49. </button>
  50. </div>
  51. <div class="sp-wrapper-head-col sp-mr-20">
  52. <span class="sp-wrapper-head-col-span" style="padding: 0; border: 1px solid #eee; border-radius: 5px; display: inline-block; line-height: 30px; height: 30px; margin-top: 5px;">
  53. <i class="icon-map-1 sp-pl-5 pointer" ng-click="ctl.onePic()"></i>
  54. <input type="text" class="sp-wrapper-head-search" style="border:0" placeholder="地图搜索" ng-model="ctl.headBtnSearchKeyword" ng-change="ctl.headBtnSearch()" />
  55. </span>
  56. <div class="sp-wrapper-head-sub-2 sp-text-center" style="width:175px;" ng-if="ctl.headSearchResult_view">
  57. <div class="sp-lh-26-wrap" ng-repeat="item in ctl.headSearchResult" ng-click="ctl.headKeywordPage(item)"><a ng-bind="item.name" title="{{item.name}}"></a></div>
  58. </div>
  59. </div>
  60. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/bzgf.html', '标准规范');">
  61. <span class="sp-wrapper-head-col-span">
  62. <i class="icon-book"></i>标准规范
  63. </span>
  64. </div>
  65. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/flgf.html', '法律法规');">
  66. <span class="sp-wrapper-head-col-span">
  67. <i class="fa fa-legal"></i>法律法规
  68. </span>
  69. </div>
  70. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/dnfg.html', '党内规范');">
  71. <span class="sp-wrapper-head-col-span">
  72. <i class="icon-newspaper-1"></i>党内规范
  73. </span>
  74. </div>
  75. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../fontOA/list.html', '公文查询');">
  76. <span class="sp-wrapper-head-col-span">
  77. <i class="icon-chart-alt-outline"></i>公文查询
  78. </span>
  79. </div>
  80. </div>
  81. <div class="page-item leftBox" style="width: 70%; overflow: visible;">
  82. <div id="topDiv" class="sp-box" style="width:100%;height:100%;background:#0099FF;padding:0px;margin:0px;border:0px solid yellow">
  83. <div class="sp-page" style="width:100%; padding:2px;margin:2px">
  84. <span class="upload sp-color-white" style="top:5px;height:36px;vertical-align:middle;padding-left:10px;font-size:16px">正文:</span>
  85. <span style="display:inline-block" class="sp-btn-gray-outline sp-btn-sm upload" ng-if="ctl.dotype!=0&&ctl.arrayFile==null">
  86. <span class="upload-tip"></span>
  87. <input id="fileupload-zw" class="upload-file-single" ng-click="ctl.upload_zw()" type="file" name="files[]" multiple>
  88. <i class="fa fa-plus sp-color-white"></i>
  89. <span class="upload-loading" ng-if="ctl.uploading_zw"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  90. </span>
  91. <div ng-if="ctl.arrayFile!=null" style="width: 350px; color: #fff; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
  92. <span ng-bind="ctl.arrayFile.FILENAMES" title="{{ctl.arrayFile.FILENAMES}}" ng-click="ctl.seeFile(ctl.arrayFile)"></span>
  93. <a ng-click="ctl.downLoad(ctl.arrayFile)" title="下载">
  94. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  95. </a>
  96. <!--<a ng-click="ctl.deleteFile(ctl.arrayFile)" title="删除" ng-if="ctl.dotype!=0"><i class="fa fa-trash sp-color-red"></i></a>-->
  97. </div>
  98. </div>
  99. <div class="sp-page sp-bg-white" style="height:100%;padding:0px; margin:0px;border:0px solid black;">
  100. <iframe id="iframe_book" style="width:100%;height:600px;background-color:white;padding:0px; margin:0px; border:0px solid red" frameborder="0" class="iframe" scrolling="no"></iframe>
  101. </div>
  102. </div>
  103. <div id="bottomDiv" class="sp-box" style="width: 100%; background: #0099FF; color: #fff;padding:0px;margin:0px; border:0px solid green">
  104. <div class="sp-page" style="width: 100%; vertical-align: middle; padding: 2px; margin: 2px; ">
  105. <span id="lineDiv" class="upload sp-color-white" style="top: 0; height: 36px; padding-left: 10px; padding-top: 5px; font-size: 16px; cursor: ns-resize; " ng-init="ctl.reSizeRow()">
  106. <i class="fa fa-arrows-v fa-lg"></i>
  107. </span>
  108. <span class="upload sp-color-white" style="top: 4px; height: 36px; padding-left: 10px; font-size: 16px;">&nbsp;附件({{ctl.arrayFile1.length}}):</span>
  109. <span style="display:inline" class="sp-btn-gray-outline sp-btn-sm upload" ng-if="ctl.dotype!=0&&ctl.routeinfoid!=0">
  110. <span class="upload-tip"></span>
  111. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload()" type="file" name="files[]" multiple>
  112. <i class="fa fa-plus sp-color-white"></i>
  113. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  114. </span>
  115. <div ng-repeat="item in ctl.arrayFile1" ng-if="$index<3" style="width: calc((100% - 250px)/ 3); vertical-align: middle; display: inline-block; color: #fff; cursor: pointer; margin-left: 10px; padding-top: 5px; ">
  116. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" style="display: inline-block; max-width: calc(100% - 40px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;" ng-click="ctl.goAttach(item)"></span>
  117. <a class="sp-pull-right sp-ml-10" ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  118. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  119. </a>
  120. <a class="sp-pull-right" ng-click="ctl.downLoad(item)" title="下载">
  121. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  122. </a>
  123. </div>
  124. <span id="toggleButton" style="width: 20px; height: 20px; display: inline; float: right; margin-right: 15px; margin-top: 5px; cursor: pointer; " ng-if="ctl.arrayFile1.length>3" onclick="showToggle(this)">
  125. <i class="fa fa-chevron-up" style="position: relative; display: none"></i>
  126. <i class="fa fa-chevron-down" style="position: relative;"></i>
  127. </span>
  128. <div id="selectDiv" class="sp-page" style="width: 50%; display: none; top: 0px; right: 0; position: absolute; padding: 5px 10px; background: #0099FF; border: 1px solid #0099FF; z-index: 2">
  129. <div ng-repeat="item in ctl.arrayFile1" ng-if="$index>2" style="padding: 5px 0; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">
  130. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" ng-click="ctl.goAttach(item)"></span>
  131. <a ng-click="ctl.downLoad(item)" title="下载">
  132. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  133. </a>
  134. <a ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  135. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  136. </a>
  137. </div>
  138. </div>
  139. </div>
  140. <div class="sp-page sp-bg-white" style="width: 100%; height: calc(100% - 40px); padding: 0px; margin: 0px; border: 0px solid black;">
  141. <iframe id="attachlist" src="" style="width:100%;height:200px;padding:0px;margin:0px;border:0px solid red;" frameborder="0" scrolling="no"></iframe>
  142. </div>
  143. </div>
  144. <div class="sp-page-col" style="width: 10px; height: 46px; background: #d0d0d0; position: absolute;right: -10px; top: 0px; z-index: 5; padding: 0px; cursor: pointer; border:0px solid yellow" onclick="showRight(this)">
  145. <i class="fa fa-angle-left fa-2x" style="position: absolute; top: 50%; transform: translateY(-50%); display: none"></i>
  146. <i class="fa fa-angle-right fa-2x" style="position: absolute; top: 50%; transform: translateY(-50%)"></i>
  147. </div>
  148. </div>
  149. <div class="page-item rightBox" style="width: 30%; padding-left: 20px;">
  150. <div id="bodyDiv" class="iframe-border-right" style="border:0px solid blue; z-index:3" ng-init="ctl.reSize(1)"></div>
  151. <div class="sp-page formedit sp-pb-20">
  152. <div class="sp-page sp-mt-10">
  153. <div class="sp-page-col pointer" onclick="toggleForm(this)">
  154. <i class="fa fa-angle-down fa-lg"></i>
  155. <i class="fa fa-angle-right fa-lg" style="display: none"></i>
  156. 收文简表
  157. </div>
  158. <div class="sp-line-gray"></div>
  159. </div>
  160. <div class="form-item" ng-if="!ctl.hide('show','BT')">
  161. <div class="sp-col-30" style="line-height:32px;" title="公文标题">公文标题:</div>
  162. <div class="sp-col-70">
  163. <!--<input type="text" class="sp-input" ng-model="ctl.data.BT" ng-disabled="ctl.hide('readonly','BT')" ng-change="ctl.changeFiled('BT')" ng-blur="ctl.verify('BT')" />-->
  164. <textarea class="sp-textarea" ng-model="ctl.data.BT" ng-disabled="ctl.hide('readonly','BT')" rows="5" style="resize: none" sp-required ng-change="ctl.changeFiled('BT')" title="{{ctl.data.BT}}" ng-blur="ctl.verify('BT')"></textarea>
  165. </div>
  166. </div>
  167. <div class="form-item" ng-if="!ctl.hide('show','LWDW')">
  168. <div class="sp-col-30" style="line-height:32px;" title="来文单位">来文单位:</div>
  169. <div class="sp-col-70">
  170. <!--<input type="text" class="sp-input sp-pull-left" ng-model="ctl.data.LWDW" readonly ng-click="ctl.openLWDW()" />-->
  171. <input type="text" class="sp-input sp-pull-left" style="width:90%" ng-model="ctl.data.LWDW" readonly sp-required ng-click="ctl.openLWDW()" />
  172. <span class="sp-page-col sp-text-center" style="width:10%;line-height:32px;cursor:pointer" ng-click="ctl.setLWDW(0)"><i class="fa fa-cog"></i></span>
  173. </div>
  174. </div>
  175. <div class="form-item" ng-if="!ctl.hide('show','LWWH')">
  176. <div class="sp-col-30" style="line-height:32px;" title="文号">文&nbsp;&nbsp;号:</div>
  177. <div class="sp-col-70">
  178. <input type="text" class="sp-input" ng-model="ctl.data.LWWH" ng-disabled="ctl.hide('readonly','LWWH')" ng-change="ctl.changeFiled('LWWH')" />
  179. </div>
  180. </div>
  181. <div class="sp-page toggleForm">
  182. <div class="form-item" ng-if="!ctl.hide('show','LWRQ')">
  183. <div class="sp-col-30" style="line-height:32px;" title="来文日期">来文日期:</div>
  184. <div class="sp-col-70">
  185. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.data.LWRQ" ng-disabled="ctl.hide('readonly','LWRQ')" sp-required ng-change="ctl.changeFiled('LWRQ')" />
  186. </div>
  187. </div>
  188. <div class="form-item" ng-if="!ctl.hide('show','SWLB')">
  189. <div class="sp-col-30" style="line-height:32px;" title="收文类别">收文类别</div>
  190. <div class="sp-col-70">
  191. <select class="sp-select" ng-model="ctl.data.SWLB" ng-disabled="ctl.hide('readonly','SWLB')" ng-change="ctl.changeFiled('SWLB')">
  192. <option ng-repeat="item in ctl.SWLB" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  193. </select>
  194. </div>
  195. </div>
  196. <div class="form-item" ng-if="!ctl.hide('show','MIJI')">
  197. <div class="sp-col-30" style="line-height:32px;" title="密级">密&nbsp;&nbsp;级:</div>
  198. <div class="sp-col-70">
  199. <select class="sp-select" ng-model="ctl.data.MIJI" ng-disabled="ctl.hide('readonly','MIJI')" ng-change="ctl.changeFiled('MIJI')">
  200. <option ng-repeat="item in ctl.MIJI" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  201. </select>
  202. </div>
  203. </div>
  204. <div class="form-item" ng-if="!ctl.hide('show','JJCD')">
  205. <div class="sp-col-30" style="line-height:32px;" title="紧急情况">紧急情况:</div>
  206. <div class="sp-col-70">
  207. <select class="sp-select" ng-model="ctl.data.JJCD" ng-disabled="ctl.hide('readonly','JJCD')" sp-required ng-change="ctl.changeFiled('JJCD')">
  208. <option ng-repeat="item in ctl.JJCD" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  209. </select>
  210. </div>
  211. </div>
  212. <div class="form-item" ng-if="!ctl.hide('show','SWBH')">
  213. <div class="sp-col-30" style="line-height:32px;" title="收文编号">收文编号:</div>
  214. <div class="sp-col-70">
  215. <input type="text" class="sp-input" ng-model="ctl.data.SWBH" ng-disabled="ctl.hide('readonly','SWBH')" ng-change="ctl.changeFiled('SWBH')" />
  216. </div>
  217. </div>
  218. <div class="form-item" ng-if="!ctl.hide('show','SFDB')">
  219. <div class="sp-col-30" style="line-height:32px;" title="是否督办">是否督办:</div>
  220. <div class="sp-col-70">
  221. <select class="sp-select" ng-model="ctl.data.SFDB" ng-disabled="ctl.hide('readonly','SFDB')" ng-change="ctl.changeFiled('SFDB')">
  222. <option ng-repeat="item in ctl.SFDB" value="{{item.CODE}}" ng-bind="item.CNAME" ng-selected="item.CODE==ctl.data.SFDB"></option>
  223. </select>
  224. </div>
  225. </div>
  226. <div class="form-item" ng-if="!ctl.hide('show','DBLX')&&ctl.data.SFDB!='C02'">
  227. <div class="sp-col-30" style="line-height:32px;" title="督办类型">督办类型:</div>
  228. <div class="sp-col-70">
  229. <select class="sp-select" ng-model="ctl.data.DBLX" ng-disabled="ctl.hide('readonly','DBLX')" ng-change="ctl.changeFiled('DBLX')">
  230. <option ng-repeat="item in ctl.DBTYPE" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  231. </select>
  232. </div>
  233. </div>
  234. <div class="form-item" ng-if="!ctl.hide('show','DBSX')">
  235. <div class="sp-col-30" style="line-height:32px;" title="督办时限">督办时限:</div>
  236. <div class="sp-col-70">
  237. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.data.DBSX" ng-disabled="ctl.hide('readonly','DBSX')" ng-change="ctl.changeFiled('DBSX')" />
  238. </div>
  239. </div>
  240. <div class="form-item" ng-if="!ctl.hide('show','ZBCS')">
  241. <div class="sp-col-30" style="line-height:32px;" title="主办处室">主办处室:</div>
  242. <div class="sp-col-70">
  243. <input type="text" class="sp-input" readonly ng-model="ctl.data.ZBCS" ng-click="ctl.openDpList('ZBCS')" />
  244. </div>
  245. </div>
  246. <div class="form-item" ng-if="!ctl.hide('show','CDCS')">
  247. <div class="sp-col-30" style="line-height:32px;" title="存档处室">存档处室:</div>
  248. <div class="sp-col-70">
  249. <input type="text" class="sp-input" ng-model="ctl.data.CDCS" ng-disabled="ctl.hide('readonly','CDCS')" ng-change="ctl.changeFiled('CDCS')" />
  250. </div>
  251. </div>
  252. <div class="form-item" ng-if="!ctl.hide('show','SFBJ')">
  253. <div class="sp-col-30" style="line-height:32px;" title="是否办结">是否办结:</div>
  254. <div class="sp-col-70">
  255. <select class="sp-select" ng-model="ctl.data.SFBJ" ng-disabled="ctl.hide('readonly','SFBJ')" ng-change="ctl.changeFiled('SFBJ')">
  256. <option ng-repeat="item in ctl.SFBJ" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  257. </select>
  258. </div>
  259. </div>
  260. <div class="form-item" ng-if="!ctl.hide('show','BJQK')">
  261. <div class="sp-col-30" style="line-height:32px;" title="办结情况">办结情况:</div>
  262. <div class="sp-col-70">
  263. <textarea class="sp-textarea" ng-model="ctl.data.BJQK" ng-disabled="ctl.hide('readonly','BJQK')" ng-change="ctl.changeFiled('BJQK')" title="{{ctl.data.BJQK}}" rows="5" style="resize:none;"></textarea>
  264. </div>
  265. </div>
  266. <div class="form-item" ng-if="!ctl.hide('show','BZ')">
  267. <div class="sp-col-30" style="line-height:32px;" title="备注">备&nbsp;&nbsp;注:</div>
  268. <div class="sp-col-70">
  269. <textarea class="sp-textarea" ng-model="ctl.data.BZ" ng-disabled="ctl.hide('readonly','BZ')" ng-change="ctl.changeFiled('BZ')" title="{{ctl.data.BZ}}" rows="5" style="resize:none;"></textarea>
  270. </div>
  271. </div>
  272. <div class="form-item" ng-if="!ctl.hide('show','NGR')">
  273. <div class="sp-col-30" style="line-height:32px;" title="登记人">登记人:</div>
  274. <div class="sp-col-70">
  275. <input type="text" class="sp-input" ng-model="ctl.data.NGR" ng-disabled="ctl.hide('readonly','NGR')" ng-change="ctl.changeFiled('NGR')" />
  276. </div>
  277. </div>
  278. <div class="form-item" ng-if="!ctl.hide('show','ZBRQ')">
  279. <div class="sp-col-30" style="line-height:32px;" title="登记日期">登记日期:</div>
  280. <div class="sp-col-70">
  281. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.data.ZBRQ" ng-disabled="ctl.hide('readonly','ZBRQ')" ng-change="ctl.changeFiled('ZBRQ')" />
  282. </div>
  283. </div>
  284. </div>
  285. <div class="sp-page sp-mt-10">
  286. 公文标签
  287. <div class="sp-line-gray"></div>
  288. </div>
  289. <div class="form-item" ng-if="!ctl.hide('show','USAGE')">
  290. <div class="sp-checkbox-blue">
  291. <label ng-repeat="item in ctl.USAGE" ng-if="item.USAGE=='1'||(item.USAGE=='0'&&ctl.data.USAGE.indexOf(item.CODE)>=0)" sp-checkbox-blue-item>
  292. <input type="checkbox" name="USAGE" ng-checked="item.checked" ng-disabled="ctl.hide('readonly','USAGE')||item.USAGE=='0'"
  293. value="{{item.CODE}}" ng-click="ctl.selectUSAGE(item)" />
  294. {{item.CNAME}}
  295. </label>
  296. <!--<span class="sp-btn-blue sp-radius" ng-if="!ctl.hide('readonly','USAGE')" ng-click="ctl.ManageUSAGE(0)">管理标签</span>-->
  297. </div>
  298. </div>
  299. <div class="qianzi" ng-repeat="item in ctl.YJ.nulla">
  300. <div class="sp-col-100">
  301. <div class="sp-page" style="padding:10px 5px;border:1px solid #999;">
  302. <div class="sp-page">
  303. <p class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  304. <div class="sp-page">
  305. <div class="sp-page">
  306. <div ng-repeat="item in item.FILEDATA" style="width: 135px; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
  307. <a ng-click="ctl.downLoadOption(item)" title="下载">
  308. <i class="fa fa-download sp-color-red"></i>
  309. </a>
  310. <a ng-click="ctl.deleteOptionFile(item)" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  311. <i class="fa fa-trash sp-color-red"></i>
  312. </a>
  313. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  314. </div>
  315. <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1">
  316. <span class="opbtn" style="position: relative; color: #1c84c6">
  317. <span class="upload-tip"></span>
  318. <input id="fileupload2" class="upload-file-single" ng-click="ctl.upload2(item.COLID)" type="file" name="files[]" multiple>
  319. <i class="fa fa-upload"></i>
  320. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  321. </span>
  322. </div>
  323. </div>
  324. <div class="sp-page sp-text-right sp-pull-right">
  325. <span ng-bind="item.CMANNAME"></span>
  326. <span ng-bind="item.CDATE"></span>
  327. </div>
  328. </div>
  329. </div>
  330. <div class="sp-page sp-text-right">
  331. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  332. ng-click="ctl.Dopinion(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1">
  333. <i class="fa fa-trash-o fa-lg"></i>
  334. </span>
  335. <span class="opbtn" style="color: #66D151; width: 55px; "
  336. ng-click="ctl.changeOptionList(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1">
  337. <i class="fa fa-pencil fa-lg"></i>
  338. </span>
  339. </div>
  340. </div>
  341. </div>
  342. </div>
  343. </div>
  344. <div class="sp-page sp-pt-10" style="width: calc(100% - 20px); max-width: 1100px; height: 10px; background: #F0F9FF; box-shadow: 0 -2px 5px #c3c3c3; position: absolute; bottom: 0;right:2px; z-index: 11">
  345. <div class="sp-page-col toggle" style="width: 50px; height: 17px; font-size: 14px; text-align: center; background: #E0E0E0; cursor: pointer; color: #333; position: absolute; right: 0; top: -17px; border-radius: 10px 10px 0 0; " onclick="toggleYJL(this)">
  346. <i class="fa fa-angle-double-up fa-lg"></i>
  347. <i class="fa fa-angle-double-down fa-lg" style="display: none"></i>
  348. </div>
  349. <div class="sp-page-center" style="height: 100%; line-height: 30px; background: #fff; overflow: hidden; ">
  350. <div class="sp-page-col sp-ml-10" ng-if="ctl.opinionList1.length>1">
  351. 类型:<select class="sp-select sp-pull-right" style="width:100px" ng-model="ctl.opiniontype">
  352. <option value="{{item.col}}" ng-repeat="item in ctl.opinionList1" ng-if="item.show==true" ng-bind="item.name"></option>
  353. </select>
  354. </div>
  355. <div class="sp-page" ng-if="ctl.opinion.nulla==true">
  356. <textarea id="nulla" ng-model="ctl.nulla" class="op-textarea sp-mb-5 sp-mt-5"></textarea>
  357. <div class="sp-page sp-pb-5" style="border-bottom:1px solid #999">
  358. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.closeOptionList()">取消</span>
  359. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.submitOptionList()">保存</span>
  360. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase()">常用语</span>
  361. </div>
  362. </div>
  363. <div class="sp-page" ng-if="ctl.activeOpinion!=null">
  364. <div style="display: inline-block; float: left; position: relative; margin-left: 10px; line-height: 40px;">
  365. <span class="opbtn" style="position: relative; color: #1c84c6">
  366. <span class="upload-tip"></span>
  367. <input id="fileupload1" class="upload-file-single" ng-click="ctl.upload1()" type="file" name="files[]" multiple>
  368. <i class="fa fa-upload"></i>
  369. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  370. </span>
  371. </div>
  372. <div ng-repeat="item in ctl.activeOpinion.FILEDATA" style="width: 135px; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
  373. <a ng-click="ctl.downLoadOption(item)" title="下载">
  374. <i class="fa fa-download sp-color-red"></i>
  375. </a>
  376. <a ng-click="ctl.deleteOptionFile(item)" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  377. <i class="fa fa-trash sp-color-red"></i>
  378. </a>
  379. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  380. </div>
  381. <div style="display: inline-block; float: right; position: relative; margin-right: 10px; line-height: 40px;">
  382. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  383. ng-click="ctl.Dopinion(ctl.activeOpinion)">
  384. <i class="fa fa-trash-o fa-lg"></i>
  385. </span>
  386. </div>
  387. </div>
  388. </div>
  389. </div>
  390. </div>
  391. </div>
  392. </div>
  393. </div>
  394. </div>
  395. </div>
  396. </div>
  397. </div>
  398. <div class="sp-layer" id="DpList" style="width: 900px;">
  399. <div class="sp-layer-head" style="background:#2176d6">
  400. <div class="sp-page sp-text-center sp-font16">
  401. 部门列表
  402. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  403. ×
  404. </div>
  405. </div>
  406. </div>
  407. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  408. <div class="sp-page" style="height:290px;overflow:auto">
  409. <label class="sp-col-20">
  410. <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllCheckedDp[ctl.filed]" ng-click="ctl.checkAllDp()" />
  411. 全选
  412. </label>
  413. <div class="sp-page">
  414. <label class="sp-col-25" title="{{item.SECTION}}" ng-repeat="item in ctl.DpList[ctl.filed]">
  415. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkDpItem(item)" />
  416. {{item.SECTION}}
  417. </label>
  418. </div>
  419. </div>
  420. <div class="sp-page sp-text-center sp-pt-10">
  421. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitDpList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  422. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  423. </div>
  424. </div>
  425. </div>
  426. <div class="sp-layer" id="openLWDW" style="width: 900px;">
  427. <div class="sp-layer-head" style="background:#2176d6">
  428. <div class="sp-page sp-text-center sp-font16">
  429. 部门列表
  430. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  431. ×
  432. </div>
  433. </div>
  434. </div>
  435. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  436. <div class="sp-page" style="height:290px;overflow:auto">
  437. <div class="sp-page" ng-repeat="item in ctl.LWDW">
  438. <div class="sp-box" style="background: #409EFF;color:#fff;text-indent:2em">
  439. {{item.CNAME}}
  440. <span class="sp-pull-right pointer sp-mr-20" ng-click="item.show=!item.show">
  441. <i ng-if="item.show==false" class="fa fa-plus-square-o"></i>
  442. <i ng-if="item.show==true" class="fa fa-minus-square-o"></i>
  443. </span>
  444. </div>
  445. <div class="sp-box">
  446. <label class="sp-col-33" title="{{item1.CNAME}}" ng-repeat="item1 in item.C_H_I_L_D_DATA" ng-if="item.show==true">
  447. <input type="radio" style="position:relative;top:2px" name="LWDW" ng-checked="item1.checked" ng-click="ctl.checkItem(item1)" />
  448. {{item1.CNAME}}
  449. </label>
  450. </div>
  451. </div>
  452. </div>
  453. <div class="sp-page sp-text-center sp-pt-10">
  454. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitLWDW()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  455. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  456. </div>
  457. </div>
  458. </div>
  459. <div class="sp-layer" id="setLWDW" style="width: 900px;">
  460. <div class="sp-layer-head" style="background:#2176d6">
  461. <div class="sp-page sp-text-center sp-font16">
  462. 来文单位
  463. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  464. ×
  465. </div>
  466. </div>
  467. </div>
  468. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  469. <div class="sp-col-50">
  470. <div class="sp-page" id="treeDivPart" style="overflow:auto;max-height:300px">
  471. <div style="width: 100%;" class="menu-list" tree-view tree-data="ctl.treeData" text-field="CNAME"
  472. item-add="ctl.itemAdd($item,$event)"
  473. item-edit="ctl.itemEdit($item,$event)"
  474. item-delete="ctl.itemDelete($item,$event)">
  475. </div>
  476. </div>
  477. </div>
  478. <div class="sp-col-50" ng-if="ctl.rightFlag==1">
  479. <table class="sp-grid-job">
  480. <tr ng-if="(ctl.itemNode.id!=0&&ctl.itemNode.level==2)||ctl.itemNode.id==0">
  481. <td width="150">一级单位</td>
  482. <td>
  483. <input type="text" class="sp-input" ng-model="ctl.itemNode.name" ng-if="ctl.itemNode.id==0" ng-disabled="ctl.itemNode.level!=1" sp-required />
  484. <input type="text" class="sp-input" ng-model="ctl.itemNode.name" ng-if="ctl.itemNode.id!=0" ng-disabled="ctl.itemNode.level!=2" sp-required />
  485. </td>
  486. </tr>
  487. <tr ng-if="(ctl.itemNode.id!=0&&ctl.itemNode.level==3)||(ctl.itemNode.id==0&&ctl.itemNode.level!=1)">
  488. <td>二级单位</td>
  489. <td>
  490. <input type="text" class="sp-input" ng-model="ctl.itemNode.child_title" ng-if="ctl.itemNode.id==0" ng-disabled="ctl.itemNode.level!=2" sp-required />
  491. <input type="text" class="sp-input" ng-model="ctl.itemNode.child_title" ng-if="ctl.itemNode.id!=0" ng-disabled="ctl.itemNode.level!=3" sp-required />
  492. </td>
  493. </tr>
  494. </table>
  495. <div class="sp-page sp-text-center sp-pt-10 sp-pad-10">
  496. <button class="sp-btn-blue sp-btn-md" ng-click="ctl.btnSetTitle()">
  497. <i class="fa fa-check"></i>&nbsp;提交
  498. </button>
  499. <button class="sp-btn-default sp-btn-md" ng-click="ctl.btnCancal()">
  500. <i class="fa fa-close"></i>&nbsp;取消
  501. </button>
  502. </div>
  503. </div>
  504. <div class="sp-page sp-text-center sp-pt-10">
  505. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>关 闭</a>
  506. </div>
  507. </div>
  508. </div>
  509. <div class="sp-layer" id="print" style="width: 400px;">
  510. <div class="sp-layer-head" style="background:#2176d6">
  511. <div class="sp-page sp-text-center sp-font16">
  512. 打印
  513. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  514. ×
  515. </div>
  516. </div>
  517. </div>
  518. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  519. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==1}" ng-click="ctl.printFiled=1">
  520. <div class="printItem">表单</div>
  521. </center>
  522. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==2}" ng-click="ctl.printFiled=2">
  523. <div class="printItem">意见</div>
  524. </center>
  525. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==3}" ng-click="ctl.printFiled=3">
  526. <div class="printItem">表单+意见</div>
  527. </center>
  528. <div class="sp-page sp-text-center sp-pt-10">
  529. <a class="sp-btn-blue sp-radius" ng-click="ctl.printSubmit()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  530. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  531. </div>
  532. </div>
  533. </div>
  534. <div class="sp-layer" id="phrase" style="width:480px;">
  535. <div class="sp-layer-head" style="background:#2176d6">
  536. <div class="sp-page sp-text-center sp-font16">
  537. 常用语库
  538. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  539. ×
  540. </div>
  541. </div>
  542. </div>
  543. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  544. <div class="sp-box">
  545. <div class="sp-col-70">
  546. <input type="text" ng-model="ctl.phraseText" class="sp-input" />
  547. </div>
  548. <div class="sp-col-30">
  549. <span class="sp-btn-blue sp-pull-left sp-radius" ng-class="{'sp-disabled':ctl.phraseText==''}" ng-click="ctl.Aphrase()">添加常用语</span>
  550. </div>
  551. </div>
  552. <div class="sp-box">
  553. <div class="sp-col-20" style="line-height:30px;">
  554. 常用语:
  555. </div>
  556. <div class="sp-col-60">
  557. <select class="sp-select sp-bg-white" ng-model="ctl.phraseSelect">
  558. <option ng-repeat="item in ctl.phraseList" value="{{item.CONTENTS}}" ng-bind="item.CONTENTS"></option>
  559. </select>
  560. </div>
  561. <div class="sp-col-20">
  562. <span class="sp-btn-blue sp-pull-left sp-radius" ng-click="ctl.Dphrase()">删除</span>
  563. </div>
  564. </div>
  565. <div class="sp-page sp-text-center sp-pt-10">
  566. <a class="sp-btn-blue sp-radius" ng-click="ctl.btnPhrase()"><i class="fa fa-check sp-mr-5"> </i>确 认</a>
  567. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  568. </div>
  569. </div>
  570. </div>
  571. <div class="sp-layer" id="forward" style="width: 1000px;">
  572. <div class="sp-layer-head" style="background:#2176d6">
  573. <div class="sp-page sp-text-center sp-font16">
  574. 转&nbsp;&nbsp;发
  575. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  576. ×
  577. </div>
  578. </div>
  579. </div>
  580. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  581. <iframe id="forwardWin" style="width:100%;border:0"></iframe>
  582. </div>
  583. </div>
  584. <div class="sp-layer" id="RouteList" style="width:900px;">
  585. <div class="sp-layer-head" style="background:#2176d6">
  586. <div class="sp-page sp-text-center sp-font16">
  587. 流转记录
  588. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  589. ×
  590. </div>
  591. </div>
  592. </div>
  593. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  594. <table class="sp-table">
  595. <thead>
  596. <tr>
  597. <th style="width:100px"><strong>流程名称</strong></th>
  598. <th style="width:200px"><strong>标题</strong></th>
  599. <th style="width:100px"><strong>工作节点</strong></th>
  600. <th style="width:100px"><strong>转发人</strong></th>
  601. <th style="width:100px"><strong>主送</strong></th>
  602. <th style="width:150px"><strong>抄送</strong></th>
  603. <th style="width:200px"><strong>发送日期</strong></th>
  604. </tr>
  605. </thead>
  606. </table>
  607. <div style="overflow-y:scroll;max-height:400px">
  608. <table class="sp-table" style="margin-top: -38px">
  609. <thead>
  610. <tr>
  611. <th style="width:100px"><strong>流程名称</strong></th>
  612. <th style="width:200px"><strong>标题</strong></th>
  613. <th style="width:100px"><strong>工作节点</strong></th>
  614. <th style="width:100px"><strong>转发人</strong></th>
  615. <th style="width:100px"><strong>主送</strong></th>
  616. <th style="width:150px"><strong>抄送</strong></th>
  617. <th style="width:200px"><strong>发送日期</strong></th>
  618. </tr>
  619. </thead>
  620. <tbody>
  621. <tr ng-repeat="item in ctl.routeList">
  622. <td ng-bind="item.FLOWNAME"></td>
  623. <td ng-bind="item.TITLE"></td>
  624. <td ng-bind="item.ENDNODENAME"></td>
  625. <td ng-bind="item.USERNAMEFROM"></td>
  626. <td ng-bind="item.mainUser"></td>
  627. <td ng-bind="item.copyUsers"></td>
  628. <td ng-bind="item.RECEIVEDATE"></td>
  629. </tr>
  630. </tbody>
  631. </table>
  632. </div>
  633. <div class="sp-page sp-text-center sp-pt-10">
  634. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  635. </div>
  636. </div>
  637. </div>
  638. <div class="sp-layer" id="USAGE" style="width:900px;">
  639. <div class="sp-layer-head" style="background:#2176d6">
  640. <div class="sp-page sp-text-center sp-font16">
  641. 管理标签
  642. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  643. ×
  644. </div>
  645. </div>
  646. </div>
  647. <div class="sp-layer-body">
  648. <div class="input-group col-lg-8">
  649. <input type="text" ng-model="ctl.addUSAGENAME" class="form-control" placeholder="新增标签">
  650. <span class="input-group-btn">
  651. <button ng-click="ctl.addUSAGE()" class="btn btn-success" type="button">增加</button>
  652. </span>
  653. </div>
  654. <br />
  655. <table class="sp-table">
  656. <thead>
  657. <tr>
  658. <th style="width: 50px"><strong>序号</strong></th>
  659. <th style="width: 200px"><strong>标签名称</strong></th>
  660. <th style="width: 100px"><strong>状态</strong></th>
  661. <th style="width: 200px"><strong>操作</strong></th>
  662. </tr>
  663. </thead>
  664. </table>
  665. <div style="overflow-y:scroll;max-height:400px">
  666. <table class="sp-table" style="margin-top: -38px">
  667. <thead>
  668. <tr>
  669. <th style="width: 50px"><strong>序号</strong></th>
  670. <th style="width: 200px"><strong>标签名称</strong></th>
  671. <th style="width: 100px"><strong>状态</strong></th>
  672. <th style="width: 200px"><strong>操作</strong></th>
  673. </tr>
  674. </thead>
  675. <tbody>
  676. <tr ng-repeat="item in ctl.USAGELIST">
  677. <td ng-bind="$index+1"></td>
  678. <td>
  679. <span ng-if="item.change==false" ng-bind="item.CNAME"></span>
  680. <input type="text" ng-if="item.change==true" class="sp-input" ng-model="item.CNAME1" />
  681. </td>
  682. <td>
  683. <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='隐藏'" ng-click="ctl.updataUSAGE(item,'显示')">显&nbsp;示</button>
  684. <button class="sp-btn-red-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='显示'" ng-click="ctl.updataUSAGE(item,'隐藏')">隐&nbsp;藏</button>
  685. </td>
  686. <td>
  687. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort($index,'上移')" ng-disabled="{{$index}}==0">上&nbsp;移</button>
  688. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort($index,'下移')" ng-disabled="{{$index}}=={{ctl.USAGELIST.length-1}}">下&nbsp;移</button>
  689. <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-disabled="item.USERID!=ctl.userId" ng-if="item.change==false" ng-click="item.change=true">编&nbsp;辑</button>
  690. <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-if="item.change==true" ng-click="ctl.updataUSAGE(item,'CNAME')">保&nbsp;存</button>
  691. <button class="sp-btn-red-outline sp-btn-sm sp-btn-radius" ng-disabled="item.USERID!=ctl.userId" ng-click="ctl.deleteUSAGE(item)">删&nbsp;除</button>
  692. </td>
  693. </tr>
  694. </tbody>
  695. </table>
  696. </div>
  697. <div class="sp-page sp-text-center sp-pt-10">
  698. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  699. </div>
  700. </div>
  701. </div>
  702. </div>
  703. <script type="text/ng-template" id="/treeView.html">
  704. <ul>
  705. <li ng-repeat="item in treeData" ng-include="'/treeItem.html'"></li>
  706. </ul>
  707. </script>
  708. <script type="text/ng-template" id="/treeItem.html">
  709. <p ng-class="{'pActive':item.checked}">
  710. <i ng-click="itemExpended(item, $event);" class="{{getItemIcon(item)}}"></i>
  711. <span style="display: inline-block;height: 18px;line-height: 18px;" ng-click="warpCallback('itemCheck', item, $event);">
  712. {{item[textField]}}
  713. </span>
  714. <span class="edit-menu sp-color-gray">
  715. <i ng-if="item.LEVELS!=3"
  716. ng-click="warpCallback('itemAdd', item, $event);" title="新增分类" class="fa fa-plus"></i>
  717. <i ng-if="item.LEVELS!=1"
  718. ng-click="warpCallback('itemEdit', item, $event);" title="编辑分类" class="fa fa-pencil"></i>
  719. <i ng-if="!item.C_H_I_L_D_DATA || item.C_H_I_L_D_DATA.length<1"
  720. ng-click="warpCallback('itemDelete', item, $event);" title="删除分类" class="fa fa-trash"></i>
  721. <i ng-if="$index!=0"
  722. ng-click="warpCallback('itemUp', item, $index, $event);" title="上移" class="fa fa-arrow-up"></i>
  723. <i ng-if="$index+1!=item.C_H_I_L_D_DATA_L"
  724. ng-click="warpCallback('itemDown', item, $index, $event);" title="下移" class="fa fa-arrow-down"></i>
  725. </span>
  726. </p>
  727. <ul ng-if="!isEnd(item)" ng-show="!item.$$isExpend">
  728. <li ng-repeat="item in item.C_H_I_L_D_DATA" ng-include="'/treeItem.html'"></li>
  729. </ul>
  730. </script>
  731. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  732. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  733. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  734. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  735. <script src="../../../apiurljs.js"></script>
  736. <!--<script src="../../js/watermark.js"></script>-->
  737. <script src="../../../js/sm4.js"></script>
  738. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  739. <script>document.write('<scri' + 'pt src="js/formeditZW.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  740. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  741. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  742. <!--附件-->
  743. <script src="../../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  744. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  745. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  746. </body>
  747. </html>