formedit.html 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  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='../css/formedit.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. <style>
  16. .sp-span4 input{
  17. width: 70%;
  18. border: 0;
  19. border-bottom: 1px solid #ddd;
  20. }
  21. .sp-span5 input {
  22. width: 80%;
  23. border: 0;
  24. border-bottom: 1px solid #ddd;
  25. }
  26. .sp-span4 input:hover,
  27. .sp-span5 input:hover {
  28. border: 0;
  29. border-bottom: 1px solid #3bb4f2;
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  35. <div class="wrapper wrapper-content">
  36. <div class="row">
  37. <div class="col-md-12">
  38. <div class="ibox float-e-margins">
  39. <div class="ibox-content">
  40. <div class="row">
  41. <div class="col-md-12">
  42. <div class="sp-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
  43. <div class="sp-box" style="background: #008A94; padding-right: 10px; line-height: 30px; ">
  44. <div class="sp-page sp-color-white" style="width: 200px; margin: 7px 0; text-indent: 10px" ng-bind="ctl.flowTitle"></div>
  45. <div class="sp-wrapper-head-col sp-mr-20">
  46. <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;">
  47. <i class="icon-map-1 sp-pl-5 pointer" ng-click="ctl.onePic()"></i>
  48. <input type="text" class="sp-wrapper-head-search" style="border:0" placeholder="地图搜索" ng-model="ctl.headBtnSearchKeyword" ng-change="ctl.headBtnSearch()" />
  49. </span>
  50. <div class="sp-wrapper-head-sub-2 sp-text-center" style="width:175px;" ng-if="ctl.headSearchResult_view">
  51. <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>
  52. </div>
  53. </div>
  54. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/bzgf.html', '标准规范');">
  55. <span class="sp-wrapper-head-col-span">
  56. <i class="icon-book"></i>标准规范
  57. </span>
  58. </div>
  59. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/flgf.html', '法律法规');">
  60. <span class="sp-wrapper-head-col-span">
  61. <i class="fa fa-legal"></i>法律法规
  62. </span>
  63. </div>
  64. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../flfg/dnfg.html', '党内规范');">
  65. <span class="sp-wrapper-head-col-span">
  66. <i class="icon-newspaper-1"></i>党内规范
  67. </span>
  68. </div>
  69. <div class="sp-wrapper-head-col" onclick="$('#attachlist')[0].contentWindow.openTool('../../fontOA/list.html', '公文查询');">
  70. <span class="sp-wrapper-head-col-span">
  71. <i class="icon-chart-alt-outline"></i>公文查询
  72. </span>
  73. </div>
  74. </div>
  75. <div class="sp-page sp-fs-16" style="border-bottom: 1px solid #c6c6c6">
  76. <div class="sp-page-col sp-pull-right sp-ml-30">
  77. <span 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')">
  78. <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
  79. <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
  80. <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
  81. <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
  82. {{item.CNAME}}
  83. </span>
  84. <span ng-if="ctl.routeinfoid!=0&&ctl.dotype==1" class="sp-btn-gray sp-radius" style="position:relative;z-index:1">
  85. <i class="fa fa-upload"></i>
  86. <input id="fileupload3" class="upload-file-single" ng-click="ctl.upload3()" type="file" name="files[]" multiple>
  87. 数据导入
  88. </span>
  89. <span ng-if="ctl.routeinfoid!=0" class="sp-btn-gray sp-radius" ng-click="ctl.downloadMonth()">
  90. <i class="fa fa-download"></i>
  91. 模板下载
  92. </span>
  93. <button class="sp-btn-gray sp-md sp-radius sp-mt-5" style="padding: 4px 10px;" onclick="javascript: window.close(); localStorage.setItem('GlWorkPlatform-zhibanmgr-refresh', 1)" ng-if="ctl.deviceType!='pad'">
  94. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  95. 关闭
  96. </button>
  97. <button class="sp-btn-gray sp-md sp-radius sp-mt-5" style="padding: 4px 10px;" onclick="javascript: history.go(-1); localStorage.setItem('GlWorkPlatform-zhibanmgr-refresh', 1)" ng-if="ctl.deviceType=='pad'">
  98. <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
  99. 关闭
  100. </button>
  101. </div>
  102. </div>
  103. <div id="bodyDiv" class="sp-page" style="overflow: visible;">
  104. <div id="topDiv" class="sp-box" style="width:100%;height:600px;background:#FFFFFF;padding:0px;margin:0px;overflow:hidden">
  105. <div class="sp-box sp-text-center sp-fs-20">
  106. <strong>
  107. 市住房城乡建设委直属单位
  108. <select class="sp-select" style="width: 80px; float: none" ng-model="ctl.data.NF" ng-disabled="ctl.hide('readonly','NF')||ctl.list.length!=0" ng-change="ctl.getRiQiList();ctl.changeFiled('NF')">
  109. <option ng-repeat="item in ctl.yearList" value="{{item}}">{{item}}</option>
  110. </select>年
  111. <select class="sp-select" style="width: 80px; float: none" ng-model="ctl.data.YF" ng-disabled="ctl.hide('readonly','YF')||ctl.list.length!=0" ng-change="ctl.getRiQiList();ctl.changeFiled('YF')">
  112. <option ng-repeat="item in ctl.YF" value="{{item.CODE}}" ng-bind="item.CNAME" ng-disabled="item.disabled"></option>
  113. </select>月
  114. 值班表
  115. </strong>
  116. <i class="fa fa-recycle fa-lg pointer" title="初始化" ng-if="ctl.list.length==0" ng-click="ctl.childInit()"></i>
  117. </div>
  118. <div class="sp-page-center" style="line-height: 30px; overflow-y: auto" ng-class="{'sp-width-900': '{{ctl.deviceType}}'=='pad','sp-width-1200': '{{ctl.deviceType}}'!='pad'}">
  119. <!--<div class="sp-page sp-text-right">
  120. <label><input type="checkbox" ng-model="ctl.data.TWODAY" />提前两天提醒</label>
  121. </div>-->
  122. <div class="sp-span5 sp-pull-left">申请单位:<input type="text" class="sp-input" style="width:calc(100% - 90px)" ng-model="ctl.data.SQDW" ng-disabled="ctl.hide('readonly','SQDW')" ng-change="ctl.changeFiled('SQDW')" sp-required /></div>
  123. <div class="sp-span4 sp-pull-right sp-text-right">流水号:<input type="text" class="sp-input" ng-model="ctl.data.LSH" readonly /></div>
  124. <div class="sp-line-gray"></div>
  125. <table class="zb-table">
  126. <thead>
  127. <tr>
  128. <th rowspan="2">日期</th>
  129. <th rowspan="2">星期</th>
  130. <th rowspan="2">值班时间</th>
  131. <th colspan="4" style="border-bottom: 1px solid #C6C6C6">单位带班领导</th>
  132. <th colspan="2" style="border-bottom: 1px solid #C6C6C6">带班科长/部长</th>
  133. <th colspan="2" style="border-bottom: 1px solid #C6C6C6">值班员</th>
  134. <th rowspan="2" ng-if="!ctl.hide('readonly','ZB')">
  135. 操作
  136. <!--<span class="sp-ml-10 sp-btn-blue sp-btn-sm sp-btn-radius" ng-click="ctl.RYADD()"><i class="fa fa-plus"></i></span>-->
  137. </th>
  138. </tr>
  139. <tr>
  140. <th>姓名</th>
  141. <th>职务</th>
  142. <th>办公固话</th>
  143. <th>手机号码</th>
  144. <th>姓名</th>
  145. <th>手机</th>
  146. <th>姓名</th>
  147. <th>手机</th>
  148. </tr>
  149. </thead>
  150. <tbody>
  151. <tr ng-repeat="item in ctl.list" ng-class="{'weekend':item.DBLDXM==ctl.userName||item.ZBGBXM1==ctl.userName||item.ZBGBXM2==ctl.userName}" repeat-finish>
  152. <!--<tr ng-repeat="item in ctl.list" ng-class="{'weekend':item.XINGQI=='星期六'||item.XINGQI=='星期日'}">-->
  153. <td>
  154. <span ng-bind="item.RIQI"></span>
  155. </td>
  156. <td>
  157. <span ng-bind="item.XINGQI"></span>
  158. </td>
  159. <td>
  160. <span ng-bind="item.ZBSJ2"></span>
  161. </td>
  162. <td>
  163. <span ng-bind="item.DBLDXM" ng-if="item.editFlag==false"></span>
  164. <!--<input type="text" class="sp-input" readonly ng-model="ctl.edit.DBLDXM" ng-click="ctl.openUserList('DBLDXM')" ng-if="item.editFlag==true" />-->
  165. <input type="text" class="sp-input" ng-model="ctl.edit.DBLDXM" ng-if="item.editFlag==true" />
  166. <!--<select class="sp-select" ng-model="ctl.edit.DBLDXM" ng-if="item.editFlag==true" ng-change="ctl.changeLD()">
  167. <option ng-repeat="item in ctl.DBLD" value="{{item.CNAME}}" ng-bind="item.CNAME" ng-selected="item.CNAME==ctl.edit.DBLDXM"></option>
  168. </select>-->
  169. </td>
  170. <td>
  171. <span ng-bind="item.ZW" ng-if="item.editFlag==false"></span>
  172. <!--<span ng-bind="ctl.edit.ZW" ng-if="item.editFlag==true"></span>-->
  173. <input type="text" class="sp-input" ng-model="ctl.edit.ZW" ng-if="item.editFlag==true" />
  174. </td>
  175. <td>
  176. <span ng-bind="item.BGGH" ng-if="item.editFlag==false"></span>
  177. <input type="text" class="sp-input" ng-model="ctl.edit.BGGH" ng-if="item.editFlag==true" />
  178. </td>
  179. <td>
  180. <span ng-bind="item.SJHM" ng-if="item.editFlag==false"></span>
  181. <input type="text" class="sp-input" ng-model="ctl.edit.SJHM" ng-if="item.editFlag==true" />
  182. </td>
  183. <td>
  184. <span ng-bind="item.ZBGBXM1" ng-if="item.editFlag==false"></span>
  185. <!--<input type="text" class="sp-input" readonly ng-model="ctl.edit.ZBGBXM1" ng-click="ctl.openUserList('ZBGBXM1')" ng-if="item.editFlag==true" />-->
  186. <input type="text" class="sp-input" ng-model="ctl.edit.ZBGBXM1" ng-if="item.editFlag==true" />
  187. </td>
  188. <td>
  189. <span ng-bind="item.ZBGBXM1SJHM" ng-if="item.editFlag==false"></span>
  190. <!--<input type="text" class="sp-input" readonly ng-model="ctl.edit.ZBGBXM1" ng-click="ctl.openUserList('ZBGBXM1')" ng-if="item.editFlag==true" />-->
  191. <input type="text" class="sp-input" ng-model="ctl.edit.ZBGBXM1SJHM" ng-if="item.editFlag==true" />
  192. </td>
  193. <td>
  194. <span ng-bind="item.ZBGBXM2" ng-if="item.editFlag==false"></span>
  195. <!--<input type="text" class="sp-input" readonly ng-model="ctl.edit.ZBGBXM2" ng-click="ctl.openUserList('ZBGBXM2')" ng-if="item.editFlag==true" />-->
  196. <input type="text" class="sp-input" ng-model="ctl.edit.ZBGBXM2" ng-if="item.editFlag==true" />
  197. </td>
  198. <td>
  199. <span ng-bind="item.ZBGBXM2SJHM" ng-if="item.editFlag==false"></span>
  200. <!--<input type="text" class="sp-input" readonly ng-model="ctl.edit.ZBGBXM1" ng-click="ctl.openUserList('ZBGBXM1')" ng-if="item.editFlag==true" />-->
  201. <input type="text" class="sp-input" ng-model="ctl.edit.ZBGBXM2SJHM" ng-if="item.editFlag==true" />
  202. </td>
  203. <td ng-if="!ctl.hide('readonly','ZB')">
  204. <button class="sp-btn-blue sp-btn-sm sp-btn-radius" ng-if="item.editFlag==true" ng-click="ctl.RYSAVE()">保存</button>
  205. <button class="sp-btn-red sp-btn-sm sp-btn-radius" ng-if="item.editFlag==true" ng-click="ctl.EditFlag=false;item.editFlag=false;">取消</button>
  206. <button class="sp-btn-blue sp-btn-sm sp-btn-radius" ng-if="item.editFlag==false" ng-disabled="ctl.EditFlag==true" ng-click="ctl.RYEDIT(item)">编辑</button>
  207. </td>
  208. </tr>
  209. <tr ng-if="ctl.data.ID!=0&&ctl.AddFlag==true">
  210. <td>
  211. <select class="sp-select" ng-model="ctl.edit.RIQI" ng-change="ctl.checkDate()">
  212. <option ng-repeat="item in ctl.RiQiList" value="{{item.date}}" ng-bind="item.date" ng-selected="item.date==ctl.edit.RIQI"></option>
  213. </select>
  214. </td>
  215. <td>
  216. <select class="sp-select" ng-model="ctl.edit.XINGQI">
  217. <option ng-repeat="item in ctl.XQ" value="{{item.CNAME}}" ng-bind="item.CNAME"></option>
  218. </select>
  219. </td>
  220. <td>
  221. <select class="sp-select" ng-model="ctl.edit.ZBSJ">
  222. <option ng-repeat="item in ctl.ZBSJ" value="{{item.CODE}}" ng-selected="ctl.edit.ZBSJ==item.CODE" ng-bind="item.CNAME"></option>
  223. </select>
  224. </td>
  225. <td>
  226. <input type="text" class="sp-input" ng-model="ctl.edit.DBLDXM" />
  227. </td>
  228. <td>
  229. <input type="text" class="sp-input" ng-model="ctl.edit.ZW" />
  230. </td>
  231. <td>
  232. <input type="text" class="sp-input" ng-model="ctl.edit.BGGH" />
  233. </td>
  234. <td>
  235. <input type="text" class="sp-input" ng-model="ctl.edit.SJHM" />
  236. </td>
  237. <td>
  238. <input type="text" class="sp-input" ng-model="ctl.edit.ZBGBXM1" />
  239. </td>
  240. <td>
  241. <input type="text" class="sp-input" ng-model="ctl.edit.ZBGBXM1SJHM" />
  242. </td>
  243. <td>
  244. <input type="text" class="sp-input" ng-model="ctl.edit.ZBGBXM2" />
  245. </td>
  246. <td>
  247. <input type="text" class="sp-input" ng-model="ctl.edit.ZBGBXM2SJHM" />
  248. </td>
  249. <td>
  250. <button class="sp-btn-blue sp-btn-sm sp-btn-radius" ng-click="ctl.RYSAVE()">保存</button>
  251. <button class="sp-btn-red sp-btn-sm sp-btn-radius" ng-click="ctl.AddFlag = false">取消</button>
  252. </td>
  253. </tr>
  254. </tbody>
  255. </table>
  256. <div class="sp-page sp-mt-10" style="border:1px solid #ccc">
  257. <div class="sp-page-col sp-text-center" style="width:10%;border-right:1px solid #ccc;line-height:32px">
  258. 值班时间
  259. </div>
  260. <div class="sp-page-col" style="width:90%">
  261. <input type="text" class="sp-input" style="margin:2px;width:calc(100% - 4px);height:28px" ng-model="ctl.data.ZBSJREMARK" ng-disabled="ctl.hide('readonly','ZBSJREMARK')" ng-change="ctl.changeFiled('ZBSJREMARK')" sp-required />
  262. </div>
  263. </div>
  264. <div class="sp-page sp-mt-10" style="border:1px solid #ccc">
  265. <div class="sp-page-col sp-text-center" style="width: 10%; border-right: 1px solid #ccc; line-height: 32px">
  266. 值班电话
  267. </div>
  268. <div class="sp-page-col" style="width: 40%; border-right: 1px solid #ccc">
  269. <input type="text" class="sp-input" style="margin:2px;width:calc(100% - 4px);height:28px" ng-model="ctl.data.ZBDH" ng-disabled="ctl.hide('readonly','ZBDH')" ng-change="ctl.changeFiled('ZBDH')" sp-required />
  270. </div>
  271. <div class="sp-page-col sp-text-center" style="width: 10%; border-right: 1px solid #ccc; line-height: 32px">
  272. 值班传真
  273. </div>
  274. <div class="sp-page-col" style="width: 40%;">
  275. <input type="text" class="sp-input" style="margin:2px;width:calc(100% - 4px);height:28px" ng-model="ctl.data.ZBCZ" ng-disabled="ctl.hide('readonly','ZBCZ')" ng-change="ctl.changeFiled('ZBCZ')" sp-required />
  276. </div>
  277. </div>
  278. <div class="sp-page sp-mt-10" style="border:1px solid #ccc">
  279. <div class="sp-page-col sp-text-center" style="width: 10%; border-right: 1px solid #ccc; line-height: 32px">
  280. 夜间及节假日值班电话
  281. </div>
  282. <div class="sp-page-col" style="width: 40%; border-right: 1px solid #ccc">
  283. <input type="text" class="sp-input" style="margin:2px;width:calc(100% - 4px);height:28px" ng-model="ctl.data.YJJJRZBDH" ng-disabled="ctl.hide('readonly','YJJJRZBDH')" ng-change="ctl.changeFiled('YJJJRZBDH')" sp-required />
  284. </div>
  285. <div class="sp-page-col sp-text-center" style="width: 10%; border-right: 1px solid #ccc; line-height: 32px">
  286. 夜间及节假日值班传真
  287. </div>
  288. <div class="sp-page-col" style="width: 40%;">
  289. <input type="text" class="sp-input" style="margin:2px;width:calc(100% - 4px);height:28px" ng-model="ctl.data.YJJJRZBCZ" ng-disabled="ctl.hide('readonly','YJJJRZBCZ')" ng-change="ctl.changeFiled('YJJJRZBCZ')" sp-required />
  290. </div>
  291. </div>
  292. <div class="sp-page sp-mt-10" style="border:1px solid #ccc">
  293. <div class="sp-page-col sp-text-center" style="width: 10%; border-right: 1px solid #ccc; line-height: 32px">
  294. 值班地点
  295. </div>
  296. <div class="sp-page-col" style="width: 70%; border-right: 1px solid #ccc">
  297. <input type="text" class="sp-input" style="margin:2px;width:calc(100% - 4px);height:28px" ng-model="ctl.data.ZBDD" ng-disabled="ctl.hide('readonly','ZBDD')" ng-change="ctl.changeFiled('ZBDD')" sp-required />
  298. </div>
  299. <div class="sp-page-col sp-text-center" style="width: 10%; border-right: 1px solid #ccc; line-height: 32px">
  300. 填表人
  301. </div>
  302. <div class="sp-page-col" style="width: 10%;">
  303. <input type="text" class="sp-input" style="margin:2px;width:calc(100% - 4px);height:28px" ng-model="ctl.data.TBR" readonly />
  304. </div>
  305. </div>
  306. <div class="sp-page sp-mt-10" style="border:1px solid #ccc">
  307. <div class="sp-page-col sp-text-center" style="width: 10%; line-height: 160px">
  308. 备注
  309. </div>
  310. <div class="sp-page-col" style="width: 90%; border-left: 1px solid #ccc; ">
  311. <textarea class="sp-textarea" style="margin: 2px; width: calc(100% - 4px); height: 147px; resize: none; " ng-model="ctl.data.REMARK" ng-disabled="ctl.hide('readonly','REMARK')" ng-change="ctl.changeFiled('REMARK')"></textarea>
  312. </div>
  313. </div>
  314. <!--<div class="sp-page sp-mt-10" style="border:1px solid #ccc" ng-if="!ctl.hide('show','ZBREMARK')">
  315. <div class="sp-col-100">
  316. 值班须知
  317. </div>
  318. <textarea class="sp-textarea" rows="5" style="resize:none" ng-model="ctl.data.ZBREMARK" ng-disabled="ctl.hide('readonly','ZBREMARK')" ng-change="ctl.changeFiled('ZBREMARK')"></textarea>
  319. </div>-->
  320. <div class="sp-page sp-mt-10" style="border:1px solid #ccc" ng-if="!ctl.hide('show','SPYJ')">
  321. <div class="sp-col-100">
  322. 审批意见
  323. </div>
  324. <div ng-if="ctl.opinion.SPYJ==false">
  325. <div class="sp-page" style="height: 212px; margin-bottom: 30px; overflow-y: auto">
  326. <table class="sp-grid sp-mb-5">
  327. <tr ng-repeat="item in ctl.YJ.SPYJ" class="qianzi">
  328. <td>
  329. <div class="sp-page">
  330. <p ng-if="!item.OPINIONIMAGE" class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  331. <img class="sp-pull-left" ng-if="!item.OPINION" ng-src="{{item.OPINIONIMAGE}}" style="width:50%" />
  332. <div class="sp-page">
  333. <div class="sp-col-75">
  334. <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">
  335. <a ng-click="ctl.downLoadOption(item)" title="下载">
  336. <i class="fa fa-download sp-color-red"></i>
  337. </a>
  338. <a ng-click="ctl.deleteOptionFile(item,'SPYJ')" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  339. <i class="fa fa-trash sp-color-red"></i>
  340. </a>
  341. <a ng-bind="item.FILENAME" ng-click="ctl.seeFiles(item)" title="{{item.FILENAME}}"></a>
  342. </div>
  343. <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.SPYJ==false&&ctl.dotype==1&&item.COLID=='SPYJ'">
  344. <span class="opbtn" style="position: relative; color: #1c84c6">
  345. <span class="upload-tip"></span>
  346. <input id="fileupload-SPYJ" class="upload-file-single" ng-click="ctl.upload2('SPYJ')" type="file" name="files[]" multiple>
  347. <i class="fa fa-upload"></i>
  348. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  349. </span>
  350. </div>
  351. </div>
  352. <div class="sp-col-25 sp-text-right sp-pull-right" style="line-height:40px">
  353. <span ng-bind="item.CMANNAME"></span>
  354. <span ng-bind="item.CDATE"></span>
  355. </div>
  356. </div>
  357. </div>
  358. <div class="sp-page sp-text-right">
  359. <div class="opbtn" style="color: #FF6F6F; display: inline-block; " ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1"
  360. ng-click="ctl.Dopinion('SPYJ')">
  361. <i class="fa fa-trash-o fa-lg"></i>
  362. </div>
  363. <div class="opbtn" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1" style="color: #66D151; display: inline-block; "
  364. ng-click="ctl.changeOpinionItem('SPYJ',item)">
  365. <i class="fa fa-pencil fa-lg"></i>
  366. </div>
  367. </div>
  368. </td>
  369. </tr>
  370. </table>
  371. </div>
  372. <span class="opbtn sp-pull-right" ng-if="ctl.YJ.SPYJSTATUS==false" style="color: #1EADFF"
  373. ng-hide="ctl.hide('readonly','SPYJ')" ng-click="ctl.openOpinion('SPYJ')">
  374. <i class="fa fa-pencil fa-lg"></i>
  375. </span>
  376. </div>
  377. <div ng-if="ctl.opinion.SPYJ==true||ctl.opinion.SPYJImg==true">
  378. <textarea id="SPYJ" class="op-textarea sp-mb-10" ng-model="ctl.data.SPYJ" ng-if="ctl.opinion.SPYJ==true&&ctl.opinion.SPYJImg==false"></textarea>
  379. <div ng-if="ctl.opinion.SPYJImg==true">
  380. <div id="SPYJQZ" class="canvas"></div>
  381. </div>
  382. <div class="sp-page">
  383. <div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion.SPYJImg==false,'sp-qz-gray':ctl.opinion.SPYJImg==true}" ng-click="ctl.opinion.SPYJImg=false">文字</div>
  384. <div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion.SPYJImg==true,'sp-qz-gray':ctl.opinion.SPYJImg==false}" ng-click="ctl.QianZi('SPYJ')">手签</div>
  385. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.opinion.SPYJ=false;ctl.opinion.SPYJImg=false">取消</span>
  386. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.Sopinion('SPYJ')">保存</span>
  387. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.canvasClear('SPYJ')" ng-if="ctl.opinion.SPYJImg==true">清除</span>
  388. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase('SPYJ')" ng-if="ctl.opinion.SPYJ==true&&ctl.opinion.SPYJImg==false">常用语</span>
  389. </div>
  390. </div>
  391. </div>
  392. </div>
  393. </div>
  394. <div class="sp-page sp-pt-10" style="height: 10px; background: #F0F9FF;box-shadow:0 -2px 5px #c3c3c3; position: relative;z-index:5">
  395. <div class="sp-page-col toggle fuyan" style="width: 80px; height: 25px; line-height: 25px; font-size: 16px; text-align: center; background: #E0E0E0; cursor: pointer; color: #333; position: absolute; right: 0; top: -25px; border-radius: 10px 10px 0 0; " onclick="toggleYJL(this)">
  396. 附言
  397. <i class="fa fa-angle-double-up fa-lg"></i>
  398. <i class="fa fa-angle-double-down" style="display: none"></i>
  399. </div>
  400. <div class="sp-page-center" style="height: 100%; line-height: 30px; background: #fff; overflow: hidden; ">
  401. <div class="sp-box" style="border-bottom:1px solid #999;height:51px">
  402. <span class="sp-btn-blue sp-btn-sm sp-radius sp-pull-right sp-mr-20" style="background: #1EADFF" ng-if="ctl.opiniontype!=0&&ctl.dotype!=0" ng-click="ctl.openOptionList()">
  403. 填写附言
  404. </span>
  405. </div>
  406. <textarea id="nulla" class="op-textarea sp-mb-5 sp-mt-5" ng-model="ctl.nulla" ng-if="ctl.opinion.nulla==true"></textarea>
  407. <div class="sp-page sp-pb-5" style="border-bottom:1px solid #999" ng-if="ctl.opinion.nulla==true">
  408. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.closeOptionList()">取消</span>
  409. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.submitOptionList()">保存</span>
  410. <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase()">常用语</span>
  411. </div>
  412. <div class="sp-page optionList sp-pb-5" style="height:389px;overflow-y: auto;">
  413. <div class="sp-page sp-pt-10 qianzi" ng-repeat="item in ctl.YJ.nulla">
  414. <div class="sp-col-100">
  415. <div class="sp-page" style="padding:10px 5px;border:1px solid #999;">
  416. <div class="sp-page">
  417. <p class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
  418. <div class="sp-page">
  419. <div class="sp-col-75">
  420. <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">
  421. <a ng-click="ctl.downLoadOption(item)" title="下载">
  422. <i class="fa fa-download sp-color-red"></i>
  423. </a>
  424. <a ng-click="ctl.deleteOptionFile(item,'')" title="删除" ng-if="item.ROUTEID==ctl.routeid">
  425. <i class="fa fa-trash sp-color-red"></i>
  426. </a>
  427. <span ng-bind="item.FILENAME" title="{{item.FILENAME}}"></span>
  428. </div>
  429. <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&&item.COLID==''">
  430. <span class="opbtn" style="position: relative; color: #1c84c6">
  431. <span class="upload-tip"></span>
  432. <input id="fileupload1" class="upload-file-single" ng-click="ctl.upload1()" type="file" name="files[]" multiple>
  433. <i class="fa fa-upload"></i>
  434. <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  435. </span>
  436. </div>
  437. </div>
  438. <div class="sp-col-25 sp-text-right sp-pull-right" style="line-height:40px">
  439. <span ng-bind="item.CMANNAME"></span>
  440. <span ng-bind="item.CDATE"></span>
  441. </div>
  442. </div>
  443. </div>
  444. <div class="sp-page sp-text-right">
  445. <span class="opbtn" style="color: #FF6F6F; width: 55px; "
  446. ng-click="ctl.Dopinion('')" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1&&item.COLID==''">
  447. <i class="fa fa-trash-o fa-lg"></i>
  448. </span>
  449. <span class="opbtn" style="color: #66D151; width: 55px; "
  450. ng-click="ctl.changeOptionList(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.opinion.nulla==false&&ctl.dotype==1&&item.COLID==''">
  451. <i class="fa fa-pencil fa-lg"></i>
  452. </span>
  453. </div>
  454. </div>
  455. </div>
  456. </div>
  457. </div>
  458. </div>
  459. </div>
  460. <div id="bottomDiv" class="sp-box" style="width: 100%; padding:0px;margin:0px;">
  461. <div class="sp-page" style="width: 100%; background: #0099FF; color: #fff;" ng-init="ctl.goAttach()">
  462. <div class="sp-page-col">
  463. <span id="lineDiv" class="upload sp-color-white" style="display: inline; cursor: ns-resize; line-height: 30px; height: 36px; padding-left: 10px; font-size: 16px; top: 0; " ng-init="ctl.reSizeRow()">
  464. <i class="fa fa-arrows-v fa-lg sp-mr-10"></i>
  465. </span>
  466. <span title="{{ctl.gaoTypeArrayFirst[0].FILENAMES}}" ng-click="ctl.goAttach(ctl.gaoTypeArrayFirst[0])" style="line-height:30px;cursor:pointer">
  467. 正文
  468. <a ng-click="ctl.downLoad(ctl.gaoTypeArrayFirst[0])" title="下载" ng-if="ctl.gaoTypeArrayFirst[0]!=null">
  469. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  470. </a>
  471. </span>
  472. </div>
  473. <div class="sp-page sp-pull-right" style="width:calc(100% - 150px);position:relative;">
  474. <span style="display:inline-block" class="sp-btn-gray-outline sp-btn-sm upload" ng-if="ctl.dotype!=0&&ctl.routeinfoid!=0">
  475. <span class="upload-tip"></span>
  476. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload()" type="file" name="files[]" multiple>
  477. <i class="fa fa-plus sp-color-white"></i>
  478. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  479. </span>
  480. <span class="upload sp-color-white" style="top:4px">
  481. 附件({{ctl.arrayFile1.length}}):
  482. </span>
  483. <div ng-repeat="item in ctl.arrayFile1" ng-if="$index<4" style="width: calc((100% - 250px) / 4); color: #fff; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
  484. <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>
  485. <a class="sp-pull-right sp-ml-10" ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  486. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  487. </a>
  488. <a class="sp-pull-right" ng-click="ctl.downLoad(item)" title="下载">
  489. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  490. </a>
  491. </div>
  492. <span style="width: 20px; height: 20px; display: inline-block; float: right; position: relative; top: 10px; right: 15px" onclick="showToggle(this)" ng-if="ctl.arrayFile1.length>4">
  493. <i class="fa fa-chevron-up" style="position: relative; top: -4px; display: none"></i>
  494. <i class="fa fa-chevron-down" style="position: relative; top: -4px; "></i>
  495. </span>
  496. <div class="sp-page" style="width: 62%; display: none; position: absolute; top: 37px; left: 38%; padding: 5px 10px; background: #0099FF; border: 1px solid #0099FF; z-index:2">
  497. <div ng-repeat="item in ctl.arrayFile1" ng-if="$index>3" style="padding: 5px 0; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;">
  498. <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" ng-click="ctl.goAttach(item)"></span>
  499. <a ng-click="ctl.downLoad(item)" title="下载">
  500. <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
  501. </a>
  502. <a ng-click="ctl.deleteFile(item)" title="删除" ng-if="ctl.dotype!=0">
  503. <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
  504. </a>
  505. </div>
  506. </div>
  507. </div>
  508. </div>
  509. <div class="sp-box sp-bg-white">
  510. <iframe id="attachlist" src="" style="width:100%;height:200px;padding:0px;margin:0px;" frameborder="0" scrolling="no"></iframe>
  511. </div>
  512. </div>
  513. </div>
  514. </div>
  515. </div>
  516. </div>
  517. </div>
  518. </div>
  519. </div>
  520. </div>
  521. <div class="sp-layer" id="signIn" style="width:400px">
  522. <div class="sp-layer-head" style="background:#2176d6">
  523. <div class="sp-page sp-text-center sp-font16">
  524. 导入
  525. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  526. ×
  527. </div>
  528. </div>
  529. </div>
  530. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  531. <table class="sp-table">
  532. <tr>
  533. <td>
  534. <a class="sp-color-blue" href="moban.xlsx">模板下载</a>
  535. </td>
  536. </tr>
  537. <tr>
  538. <td>
  539. <span style="display:inline-block;float:none" class="sp-btn-blue sp-radius upload">
  540. <span class="upload-tip"></span>
  541. <input id="fileupload" class="upload-file-single" ng-click="ctl.upload3()" type="file" name="files[]" multiple>
  542. <i class="fa fa-upload sp-mr-5"></i>上 传
  543. <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
  544. </span>
  545. </td>
  546. </tr>
  547. </table>
  548. </div>
  549. </div>
  550. <div class="sp-layer" id="dateList" style="width:400px">
  551. <div class="sp-layer-head" style="background:#2176d6">
  552. <div class="sp-page sp-text-center sp-font16">
  553. 日期选择
  554. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  555. ×
  556. </div>
  557. </div>
  558. </div>
  559. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  560. <div class="sp-page" style="height:200px">
  561. <div class="sp-page">
  562. <label ng-repeat="item in ctl.RiQiList" class="sp-col-25 sp-text-center">
  563. <input type="radio" style="position:relative;top:2px" name="date" ng-checked="item.checked" ng-click="ctl.checkDate(item)" />
  564. {{item.date}}
  565. </label>
  566. </div>
  567. </div>
  568. <div class="sp-page sp-text-center sp-pt-10">
  569. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>关 闭</a>
  570. </div>
  571. </div>
  572. </div>
  573. <div class="sp-layer" id="userList" style="width: 900px;">
  574. <div class="sp-layer-head" style="background:#2176d6">
  575. <div class="sp-page sp-text-center sp-font16">
  576. 人员列表
  577. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  578. ×
  579. </div>
  580. </div>
  581. </div>
  582. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  583. <div class="sp-page" style="height:290px;overflow:auto">
  584. <div class="sp-page" ng-repeat="item in ctl.userList">
  585. <h4 style="background:#409EFF" class="sp-color-white sp-pl-10" ng-bind="item.section"></h4>
  586. <label ng-repeat="item1 in item.users" class="sp-col-20" title="{{item1.ushowname}}">
  587. <input type="radio" style="position:relative;top:2px" name="user" ng-checked="item1.checked" ng-click="ctl.checkUser(item1)" />
  588. {{item1.ushowname2}}
  589. </label>
  590. </div>
  591. </div>
  592. <div class="sp-page sp-text-center sp-pt-10">
  593. <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>关 闭</a>
  594. </div>
  595. </div>
  596. </div>
  597. <div class="sp-layer" id="forward" style="width: 1000px;">
  598. <div class="sp-layer-head" style="background:#2176d6">
  599. <div class="sp-page sp-text-center sp-font16">
  600. 转&nbsp;&nbsp;发
  601. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  602. ×
  603. </div>
  604. </div>
  605. </div>
  606. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  607. <iframe id="forwardWin" style="width:100%;border:0"></iframe>
  608. </div>
  609. </div>
  610. <div class="sp-layer" id="RouteList" style="width:900px;">
  611. <div class="sp-layer-head" style="background:#2176d6">
  612. <div class="sp-page sp-text-center sp-font16">
  613. 流转记录
  614. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  615. ×
  616. </div>
  617. </div>
  618. </div>
  619. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  620. <table class="sp-table">
  621. <thead>
  622. <tr>
  623. <th style="width:100px"><strong>流程名称</strong></th>
  624. <th style="width:200px"><strong>标题</strong></th>
  625. <th style="width:100px"><strong>工作节点</strong></th>
  626. <th style="width:100px"><strong>转发人</strong></th>
  627. <th style="width:100px"><strong>主送</strong></th>
  628. <th style="width:150px"><strong>抄送</strong></th>
  629. <th style="width:200px"><strong>发送日期</strong></th>
  630. </tr>
  631. </thead>
  632. </table>
  633. <div style="overflow-y:scroll;max-height:400px">
  634. <table class="sp-table" style="margin-top: -38px">
  635. <thead>
  636. <tr>
  637. <th style="width:100px"><strong>流程名称</strong></th>
  638. <th style="width:200px"><strong>标题</strong></th>
  639. <th style="width:100px"><strong>工作节点</strong></th>
  640. <th style="width:100px"><strong>转发人</strong></th>
  641. <th style="width:100px"><strong>主送</strong></th>
  642. <th style="width:150px"><strong>抄送</strong></th>
  643. <th style="width:200px"><strong>发送日期</strong></th>
  644. </tr>
  645. </thead>
  646. <tbody>
  647. <tr ng-repeat="item in ctl.routeList">
  648. <td ng-bind="item.FLOWNAME"></td>
  649. <td ng-bind="item.TITLE"></td>
  650. <td ng-bind="item.ENDNODENAME"></td>
  651. <td ng-bind="item.USERNAMEFROM"></td>
  652. <td ng-bind="item.mainUser"></td>
  653. <td ng-bind="item.copyUsers"></td>
  654. <td ng-bind="item.RECEIVEDATE"></td>
  655. </tr>
  656. </tbody>
  657. </table>
  658. </div>
  659. <div class="sp-page sp-text-center sp-pt-10">
  660. <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
  661. </div>
  662. </div>
  663. </div>
  664. </div>
  665. <script src="../../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  666. <script src="../../../AFrontEnd/js/laydate/laydate.js"></script>
  667. <script src="../../../AFrontEnd/js/angularjs/angular.js"></script>
  668. <script src="../../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  669. <script src="../../../apiurljs.js"></script>
  670. <!--<script src="../../../js/watermark.js"></script>-->
  671. <script src="../../../js/sm4.js"></script>
  672. <script>document.write('<scri' + 'pt src="../../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  673. <script>document.write('<scri' + 'pt src="js/formedit.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  674. <script src="../../../AFrontEnd/js/special/spng.js"></script>
  675. <script src="../../../AFrontEnd/js/special/spngvld.js"></script>
  676. <!--附件-->
  677. <script src="../../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  678. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  679. <script src="../../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  680. </body>
  681. </html>