formeditZW_vue.html 94 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155
  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 src="../../../js/vue.min.js"></script>
  12. <script src="../../../js/axios.min.js"></script>
  13. <script>document.write("<link href='../../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. <script>document.write("<link href='../../flowchart_app_imgcss/css/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. <script>document.write("<link href='../../flowchart_app_imgcss/css/formeditZW.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  16. <script>document.write("<link href='../../flowchart_app_imgcss/css/canvasQianzi.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  17. </head>
  18. <body>
  19. <div id="appvue">
  20. <div class="wrapper wrapper-content">
  21. <div class="row">
  22. <div class="col-md-12">
  23. <div class="ibox float-e-margins">
  24. <div class="ibox-content">
  25. <div class="row">
  26. <div class="sp-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
  27. <!-- top -->
  28. <div class="sp-box" style="background: #008A94; padding-right: 10px; line-height: 30px; ">
  29. <div class="sp-page sp-color-white" style="width: 200px; margin: 7px 0; text-indent: 10px">{{flowTitle}}</div>
  30. <div class="sp-page-col sp-pull-right sp-ml-30">
  31. <div class="sp-page-col" v-for="(item,index) in buttonList" :key="index">
  32. <button class="sp-md sp-radius sp-mt-5" style="padding: 4px 10px;" :class="{'sp-btn-gray':item.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item.CODE.indexOf('SENDITEM')!=-1}" @click="btnEvent(item)" v-if="item.CODE!='array'&&dotype==1||(dotype!=1&&item.EXPLAIN=='1')">
  33. <img v-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  34. <img v-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  35. <img v-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  36. <img v-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  37. {{item.CNAME}}
  38. </button>
  39. <button style="padding: 4px 10px; position: relative" class="sp-btn-md sp-radius sp-btn-blue tiaoahao" v-if="item.CODE=='array'">
  40. {{item.CNAME}}
  41. <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">
  42. <div class="sp-box sp-text-center" v-for="(item1,index) in item.data" >
  43. <span class="sp-radius" :class="{'sp-btn-gray':item1.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item1.CODE.indexOf('SENDITEM')!=-1}" :click="btnEvent(item1)">{{item1.CNAME}}</span>
  44. </div>
  45. </div>
  46. </button>
  47. </div>
  48. <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)">
  49. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  50. 关闭
  51. </button>
  52. </div>
  53. <div class="sp-wrapper-head-col sp-mr-20">
  54. <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;">
  55. <i class="icon-map-1 sp-pl-5 pointer" ng-click="onePic()"></i>
  56. <input type="text" class="sp-wrapper-head-search" style="border:0" placeholder="地图搜索" ng-model="headBtnSearchKeyword" ng-change="headBtnSearch()" />
  57. </span>
  58. <div class="sp-wrapper-head-sub-2 sp-text-center" style="width:175px;" ng-if="headSearchResult_view">
  59. <div class="sp-lh-26-wrap" v-for="item in headSearchResult" ng-click="headKeywordPage(item)"><a ng-bind="item.name" title="{{item.name}}"></a></div>
  60. </div>
  61. </div>
  62. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/bzgf.html', '标准规范');">
  63. <span class="sp-wrapper-head-col-span">
  64. <i class="icon-book"></i>标准规范
  65. </span>
  66. </div>
  67. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/flgf.html', '法律法规');">
  68. <span class="sp-wrapper-head-col-span">
  69. <i class="fa fa-legal"></i>法律法规
  70. </span>
  71. </div>
  72. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/dnfg.html', '党内规范');">
  73. <span class="sp-wrapper-head-col-span">
  74. <i class="icon-newspaper-1"></i>党内规范
  75. </span>
  76. </div>
  77. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../fontOA/list.html', '公文查询');">
  78. <span class="sp-wrapper-head-col-span">
  79. <i class="icon-chart-alt-outline"></i>公文查询
  80. </span>
  81. </div>
  82. </div>
  83. <!-- left -->
  84. <div class="page-item leftBox" style="width: 70%; overflow: visible;">
  85. <div id="topDiv" class="sp-box" style="width:100%;height:100%;background:#0099FF;padding:0px;margin:0px;border:0px solid yellow">
  86. <div class="sp-page" style="width:100%; padding:2px;margin:2px">
  87. <span class="upload sp-color-white" style="top:5px;height:36px;vertical-align:middle;padding-left:10px;font-size:16px">正文:</span>
  88. <span style="display:inline-block" class="sp-btn-gray-outline sp-btn-sm upload" v-if="dotype!=0&&arrayFile==null">
  89. <span class="upload-tip"></span>
  90. <input id="fileupload-zw" class="upload-file-single" @click="upload_zw()" type="file" name="files[]" multiple>
  91. <i class="fa fa-plus sp-color-white"></i>
  92. <span class="upload-loading" v-if="uploading_zw"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  93. </span>
  94. <div v-if="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">
  95. <span @click="seeFile(arrayFile)">
  96. {{arrayFile.FILENAMES}}
  97. </span>
  98. <a @click="downLoad(arrayFile)" title="下载">
  99. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  100. </a>
  101. </div>
  102. </div>
  103. <div class="sp-page sp-bg-white" style="height:100%;padding:0px; margin:0px;border:0px solid black;">
  104. <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>
  105. </div>
  106. </div>
  107. <div id="bottomDiv" class="sp-box" style="width: 100%; background: #0099FF; color: #fff;padding:0px;margin:0px; border:0px solid green">
  108. <div class="sp-page" style="width: 100%; vertical-align: middle; padding: 2px; margin: 2px; ">
  109. <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="reSizeRow()">
  110. <i class="fa fa-arrows-v fa-lg"></i>
  111. </span>
  112. <span class="upload sp-color-white" style="top: 4px; height: 36px; padding-left: 10px; font-size: 16px;">&nbsp;附件({{arrayFile1.length}}):</span>
  113. <span style="display:inline" class="sp-btn-gray-outline sp-btn-sm upload" v-if="dotype!=0&&routeinfoid!=0">
  114. <span class="upload-tip"></span>
  115. <input id="fileupload" class="upload-file-single" v-click="upload()" type="file" name="files[]" multiple>
  116. <i class="fa fa-plus sp-color-white"></i>
  117. <span class="upload-loading" v-if="uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  118. </span>
  119. <div v-for="item in 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; ">
  120. <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="goAttach(item)"></span>
  121. <a class="sp-pull-right sp-ml-10" ng-click="deleteFile(item)" title="删除" ng-if="dotype!=0">
  122. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  123. </a>
  124. <a class="sp-pull-right" ng-click="downLoad(item)" title="下载">
  125. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  126. </a>
  127. </div>
  128. <span id="toggleButton" style="width: 20px; height: 20px; display: inline; float: right; margin-right: 15px; margin-top: 5px; cursor: pointer; " ng-if="arrayFile1.length>3" onclick="showToggle(this)">
  129. <i class="fa fa-chevron-up" style="position: relative; display: none"></i>
  130. <i class="fa fa-chevron-down" style="position: relative;"></i>
  131. </span>
  132. <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">
  133. <div v-for="item in arrayFile1" ng-if="$index>2" style="padding: 5px 0; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">
  134. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" ng-click="goAttach(item)"></span>
  135. <a ng-click="downLoad(item)" title="下载">
  136. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  137. </a>
  138. <a ng-click="deleteFile(item)" title="删除" ng-if="dotype!=0">
  139. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  140. </a>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="sp-page sp-bg-white" style="width: 100%; height: calc(100% - 40px); padding: 0px; margin: 0px; border: 0px solid black;">
  145. <iframe id="attachlist" src="" style="width:100%;height:200px;padding:0px;margin:0px;border:0px solid red;" frameborder="0" scrolling="no"></iframe>
  146. </div>
  147. </div>
  148. <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)">
  149. <i class="fa fa-angle-left fa-2x" style="position: absolute; top: 50%; transform: translateY(-50%); display: none"></i>
  150. <i class="fa fa-angle-right fa-2x" style="position: absolute; top: 50%; transform: translateY(-50%)"></i>
  151. </div>
  152. </div>
  153. <!-- right -->
  154. <div class="page-item rightBox" style="width: 30%; padding-left: 20px;">
  155. <div id="bodyDiv" class="iframe-border-right" style="border:0px solid blue; z-index:3" ng-init="reSize(1)"></div>
  156. <div class="sp-page formedit sp-pb-20">
  157. <div class="sp-page sp-mt-10">
  158. <div class="sp-page-col pointer" onclick="toggleForm(this)">
  159. <i class="fa fa-angle-down fa-lg"></i>
  160. <i class="fa fa-angle-right fa-lg" style="display: none"></i>
  161. 收文简表
  162. </div>
  163. <div class="sp-line-gray"></div>
  164. </div>
  165. <div class="form-item" ng-if="!hide('show','CPSX')">
  166. <div class="sp-col-30" style="line-height:32px;" title="呈批时限">呈批时限:</div>
  167. <div class="sp-col-70">
  168. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="data.CPSX" ng-disabled="hide('readonly','CPSX')" ng-change="changeFiled('CPSX')" />
  169. </div>
  170. </div>
  171. <div class="form-item" ng-if="!hide('show','BT')">
  172. <div class="sp-col-30" style="line-height:32px;" title="公文标题">公文标题:</div>
  173. <div class="sp-col-70">
  174. <textarea class="sp-textarea" ng-model="data.BT" ng-readonly="hide('readonly','BT')" rows="5" style="resize: none" sp-required ng-change="changeFiled('BT')" title="{{data.BT}}" ng-blur="verify('BT')"></textarea>
  175. </div>
  176. </div>
  177. <div class="form-item" ng-if="!hide('show','LWDW')">
  178. <div class="sp-col-30" style="line-height:32px;" title="来文单位">来文单位:</div>
  179. <div class="sp-col-70">
  180. <input type="text" class="sp-input sp-pull-left" style="width:90%" ng-model="data.LWDW" readonly sp-required ng-click="openLWDW()" />
  181. <span class="sp-page-col sp-text-center" style="width:10%;line-height:32px;cursor:pointer" ng-click="setLWDW(0)"><i class="fa fa-cog"></i></span>
  182. </div>
  183. </div>
  184. <div class="form-item" ng-if="!hide('show','LWWH')">
  185. <div class="sp-col-30" style="line-height:32px;" title="文号">文&nbsp;&nbsp;号:</div>
  186. <div class="sp-col-70">
  187. <input type="text" class="sp-input" ng-model="data.LWWH" ng-readonly="hide('readonly','LWWH')" ng-change="changeFiled('LWWH')" />
  188. </div>
  189. </div>
  190. <div class="sp-page toggleForm">
  191. <div class="form-item" ng-if="!hide('show','LWRQ')">
  192. <div class="sp-col-30" style="line-height:32px;" title="来文日期">来文日期:</div>
  193. <div class="sp-col-70">
  194. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="data.LWRQ" ng-disabled="hide('readonly','LWRQ')" sp-required ng-change="changeFiled('LWRQ')" />
  195. </div>
  196. </div>
  197. <div class="form-item" ng-if="!hide('show','SWLB')">
  198. <div class="sp-col-30" style="line-height:32px;" title="收文类别">收文类别</div>
  199. <div class="sp-col-70">
  200. <select class="sp-select" ng-model="data.SWLB" ng-disabled="hide('readonly','SWLB')" ng-change="changeFiled('SWLB')">
  201. <option v-for="item in SWLB" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  202. </select>
  203. </div>
  204. </div>
  205. <div class="form-item" ng-if="!hide('show','MIJI')">
  206. <div class="sp-col-30" style="line-height:32px;" title="密级">密&nbsp;&nbsp;级:</div>
  207. <div class="sp-col-70">
  208. <select class="sp-select" ng-model="data.MIJI" ng-disabled="hide('readonly','MIJI')" ng-change="changeFiled('MIJI')">
  209. <option v-for="item in MIJI" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  210. </select>
  211. </div>
  212. </div>
  213. <div class="form-item" ng-if="!hide('show','JJCD')">
  214. <div class="sp-col-30" style="line-height:32px;" title="紧急情况">紧急情况:</div>
  215. <div class="sp-col-70">
  216. <select class="sp-select" ng-model="data.JJCD" ng-disabled="hide('readonly','JJCD')" sp-required ng-change="changeFiled('JJCD')">
  217. <option v-for="item in JJCD" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  218. </select>
  219. </div>
  220. </div>
  221. <div class="form-item" ng-if="!hide('show','SWBH')">
  222. <div class="sp-col-30" style="line-height:32px;" title="收文编号">收文编号:</div>
  223. <div class="sp-col-70">
  224. <input type="text" class="sp-input" ng-model="data.SWBH" ng-readonly="hide('readonly','SWBH')" ng-change="changeFiled('SWBH')" />
  225. </div>
  226. </div>
  227. <div class="form-item" ng-if="!hide('show','SFDB')">
  228. <div class="sp-col-30" style="line-height:32px;" title="是否督办">是否督办:</div>
  229. <div class="sp-col-70">
  230. <select class="sp-select" ng-model="data.SFDB" ng-disabled="hide('readonly','SFDB')" ng-change="changeFiled('SFDB')">
  231. <option v-for="item in SFDB" value="{{item.CODE}}" ng-bind="item.CNAME" ng-selected="item.CODE==data.SFDB"></option>
  232. </select>
  233. </div>
  234. </div>
  235. <div class="form-item" ng-if="!hide('show','DBLX')&&data.SFDB=='C01'">
  236. <div class="sp-col-30" style="line-height:32px;" title="督办类型">督办类型:</div>
  237. <div class="sp-col-70">
  238. <select class="sp-select" ng-model="data.DBLX" ng-disabled="hide('readonly','DBLX')" ng-change="changeFiled('DBLX')">
  239. <option v-for="item in DBTYPE" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  240. </select>
  241. </div>
  242. </div>
  243. <div class="form-item" ng-if="!hide('show','DBSX')">
  244. <div class="sp-col-30" style="line-height:32px;" title="{{data.SWQXLX}}时限">{{data.SWQXLX}}时限:</div>
  245. <div class="sp-col-70">
  246. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="data.DBSX" ng-disabled="hide('readonly','DBSX')" ng-change="changeFiled('DBSX')" />
  247. </div>
  248. </div>
  249. <div class="form-item" ng-if="!hide('show','ZBCS')">
  250. <div class="sp-col-30" style="line-height:32px;" title="主办处室">主办处室:</div>
  251. <div class="sp-col-70">
  252. <input type="text" class="sp-input" readonly ng-model="data.ZBCS" ng-click="openDpList('ZBCS')" />
  253. </div>
  254. </div>
  255. <div class="form-item" ng-if="!hide('show','CDCS')">
  256. <div class="sp-col-30" style="line-height:32px;" title="存档处室">存档处室:</div>
  257. <div class="sp-col-70">
  258. <input type="text" class="sp-input" readonly ng-model="data.CDCS" ng-click="openDpList('CDCS')" />
  259. </div>
  260. </div>
  261. <div class="form-item" ng-if="!hide('show','SFBJ')">
  262. <div class="sp-col-30" style="line-height:32px;" title="是否办结">是否办结:</div>
  263. <div class="sp-col-70">
  264. <select class="sp-select" ng-model="data.SFBJ" ng-disabled="hide('readonly','SFBJ')" ng-change="changeFiled('SFBJ')">
  265. <option v-for="item in SFBJ" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  266. </select>
  267. </div>
  268. </div>
  269. <div class="form-item" ng-if="!hide('show','BJQK')">
  270. <div class="sp-col-30" style="line-height:32px;" title="办结情况">办结情况:</div>
  271. <div class="sp-col-70">
  272. <textarea class="sp-textarea" ng-model="data.BJQK" ng-readonly="hide('readonly','BJQK')" ng-change="changeFiled('BJQK')" title="{{data.BJQK}}" rows="5" style="resize:none;"></textarea>
  273. </div>
  274. </div>
  275. <div class="form-item" ng-if="!hide('show','BZ')">
  276. <div class="sp-col-30" style="line-height:32px;" title="备注">备&nbsp;&nbsp;注:</div>
  277. <div class="sp-col-70">
  278. <textarea class="sp-textarea" ng-model="data.BZ" ng-readonly="hide('readonly','BZ')" ng-change="changeFiled('BZ')" title="{{data.BZ}}" rows="5" style="resize:none;"></textarea>
  279. </div>
  280. </div>
  281. <div class="form-item" ng-if="!hide('show','NGR')">
  282. <div class="sp-col-30" style="line-height:32px;" title="登记人">登记人:</div>
  283. <div class="sp-col-70">
  284. <input type="text" class="sp-input" ng-model="data.NGR" ng-readonly="hide('readonly','NGR')" ng-change="changeFiled('NGR')" />
  285. </div>
  286. </div>
  287. <div class="form-item" ng-if="!hide('show','ZBRQ')">
  288. <div class="sp-col-30" style="line-height:32px;" title="登记日期">登记日期:</div>
  289. <div class="sp-col-70">
  290. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="data.ZBRQ" ng-disabled="hide('readonly','ZBRQ')" ng-change="changeFiled('ZBRQ')" />
  291. </div>
  292. </div>
  293. </div>
  294. <div class="sp-page sp-mt-10">
  295. 公文标签
  296. <div class="sp-line-gray"></div>
  297. </div>
  298. <div class="form-item" ng-if="!hide('show','USAGE')">
  299. <div class="sp-checkbox-blue">
  300. <label v-for="item in USAGE" ng-if="item.USAGE=='1'||(item.USAGE=='0'&&data.USAGE.indexOf(item.CODE)>=0)" sp-checkbox-blue-item>
  301. <input type="checkbox" name="USAGE" ng-checked="item.checked" ng-disabled="hide('readonly','USAGE')||item.USAGE=='0'"
  302. value="{{item.CODE}}" ng-click="selectUSAGE(item)" />
  303. {{item.CNAME}}
  304. </label>
  305. </div>
  306. </div>
  307. <div class="qianzi" v-for="item in YJ.nulla">
  308. <div class="sp-col-100">
  309. <div class="sp-page" style="padding:10px 5px;border:1px solid #999;">
  310. <div class="sp-page">
  311. <p class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  312. <div class="sp-page">
  313. <div class="sp-page">
  314. <div v-for="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">
  315. <a ng-click="downLoadOption(item)" title="下载">
  316. <i class="fa fa-download sp-color-red"></i>
  317. </a>
  318. <a ng-click="deleteOptionFile(item)" title="删除" ng-if="item.ROUTEID==routeid">
  319. <i class="fa fa-trash sp-color-red"></i>
  320. </a>
  321. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  322. </div>
  323. <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;" ng-if="item.ROUTEID==routeid&&opinion.nulla==false&&dotype==1">
  324. <span class="opbtn" style="position: relative; color: #1c84c6">
  325. <span class="upload-tip"></span>
  326. <input id="fileupload2" class="upload-file-single" ng-click="upload2(item.COLID)" type="file" name="files[]" multiple>
  327. <i class="fa fa-upload"></i>
  328. <span class="upload-loading" ng-if="uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  329. </span>
  330. </div>
  331. </div>
  332. <div class="sp-page sp-text-right sp-pull-right">
  333. <span ng-bind="item.CMANNAME"></span>
  334. <span ng-bind="item.CDATE"></span>
  335. </div>
  336. </div>
  337. </div>
  338. <div class="sp-page sp-text-right">
  339. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  340. ng-click="Dopinion(item)" ng-if="item.ROUTEID==routeid&&opinion.nulla==false&&dotype==1">
  341. <i class="fa fa-trash-o fa-lg"></i>
  342. </span>
  343. <span class="opbtn" style="color: #66D151; width: 55px; "
  344. ng-click="changeOptionList(item)" ng-if="item.ROUTEID==routeid&&opinion.nulla==false&&dotype==1">
  345. <i class="fa fa-pencil fa-lg"></i>
  346. </span>
  347. </div>
  348. </div>
  349. </div>
  350. </div>
  351. </div>
  352. <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">
  353. <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)">
  354. <i class="fa fa-angle-double-up fa-lg"></i>
  355. <i class="fa fa-angle-double-down fa-lg" style="display: none"></i>
  356. </div>
  357. <div class="sp-page-center" style="height: 100%; line-height: 30px; background: #fff; overflow: hidden; ">
  358. <div class="sp-page-col sp-ml-10" ng-if="opinionList1.length>1">
  359. 类型:<select class="sp-select sp-pull-right" style="width:100px" ng-model="opiniontype">
  360. <option :value="{{item.col}}" v-for="item in opinionList1" ng-if="item.show==true" ng-bind="item.name"></option>
  361. </select>
  362. </div>
  363. <div class="sp-page" ng-if="opinion.nulla==true">
  364. <textarea id="nulla" ng-model="nulla" class="op-textarea sp-mb-5 sp-mt-5"></textarea>
  365. <div class="sp-page sp-pb-5" style="border-bottom:1px solid #999">
  366. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="closeOptionList()">取消</span>
  367. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="submitOptionList()">保存</span>
  368. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="phrase()">常用语</span>
  369. </div>
  370. </div>
  371. <div class="sp-page" ng-if="activeOpinion!=null">
  372. <div style="display: inline-block; float: left; position: relative; margin-left: 10px; line-height: 40px;">
  373. <span class="opbtn" style="position: relative; color: #1c84c6">
  374. <span class="upload-tip"></span>
  375. <input id="fileupload1" class="upload-file-single" ng-click="upload1()" type="file" name="files[]" multiple>
  376. <i class="fa fa-upload"></i>
  377. <span class="upload-loading" ng-if="uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  378. </span>
  379. </div>
  380. <div v-for="item in 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">
  381. <a ng-click="downLoadOption(item)" title="下载">
  382. <i class="fa fa-download sp-color-red"></i>
  383. </a>
  384. <a ng-click="deleteOptionFile(item)" title="删除" ng-if="item.ROUTEID==routeid">
  385. <i class="fa fa-trash sp-color-red"></i>
  386. </a>
  387. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  388. </div>
  389. <div style="display: inline-block; float: right; position: relative; margin-right: 10px; line-height: 40px;">
  390. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  391. ng-click="Dopinion(activeOpinion)">
  392. <i class="fa fa-trash-o fa-lg"></i>
  393. </span>
  394. </div>
  395. </div>
  396. </div>
  397. </div>
  398. </div>
  399. </div>
  400. </div>
  401. </div>
  402. </div>
  403. </div>
  404. </div>
  405. </div>
  406. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  407. <div class="wrapper wrapper-content">
  408. <div class="row">
  409. <div class="col-md-12">
  410. <div class="ibox float-e-margins">
  411. <div class="ibox-content">
  412. <div class="row">
  413. <div class="col-md-12">
  414. <div class="sp-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
  415. <!-- top-->
  416. <div class="sp-box" style="background: #008A94; padding-right: 10px; line-height: 30px; ">
  417. <div class="sp-page sp-color-white" style="width: 200px; margin: 7px 0; text-indent: 10px" ng-bind="ctl.flowTitle"></div>
  418. <div class="sp-page-col sp-pull-right sp-ml-30">
  419. <div class="sp-page-col" ng-repeat="item in ctl.buttonList">
  420. <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')">
  421. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  422. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  423. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  424. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  425. {{item.CNAME}}
  426. </button>
  427. <button style="padding: 4px 10px; position: relative" class="sp-btn-md sp-radius sp-btn-blue tiaoahao" ng-if="item.CODE=='array'">
  428. {{item.CNAME}}
  429. <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">
  430. <div class="sp-box sp-text-center" ng-repeat="item1 in item.data">
  431. <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>
  432. </div>
  433. </div>
  434. </button>
  435. </div>
  436. <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)">
  437. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  438. 关闭
  439. </button>
  440. </div>
  441. <div class="sp-wrapper-head-col sp-mr-20">
  442. <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;">
  443. <i class="icon-map-1 sp-pl-5 pointer" ng-click="ctl.onePic()"></i>
  444. <input type="text" class="sp-wrapper-head-search" style="border:0" placeholder="地图搜索" ng-model="ctl.headBtnSearchKeyword" ng-change="ctl.headBtnSearch()" />
  445. </span>
  446. <div class="sp-wrapper-head-sub-2 sp-text-center" style="width:175px;" ng-if="ctl.headSearchResult_view">
  447. <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>
  448. </div>
  449. </div>
  450. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/bzgf.html', '标准规范');">
  451. <span class="sp-wrapper-head-col-span">
  452. <i class="icon-book"></i>标准规范
  453. </span>
  454. </div>
  455. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/flgf.html', '法律法规');">
  456. <span class="sp-wrapper-head-col-span">
  457. <i class="fa fa-legal"></i>法律法规
  458. </span>
  459. </div>
  460. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/dnfg.html', '党内规范');">
  461. <span class="sp-wrapper-head-col-span">
  462. <i class="icon-newspaper-1"></i>党内规范
  463. </span>
  464. </div>
  465. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../fontOA/list.html', '公文查询');">
  466. <span class="sp-wrapper-head-col-span">
  467. <i class="icon-chart-alt-outline"></i>公文查询
  468. </span>
  469. </div>
  470. </div>
  471. <!-- left -->
  472. <div class="page-item leftBox" style="width: 70%; overflow: visible;">
  473. <div id="topDiv" class="sp-box" style="width:100%;height:100%;background:#0099FF;padding:0px;margin:0px;border:0px solid yellow">
  474. <div class="sp-page" style="width:100%; padding:2px;margin:2px">
  475. <span class="upload sp-color-white" style="top:5px;height:36px;vertical-align:middle;padding-left:10px;font-size:16px">正文:</span>
  476. <span style="display:inline-block" class="sp-btn-gray-outline sp-btn-sm upload" ng-if="ctl.dotype!=0&&ctl.arrayFile==null">
  477. <span class="upload-tip"></span>
  478. <input id="fileupload-zw" class="upload-file-single" ng-click="ctl.upload_zw()" type="file" name="files[]" multiple>
  479. <i class="fa fa-plus sp-color-white"></i>
  480. <span class="upload-loading" ng-if="ctl.uploading_zw"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  481. </span>
  482. <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">
  483. <span ng-bind="ctl.arrayFile.FILENAMES" title="{{ctl.arrayFile.FILENAMES}}" ng-click="ctl.seeFile(ctl.arrayFile)"></span>
  484. <a ng-click="ctl.downLoad(ctl.arrayFile)" title="下载">
  485. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  486. </a>
  487. <!--<a ng-click="ctl.deleteFile(ctl.arrayFile)" title="删除" ng-if="ctl.dotype!=0"><i class="fa fa-trash sp-color-red"></i></a>-->
  488. </div>
  489. </div>
  490. <div class="sp-page sp-bg-white" style="height:100%;padding:0px; margin:0px;border:0px solid black;">
  491. <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>
  492. </div>
  493. </div>
  494. <div id="bottomDiv" class="sp-box" style="width: 100%; background: #0099FF; color: #fff;padding:0px;margin:0px; border:0px solid green">
  495. <div class="sp-page" style="width: 100%; vertical-align: middle; padding: 2px; margin: 2px; ">
  496. <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()">
  497. <i class="fa fa-arrows-v fa-lg"></i>
  498. </span>
  499. <span class="upload sp-color-white" style="top: 4px; height: 36px; padding-left: 10px; font-size: 16px;">&nbsp;附件({{ctl.arrayFile1.length}}):</span>
  500. <span style="display:inline" class="sp-btn-gray-outline sp-btn-sm upload" ng-if="ctl.dotype!=0&&ctl.routeinfoid!=0">
  501. <span class="upload-tip"></span>
  502. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload()" type="file" name="files[]" multiple>
  503. <i class="fa fa-plus sp-color-white"></i>
  504. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  505. </span>
  506. <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; ">
  507. <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>
  508. <a class="sp-pull-right sp-ml-10" ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  509. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  510. </a>
  511. <a class="sp-pull-right" ng-click="ctl.downLoad(item)" title="下载">
  512. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  513. </a>
  514. </div>
  515. <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)">
  516. <i class="fa fa-chevron-up" style="position: relative; display: none"></i>
  517. <i class="fa fa-chevron-down" style="position: relative;"></i>
  518. </span>
  519. <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">
  520. <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;">
  521. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" ng-click="ctl.goAttach(item)"></span>
  522. <a ng-click="ctl.downLoad(item)" title="下载">
  523. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  524. </a>
  525. <a ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  526. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  527. </a>
  528. </div>
  529. </div>
  530. </div>
  531. <div class="sp-page sp-bg-white" style="width: 100%; height: calc(100% - 40px); padding: 0px; margin: 0px; border: 0px solid black;">
  532. <iframe id="attachlist" src="" style="width:100%;height:200px;padding:0px;margin:0px;border:0px solid red;" frameborder="0" scrolling="no"></iframe>
  533. </div>
  534. </div>
  535. <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)">
  536. <i class="fa fa-angle-left fa-2x" style="position: absolute; top: 50%; transform: translateY(-50%); display: none"></i>
  537. <i class="fa fa-angle-right fa-2x" style="position: absolute; top: 50%; transform: translateY(-50%)"></i>
  538. </div>
  539. </div>
  540. <!-- right -->
  541. <div class="page-item rightBox" style="width: 30%; padding-left: 20px;">
  542. <div id="bodyDiv" class="iframe-border-right" style="border:0px solid blue; z-index:3" ng-init="ctl.reSize(1)"></div>
  543. <div class="sp-page formedit sp-pb-20">
  544. <div class="sp-page sp-mt-10">
  545. <div class="sp-page-col pointer" onclick="toggleForm(this)">
  546. <i class="fa fa-angle-down fa-lg"></i>
  547. <i class="fa fa-angle-right fa-lg" style="display: none"></i>
  548. 收文简表
  549. </div>
  550. <div class="sp-line-gray"></div>
  551. </div>
  552. <div class="form-item" ng-if="!ctl.hide('show','CPSX')">
  553. <div class="sp-col-30" style="line-height:32px;" title="呈批时限">呈批时限:</div>
  554. <div class="sp-col-70">
  555. <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')" />
  556. </div>
  557. </div>
  558. <div class="form-item" ng-if="!ctl.hide('show','BT')">
  559. <div class="sp-col-30" style="line-height:32px;" title="公文标题">公文标题:</div>
  560. <div class="sp-col-70">
  561. <!--<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')" />-->
  562. <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>
  563. </div>
  564. </div>
  565. <div class="form-item" ng-if="!ctl.hide('show','LWDW')">
  566. <div class="sp-col-30" style="line-height:32px;" title="来文单位">来文单位:</div>
  567. <div class="sp-col-70">
  568. <!--<input type="text" class="sp-input sp-pull-left" ng-model="ctl.data.LWDW" readonly ng-click="ctl.openLWDW()" />-->
  569. <input type="text" class="sp-input sp-pull-left" style="width:90%" ng-model="ctl.data.LWDW" readonly sp-required ng-click="ctl.openLWDW()" />
  570. <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>
  571. </div>
  572. </div>
  573. <div class="form-item" ng-if="!ctl.hide('show','LWWH')">
  574. <div class="sp-col-30" style="line-height:32px;" title="文号">文&nbsp;&nbsp;号:</div>
  575. <div class="sp-col-70">
  576. <input type="text" class="sp-input" ng-model="ctl.data.LWWH" ng-readonly="ctl.hide('readonly','LWWH')" ng-change="ctl.changeFiled('LWWH')" />
  577. </div>
  578. </div>
  579. <div class="sp-page toggleForm">
  580. <div class="form-item" ng-if="!ctl.hide('show','LWRQ')">
  581. <div class="sp-col-30" style="line-height:32px;" title="来文日期">来文日期:</div>
  582. <div class="sp-col-70">
  583. <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')" />
  584. </div>
  585. </div>
  586. <div class="form-item" ng-if="!ctl.hide('show','SWLB')">
  587. <div class="sp-col-30" style="line-height:32px;" title="收文类别">收文类别</div>
  588. <div class="sp-col-70">
  589. <select class="sp-select" ng-model="ctl.data.SWLB" ng-disabled="ctl.hide('readonly','SWLB')" ng-change="ctl.changeFiled('SWLB')">
  590. <option ng-repeat="item in ctl.SWLB" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  591. </select>
  592. </div>
  593. </div>
  594. <div class="form-item" ng-if="!ctl.hide('show','MIJI')">
  595. <div class="sp-col-30" style="line-height:32px;" title="密级">密&nbsp;&nbsp;级:</div>
  596. <div class="sp-col-70">
  597. <select class="sp-select" ng-model="ctl.data.MIJI" ng-disabled="ctl.hide('readonly','MIJI')" ng-change="ctl.changeFiled('MIJI')">
  598. <option ng-repeat="item in ctl.MIJI" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  599. </select>
  600. </div>
  601. </div>
  602. <div class="form-item" ng-if="!ctl.hide('show','JJCD')">
  603. <div class="sp-col-30" style="line-height:32px;" title="紧急情况">紧急情况:</div>
  604. <div class="sp-col-70">
  605. <select class="sp-select" ng-model="ctl.data.JJCD" ng-disabled="ctl.hide('readonly','JJCD')" sp-required ng-change="ctl.changeFiled('JJCD')">
  606. <option ng-repeat="item in ctl.JJCD" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  607. </select>
  608. </div>
  609. </div>
  610. <div class="form-item" ng-if="!ctl.hide('show','SWBH')">
  611. <div class="sp-col-30" style="line-height:32px;" title="收文编号">收文编号:</div>
  612. <div class="sp-col-70">
  613. <input type="text" class="sp-input" ng-model="ctl.data.SWBH" ng-readonly="ctl.hide('readonly','SWBH')" ng-change="ctl.changeFiled('SWBH')" />
  614. </div>
  615. </div>
  616. <div class="form-item" ng-if="!ctl.hide('show','SFDB')">
  617. <div class="sp-col-30" style="line-height:32px;" title="是否督办">是否督办:</div>
  618. <div class="sp-col-70">
  619. <select class="sp-select" ng-model="ctl.data.SFDB" ng-disabled="ctl.hide('readonly','SFDB')" ng-change="ctl.changeFiled('SFDB')">
  620. <option ng-repeat="item in ctl.SFDB" value="{{item.CODE}}" ng-bind="item.CNAME" ng-selected="item.CODE==ctl.data.SFDB"></option>
  621. </select>
  622. </div>
  623. </div>
  624. <div class="form-item" ng-if="!ctl.hide('show','DBLX')&&ctl.data.SFDB=='C01'">
  625. <div class="sp-col-30" style="line-height:32px;" title="督办类型">督办类型:</div>
  626. <div class="sp-col-70">
  627. <select class="sp-select" ng-model="ctl.data.DBLX" ng-disabled="ctl.hide('readonly','DBLX')" ng-change="ctl.changeFiled('DBLX')">
  628. <option ng-repeat="item in ctl.DBTYPE" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  629. </select>
  630. </div>
  631. </div>
  632. <div class="form-item" ng-if="!ctl.hide('show','DBSX')">
  633. <div class="sp-col-30" style="line-height:32px;" title="{{ctl.data.SWQXLX}}时限">{{ctl.data.SWQXLX}}时限:</div>
  634. <div class="sp-col-70">
  635. <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')" />
  636. </div>
  637. </div>
  638. <div class="form-item" ng-if="!ctl.hide('show','ZBCS')">
  639. <div class="sp-col-30" style="line-height:32px;" title="主办处室">主办处室:</div>
  640. <div class="sp-col-70">
  641. <input type="text" class="sp-input" readonly ng-model="ctl.data.ZBCS" ng-click="ctl.openDpList('ZBCS')" />
  642. </div>
  643. </div>
  644. <div class="form-item" ng-if="!ctl.hide('show','CDCS')">
  645. <div class="sp-col-30" style="line-height:32px;" title="存档处室">存档处室:</div>
  646. <div class="sp-col-70">
  647. <input type="text" class="sp-input" readonly ng-model="ctl.data.CDCS" ng-click="ctl.openDpList('CDCS')" />
  648. </div>
  649. </div>
  650. <div class="form-item" ng-if="!ctl.hide('show','SFBJ')">
  651. <div class="sp-col-30" style="line-height:32px;" title="是否办结">是否办结:</div>
  652. <div class="sp-col-70">
  653. <select class="sp-select" ng-model="ctl.data.SFBJ" ng-disabled="ctl.hide('readonly','SFBJ')" ng-change="ctl.changeFiled('SFBJ')">
  654. <option ng-repeat="item in ctl.SFBJ" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  655. </select>
  656. </div>
  657. </div>
  658. <div class="form-item" ng-if="!ctl.hide('show','BJQK')">
  659. <div class="sp-col-30" style="line-height:32px;" title="办结情况">办结情况:</div>
  660. <div class="sp-col-70">
  661. <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>
  662. </div>
  663. </div>
  664. <div class="form-item" ng-if="!ctl.hide('show','BZ')">
  665. <div class="sp-col-30" style="line-height:32px;" title="备注">备&nbsp;&nbsp;注:</div>
  666. <div class="sp-col-70">
  667. <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>
  668. </div>
  669. </div>
  670. <div class="form-item" ng-if="!ctl.hide('show','NGR')">
  671. <div class="sp-col-30" style="line-height:32px;" title="登记人">登记人:</div>
  672. <div class="sp-col-70">
  673. <input type="text" class="sp-input" ng-model="ctl.data.NGR" ng-readonly="ctl.hide('readonly','NGR')" ng-change="ctl.changeFiled('NGR')" />
  674. </div>
  675. </div>
  676. <div class="form-item" ng-if="!ctl.hide('show','ZBRQ')">
  677. <div class="sp-col-30" style="line-height:32px;" title="登记日期">登记日期:</div>
  678. <div class="sp-col-70">
  679. <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')" />
  680. </div>
  681. </div>
  682. </div>
  683. <div class="sp-page sp-mt-10">
  684. 公文标签
  685. <div class="sp-line-gray"></div>
  686. </div>
  687. <div class="form-item" ng-if="!ctl.hide('show','USAGE')">
  688. <div class="sp-checkbox-blue">
  689. <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>
  690. <input type="checkbox" name="USAGE" ng-checked="item.checked" ng-disabled="ctl.hide('readonly','USAGE')||item.USAGE=='0'"
  691. value="{{item.CODE}}" ng-click="ctl.selectUSAGE(item)" />
  692. {{item.CNAME}}
  693. </label>
  694. <!--<span class="sp-btn-blue sp-radius" ng-if="!ctl.hide('readonly','USAGE')" ng-click="ctl.ManageUSAGE(0)">管理标签</span>-->
  695. </div>
  696. </div>
  697. <div class="qianzi" ng-repeat="item in ctl.YJ.nulla">
  698. <div class="sp-col-100">
  699. <div class="sp-page" style="padding:10px 5px;border:1px solid #999;">
  700. <div class="sp-page">
  701. <p class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  702. <div class="sp-page">
  703. <div class="sp-page">
  704. <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">
  705. <a ng-click="ctl.downLoadOption(item)" title="下载">
  706. <i class="fa fa-download sp-color-red"></i>
  707. </a>
  708. <a ng-click="ctl.deleteOptionFile(item)" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  709. <i class="fa fa-trash sp-color-red"></i>
  710. </a>
  711. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  712. </div>
  713. <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">
  714. <span class="opbtn" style="position: relative; color: #1c84c6">
  715. <span class="upload-tip"></span>
  716. <input id="fileupload2" class="upload-file-single" ng-click="ctl.upload2(item.COLID)" type="file" name="files[]" multiple>
  717. <i class="fa fa-upload"></i>
  718. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  719. </span>
  720. </div>
  721. </div>
  722. <div class="sp-page sp-text-right sp-pull-right">
  723. <span ng-bind="item.CMANNAME"></span>
  724. <span ng-bind="item.CDATE"></span>
  725. </div>
  726. </div>
  727. </div>
  728. <div class="sp-page sp-text-right">
  729. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  730. ng-click="ctl.Dopinion(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1">
  731. <i class="fa fa-trash-o fa-lg"></i>
  732. </span>
  733. <span class="opbtn" style="color: #66D151; width: 55px; "
  734. ng-click="ctl.changeOptionList(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1">
  735. <i class="fa fa-pencil fa-lg"></i>
  736. </span>
  737. </div>
  738. </div>
  739. </div>
  740. </div>
  741. </div>
  742. <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">
  743. <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)">
  744. <i class="fa fa-angle-double-up fa-lg"></i>
  745. <i class="fa fa-angle-double-down fa-lg" style="display: none"></i>
  746. </div>
  747. <div class="sp-page-center" style="height: 100%; line-height: 30px; background: #fff; overflow: hidden; ">
  748. <div class="sp-page-col sp-ml-10" ng-if="ctl.opinionList1.length>1">
  749. 类型:<select class="sp-select sp-pull-right" style="width:100px" ng-model="ctl.opiniontype">
  750. <option value="{{item.col}}" ng-repeat="item in ctl.opinionList1" ng-if="item.show==true" ng-bind="item.name"></option>
  751. </select>
  752. </div>
  753. <div class="sp-page" ng-if="ctl.opinion.nulla==true">
  754. <textarea id="nulla" ng-model="ctl.nulla" class="op-textarea sp-mb-5 sp-mt-5"></textarea>
  755. <div class="sp-page sp-pb-5" style="border-bottom:1px solid #999">
  756. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.closeOptionList()">取消</span>
  757. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.submitOptionList()">保存</span>
  758. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase()">常用语</span>
  759. </div>
  760. </div>
  761. <div class="sp-page" ng-if="ctl.activeOpinion!=null">
  762. <div style="display: inline-block; float: left; position: relative; margin-left: 10px; line-height: 40px;">
  763. <span class="opbtn" style="position: relative; color: #1c84c6">
  764. <span class="upload-tip"></span>
  765. <input id="fileupload1" class="upload-file-single" ng-click="ctl.upload1()" type="file" name="files[]" multiple>
  766. <i class="fa fa-upload"></i>
  767. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  768. </span>
  769. </div>
  770. <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">
  771. <a ng-click="ctl.downLoadOption(item)" title="下载">
  772. <i class="fa fa-download sp-color-red"></i>
  773. </a>
  774. <a ng-click="ctl.deleteOptionFile(item)" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  775. <i class="fa fa-trash sp-color-red"></i>
  776. </a>
  777. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  778. </div>
  779. <div style="display: inline-block; float: right; position: relative; margin-right: 10px; line-height: 40px;">
  780. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  781. ng-click="ctl.Dopinion(ctl.activeOpinion)">
  782. <i class="fa fa-trash-o fa-lg"></i>
  783. </span>
  784. </div>
  785. </div>
  786. </div>
  787. </div>
  788. </div>
  789. </div>
  790. </div>
  791. </div>
  792. </div>
  793. </div>
  794. </div>
  795. </div>
  796. <div class="sp-layer" id="DpList" style="width: 900px;">
  797. <div class="sp-layer-head" style="background:#2176d6">
  798. <div class="sp-page sp-text-center sp-font16">
  799. 部门列表
  800. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  801. ×
  802. </div>
  803. </div>
  804. </div>
  805. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  806. <div class="sp-page" style="height:290px;overflow:auto">
  807. <label class="sp-col-20">
  808. <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllCheckedDp[ctl.filed]" ng-click="ctl.checkAllDp()" />
  809. 全选
  810. </label>
  811. <div class="sp-page">
  812. <label class="sp-col-25" title="{{item.SECTION}}" ng-repeat="item in ctl.DpList[ctl.filed]">
  813. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkDpItem(item)" />
  814. {{item.SECTION}}
  815. </label>
  816. </div>
  817. </div>
  818. <div class="sp-page sp-text-center sp-pt-10">
  819. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitDpList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  820. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  821. </div>
  822. </div>
  823. </div>
  824. <div class="sp-layer" id="openLWDW" style="width: 900px;">
  825. <div class="sp-layer-head" style="background:#2176d6">
  826. <div class="sp-page sp-text-center sp-font16">
  827. 部门列表
  828. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  829. ×
  830. </div>
  831. </div>
  832. </div>
  833. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  834. <div class="sp-page" style="height:290px;overflow:auto">
  835. <div class="sp-page" ng-repeat="item in ctl.LWDW">
  836. <div class="sp-box" style="background: #409EFF;color:#fff;text-indent:2em">
  837. {{item.CNAME}}
  838. <span class="sp-pull-right pointer sp-mr-20" ng-click="item.show=!item.show">
  839. <i ng-if="item.show==false" class="fa fa-plus-square-o"></i>
  840. <i ng-if="item.show==true" class="fa fa-minus-square-o"></i>
  841. </span>
  842. </div>
  843. <div class="sp-box">
  844. <label class="sp-col-33" title="{{item1.CNAME}}" ng-repeat="item1 in item.C_H_I_L_D_DATA" ng-if="item.show==true">
  845. <input type="radio" style="position:relative;top:2px" name="LWDW" ng-checked="item1.checked" ng-click="ctl.checkItem(item1)" />
  846. {{item1.CNAME}}
  847. </label>
  848. </div>
  849. </div>
  850. </div>
  851. <div class="sp-page sp-text-center sp-pt-10">
  852. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitLWDW()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  853. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  854. </div>
  855. </div>
  856. </div>
  857. <div class="sp-layer" id="setLWDW" style="width: 900px;">
  858. <div class="sp-layer-head" style="background:#2176d6">
  859. <div class="sp-page sp-text-center sp-font16">
  860. 来文单位
  861. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  862. ×
  863. </div>
  864. </div>
  865. </div>
  866. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  867. <div class="sp-col-50">
  868. <div class="sp-page" id="treeDivPart" style="overflow:auto;max-height:300px">
  869. <div style="width: 100%;" class="menu-list" tree-view tree-data="ctl.treeData" text-field="CNAME"
  870. item-add="ctl.itemAdd($item,$event)"
  871. item-edit="ctl.itemEdit($item,$event)"
  872. item-delete="ctl.itemDelete($item,$event)">
  873. </div>
  874. </div>
  875. </div>
  876. <div class="sp-col-50" ng-if="ctl.rightFlag==1">
  877. <table class="sp-grid-job">
  878. <tr ng-if="(ctl.itemNode.id!=0&&ctl.itemNode.level==2)||ctl.itemNode.id==0">
  879. <td width="150">一级单位</td>
  880. <td>
  881. <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 />
  882. <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 />
  883. </td>
  884. </tr>
  885. <tr ng-if="(ctl.itemNode.id!=0&&ctl.itemNode.level==3)||(ctl.itemNode.id==0&&ctl.itemNode.level!=1)">
  886. <td>二级单位</td>
  887. <td>
  888. <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 />
  889. <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 />
  890. </td>
  891. </tr>
  892. </table>
  893. <div class="sp-page sp-text-center sp-pt-10 sp-pad-10">
  894. <button class="sp-btn-blue sp-btn-md" ng-click="ctl.btnSetTitle()">
  895. <i class="fa fa-check"></i>&nbsp;提交
  896. </button>
  897. <button class="sp-btn-default sp-btn-md" ng-click="ctl.btnCancal()">
  898. <i class="fa fa-close"></i>&nbsp;取消
  899. </button>
  900. </div>
  901. </div>
  902. <div class="sp-page sp-text-center sp-pt-10">
  903. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>关 闭</a>
  904. </div>
  905. </div>
  906. </div>
  907. <div class="sp-layer" id="print" style="width: 400px;">
  908. <div class="sp-layer-head" style="background:#2176d6">
  909. <div class="sp-page sp-text-center sp-font16">
  910. 打印
  911. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  912. ×
  913. </div>
  914. </div>
  915. </div>
  916. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  917. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==1}" ng-click="ctl.printFiled=1">
  918. <div class="printItem">表单</div>
  919. </center>
  920. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==2}" ng-click="ctl.printFiled=2">
  921. <div class="printItem">意见</div>
  922. </center>
  923. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==3}" ng-click="ctl.printFiled=3">
  924. <div class="printItem">表单+意见</div>
  925. </center>
  926. <div class="sp-page sp-text-center sp-pt-10">
  927. <a class="sp-btn-blue sp-radius" ng-click="ctl.printSubmit()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  928. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  929. </div>
  930. </div>
  931. </div>
  932. <div class="sp-layer" id="phrase" style="width:480px;">
  933. <div class="sp-layer-head" style="background:#2176d6">
  934. <div class="sp-page sp-text-center sp-font16">
  935. 常用语库
  936. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  937. ×
  938. </div>
  939. </div>
  940. </div>
  941. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  942. <div class="sp-box">
  943. <div class="sp-col-70">
  944. <input type="text" ng-model="ctl.phraseText" class="sp-input" />
  945. </div>
  946. <div class="sp-col-30">
  947. <span class="sp-btn-blue sp-pull-left sp-radius" ng-class="{'sp-disabled':ctl.phraseText==''}" ng-click="ctl.Aphrase()">添加常用语</span>
  948. </div>
  949. </div>
  950. <div class="sp-box">
  951. <div class="sp-col-20" style="line-height:30px;">
  952. 常用语:
  953. </div>
  954. <div class="sp-col-60">
  955. <select class="sp-select sp-bg-white" ng-model="ctl.phraseSelect">
  956. <option ng-repeat="item in ctl.phraseList" value="{{item.CONTENTS}}" ng-bind="item.CONTENTS"></option>
  957. </select>
  958. </div>
  959. <div class="sp-col-20">
  960. <span class="sp-btn-blue sp-pull-left sp-radius" ng-click="ctl.Dphrase()">删除</span>
  961. </div>
  962. </div>
  963. <div class="sp-page sp-text-center sp-pt-10">
  964. <a class="sp-btn-blue sp-radius" ng-click="ctl.btnPhrase()"><i class="fa fa-check sp-mr-5"> </i>确 认</a>
  965. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  966. </div>
  967. </div>
  968. </div>
  969. <div class="sp-layer" id="forward" style="width: 1000px;">
  970. <div class="sp-layer-head" style="background:#2176d6">
  971. <div class="sp-page sp-text-center sp-font16">
  972. 转&nbsp;&nbsp;发
  973. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  974. ×
  975. </div>
  976. </div>
  977. </div>
  978. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  979. <iframe id="forwardWin" style="width:100%;border:0"></iframe>
  980. </div>
  981. </div>
  982. <div class="sp-layer" id="RouteList" style="width:900px;">
  983. <div class="sp-layer-head" style="background:#2176d6">
  984. <div class="sp-page sp-text-center sp-font16">
  985. 流转记录
  986. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  987. ×
  988. </div>
  989. </div>
  990. </div>
  991. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  992. <table class="sp-table">
  993. <thead>
  994. <tr>
  995. <th style="width:100px"><strong>流程名称</strong></th>
  996. <th style="width:200px"><strong>标题</strong></th>
  997. <th style="width:100px"><strong>工作节点</strong></th>
  998. <th style="width:100px"><strong>转发人</strong></th>
  999. <th style="width:100px"><strong>主送</strong></th>
  1000. <th style="width:150px"><strong>抄送</strong></th>
  1001. <th style="width:200px"><strong>发送日期</strong></th>
  1002. </tr>
  1003. </thead>
  1004. </table>
  1005. <div style="overflow-y:scroll;max-height:400px">
  1006. <table class="sp-table" style="margin-top: -38px">
  1007. <thead>
  1008. <tr>
  1009. <th style="width:100px"><strong>流程名称</strong></th>
  1010. <th style="width:200px"><strong>标题</strong></th>
  1011. <th style="width:100px"><strong>工作节点</strong></th>
  1012. <th style="width:100px"><strong>转发人</strong></th>
  1013. <th style="width:100px"><strong>主送</strong></th>
  1014. <th style="width:150px"><strong>抄送</strong></th>
  1015. <th style="width:200px"><strong>发送日期</strong></th>
  1016. </tr>
  1017. </thead>
  1018. <tbody>
  1019. <tr ng-repeat="item in ctl.routeList">
  1020. <td ng-bind="item.FLOWNAME"></td>
  1021. <td ng-bind="item.TITLE"></td>
  1022. <td ng-bind="item.ENDNODENAME"></td>
  1023. <td ng-bind="item.USERNAMEFROM"></td>
  1024. <td ng-bind="item.mainUser"></td>
  1025. <td ng-bind="item.copyUsers"></td>
  1026. <td ng-bind="item.RECEIVEDATE"></td>
  1027. </tr>
  1028. </tbody>
  1029. </table>
  1030. </div>
  1031. <div class="sp-page sp-text-center sp-pt-10">
  1032. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  1033. </div>
  1034. </div>
  1035. </div>
  1036. <div class="sp-layer" id="USAGE" style="width:900px;">
  1037. <div class="sp-layer-head" style="background:#2176d6">
  1038. <div class="sp-page sp-text-center sp-font16">
  1039. 管理标签
  1040. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  1041. ×
  1042. </div>
  1043. </div>
  1044. </div>
  1045. <div class="sp-layer-body">
  1046. <div class="input-group col-lg-8">
  1047. <input type="text" ng-model="ctl.addUSAGENAME" class="form-control" placeholder="新增标签">
  1048. <span class="input-group-btn">
  1049. <button ng-click="ctl.addUSAGE()" class="btn btn-success" type="button">增加</button>
  1050. </span>
  1051. </div>
  1052. <br />
  1053. <table class="sp-table">
  1054. <thead>
  1055. <tr>
  1056. <th style="width: 50px"><strong>序号</strong></th>
  1057. <th style="width: 200px"><strong>标签名称</strong></th>
  1058. <th style="width: 100px"><strong>状态</strong></th>
  1059. <th style="width: 200px"><strong>操作</strong></th>
  1060. </tr>
  1061. </thead>
  1062. </table>
  1063. <div style="overflow-y:scroll;max-height:400px">
  1064. <table class="sp-table" style="margin-top: -38px">
  1065. <thead>
  1066. <tr>
  1067. <th style="width: 50px"><strong>序号</strong></th>
  1068. <th style="width: 200px"><strong>标签名称</strong></th>
  1069. <th style="width: 100px"><strong>状态</strong></th>
  1070. <th style="width: 200px"><strong>操作</strong></th>
  1071. </tr>
  1072. </thead>
  1073. <tbody>
  1074. <tr ng-repeat="item in ctl.USAGELIST">
  1075. <td ng-bind="$index+1"></td>
  1076. <td>
  1077. <span ng-if="item.change==false" ng-bind="item.CNAME"></span>
  1078. <input type="text" ng-if="item.change==true" class="sp-input" ng-model="item.CNAME1" />
  1079. </td>
  1080. <td>
  1081. <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='隐藏'" ng-click="ctl.updataUSAGE(item,'显示')">显&nbsp;示</button>
  1082. <button class="sp-btn-red-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='显示'" ng-click="ctl.updataUSAGE(item,'隐藏')">隐&nbsp;藏</button>
  1083. </td>
  1084. <td>
  1085. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort($index,'上移')" ng-disabled="{{$index}}==0">上&nbsp;移</button>
  1086. <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>
  1087. <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>
  1088. <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>
  1089. <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>
  1090. </td>
  1091. </tr>
  1092. </tbody>
  1093. </table>
  1094. </div>
  1095. <div class="sp-page sp-text-center sp-pt-10">
  1096. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  1097. </div>
  1098. </div>
  1099. </div>
  1100. </div>
  1101. <script type="text/ng-template" id="/treeView.html">
  1102. <ul>
  1103. <li ng-repeat="item in treeData" ng-include="'/treeItem.html'"></li>
  1104. </ul>
  1105. </script>
  1106. <script type="text/ng-template" id="/treeItem.html">
  1107. <p ng-class="{'pActive':item.checked}">
  1108. <i ng-click="itemExpended(item, $event);" class="{{getItemIcon(item)}}"></i>
  1109. <span style="display: inline-block;height: 18px;line-height: 18px;" ng-click="warpCallback('itemCheck', item, $event);">
  1110. {{item[textField]}}
  1111. </span>
  1112. <span class="edit-menu sp-color-gray">
  1113. <i ng-if="item.LEVELS!=3"
  1114. ng-click="warpCallback('itemAdd', item, $event);" title="新增分类" class="fa fa-plus"></i>
  1115. <i ng-if="item.LEVELS!=1"
  1116. ng-click="warpCallback('itemEdit', item, $event);" title="编辑分类" class="fa fa-pencil"></i>
  1117. <i ng-if="!item.C_H_I_L_D_DATA || item.C_H_I_L_D_DATA.length<1"
  1118. ng-click="warpCallback('itemDelete', item, $event);" title="删除分类" class="fa fa-trash"></i>
  1119. <i ng-if="$index!=0"
  1120. ng-click="warpCallback('itemUp', item, $index, $event);" title="上移" class="fa fa-arrow-up"></i>
  1121. <i ng-if="$index+1!=item.C_H_I_L_D_DATA_L"
  1122. ng-click="warpCallback('itemDown', item, $index, $event);" title="下移" class="fa fa-arrow-down"></i>
  1123. </span>
  1124. </p>
  1125. <ul ng-if="!isEnd(item)" ng-show="!item.$$isExpend">
  1126. <li ng-repeat="item in item.C_H_I_L_D_DATA" ng-include="'/treeItem.html'"></li>
  1127. </ul>
  1128. </script>
  1129. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  1130. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  1131. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  1132. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  1133. <script src="../../../apiurljs.js"></script>
  1134. <!--<script src="../../js/watermark.js"></script>-->
  1135. <script src="../../../js/sm4.js"></script>
  1136. <script src="./js/api/request.js"></script>
  1137. <script src="./js/api/g2app_abase.js"></script>
  1138. <script src="./js/api/g2work_flow.js"></script>
  1139. <script src="./js/api/g2app_dataabase.js"></script>
  1140. <script src="./js/api/g2app_shouwen.js"></script>
  1141. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  1142. <script>document.write('<scri' + 'pt src="js/formeditZW_vue.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  1143. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  1144. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  1145. <!--附件-->
  1146. <script src="../../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  1147. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  1148. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  1149. </body>
  1150. </html>