formeditZW.html 64 KB

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