formedit.html 16 KB

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