formedit.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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" class="weui-input text-input" v-model="form.WJBT" :disabled="readonly.WJBT">
  35. </div>
  36. </div>
  37. <div class="edit-box-item">
  38. <div class="edit-name">印发日期:</div>
  39. <div class="edit-input-box">
  40. <input type="text" class="weui-input text-input" id="YFRQ" v-model="form.YFRQ" :disabled="readonly.YFRQ">
  41. </div>
  42. </div>
  43. <div class="edit-box-item">
  44. <div class="edit-name">文件号:</div>
  45. <div class="edit-input-box">
  46. <input type="text" class="weui-input text-input" v-model="form.WJH" :disabled="readonly.WJH">
  47. </div>
  48. </div>
  49. <div class="edit-box-item">
  50. <div class="edit-name">施行日期:</div>
  51. <div class="edit-input-box">
  52. <input type="text" class="weui-input text-input" id="SXRQ" v-model="form.SXRQ" :disabled="readonly.SXRQ">
  53. </div>
  54. </div>
  55. <div class="edit-box-item">
  56. <div class="edit-name">文件类型:</div>
  57. <div class="edit-input-box">
  58. <input type="text" id="WJLX" class="weui-input text-input" readonly v-model="form.WJLX_NAME"
  59. :disabled="readonly.WJLX">
  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" id="FZRQ" v-model="form.FZRQ" :disabled="readonly.FZRQ">
  66. </div>
  67. </div>
  68. <div class="edit-box-item">
  69. <div class="edit-name">是否沿用:</div>
  70. <div class="edit-input-box">
  71. <input type="text" id="SFYY" class="weui-input text-input" readonly v-model="form.SFYY_NAME"
  72. :disabled="readonly.SFYY">
  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 QLYJ">
  79. <div v-if="item.OPINION" class="option-box-content" v-html="item.OPINION"></div>
  80. <div v-if="!item.OPINION" class="option-box-content">
  81. <img :src="item.OPINIONIMAGE">
  82. </div>
  83. <div class="option-box-name" v-html="item.CMANNAME"></div>
  84. <div class="option-box-date" v-html="item.CDATE"></div>
  85. <div class="option-box-btn" v-cloak v-if="!readonly.QLYJ&&item.ROUTEID==routeid">
  86. <div class="option-box-btn-green" @click="editOption('QLYJ',index)">编辑</div>
  87. <div class="option-box-btn-red" @click="deleteOption('QLYJ')">删除</div>
  88. </div>
  89. </div>
  90. <div class="edit-input-box-btn">
  91. <div v-cloak v-show="!QLYJEDIT&&!readonly.QLYJ" class="option-box-btn-blue"
  92. @click="addOption('QLYJ')">填写
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. <div class="edit-box-item">
  98. <div class="edit-name">责任处室:</div>
  99. <div class="edit-input-box">
  100. <input type="text" class="weui-input text-input" v-model="form.ZECS" :disabled="readonly.ZECS">
  101. </div>
  102. </div>
  103. <div class="edit-box-item">
  104. <div class="edit-name">协助部门:</div>
  105. <div class="edit-input-box">
  106. <input type="text" class="weui-input text-input" v-model="form.XZBM" :disabled="readonly.XZBM">
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. <div v-cloak v-if="nowTab=='tab2'" class="content-box" style="background-color: #ffffff;">
  112. <div v-show="fileList.length==0" style="display: none;" class="weui-loadmore weui-loadmore_line" v-cloak>
  113. <span class="weui-loadmore__tips">暂无附件</span>
  114. </div>
  115. <div class="file-list">
  116. <ul class="file-ul">
  117. <li class="file-ul-li" v-for="(item,index) in fileList">
  118. <div @click="openOfficePage(item,'type1')" :style="item.deleteSlider" @touchstart.capture="touchStart" @touchend.capture="touchEnd"
  119. :data-index="index" class="item-file">
  120. <div class="file-icon"></div>
  121. <div class="file-content">
  122. <div class="file-name" v-html="item.FILENAMES"></div>
  123. <div class="file-date" v-html="item.FILEDATE"></div>
  124. </div>
  125. </div>
  126. <div class="item-action">
  127. <div class="item-action-blue" @click="downLoad(item)">下载</div>
  128. <div class="item-action-red" @click="deleteFile(item)">删除</div>
  129. </div>
  130. </li>
  131. </ul>
  132. </div>
  133. </div>
  134. <div v-cloak v-if="nowTab=='tab3'" class="content-box" style="background-color: #ffffff;">
  135. <div v-show="routerList.length==0" style="display: none;" class="weui-loadmore weui-loadmore_line" v-cloak>
  136. <span class="weui-loadmore__tips">暂无流转记录</span>
  137. </div>
  138. <div class="router-list" v-show="routerList.length>0" v-cloak>
  139. <div class="start-node">开始</div>
  140. <ul class="time-line">
  141. <li :class="{'now-node':item.isNow}" class="work" v-for="item in routerList">
  142. <div class="relative">
  143. <div class="item-name" v-html="item.NAME"></div>
  144. <span class="circle"></span>
  145. </div>
  146. <div class="ul-content">
  147. <div class="item-content">
  148. <div class="item-content-left">主送:</div>
  149. <div class="item-content-right" v-html="item.mainUser"></div>
  150. </div>
  151. <div class="item-content">
  152. <div class="item-content-left">日期:</div>
  153. <div class="item-content-right" v-html="item.RECEIVEDATE"></div>
  154. </div>
  155. </div>
  156. </li>
  157. </ul>
  158. <div v-show="isEnd" v-cloak class="end-node">结束</div>
  159. </div>
  160. </div>
  161. <div class="action-bar">
  162. <div v-cloak v-if="showSave" class="save-btn" @click="saveBtn()">保 存</div>
  163. <div v-cloak :class="{'send-btn':showSave,'send-btn2':!showSave}" @click="sendBtn()">转 发</div>
  164. </div>
  165. <div id="half" class='weui-popup__container popup-bottom'>
  166. <div></div>
  167. <div class="weui-popup__overlay"></div>
  168. <div class="weui-popup__modal">
  169. <div class="toolbar">
  170. <div class="toolbar-inner">
  171. <h1 class="title">意见填写</h1>
  172. <a href="javascript:;" class="picker-button" @click="saveOption()">保存</a>
  173. <a href="javascript:;" class="picker-button2 close-popup">取消</a>
  174. <!--不用显示-->
  175. <a href="javascript:;" class="open-popup" data-target="#half" style="display: none;">打开</a>
  176. </div>
  177. </div>
  178. <div class="modal-content">
  179. <div class="weui-cells weui-cells_form">
  180. <div class="weui-cell">
  181. <div class="weui-cell__bd">
  182. <textarea class="weui-textarea" v-model="optionContent"
  183. style="font-family:Microsoft YaHei !important;" placeholder="请输入文本"
  184. rows="12"></textarea>
  185. </div>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. </body>
  193. <script src="../../../js/base.js"></script>
  194. <script src="../../../js/jquery-2.1.4.js" type="text/javascript"></script>
  195. <script src="../../../js/fastclick.js" type="text/javascript"></script>
  196. <script src="../../../js/weui.js"></script>
  197. <script src="../../../js/jquery-weui.js"></script>
  198. <script src="../../../AFrontEnd/js/vue/axios.min.js" type="text/javascript"></script>
  199. <script src="../../../AFrontEnd/js/vue/vue.min.js" type="text/javascript"></script>
  200. <script src="../../../AFrontEnd/js/vue/util.js" type="text/javascript"></script>
  201. <script src="../../../js/sm4.js" type="text/javascript"></script>
  202. <script>document.write('<scri' + 'pt src="js/formedit.js?time=' + new Date().getTime() + '" type="text/javascript"><\/script>')</script>
  203. </html>