formedit.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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>
  29. <div v-if="nowTab=='tab1'" class="content-box">
  30. <div class="edit-box">
  31. <div class="edit-box-item">
  32. <div class="edit-name">紧急程度:</div>
  33. <div class="edit-input-box">
  34. <input type="text" id="JJCD" class="weui-input text-input" readonly v-model="form.JJCD_NAME"
  35. :disabled="readonly.JJCD">
  36. </div>
  37. </div>
  38. <div class="edit-box-item">
  39. <div class="edit-name">收文编号:</div>
  40. <div class="edit-input-box">
  41. <input type="text" class="weui-input text-input" v-model="form.SWBH" :disabled="readonly.SWBH">
  42. </div>
  43. </div>
  44. <div class="edit-box-item">
  45. <div class="edit-name">来文单位:</div>
  46. <div class="edit-input-box">
  47. <input type="text" class="weui-input text-input" v-model="form.LWDW" :disabled="readonly.LWDW">
  48. </div>
  49. </div>
  50. <div class="edit-box-item">
  51. <div class="edit-name">来文日期:</div>
  52. <div class="edit-input-box">
  53. <input type="text" class="weui-input text-input" id="LWRQ" v-model="form.LWRQ" :disabled="readonly.LWRQ">
  54. </div>
  55. </div>
  56. <div class="edit-box-item">
  57. <div class="edit-name">来文文号:</div>
  58. <div class="edit-input-box">
  59. <input type="text" class="weui-input text-input" v-model="form.LWWH" :disabled="readonly.LWWH">
  60. </div>
  61. </div>
  62. <div class="edit-box-item">
  63. <div class="edit-name">是否督办:</div>
  64. <div class="edit-input-box">
  65. <input type="text" id="SFDB" class="weui-input text-input" readonly v-model="form.SFDB_NAME"
  66. :disabled="readonly.SFDB">
  67. </div>
  68. </div>
  69. <div class="edit-box-item">
  70. <div class="edit-name">标&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;题:</div>
  71. <div class="edit-input-box">
  72. <input type="text" class="weui-input text-input" v-model="form.BT" :disabled="readonly.BT">
  73. </div>
  74. </div>
  75. <div class="edit-box-item">
  76. <div class="edit-name">办公室拟办意见:</div>
  77. <div class="edit-input-box">
  78. <div class="option-box" v-for="(item,index) in BGSNBYJ">
  79. <div class="option-box-content" v-html="item.OPINION"></div>
  80. <div class="option-box-name" v-html="item.CMANNAME"></div>
  81. <div class="option-box-date" v-html="item.CDATE"></div>
  82. <div class="option-box-btn" v-cloak v-if="!readonly.BGSNBYJ&&item.ROUTEID==routeid">
  83. <div class="option-box-btn-green" @click="editOption('BGSNBYJ',index)">编辑</div>
  84. <div class="option-box-btn-red" @click="deleteOption('BGSNBYJ')">删除</div>
  85. </div>
  86. </div>
  87. <div class="edit-input-box-btn">
  88. <div v-cloak v-show="!BGSNBYJEDIT&&!readonly.BGSNBYJ" class="option-box-btn-blue"
  89. @click="addOption('BGSNBYJ')">填写
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. <div class="edit-box-item">
  95. <div class="edit-name">委领导批示:</div>
  96. <div class="edit-input-box">
  97. <div class="option-box" v-for="(item,index) in WLDPS">
  98. <div class="option-box-content" v-html="item.OPINION"></div>
  99. <div class="option-box-name" v-html="item.CMANNAME"></div>
  100. <div class="option-box-date" v-html="item.CDATE"></div>
  101. <div class="option-box-btn" v-cloak v-if="!readonly.WLDPS&&item.ROUTEID==routeid">
  102. <div class="option-box-btn-green" @click="editOption('WLDPS',index)">编辑</div>
  103. <div class="option-box-btn-red" @click="deleteOption('WLDPS')">删除</div>
  104. </div>
  105. </div>
  106. <div class="edit-input-box-btn">
  107. <div v-cloak v-show="!WLDPSEDIT&&!readonly.WLDPS" class="option-box-btn-blue"
  108. @click="addOption('WLDPS')">填写
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. <div class="edit-box-item">
  114. <div class="edit-name">承办处室处理情况:</div>
  115. <div class="edit-input-box">
  116. <div class="option-box" v-for="(item,index) in CBCSCLQK">
  117. <div class="option-box-content" v-html="item.OPINION"></div>
  118. <div class="option-box-name" v-html="item.CMANNAME"></div>
  119. <div class="option-box-date" v-html="item.CDATE"></div>
  120. <div class="option-box-btn" v-cloak v-if="!readonly.CBCSCLQK&&item.ROUTEID==routeid">
  121. <div class="option-box-btn-green" @click="editOption('CBCSCLQK',index)">编辑</div>
  122. <div class="option-box-btn-red" @click="deleteOption('CBCSCLQK')">删除</div>
  123. </div>
  124. </div>
  125. <div class="edit-input-box-btn">
  126. <div v-cloak v-show="!CBCSCLQKEDIT&&!readonly.CBCSCLQK" class="option-box-btn-blue"
  127. @click="addOption('CBCSCLQK')">填写
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. <div class="edit-box-item">
  133. <div class="edit-name">督办类型:</div>
  134. <div class="edit-input-box">
  135. <input type="text" id="DBLX" class="weui-input text-input" readonly v-model="form.DBLX_NAME"
  136. :disabled="readonly.DBLX">
  137. </div>
  138. </div>
  139. <div class="edit-box-item">
  140. <div class="edit-name">存档处室:</div>
  141. <div class="edit-input-box">
  142. <input type="text" class="weui-input text-input" v-model="form.CDCS" :disabled="readonly.CDCS">
  143. </div>
  144. </div>
  145. <div class="edit-box-item">
  146. <div class="edit-name">督办时限:</div>
  147. <div class="edit-input-box">
  148. <input type="text" class="weui-input text-input" id="DBSX" v-model="form.DBSX" :disabled="readonly.DBSX">
  149. </div>
  150. </div>
  151. <div class="edit-box-item">
  152. <div class="edit-name">主办处室:</div>
  153. <div class="edit-input-box">
  154. <input type="text" id="ZBCS" class="weui-input text-input" v-model="form.ZBCS" :disabled="readonly.ZBCS">
  155. </div>
  156. </div>
  157. <div class="edit-box-item">
  158. <div class="edit-name">是否办结:</div>
  159. <div class="edit-input-box">
  160. <input type="text" id="SFBJ" class="weui-input text-input" readonly v-model="form.SFBJ_NAME"
  161. :disabled="readonly.SFBJ">
  162. </div>
  163. </div>
  164. <div class="edit-box-item">
  165. <div class="edit-name">办结情况:</div>
  166. <div class="edit-input-box">
  167. <textarea class="text-area" v-model="form.BJQK" :disabled="readonly.BJQK"></textarea>
  168. </div>
  169. </div>
  170. <div class="edit-box-item">
  171. <div class="edit-name">分管领导办结确认:</div>
  172. <div class="edit-input-box">
  173. <div class="option-box" v-for="(item,index) in FGLDBJQR">
  174. <div class="option-box-content" v-html="item.OPINION"></div>
  175. <div class="option-box-name" v-html="item.CMANNAME"></div>
  176. <div class="option-box-date" v-html="item.CDATE"></div>
  177. <div class="option-box-btn" v-cloak v-if="!readonly.FGLDBJQR&&item.ROUTEID==routeid">
  178. <div class="option-box-btn-green" @click="editOption('FGLDBJQR',index)">编辑</div>
  179. <div class="option-box-btn-red" @click="deleteOption('FGLDBJQR')">删除</div>
  180. </div>
  181. </div>
  182. <div class="edit-input-box-btn">
  183. <div v-cloak v-show="!FGLDBJQREDIT&&!readonly.FGLDBJQR" class="option-box-btn-blue"
  184. @click="addOption('FGLDBJQR')">填写
  185. </div>
  186. </div>
  187. </div>
  188. </div>
  189. <div class="edit-box-item">
  190. <div class="edit-name">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</div>
  191. <div class="edit-input-box">
  192. <textarea class="text-area" v-model="form.BZ" :disabled="readonly.BZ"></textarea>
  193. </div>
  194. </div>
  195. <div class="edit-box-item">
  196. <div class="edit-name">拟稿人:</div>
  197. <div class="edit-input-box">
  198. <input type="text" class="weui-input text-input" v-model="form.NGR" :disabled="readonly.NGR">
  199. </div>
  200. </div>
  201. <div class="edit-box-item">
  202. <div class="edit-name">制表日期:</div>
  203. <div class="edit-input-box">
  204. <input type="text" class="weui-input text-input" id="ZBRQ" v-model="form.ZBRQ" :disabled="readonly.ZBRQ">
  205. </div>
  206. </div>
  207. </div>
  208. </div>
  209. <div v-cloak v-if="nowTab=='tab2'" class="content-box" style="background-color: #ffffff;">
  210. <div v-show="fileList.length==0" style="display: none;" class="weui-loadmore weui-loadmore_line" v-cloak>
  211. <span class="weui-loadmore__tips">暂无附件</span>
  212. </div>
  213. <div class="file-list">
  214. <ul class="file-ul">
  215. <li class="file-ul-li" v-for="(item,index) in fileList">
  216. <div :style="item.deleteSlider" @touchstart.capture="touchStart" @touchend.capture="touchEnd" :data-index="index" class="item-file">
  217. <div class="file-icon"></div>
  218. <div class="file-content">
  219. <div class="file-name" v-html="item.FILENAMES"></div>
  220. <div class="file-date" v-html="item.FILEDATE"></div>
  221. </div>
  222. </div>
  223. <div class="item-action">
  224. <div class="item-action-blue" @click="downLoad(item)">下载</div>
  225. <div class="item-action-red" @click="deleteFile(item)">删除</div>
  226. </div>
  227. </li>
  228. </ul>
  229. </div>
  230. </div>
  231. <div v-cloak v-if="nowTab=='tab3'" class="content-box" style="background-color: #ffffff;">
  232. <div v-show="routerList.length==0" style="display: none;" class="weui-loadmore weui-loadmore_line" v-cloak>
  233. <span class="weui-loadmore__tips">暂无流转记录</span>
  234. </div>
  235. <div class="router-list" v-show="routerList.length>0" v-cloak>
  236. <div class="start-node">开始</div>
  237. <ul class="time-line">
  238. <li :class="{'now-node':item.isNow}" class="work" v-for="item in routerList">
  239. <div class="relative">
  240. <div class="item-name" v-html="item.NAME"></div>
  241. <span class="circle"></span>
  242. </div>
  243. <div class="ul-content">
  244. <div class="item-content">
  245. <div class="item-content-left">主送:</div>
  246. <div class="item-content-right" v-html="item.mainUser"></div>
  247. </div>
  248. <div class="item-content">
  249. <div class="item-content-left">日期:</div>
  250. <div class="item-content-right" v-html="item.RECEIVEDATE"></div>
  251. </div>
  252. </div>
  253. </li>
  254. </ul>
  255. <div v-show="isEnd" v-cloak class="end-node">结束</div>
  256. </div>
  257. </div>
  258. <div class="action-bar">
  259. <div v-cloak v-if="showSave" class="save-btn" @click="saveBtn()">保 存</div>
  260. <div v-cloak :class="{'send-btn':showSave,'send-btn2':!showSave}" @click="sendBtn()">转 发</div>
  261. </div>
  262. <div id="half" class='weui-popup__container popup-bottom'>
  263. <div></div>
  264. <div class="weui-popup__overlay"></div>
  265. <div class="weui-popup__modal">
  266. <div class="toolbar">
  267. <div class="toolbar-inner">
  268. <h1 class="title">意见填写</h1>
  269. <a href="javascript:;" class="picker-button" @click="saveOption()">保存</a>
  270. <a href="javascript:;" class="picker-button2 close-popup">取消</a>
  271. <!--不用显示-->
  272. <a href="javascript:;" class="open-popup" data-target="#half" style="display: none;">打开</a>
  273. </div>
  274. </div>
  275. <div class="modal-content">
  276. <div class="weui-cells weui-cells_form">
  277. <div class="weui-cell">
  278. <div class="weui-cell__bd">
  279. <textarea class="weui-textarea" v-model="optionContent" style="font-family:Microsoft YaHei !important;" placeholder="请输入文本" rows="12"></textarea>
  280. </div>
  281. </div>
  282. </div>
  283. </div>
  284. </div>
  285. </div>
  286. </div>
  287. </body>
  288. <script src="../../../js/base.js"></script>
  289. <script src="../../../js/jquery-2.1.4.js" type="text/javascript"></script>
  290. <script src="../../../js/fastclick.js" type="text/javascript"></script>
  291. <script src="../../../js/weui.js"></script>
  292. <script src="../../../js/jquery-weui.js"></script>
  293. <script src="../../../AFrontEnd/js/vue/axios.min.js" type="text/javascript"></script>
  294. <script src="../../../AFrontEnd/js/vue/vue.min.js" type="text/javascript"></script>
  295. <script src="../../../AFrontEnd/js/vue/util.js" type="text/javascript"></script>
  296. <script src="../../../js/sm4.js" type="text/javascript"></script>
  297. <script>document.write('<scri' + 'pt src="js/formedit.js?time=' + new Date().getTime() + '" type="text/javascript"><\/script>')</script>
  298. </html>