formedit.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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.BT" :disabled="readonly.BT">
  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. <div class="option-box" v-for="(item,index) in BMFZRYJ">
  102. <div v-if="item.OPINION" class="option-box-content" v-html="item.OPINION"></div>
  103. <div v-if="!item.OPINION" class="option-box-content">
  104. <img :src="item.OPINIONIMAGE">
  105. </div>
  106. <div class="option-box-name" v-html="item.CMANNAME"></div>
  107. <div class="option-box-date" v-html="item.CDATE"></div>
  108. <div class="option-box-btn" v-cloak v-if="!readonly.BMFZRYJ&&item.ROUTEID==routeid">
  109. <div class="option-box-btn-green" @click="editOption('BMFZRYJ',index)">编辑</div>
  110. <div class="option-box-btn-red" @click="deleteOption('BMFZRYJ')">删除</div>
  111. </div>
  112. </div>
  113. <div class="edit-input-box-btn">
  114. <div v-cloak v-show="!BMFZRYJEDIT&&!readonly.BMFZRYJ" class="option-box-btn-blue"
  115. @click="addOption('BMFZRYJ')">填写
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. <div class="edit-box-item">
  121. <div class="edit-name">拟稿人:</div>
  122. <div class="edit-input-box">
  123. <input type="text" class="weui-input text-input" v-model="form.NGR" :disabled="readonly.NGR">
  124. </div>
  125. </div>
  126. <div class="edit-box-item">
  127. <div class="edit-name">拟稿时间:</div>
  128. <div class="edit-input-box">
  129. <input type="text" class="weui-input text-input" id="NGSJ" v-model="form.NGSJ"
  130. :disabled="readonly.NGSJ">
  131. </div>
  132. </div>
  133. <div class="edit-box-item">
  134. <div class="edit-name">公文种类:</div>
  135. <div class="edit-input-box">
  136. <input type="text" id="GWZL" class="weui-input text-input" readonly v-model="form.GWZL_NAME"
  137. :disabled="readonly.GWZL">
  138. </div>
  139. </div>
  140. <div class="edit-box-item">
  141. <div class="edit-name">印&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;份:</div>
  142. <div class="edit-input-box">
  143. <input type="text" class="weui-input text-input" v-model="form.YF" :disabled="readonly.YF">
  144. </div>
  145. </div>
  146. <div class="edit-box-item">
  147. <div class="edit-name">主&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;送:</div>
  148. <div class="edit-input-box">
  149. <input type="text" id="ZS" class="weui-input text-input" v-model="form.ZS" :disabled="readonly.ZS">
  150. </div>
  151. </div>
  152. <div class="edit-box-item">
  153. <div class="edit-name">抄&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;送:</div>
  154. <div class="edit-input-box">
  155. <input type="text" id="CS" class="weui-input text-input" v-model="form.CS" :disabled="readonly.CS">
  156. </div>
  157. </div>
  158. </div>
  159. </div>
  160. <div v-cloak v-if="nowTab=='tab2'" class="content-box" style="background-color: #ffffff;">
  161. <div v-show="fileList.length==0" style="display: none;" class="weui-loadmore weui-loadmore_line" v-cloak>
  162. <span class="weui-loadmore__tips">暂无附件</span>
  163. </div>
  164. <div class="file-list">
  165. <ul class="file-ul">
  166. <li class="file-ul-li" v-for="(item,index) in fileList">
  167. <div @click="openOfficePage(item,'type1')" :style="item.deleteSlider" @touchstart.capture="touchStart" @touchend.capture="touchEnd"
  168. :data-index="index" class="item-file">
  169. <div class="file-icon"></div>
  170. <div class="file-content">
  171. <div class="file-name" v-html="item.FILENAMES"></div>
  172. <div class="file-date" v-html="item.FILEDATE"></div>
  173. </div>
  174. </div>
  175. <div class="item-action">
  176. <div class="item-action-blue" @click="downLoad(item)">下载</div>
  177. <div class="item-action-red" @click="deleteFile(item)">删除</div>
  178. </div>
  179. </li>
  180. </ul>
  181. </div>
  182. </div>
  183. <div v-cloak v-if="nowTab=='tab3'" class="content-box" style="background-color: #ffffff;">
  184. <div v-show="routerList.length==0" style="display: none;" class="weui-loadmore weui-loadmore_line" v-cloak>
  185. <span class="weui-loadmore__tips">暂无流转记录</span>
  186. </div>
  187. <div class="router-list" v-show="routerList.length>0" v-cloak>
  188. <div class="start-node">开始</div>
  189. <ul class="time-line">
  190. <li :class="{'now-node':item.isNow}" class="work" v-for="item in routerList">
  191. <div class="relative">
  192. <div class="item-name" v-html="item.NAME"></div>
  193. <span class="circle"></span>
  194. </div>
  195. <div class="ul-content">
  196. <div class="item-content">
  197. <div class="item-content-left">主送:</div>
  198. <div class="item-content-right" v-html="item.mainUser"></div>
  199. </div>
  200. <div class="item-content">
  201. <div class="item-content-left">日期:</div>
  202. <div class="item-content-right" v-html="item.RECEIVEDATE"></div>
  203. </div>
  204. </div>
  205. </li>
  206. </ul>
  207. <div v-show="isEnd" v-cloak class="end-node">结束</div>
  208. </div>
  209. </div>
  210. <div v-cloak v-if="nowTab=='tab4'" class="content-box" style="background-color: #ffffff;">
  211. <div class="file-title"><i class="fa fa-bookmark-o"></i> 过程稿</div>
  212. <div class="file-list-file">
  213. <ul class="file-ul">
  214. <li class="file-ul-li" v-for="(item,index) in fileData1">
  215. <div @click="openOfficePage(item,'type2')" class="item-file">
  216. <div class="file-icon"></div>
  217. <div class="file-content">
  218. <div class="file-name" v-html="item.DOCNAME"></div>
  219. <div class="file-date" v-html="item.FILEDATE"></div>
  220. </div>
  221. </div>
  222. </li>
  223. </ul>
  224. </div>
  225. <div class="file-title"><i class="fa fa-bookmark-o"></i> 终稿</div>
  226. <div class="file-list-file">
  227. <ul class="file-ul">
  228. <li class="file-ul-li" v-for="(item,index) in fileData2">
  229. <div @click="openOfficePage(item,'type3')" class="item-file">
  230. <div class="file-icon"></div>
  231. <div class="file-content">
  232. <div class="file-name" v-html="item.DOCNAME"></div>
  233. <div class="file-date" v-html="item.FILEDATE"></div>
  234. </div>
  235. </div>
  236. </li>
  237. </ul>
  238. </div>
  239. <div class="file-title"><i class="fa fa-bookmark-o"></i> 签章</div>
  240. <div class="file-list-file">
  241. <ul class="file-ul">
  242. <li class="file-ul-li" v-for="(item,index) in fileData3">
  243. <div @click="openOfficePage(item,'type3')" class="item-file">
  244. <div class="file-icon"></div>
  245. <div class="file-content">
  246. <div class="file-name" v-html="item.DOCNAME"></div>
  247. <div class="file-date" v-html="item.FILEDATE"></div>
  248. </div>
  249. </div>
  250. </li>
  251. </ul>
  252. </div>
  253. </div>
  254. <div class="action-bar">
  255. <div v-cloak v-if="showSave" class="save-btn" @click="saveBtn()">保 存</div>
  256. <div v-cloak :class="{'send-btn':showSave,'send-btn2':!showSave}" @click="sendBtn()">转 发</div>
  257. </div>
  258. <div id="half" class='weui-popup__container popup-bottom'>
  259. <div></div>
  260. <div class="weui-popup__overlay"></div>
  261. <div class="weui-popup__modal">
  262. <div class="toolbar">
  263. <div class="toolbar-inner">
  264. <h1 class="title">意见填写</h1>
  265. <a href="javascript:;" class="picker-button" @click="saveOption()">保存</a>
  266. <a href="javascript:;" class="picker-button2 close-popup">取消</a>
  267. <!--不用显示-->
  268. <a href="javascript:;" class="open-popup" data-target="#half" style="display: none;">打开</a>
  269. </div>
  270. </div>
  271. <div class="modal-content">
  272. <div class="weui-cells weui-cells_form">
  273. <div class="weui-cell">
  274. <div class="weui-cell__bd">
  275. <textarea class="weui-textarea" v-model="optionContent"
  276. style="font-family:Microsoft YaHei !important;" placeholder="请输入文本"
  277. rows="12"></textarea>
  278. </div>
  279. </div>
  280. </div>
  281. </div>
  282. </div>
  283. </div>
  284. </div>
  285. </body>
  286. <script src="../../../js/base.js"></script>
  287. <script src="../../../js/jquery-2.1.4.js" type="text/javascript"></script>
  288. <script src="../../../js/fastclick.js" type="text/javascript"></script>
  289. <script src="../../../js/weui.js"></script>
  290. <script src="../../../js/jquery-weui.js"></script>
  291. <script src="../../../AFrontEnd/js/vue/axios.min.js" type="text/javascript"></script>
  292. <script src="../../../AFrontEnd/js/vue/vue.min.js" type="text/javascript"></script>
  293. <script src="../../../AFrontEnd/js/vue/util.js" type="text/javascript"></script>
  294. <script src="../../../js/sm4.js" type="text/javascript"></script>
  295. <script>document.write('<scri' + 'pt src="js/formedit.js?time=' + new Date().getTime() + '" type="text/javascript"><\/script>')</script>
  296. </html>