formedit.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  6. <meta http-equiv="pragma" content="no-cache">
  7. <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
  8. <meta http-equiv="expires" content="0">
  9. <title>正式文(上行文)</title>
  10. <link rel="stylesheet" href="../../../AFrontEnd/css/fontawesome/css/font-awesome.css">
  11. <script>document.write("<link href='../../../css/home.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  12. <script>document.write("<link href='../../../css/weui-work.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  13. <script>document.write("<link href='../../../css/jquery-weui.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. <script>document.write("<link href='css/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. </head>
  16. <body>
  17. <div id="detailBox">
  18. <div class="active-tab">
  19. <div class="tab-item">
  20. <div :class="{active:nowTab=='tab1'}" @click="changeTab('tab1')">基本信息</div>
  21. </div>
  22. <div class="tab-item">
  23. <div :class="{active:nowTab=='tab2'}" @click="changeTab('tab2')">正文附件</div>
  24. </div>
  25. <div class="tab-item">
  26. <div :class="{active:nowTab=='tab3'}" @click="changeTab('tab3')">流转记录</div>
  27. </div>
  28. <div class="tab-item">
  29. <div :class="{active:nowTab=='tab4'}" @click="changeTab('tab4')">文稿列表</div>
  30. </div>
  31. </div>
  32. <div v-if="nowTab=='tab1'" class="content-box">
  33. <div class="edit-box">
  34. <div class="edit-box-item">
  35. <div class="edit-name">紧急程度:</div>
  36. <div class="edit-input-box">
  37. <input type="text" id="JJCD" class="weui-input text-input" readonly v-model="form.JJCD_NAME"
  38. :disabled="readonly.JJCD">
  39. </div>
  40. </div>
  41. <div class="edit-box-item">
  42. <div class="edit-name">标&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;题:</div>
  43. <div class="edit-input-box">
  44. <input type="text" class="weui-input text-input" v-model="form.ZT" :disabled="readonly.ZT">
  45. </div>
  46. </div>
  47. <div class="edit-box-item">
  48. <div class="edit-name">委领导签发栏:</div>
  49. <div class="edit-input-box">
  50. <div class="option-box" v-for="(item,index) in WLDQFL">
  51. <div v-if="item.OPINION" class="option-box-content" v-html="item.OPINION"></div>
  52. <div v-if="!item.OPINION" class="option-box-content">
  53. <img :src="item.OPINIONIMAGE">
  54. </div>
  55. <div class="option-box-name" v-html="item.CMANNAME"></div>
  56. <div class="option-box-date" v-html="item.CDATE"></div>
  57. <div class="option-box-btn" v-cloak v-if="!readonly.WLDQFL&&item.ROUTEID==routeid">
  58. <div class="option-box-btn-green" @click="editOption('WLDQFL',index)">编辑</div>
  59. <div class="option-box-btn-red" @click="deleteOption('WLDQFL')">删除</div>
  60. </div>
  61. </div>
  62. <div class="edit-input-box-btn">
  63. <div v-cloak v-show="!WLDQFLEDIT&&!readonly.WLDQFL" class="option-box-btn-blue"
  64. @click="addOption('WLDQFL')">填写
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. <div class="edit-box-item">
  70. <div class="edit-name">委领导审示框:</div>
  71. <div class="edit-input-box">
  72. <div class="option-box" v-for="(item,index) in WLDSSL">
  73. <div v-if="item.OPINION" class="option-box-content" v-html="item.OPINION"></div>
  74. <div v-if="!item.OPINION" class="option-box-content">
  75. <img :src="item.OPINIONIMAGE">
  76. </div>
  77. <div class="option-box-name" v-html="item.CMANNAME"></div>
  78. <div class="option-box-date" v-html="item.CDATE"></div>
  79. <div class="option-box-btn" v-cloak v-if="!readonly.WLDSSL&&item.ROUTEID==routeid">
  80. <div class="option-box-btn-green" @click="editOption('WLDSSL',index)">编辑</div>
  81. <div class="option-box-btn-red" @click="deleteOption('WLDSSL')">删除</div>
  82. </div>
  83. </div>
  84. <div class="edit-input-box-btn">
  85. <div v-cloak v-show="!WLDSSLEDIT&&!readonly.WLDSSL" class="option-box-btn-blue"
  86. @click="addOption('WLDSSL')">填写
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <div class="edit-box-item">
  92. <div class="edit-name">信息公开审核:</div>
  93. <div class="edit-input-box">
  94. <input type="text" id="XXGKSH" class="weui-input text-input" readonly v-model="form.XXGKSH_NAME"
  95. :disabled="readonly.XXGKSH">
  96. </div>
  97. </div>
  98. <div class="edit-box-item">
  99. <div class="edit-name">是否需要解读:</div>
  100. <div class="edit-input-box">
  101. <input type="text" id="SFXYJD" class="weui-input text-input" readonly v-model="form.SFXYJD_NAME"
  102. :disabled="readonly.SFXYJD">
  103. </div>
  104. </div>
  105. <div class="edit-box-item">
  106. <div class="edit-name">主动公开栏目:</div>
  107. <div class="edit-input-box">
  108. <input type="text" id="ZDGKLM" class="weui-input text-input" readonly v-model="form.ZDGKLM_NAME"
  109. :disabled="readonly.ZDGKLM">
  110. </div>
  111. </div>
  112. <div class="edit-box-item">
  113. <div class="edit-name">主动公开主题:</div>
  114. <div class="edit-input-box">
  115. <input type="text" id="ZDGKZT" class="weui-input text-input" readonly v-model="form.ZDGKZT_NAME"
  116. :disabled="readonly.ZDGKZT">
  117. </div>
  118. </div>
  119. <div class="edit-box-item">
  120. <div class="edit-name">法律审核:</div>
  121. <div class="edit-input-box">
  122. <div class="option-box" v-for="(item,index) in FLSH">
  123. <div v-if="item.OPINION" class="option-box-content" v-html="item.OPINION"></div>
  124. <div v-if="!item.OPINION" class="option-box-content">
  125. <img :src="item.OPINIONIMAGE">
  126. </div>
  127. <div class="option-box-name" v-html="item.CMANNAME"></div>
  128. <div class="option-box-date" v-html="item.CDATE"></div>
  129. <div class="option-box-btn" v-cloak v-if="!readonly.FLSH&&item.ROUTEID==routeid">
  130. <div class="option-box-btn-green" @click="editOption('FLSH',index)">编辑</div>
  131. <div class="option-box-btn-red" @click="deleteOption('FLSH')">删除</div>
  132. </div>
  133. </div>
  134. <div class="edit-input-box-btn">
  135. <div v-cloak v-show="!FLSHEDIT&&!readonly.FLSH" class="option-box-btn-blue"
  136. @click="addOption('FLSH')">填写
  137. </div>
  138. </div>
  139. </div>
  140. </div>
  141. <div class="edit-box-item">
  142. <div class="edit-name">公平竞争审查:</div>
  143. <div class="edit-input-box">
  144. <div class="option-box" v-for="(item,index) in GPJZSC">
  145. <div v-if="item.OPINION" class="option-box-content" v-html="item.OPINION"></div>
  146. <div v-if="!item.OPINION" class="option-box-content">
  147. <img :src="item.OPINIONIMAGE">
  148. </div>
  149. <div class="option-box-name" v-html="item.CMANNAME"></div>
  150. <div class="option-box-date" v-html="item.CDATE"></div>
  151. <div class="option-box-btn" v-cloak v-if="!readonly.GPJZSC&&item.ROUTEID==routeid">
  152. <div class="option-box-btn-green" @click="editOption('GPJZSC',index)">编辑</div>
  153. <div class="option-box-btn-red" @click="deleteOption('GPJZSC')">删除</div>
  154. </div>
  155. </div>
  156. <div class="edit-input-box-btn">
  157. <div v-cloak v-show="!GPJZSCEDIT&&!readonly.GPJZSC" class="option-box-btn-blue"
  158. @click="addOption('GPJZSC')">填写
  159. </div>
  160. </div>
  161. </div>
  162. </div>
  163. <div class="edit-box-item">
  164. <div class="edit-name">办公室复核意见:</div>
  165. <div class="edit-input-box">
  166. <input type="text" id="BGSFHYJ" class="weui-input text-input" readonly v-model="form.BGSFHYJ_NAME"
  167. :disabled="readonly.BGSFHYJ">
  168. </div>
  169. </div>
  170. <div class="edit-box-item">
  171. <div class="edit-name">修&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;审:</div>
  172. <div class="edit-input-box">
  173. <div class="option-box" v-for="(item,index) in SX">
  174. <div v-if="item.OPINION" class="option-box-content" v-html="item.OPINION"></div>
  175. <div v-if="!item.OPINION" class="option-box-content">
  176. <img :src="item.OPINIONIMAGE">
  177. </div>
  178. <div class="option-box-name" v-html="item.CMANNAME"></div>
  179. <div class="option-box-date" v-html="item.CDATE"></div>
  180. <div class="option-box-btn" v-cloak v-if="!readonly.SX&&item.ROUTEID==routeid">
  181. <div class="option-box-btn-green" @click="editOption('SX',index)">编辑</div>
  182. <div class="option-box-btn-red" @click="deleteOption('SX')">删除</div>
  183. </div>
  184. </div>
  185. <div class="edit-input-box-btn">
  186. <div v-cloak v-show="!SXEDIT&&!readonly.SX" class="option-box-btn-blue"
  187. @click="addOption('SX')">填写
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. <div class="edit-box-item">
  193. <div class="edit-name">部门负责人意见:</div>
  194. <div class="edit-input-box">
  195. <div class="option-box" v-for="(item,index) in BMFZRYJ">
  196. <div v-if="item.OPINION" class="option-box-content" v-html="item.OPINION"></div>
  197. <div v-if="!item.OPINION" class="option-box-content">
  198. <img :src="item.OPINIONIMAGE">
  199. </div>
  200. <div class="option-box-name" v-html="item.CMANNAME"></div>
  201. <div class="option-box-date" v-html="item.CDATE"></div>
  202. <div class="option-box-btn" v-cloak v-if="!readonly.BMFZRYJ&&item.ROUTEID==routeid">
  203. <div class="option-box-btn-green" @click="editOption('BMFZRYJ',index)">编辑</div>
  204. <div class="option-box-btn-red" @click="deleteOption('BMFZRYJ')">删除</div>
  205. </div>
  206. </div>
  207. <div class="edit-input-box-btn">
  208. <div v-cloak v-show="!BMFZRYJEDIT&&!readonly.BMFZRYJ" class="option-box-btn-blue"
  209. @click="addOption('BMFZRYJ')">填写
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. <div class="edit-box-item">
  215. <div class="edit-name">会办处室意见:</div>
  216. <div class="edit-input-box">
  217. <div class="option-box" v-for="(item,index) in HBCSYJ">
  218. <div v-if="item.OPINION" class="option-box-content" v-html="item.OPINION"></div>
  219. <div v-if="!item.OPINION" class="option-box-content">
  220. <img :src="item.OPINIONIMAGE">
  221. </div>
  222. <div class="option-box-name" v-html="item.CMANNAME"></div>
  223. <div class="option-box-date" v-html="item.CDATE"></div>
  224. <div class="option-box-btn" v-cloak v-if="!readonly.HBCSYJ&&item.ROUTEID==routeid">
  225. <div class="option-box-btn-green" @click="editOption('HBCSYJ',index)">编辑</div>
  226. <div class="option-box-btn-red" @click="deleteOption('HBCSYJ')">删除</div>
  227. </div>
  228. </div>
  229. <div class="edit-input-box-btn">
  230. <div v-cloak v-show="!HBCSYJEDIT&&!readonly.HBCSYJ" class="option-box-btn-blue"
  231. @click="addOption('HBCSYJ')">填写
  232. </div>
  233. </div>
  234. </div>
  235. </div>
  236. <div class="edit-box-item">
  237. <div class="edit-name">拟稿人:</div>
  238. <div class="edit-input-box">
  239. <input type="text" class="weui-input text-input" v-model="form.NGR" :disabled="readonly.NGR">
  240. </div>
  241. </div>
  242. <div class="edit-box-item">
  243. <div class="edit-name">拟稿时间:</div>
  244. <div class="edit-input-box">
  245. <input type="text" class="weui-input text-input" id="NGSJ" v-model="form.NGSJ" :disabled="readonly.NGSJ">
  246. </div>
  247. </div>
  248. <div class="edit-box-item">
  249. <div class="edit-name">公文种类:</div>
  250. <div class="edit-input-box">
  251. <input type="text" id="GWZL" class="weui-input text-input" readonly v-model="form.GWZL_NAME"
  252. :disabled="readonly.GWZL">
  253. </div>
  254. </div>
  255. <div class="edit-box-item">
  256. <div class="edit-name">印&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;份:</div>
  257. <div class="edit-input-box">
  258. <input type="text" class="weui-input text-input" v-model="form.YF" :disabled="readonly.YF">
  259. </div>
  260. </div>
  261. <div class="edit-box-item">
  262. <div class="edit-name">主&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;送:</div>
  263. <div class="edit-input-box">
  264. <input type="text" id="ZS" class="weui-input text-input" v-model="form.ZS" :disabled="readonly.ZS">
  265. </div>
  266. </div>
  267. <div class="edit-box-item">
  268. <div class="edit-name">抄&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;送:</div>
  269. <div class="edit-input-box">
  270. <input type="text" id="CS" class="weui-input text-input" v-model="form.CS" :disabled="readonly.CS">
  271. </div>
  272. </div>
  273. </div>
  274. </div>
  275. <div v-cloak v-if="nowTab=='tab2'" class="content-box" style="background-color: #ffffff;">
  276. <div v-show="fileList.length==0" style="display: none;" class="weui-loadmore weui-loadmore_line" v-cloak>
  277. <span class="weui-loadmore__tips">暂无附件</span>
  278. </div>
  279. <div class="file-list">
  280. <ul class="file-ul">
  281. <li class="file-ul-li" v-for="(item,index) in fileList">
  282. <div @click="openOfficePage(item,'type1')" :style="item.deleteSlider" @touchstart.capture="touchStart" @touchend.capture="touchEnd"
  283. :data-index="index" class="item-file">
  284. <div class="file-icon"></div>
  285. <div class="file-content">
  286. <div class="file-name" v-html="item.FILENAMES"></div>
  287. <div class="file-date" v-html="item.FILEDATE"></div>
  288. </div>
  289. </div>
  290. <div class="item-action">
  291. <div class="item-action-blue" @click="downLoad(item)">下载</div>
  292. <div class="item-action-red" @click="deleteFile(item)">删除</div>
  293. </div>
  294. </li>
  295. </ul>
  296. </div>
  297. </div>
  298. <div v-cloak v-if="nowTab=='tab3'" class="content-box" style="background-color: #ffffff;">
  299. <div v-show="routerList.length==0" style="display: none;" class="weui-loadmore weui-loadmore_line" v-cloak>
  300. <span class="weui-loadmore__tips">暂无流转记录</span>
  301. </div>
  302. <div class="router-list" v-show="routerList.length>0" v-cloak>
  303. <div class="start-node">开始</div>
  304. <ul class="time-line">
  305. <li :class="{'now-node':item.isNow}" class="work" v-for="item in routerList">
  306. <div class="relative">
  307. <div class="item-name" v-html="item.NAME"></div>
  308. <span class="circle"></span>
  309. </div>
  310. <div class="ul-content">
  311. <div class="item-content">
  312. <div class="item-content-left">主送:</div>
  313. <div class="item-content-right" v-html="item.mainUser"></div>
  314. </div>
  315. <div class="item-content">
  316. <div class="item-content-left">日期:</div>
  317. <div class="item-content-right" v-html="item.RECEIVEDATE"></div>
  318. </div>
  319. </div>
  320. </li>
  321. </ul>
  322. <div v-show="isEnd" v-cloak class="end-node">结束</div>
  323. </div>
  324. </div>
  325. <div v-cloak v-if="nowTab=='tab4'" class="content-box" style="background-color: #ffffff;">
  326. <div class="file-title"><i class="fa fa-bookmark-o"></i> 过程稿</div>
  327. <div class="file-list-file">
  328. <ul class="file-ul">
  329. <li class="file-ul-li" v-for="(item,index) in fileData1">
  330. <div @click="openOfficePage(item,'type2')" class="item-file">
  331. <div class="file-icon"></div>
  332. <div class="file-content">
  333. <div class="file-name" v-html="item.DOCNAME"></div>
  334. <div class="file-date" v-html="item.FILEDATE"></div>
  335. </div>
  336. </div>
  337. </li>
  338. </ul>
  339. </div>
  340. <div class="file-title"><i class="fa fa-bookmark-o"></i> 终稿</div>
  341. <div class="file-list-file">
  342. <ul class="file-ul">
  343. <li class="file-ul-li" v-for="(item,index) in fileData2">
  344. <div @click="openOfficePage(item,'type3')" class="item-file">
  345. <div class="file-icon"></div>
  346. <div class="file-content">
  347. <div class="file-name" v-html="item.DOCNAME"></div>
  348. <div class="file-date" v-html="item.FILEDATE"></div>
  349. </div>
  350. </div>
  351. </li>
  352. </ul>
  353. </div>
  354. <div class="file-title"><i class="fa fa-bookmark-o"></i> 签章</div>
  355. <div class="file-list-file">
  356. <ul class="file-ul">
  357. <li class="file-ul-li" v-for="(item,index) in fileData3">
  358. <div @click="openOfficePage(item,'type3')" class="item-file">
  359. <div class="file-icon"></div>
  360. <div class="file-content">
  361. <div class="file-name" v-html="item.DOCNAME"></div>
  362. <div class="file-date" v-html="item.FILEDATE"></div>
  363. </div>
  364. </div>
  365. </li>
  366. </ul>
  367. </div>
  368. </div>
  369. <div class="action-bar">
  370. <div v-cloak v-if="showSave" class="save-btn" @click="saveBtn()">保 存</div>
  371. <div v-cloak :class="{'send-btn':showSave,'send-btn2':!showSave}" @click="sendBtn()">转 发</div>
  372. </div>
  373. <div id="half" class='weui-popup__container popup-bottom'>
  374. <div></div>
  375. <div class="weui-popup__overlay"></div>
  376. <div class="weui-popup__modal">
  377. <div class="toolbar">
  378. <div class="toolbar-inner">
  379. <h1 class="title">意见填写</h1>
  380. <a href="javascript:;" class="picker-button" @click="saveOption()">保存</a>
  381. <a href="javascript:;" class="picker-button2 close-popup">取消</a>
  382. <!--不用显示-->
  383. <a href="javascript:;" class="open-popup" data-target="#half" style="display: none;">打开</a>
  384. </div>
  385. </div>
  386. <div class="modal-content">
  387. <div class="weui-cells weui-cells_form">
  388. <div class="weui-cell">
  389. <div class="weui-cell__bd">
  390. <textarea class="weui-textarea" v-model="optionContent"
  391. style="font-family:Microsoft YaHei !important;" placeholder="请输入文本"
  392. rows="12"></textarea>
  393. </div>
  394. </div>
  395. </div>
  396. </div>
  397. </div>
  398. </div>
  399. </div>
  400. </body>
  401. <script src="../../../js/base.js"></script>
  402. <script src="../../../js/jquery-2.1.4.js" type="text/javascript"></script>
  403. <script src="../../../js/fastclick.js" type="text/javascript"></script>
  404. <script src="../../../js/weui.js"></script>
  405. <script src="../../../js/jquery-weui.js"></script>
  406. <script src="../../../AFrontEnd/js/vue/axios.min.js" type="text/javascript"></script>
  407. <script src="../../../AFrontEnd/js/vue/vue.min.js" type="text/javascript"></script>
  408. <script src="../../../AFrontEnd/js/vue/util.js" type="text/javascript"></script>
  409. <script src="../../../js/sm4.js" type="text/javascript"></script>
  410. <script>document.write('<scri' + 'pt src="js/formedit.js?time=' + new Date().getTime() + '" type="text/javascript"><\/script>')</script>
  411. </html>