formeditZW.html 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601
  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-qianbaomgr-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. <input id="fileupload-zw" class="upload-file-single" style="width:0px;left: -10px" type="file" name="files[]" multiple>
  74. <div class="sp-page-col ZW">
  75. 正文:
  76. <div class="sp-box" ng-if="ctl.dotype!=0&&ctl.routeinfoid!=0">
  77. <div class="sp-col-100 pointer" ng-click="ctl.newMoBan1()">空白模板</div>
  78. <div class="sp-col-100 pointer" ng-click="ctl.newMoBan2()">套红模板</div>
  79. <div class="sp-col-100 pointer" ng-click="ctl.upload_zw()">本地文件</div>
  80. </div>
  81. </div>
  82. <div class="sp-page-col" ng-if="ctl.gaoTypeArrayFirst[0]" style="width: calc(100% - 80px); height: 30px; line-height: 30px; color: #fff; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">
  83. <span ng-bind="ctl.gaoTypeArrayFirst[0].FILENAMES" title="{{ctl.gaoTypeArrayFirst[0].FILENAMES}}"></span>
  84. </div>
  85. <div class="sp-page sp-bg-white" style="height:100%;padding:0px; margin:0px;border:0px solid black;">
  86. <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>
  87. </div>
  88. </div>
  89. <div id="bottomDiv" class="sp-box" style="width: 100%; background: #0099FF; color: #fff;padding:0px;margin:0px; border:0px solid green">
  90. <div class="sp-page" style="width: 100%; vertical-align: middle; padding: 2px; margin: 2px; " ng-init="ctl.goAttach()">
  91. <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()">
  92. <i class="fa fa-arrows-v fa-lg"></i>
  93. </span>
  94. <span class="upload sp-color-white" style="top: 4px; height: 36px; padding-left: 10px; font-size: 16px;">&nbsp;附件({{ctl.arrayFile1.length}}):</span>
  95. <span style="display:inline" class="sp-btn-gray-outline sp-btn-sm upload" ng-if="ctl.dotype!=0&&ctl.routeinfoid!=0">
  96. <span class="upload-tip"></span>
  97. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload()" type="file" name="files[]" multiple>
  98. <i class="fa fa-plus sp-color-white"></i>
  99. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  100. </span>
  101. <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; ">
  102. <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>
  103. <a class="sp-pull-right sp-ml-10" ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  104. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  105. </a>
  106. <a class="sp-pull-right" ng-click="ctl.downLoad(item)" title="下载">
  107. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  108. </a>
  109. </div>
  110. <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)">
  111. <i class="fa fa-chevron-up" style="position: relative; display: none"></i>
  112. <i class="fa fa-chevron-down" style="position: relative;"></i>
  113. </span>
  114. <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">
  115. <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;">
  116. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" ng-click="ctl.goAttach(item)"></span>
  117. <a ng-click="ctl.downLoad(item)" title="下载">
  118. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  119. </a>
  120. <a ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  121. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  122. </a>
  123. </div>
  124. </div>
  125. </div>
  126. <div class="sp-page sp-bg-white" style="width: 100%; height: calc(100% - 40px); padding: 0px; margin: 0px; border: 0px solid black;">
  127. <iframe id="attachlist" src="" style="width:100%;height:200px;padding:0px;margin:0px;border:0px solid red;" frameborder="0" scrolling="no"></iframe>
  128. </div>
  129. </div>
  130. <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)">
  131. <i class="fa fa-angle-left fa-2x" style="position: absolute; top: 50%; transform: translateY(-50%); display: none"></i>
  132. <i class="fa fa-angle-right fa-2x" style="position: absolute; top: 50%; transform: translateY(-50%)"></i>
  133. </div>
  134. </div>
  135. <div class="page-item rightBox" style="width: 30%; padding-left: 20px;">
  136. <div id="bodyDiv" class="iframe-border-right" style="border:0px solid blue; z-index:3" ng-init="ctl.reSize(1)"></div>
  137. <div class="sp-page formedit">
  138. <div class="sp-page sp-mt-10">
  139. <div class="sp-page-col pointer" onclick="toggleForm(this)">
  140. <i class="fa fa-angle-down fa-lg"></i>
  141. <i class="fa fa-angle-right fa-lg" style="display: none"></i>
  142. 简表
  143. </div>
  144. <div class="sp-line-gray"></div>
  145. </div>
  146. <div class="form-item" ng-if="!ctl.hide('show','BT')">
  147. <div class="sp-col-30" style="line-height:32px;" title="标题">标&nbsp;&nbsp;题:</div>
  148. <div class="sp-col-70">
  149. <input type="text" class="sp-input" ng-model="ctl.data.BT" ng-disabled="ctl.hide('readonly','BT')" ng-change="ctl.changeFiled('BT')" title="{{ctl.data.BT}}" />
  150. </div>
  151. </div>
  152. <div class="form-item" ng-if="!ctl.hide('show','RQ')">
  153. <div class="sp-col-30" style="line-height:32px;" title="日期">日&nbsp;&nbsp;期:</div>
  154. <div class="sp-col-70">
  155. <input type="text" class="sp-input laydate-logo" sp-laydate ng-disabled="ctl.hide('readonly','RQ')" ng-model="ctl.data.RQ" ng-change="ctl.changeFiled('RQ')" />
  156. </div>
  157. </div>
  158. <div class="form-item" ng-if="!ctl.hide('show','GWZL')">
  159. <div class="sp-col-30" style="line-height:32px;" title="公文种类">公文种类:</div>
  160. <div class="sp-col-70">
  161. <select class="sp-select" ng-model="ctl.data.GWZL" ng-disabled="ctl.hide('readonly','GWZL')" ng-change="ctl.changeFiled('GWZL')">
  162. <option ng-repeat="item in ctl.GWZL" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  163. </select>
  164. </div>
  165. </div>
  166. <div class="sp-page toggleForm">
  167. <div class="form-item" ng-if="!ctl.hide('show','CSDW')">
  168. <div class="sp-col-30" style="line-height:32px;" title="处室(单位)">处室(单位):</div>
  169. <div class="sp-col-70">
  170. <input type="text" class="sp-input" ng-disabled="ctl.hide('readonly','CSDW')" ng-model="ctl.data.CSDW" ng-change="ctl.changeFiled('CSDW')" />
  171. </div>
  172. </div>
  173. <div class="form-item" ng-if="!ctl.hide('show','CSCBR')">
  174. <div class="sp-col-30" style="line-height:32px;" title="处室承办人">处室承办人:</div>
  175. <div class="sp-col-70">
  176. <input type="text" class="sp-input" ng-model="ctl.data.CSCBR" readonly />
  177. </div>
  178. </div>
  179. <div class="form-item" ng-if="!ctl.hide('show','LXDH')">
  180. <div class="sp-col-30" style="line-height:32px;" title="联系电话">联系电话:</div>
  181. <div class="sp-col-70">
  182. <input type="text" class="sp-input" ng-disabled="ctl.hide('readonly','LXDH')" ng-model="ctl.data.LXDH" ng-change="ctl.changeFiled('LXDH')" />
  183. </div>
  184. </div>
  185. </div>
  186. <div class="sp-page sp-mt-10">
  187. 公文标签
  188. <div class="sp-line-gray"></div>
  189. </div>
  190. <div class="form-item" ng-if="!ctl.hide('show','USAGE')">
  191. <div class="sp-checkbox-blue">
  192. <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>
  193. <input type="checkbox" name="USAGE" ng-checked="item.checked" ng-disabled="ctl.hide('readonly','USAGE')||item.USAGE=='0'"
  194. value="{{item.CODE}}" ng-click="ctl.selectUSAGE(item)" />
  195. {{item.CNAME}}
  196. </label>
  197. <!--<span class="sp-btn-blue sp-radius" ng-if="!ctl.hide('readonly','USAGE')" ng-click="ctl.ManageUSAGE(0)">管理标签</span>-->
  198. </div>
  199. </div>
  200. <div class="qianzi" ng-repeat="item in ctl.YJ.nulla">
  201. <div class="sp-col-100">
  202. <div class="sp-page" style="padding:10px 5px;border:1px solid #999;">
  203. <div class="sp-page">
  204. <p class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  205. <div class="sp-page">
  206. <div class="sp-page">
  207. <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">
  208. <a ng-click="ctl.downLoadOption(item)" title="下载">
  209. <i class="fa fa-download sp-color-red"></i>
  210. </a>
  211. <a ng-click="ctl.deleteOptionFile(item)" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  212. <i class="fa fa-trash sp-color-red"></i>
  213. </a>
  214. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  215. </div>
  216. <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">
  217. <span class="opbtn" style="position: relative; color: #1c84c6">
  218. <span class="upload-tip"></span>
  219. <input id="fileupload2" class="upload-file-single" ng-click="ctl.upload2(item.COLID)" type="file" name="files[]" multiple>
  220. <i class="fa fa-upload"></i>
  221. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  222. </span>
  223. </div>
  224. </div>
  225. <div class="sp-page sp-text-right sp-pull-right">
  226. <span ng-bind="item.CMANNAME"></span>
  227. <span ng-bind="item.CDATE"></span>
  228. </div>
  229. </div>
  230. </div>
  231. <div class="sp-page sp-text-right">
  232. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  233. ng-click="ctl.Dopinion(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1">
  234. <i class="fa fa-trash-o fa-lg"></i>
  235. </span>
  236. <span class="opbtn" style="color: #66D151; width: 55px; "
  237. ng-click="ctl.changeOptionList(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1">
  238. <i class="fa fa-pencil fa-lg"></i>
  239. </span>
  240. </div>
  241. </div>
  242. </div>
  243. </div>
  244. </div>
  245. </div>
  246. </div>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. <div class="sp-layer" id="DpList" style="width: 900px;">
  254. <div class="sp-layer-head" style="background:#2176d6">
  255. <div class="sp-page sp-text-center sp-font16">
  256. 部门列表
  257. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  258. ×
  259. </div>
  260. </div>
  261. </div>
  262. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  263. <div class="sp-page" style="height:290px;overflow:auto">
  264. <label class="sp-col-20">
  265. <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllCheckedDp[ctl.filed]" ng-click="ctl.checkAllDp()" />
  266. 全选
  267. </label>
  268. <div class="sp-page">
  269. <label class="sp-col-25" title="{{item.CNAME}}" ng-repeat="item in ctl.DpList[ctl.filed]">
  270. <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkDpItem(item)" />
  271. {{item.CNAME}}
  272. </label>
  273. </div>
  274. </div>
  275. <div class="sp-page sp-text-center sp-pt-10">
  276. <a class="sp-btn-blue sp-radius" ng-click="ctl.submitDpList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  277. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  278. </div>
  279. </div>
  280. </div>
  281. <div class="sp-layer" id="print" style="width: 400px;">
  282. <div class="sp-layer-head" style="background:#2176d6">
  283. <div class="sp-page sp-text-center sp-font16">
  284. 打印
  285. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  286. ×
  287. </div>
  288. </div>
  289. </div>
  290. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  291. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==1}" ng-click="ctl.printFiled=1">
  292. <div class="printItem">表单</div>
  293. </center>
  294. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==2}" ng-click="ctl.printFiled=2">
  295. <div class="printItem">意见</div>
  296. </center>
  297. <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==3}" ng-click="ctl.printFiled=3">
  298. <div class="printItem">表单+意见</div>
  299. </center>
  300. <div class="sp-page sp-text-center sp-pt-10">
  301. <a class="sp-btn-blue sp-radius" ng-click="ctl.printSubmit()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
  302. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
  303. </div>
  304. </div>
  305. </div>
  306. <div class="sp-layer" id="addCJ" style="width:600px;">
  307. <div class="sp-layer-head" style="background:#2176d6">
  308. <div class="sp-page sp-text-center sp-font16">
  309. 业务插件
  310. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  311. ×
  312. </div>
  313. </div>
  314. </div>
  315. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  316. <div class="sp-box">
  317. <div class="sp-col-15" style="line-height:30px;">
  318. 插件来源
  319. </div>
  320. <div class="sp-col-35">
  321. <select class="sp-select sp-bg-white" ng-model="ctl.search.KINDS" ng-change="ctl.getCJlist(1)">
  322. <option value="">全部</option>
  323. <option ng-repeat="item in ctl.KINDS" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  324. </select>
  325. </div>
  326. <div class="sp-col-15" style="line-height:30px;">
  327. 插件类型
  328. </div>
  329. <div class="sp-col-35">
  330. <select class="sp-select sp-bg-white" ng-model="ctl.search.DTYPE" ng-change="ctl.getCJlist(1)">
  331. <option value="">全部</option>
  332. <option ng-repeat="item in ctl.DTYPE" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
  333. </select>
  334. </div>
  335. <div class="sp-page" style="max-height:400px;overflow-y:auto">
  336. <div class="sp-box" style="cursor:pointer;border:1px solid #c6c6c6" ng-class="{'activeSC':ctl.addSC.ID==item.ID}" ng-repeat="item in ctl.CJlist" ng-click="ctl.addSC=item">
  337. <div class="sp-col-50 sp-text-center">
  338. <img ng-src="{{item.IMAGESMALL}}" width="100%" />
  339. </div>
  340. <div class="sp-col-50">
  341. <div class="sp-page"><img style="margin-top:-3px;margin-right:5px" src="../../flowchart_app_imgcss/img/attachlist/mc.png" />名称:{{item.CNAME}}</div>
  342. <div class="sp-page"><img style="margin-top:-3px;margin-right:5px" src="../../flowchart_app_imgcss/img/attachlist/jt.png" />接入地址:{{item.URL}}</div>
  343. <div class="sp-page"><img style="margin-top:-3px;margin-right:5px" src="../../flowchart_app_imgcss/img/attachlist/fwgl.png" />访问权限:{{item.AUTHMAN1}}</div>
  344. <div class="sp-page"><img style="margin-top:-3px;margin-right:5px" src="../../flowchart_app_imgcss/img/attachlist/bz.png" />备注说明:{{item.REMARK}}</div>
  345. </div>
  346. </div>
  347. </div>
  348. </div>
  349. <div class="sp-page sp-text-center sp-pt-10">
  350. <a class="sp-btn-blue sp-radius" ng-click="ctl.goAttach(ctl.addSC.ID,3)"><i class="fa fa-check sp-mr-5"> </i>确 认</a>
  351. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  352. </div>
  353. </div>
  354. </div>
  355. <div class="sp-layer" id="forward" style="width: 1000px;">
  356. <div class="sp-layer-head" style="background:#2176d6">
  357. <div class="sp-page sp-text-center sp-font16">
  358. 转&nbsp;&nbsp;发
  359. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  360. ×
  361. </div>
  362. </div>
  363. </div>
  364. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  365. <iframe id="forwardWin" style="width:100%;border:0"></iframe>
  366. </div>
  367. </div>
  368. <div class="sp-layer" id="RouteList" style="width:900px;">
  369. <div class="sp-layer-head" style="background:#2176d6">
  370. <div class="sp-page sp-text-center sp-font16">
  371. 流转记录
  372. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  373. ×
  374. </div>
  375. </div>
  376. </div>
  377. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  378. <table class="sp-table">
  379. <thead>
  380. <tr>
  381. <th style="width:100px"><strong>流程名称</strong></th>
  382. <th style="width:200px"><strong>标题</strong></th>
  383. <th style="width:100px"><strong>工作节点</strong></th>
  384. <th style="width:100px"><strong>转发人</strong></th>
  385. <th style="width:100px"><strong>主送</strong></th>
  386. <th style="width:150px"><strong>抄送</strong></th>
  387. <th style="width:200px"><strong>发送日期</strong></th>
  388. </tr>
  389. </thead>
  390. </table>
  391. <div style="overflow-y:scroll;max-height:400px">
  392. <table class="sp-table" style="margin-top: -38px">
  393. <thead>
  394. <tr>
  395. <th style="width:100px"><strong>流程名称</strong></th>
  396. <th style="width:200px"><strong>标题</strong></th>
  397. <th style="width:100px"><strong>工作节点</strong></th>
  398. <th style="width:100px"><strong>转发人</strong></th>
  399. <th style="width:100px"><strong>主送</strong></th>
  400. <th style="width:150px"><strong>抄送</strong></th>
  401. <th style="width:200px"><strong>发送日期</strong></th>
  402. </tr>
  403. </thead>
  404. <tbody>
  405. <tr ng-repeat="item in ctl.routeList">
  406. <td ng-bind="item.FLOWNAME"></td>
  407. <td ng-bind="item.TITLE"></td>
  408. <td ng-bind="item.ENDNODENAME"></td>
  409. <td ng-bind="item.USERNAMEFROM"></td>
  410. <td ng-bind="item.mainUser"></td>
  411. <td ng-bind="item.copyUsers"></td>
  412. <td ng-bind="item.RECEIVEDATE"></td>
  413. </tr>
  414. </tbody>
  415. </table>
  416. </div>
  417. <div class="sp-page sp-text-center sp-pt-10">
  418. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  419. </div>
  420. </div>
  421. </div>
  422. <div class="sp-layer" id="meet" style="width:700px">
  423. <div class="sp-layer-head" style="background:#2176d6">
  424. <div class="sp-page sp-text-center sp-font16">
  425. 选择人员
  426. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  427. ×
  428. </div>
  429. </div>
  430. </div>
  431. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  432. <div class="sp-page" style="line-height: 30px">
  433. <div id="content">
  434. <div class="sp-line-gray"></div>
  435. <div class="sp-page-row">
  436. <table class="sp-grid">
  437. <tbody>
  438. <tr>
  439. <td width="300">
  440. <div style="height:30px">
  441. <input type="text" class="sp-input" ng-model="ctl.searchName" placeholder="请输入部门关键字" ng-change="ctl.searchPerson()" />
  442. </div>
  443. <div style="height: 200px; border: 1px solid #ddd; overflow-x: hidden; overflow-y: scroll; ">
  444. <div ng-repeat="item in ctl.dpList1" class="sp-page">
  445. <div class="sp-pl-15 sp-pt-10 sp-pb-5 sp-page" style="cursor: pointer" ng-class="{'sp-btn-blue':ctl.activeDep==$index}" ng-click="ctl.userList=item.USER;ctl.activeDep=$index">
  446. <label ng-bind="item.DEP"></label>
  447. </div>
  448. </div>
  449. </div>
  450. <div style="height: 200px;margin-top:14px; border:1px solid #ddd;overflow-x: hidden; overflow-y: scroll; ">
  451. <div ng-repeat="item in ctl.userList" class="sp-page sp-pt-5" ng-if="item.show">
  452. <div class="sp-pl-15 sp-pt-10 sp-page">
  453. <label style="cursor: pointer">
  454. <input type="checkbox" ng-model="item.checked" />
  455. {{item.USHOWNAME}}
  456. </label>
  457. </div>
  458. </div>
  459. </div>
  460. </td>
  461. <td style="text-align:center">
  462. <button class="sp-btn-gray-outline" ng-click="ctl.addmeet()">
  463. <i class="fa fa-long-arrow-right"></i>
  464. </button>
  465. <br />
  466. <button class="sp-btn-gray-outline" ng-disabled="ctl.meetUser.length==0" ng-click="ctl.delmeet()">
  467. <i class="fa fa-long-arrow-left"></i>
  468. </button>
  469. </td>
  470. <td width="300">
  471. <div class="sp-page sp-mb-5 pointer" style="border:1px solid #c6c6c6;height:444px">
  472. <label class="col-xs-4" ng-repeat="item in ctl.meetUser">
  473. <input type="checkbox" ng-model="item.checked" />&nbsp;<span ng-bind="item.USHOWNAME"></span>
  474. </label>
  475. </div>
  476. </td>
  477. </tr>
  478. </tbody>
  479. </table>
  480. </div>
  481. </div>
  482. </div>
  483. <div class="sp-page sp-text-center sp-mt-15">
  484. <button class="sp-btn-blue sp-radius" ng-click="ctl.joinMeet()">
  485. <i class="fa fa-check sp-mr-5"> </i>确 认
  486. </button>
  487. <button class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</button>
  488. </div>
  489. </div>
  490. </div>
  491. <div class="sp-layer" id="USAGE" style="width:900px;">
  492. <div class="sp-layer-head" style="background:#2176d6">
  493. <div class="sp-page sp-text-center sp-font16">
  494. 管理标签
  495. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  496. ×
  497. </div>
  498. </div>
  499. </div>
  500. <div class="sp-layer-body">
  501. <div class="input-group col-lg-8">
  502. <input type="text" ng-model="ctl.addUSAGENAME" class="form-control" placeholder="新增标签">
  503. <span class="input-group-btn">
  504. <button ng-click="ctl.addUSAGE()" class="btn btn-success" type="button">增加</button>
  505. </span>
  506. </div>
  507. <br />
  508. <table class="sp-table">
  509. <thead>
  510. <tr>
  511. <th style="width: 50px"><strong>序号</strong></th>
  512. <th style="width: 200px"><strong>标签名称</strong></th>
  513. <th style="width: 100px"><strong>状态</strong></th>
  514. <th style="width: 200px"><strong>操作</strong></th>
  515. </tr>
  516. </thead>
  517. </table>
  518. <div style="overflow-y:scroll;max-height:400px">
  519. <table class="sp-table" style="margin-top: -38px">
  520. <thead>
  521. <tr>
  522. <th style="width: 50px"><strong>序号</strong></th>
  523. <th style="width: 200px"><strong>标签名称</strong></th>
  524. <th style="width: 100px"><strong>状态</strong></th>
  525. <th style="width: 200px"><strong>操作</strong></th>
  526. </tr>
  527. </thead>
  528. <tbody>
  529. <tr ng-repeat="item in ctl.USAGELIST">
  530. <td ng-bind="$index+1"></td>
  531. <td>
  532. <span ng-if="item.change==false" ng-bind="item.CNAME"></span>
  533. <input type="text" ng-if="item.change==true" class="sp-input" ng-model="item.CNAME1" />
  534. </td>
  535. <td>
  536. <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='隐藏'" ng-click="ctl.updataUSAGE(item,'显示')">显&nbsp;示</button>
  537. <button class="sp-btn-red-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='显示'" ng-click="ctl.updataUSAGE(item,'隐藏')">隐&nbsp;藏</button>
  538. </td>
  539. <td>
  540. <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort($index,'上移')" ng-disabled="{{$index}}==0">上&nbsp;移</button>
  541. <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>
  542. <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>
  543. <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>
  544. <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>
  545. </td>
  546. </tr>
  547. </tbody>
  548. </table>
  549. </div>
  550. <div class="sp-page sp-text-center sp-pt-10">
  551. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  552. </div>
  553. </div>
  554. </div>
  555. </div>
  556. <script type="text/ng-template" id="/treeView.html">
  557. <ul>
  558. <li ng-repeat="item in treeData" ng-include="'/treeItem.html'"></li>
  559. </ul>
  560. </script>
  561. <script type="text/ng-template" id="/treeItem.html">
  562. <p ng-class="{'pActive':item.checked}">
  563. <i ng-click="itemExpended(item, $event);" class="{{getItemIcon(item)}}"></i>
  564. <span style="display: inline-block;height: 18px;line-height: 18px;" ng-click="warpCallback('itemCheck', item, $event);">
  565. {{item[textField]}}
  566. </span>
  567. <span class="edit-menu sp-color-gray">
  568. <i ng-if="item.LEVELS!=3"
  569. ng-click="warpCallback('itemAdd', item, $event);" title="新增分类" class="fa fa-plus"></i>
  570. <i ng-if="item.LEVELS!=1"
  571. ng-click="warpCallback('itemEdit', item, $event);" title="编辑分类" class="fa fa-pencil"></i>
  572. <i ng-if="!item.C_H_I_L_D_DATA || item.C_H_I_L_D_DATA.length<1"
  573. ng-click="warpCallback('itemDelete', item, $event);" title="删除分类" class="fa fa-trash"></i>
  574. <i ng-if="$index!=0"
  575. ng-click="warpCallback('itemUp', item, $index, $event);" title="上移" class="fa fa-arrow-up"></i>
  576. <i ng-if="$index+1!=item.C_H_I_L_D_DATA_L"
  577. ng-click="warpCallback('itemDown', item, $index, $event);" title="下移" class="fa fa-arrow-down"></i>
  578. </span>
  579. </p>
  580. <ul ng-if="!isEnd(item)" ng-show="!item.$$isExpend">
  581. <li ng-repeat="item in item.C_H_I_L_D_DATA" ng-include="'/treeItem.html'"></li>
  582. </ul>
  583. </script>
  584. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  585. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  586. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  587. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  588. <script src="../../../apiurljs.js"></script>
  589. <!--<script src="../../js/watermark.js"></script>-->
  590. <script src="../../../js/sm4.js"></script>
  591. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  592. <script>document.write('<scri' + 'pt src="js/formeditZW.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  593. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  594. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  595. <!--附件-->
  596. <script src="../../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  597. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  598. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  599. </body>
  600. </html>