formedit2.html 56 KB

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