1002110156_run.jsp 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  3. <%@ taglib uri="/WEB-INF/SpaceCoreApp.tld" prefix="app"%>
  4. <% pageContext.setAttribute(space.core.apps.common.ConstVars.MODULE_DM_KEY, "website"); %>
  5. <!DOCTYPE html >
  6. <html>
  7. <head> <!-- HEAD -->
  8. <link rel="stylesheet" type="text/css" href="/css/reset.css">
  9. <link rel="stylesheet" type="text/css" href="/apps/space/plug-in/element-ui@2.13.0/index.css">
  10. <link rel="stylesheet" type="text/css" href="/apps/space/plug-in/layui/dist/css/layui.css">
  11. <link rel="stylesheet" type="text/css" href="/apps/space/css/SpaceIcon/iconfont.css">
  12. <link rel="stylesheet" type="text/css" href="/css/components.css">
  13. <link rel="stylesheet" href="/css/ckeditor.css">
  14. <script>var space = { vars: {} };</script>
  15. <script src="/js/jquery1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
  16. <script src="/apps/space/plug-in/element-resize-detector/element-resize-detector.min.js"></script>
  17. <script src="/apps/space/plug-in/vue/vue.min.js" type="text/javascript" charset="utf-8"></script>
  18. <script src="/apps/space/plug-in/element-ui@2.13.0/index.js" type="text/javascript" charset="utf-8"></script>
  19. <script src="/js/space.vue.pc.subassembly.js"></script>
  20. <script src="/apps/space/plug-in/layui/dist/layui.all.js" type="text/javascript" charset="utf-8"></script>
  21. <script src="/js/space.recycle.js" type="text/javascript" charset="utf-8"></script>
  22. <script src="/js/space.display.js" type="text/javascript" charset="utf-8"></script>
  23. <style>
  24. html,
  25. body {
  26. height: 100%;
  27. width: 100%;
  28. overflow: hidden;
  29. }
  30. #space-content-div {
  31. box-sizing: border-box;
  32. width: 100%;
  33. height: 100%;
  34. margin-top: 0px !important;
  35. margin-left: 0 !important;
  36. padding-top: 10px;
  37. /*padding-left: 20px;*/
  38. }
  39. .el-row,
  40. .el-col {
  41. height: 100%;
  42. }
  43. /*文章查看页面
  44. *左边 */
  45. .article-info {
  46. height: 100%;
  47. overflow: hidden;
  48. }
  49. .article-info-title {
  50. text-align: center;
  51. border-bottom: 1px dashed #dddee0;
  52. margin: 0 20px;
  53. }
  54. .article-info-title h2 {
  55. font-weight: bold;
  56. line-height: 34px;
  57. font-size: 26px;
  58. margin-bottom: 12px;
  59. }
  60. .article-info-title p {
  61. color: #989898;
  62. font-size: 12px;
  63. line-height: 34px;
  64. height: 34px;
  65. }
  66. .article-info-title p span {
  67. margin-right: 16px;
  68. }
  69. .article-info-content {
  70. height: calc(100% - 90px);
  71. padding: 10px 22px 0 30px;
  72. margin-bottom: 10px;
  73. overflow-y: auto;
  74. }
  75. .article-info-content p {
  76. font-size: 16px;
  77. line-height: 30px;
  78. }
  79. .article-info-content img {
  80. margin: 6px auto;
  81. max-width: 100%;
  82. }
  83. /*右边*/
  84. .article-info-attribute {
  85. height: calc(100% - 10px);
  86. border-left: 1px solid #dddee0;
  87. overflow-y: auto;
  88. }
  89. .article-info-attribute h2 {
  90. font-size: 18px;
  91. font-weight: bold;
  92. margin-left: 24px;
  93. line-height: 54px;
  94. }
  95. .article-info-attribute li {
  96. line-height: 36px;
  97. overflow: hidden;
  98. }
  99. .article-info-attribute li .el-button {
  100. padding-top: 10px;
  101. padding-bottom: 10px;
  102. }
  103. .article-tag-wrap {
  104. margin-bottom: 10px;
  105. }
  106. .article-label {
  107. float: left;
  108. margin-left: 24px;
  109. margin-right: 12px;
  110. color: #7d7d7d;
  111. min-width: 56px;
  112. text-align: left;
  113. }
  114. .article-tag {
  115. margin-left: 66px;
  116. }
  117. .article-tag .el-tag {
  118. margin-right: 10px;
  119. }
  120. .article-info-attribute img {
  121. width: calc(80% - 24px);
  122. margin-left: 24px;
  123. margin-bottom: 10px;
  124. }
  125. .el-popover img {
  126. width: 100%;
  127. }
  128. .article-tag-line {
  129. float: left;
  130. }
  131. .article-tag-line span {
  132. float: left;
  133. }
  134. .article-tag-line .interval {
  135. height: 14px;
  136. margin-top: 11px;
  137. }
  138. .article-tag .article-tag-line:last-child .interval {
  139. width: 0;
  140. }
  141. .interval {
  142. float: left;
  143. width: 1px;
  144. height: 14px;
  145. border-radius: 50%;
  146. background-color: #e0e0e0;
  147. margin-top: 11px;
  148. margin-left: 8px;
  149. margin-right: 8px;
  150. }
  151. /* 缩略图遮罩 */
  152. .fmtp-cover {
  153. position: absolute;
  154. top: 0;
  155. left: 0;
  156. background: rgba(0, 0, 0, .6) url(/apps/space/images/page/enlarge.png) no-repeat center;
  157. opacity: 0;
  158. width: calc(80% - 24px);
  159. height: calc(100% - 10px);
  160. margin-left: 24px;
  161. border-radius: 6px;
  162. color: #fff;
  163. text-align: center;
  164. line-height: 100%;
  165. cursor: pointer;
  166. transition: all .2s;
  167. }
  168. .fmtp-cover i {
  169. font-size: 22px;
  170. vertical-align: middle;
  171. }
  172. .fmtp-cover:hover {
  173. opacity: 1;
  174. }
  175. .article-desc {
  176. box-sizing: border-box;
  177. display: block;
  178. border: 1px solid #f7f7fc;
  179. border-radius: 3px;
  180. padding: 10px 10px;
  181. background-color: #f7f7fc;
  182. color: #999aaa;
  183. margin: 12px 0px 0px 0px;
  184. }
  185. </style>
  186. <title>文章流程信息</title>
  187. </head>
  188. <body>
  189. <div v-cloak id="space-content">
  190. <el-row>
  191. <el-col :span="18">
  192. <div class="article-info">
  193. <div class="article-info-title">
  194. <h2>${article.title}</h2>
  195. <p>
  196. <span>
  197. 来源:<span>${article.source}</span>
  198. </span>
  199. <c:if test="${not empty article.releaseTime}">
  200. <span>
  201. &nbsp;&nbsp;发布时间:<span><app:dateTime type="format" value="${article.releaseTime}" /></span>
  202. </span>
  203. </c:if>
  204. <span>
  205. &nbsp;&nbsp;最后编辑时间:<span><app:dateTime type="format" value="${article.lastChangeTime }" /></span>
  206. </span>
  207. </p>
  208. </div>
  209. <div class="article-info-content niceScroll">
  210. <c:if test="${not empty article.desc}">
  211. <span class="article-desc">摘要:${article.desc}</span>
  212. </c:if>
  213. ${body}
  214. </div>
  215. </div>
  216. </el-col>
  217. <el-col :span="6">
  218. <div class="article-info-attribute niceScroll">
  219. <ul>
  220. <li>
  221. <span class="article-label">栏目</span>
  222. <span>
  223. ${navAllName}
  224. </span>
  225. </li>
  226. <li v-show="copyNavigation.length>0?true:false">
  227. <span class="article-label">抄送</span>
  228. <div class="article-tag">
  229. <div :key="tag" v-for="tag in copyNavigation" class="article-tag-line">
  230. <c:if test="${article.dcode != 61}">
  231. <span>
  232. {{tag.name}}
  233. </span>
  234. </c:if>
  235. <c:if test="${article.dcode == 61}">
  236. <span v-if="tag.dcode == 21 || tag.dcode == 31 || tag.dcode == 41 || tag.dcode == 51">
  237. {{tag.name}}(审核中)
  238. </span>
  239. <span v-else-if="tag.dcode == 11">
  240. {{tag.name}}<span style="color: #f42331;float: right;" >(拒绝)</span>
  241. </span>
  242. <span v-else>
  243. {{tag.name}}
  244. </span>
  245. </c:if>
  246. <div class="interval"></div>
  247. </div>
  248. </div>
  249. </li>
  250. <li>
  251. <span class="article-label">状态</span>
  252. <span>
  253. <app:codeBookTranslate name="sys.dcode" filter="{'dcode':'${article.dcode }'}" />
  254. </span>
  255. </li>
  256. <li>
  257. <span class="article-label">置顶</span>
  258. <span>
  259. {{ ${article.sticktop} === 1 ? "是":"否" }}
  260. </span>
  261. </li>
  262. <li v-show="${article.sticktop} === 1 ? true:false">
  263. <span class="article-label">置顶周期</span>
  264. <span class="r_date">
  265. ${article.sticktopEndTime}
  266. </span>
  267. </li>
  268. <li>
  269. <span class="article-label">缩略图</span>
  270. <br v-show="'${article.thumbnail}'?true:false" />
  271. <div class="" style="position: relative;" v-show="'${article.thumbnail}'?true:false">
  272. <el-popover placement="left" width="800" trigger="click" v-model="popFmt">
  273. <!-- 遮罩 -->
  274. <div class="fmtp-cover" slot="reference" @mouseout="popFmt=false;">
  275. <!--<i class="el-icon-zoom-in"></i> 点击查看大图-->
  276. </div>
  277. <img src="${article.thumbnail}" style="border-radius: 4px;" slot="reference" />
  278. <img src="${article.thumbnail}" style="border-radius: 4px;" />
  279. </el-popover>
  280. </div>
  281. <span v-show="!'${article.thumbnail}'?true:false">
  282. 未上传
  283. </span>
  284. </li>
  285. <li>
  286. <span class="article-label">创建人</span>
  287. <span>
  288. <app:codeBookTranslate name="personnel.person"
  289. filter="{'personid':'${article.createPid }'}" />
  290. </span>
  291. </li>
  292. <li>
  293. <span class="article-label">创建时间</span>
  294. <span class="r_date">
  295. ${article.createTime }
  296. </span>
  297. </li>
  298. <li>
  299. <span class="article-label">最后编辑</span>
  300. <span>
  301. <app:codeBookTranslate name="personnel.person" filter="{'personid':'${article.lastChangePid}'}" />
  302. </span>
  303. </li>
  304. <li>
  305. <span class="article-label">编辑时间</span>
  306. <span class="r_date">
  307. ${article.lastChangeTime }
  308. </span>
  309. </li>
  310. <li>
  311. <span class="article-label">定时发布</span>
  312. <span>
  313. <span>
  314. {{ ${article.release} === 1 ? "是":"否" }}
  315. </span>
  316. <span v-show="'${article.release}' === '1'">
  317. /
  318. <span class="r_date" >${article.releaseTime}</span>
  319. </span>
  320. </span>
  321. </li>
  322. <li>
  323. <span class="article-label">阅读次数</span>
  324. <span>
  325. ${article.readCount }次
  326. </span>
  327. </li>
  328. <li>
  329. <span class="article-label">动作</span>
  330. <span>
  331. ${ajtCode.name}
  332. </span>
  333. </li>
  334. <c:if test="${isShowpreview == true}">
  335. <li>
  336. <span class="article-label">预览</span>
  337. <span>
  338. <i class="el-icon-link"></i>
  339. <a href="${article.url }" target="_blank" v-if="'${ajtCode.ajtcode}' == 10000" rel="noreferrer" style="text-decoration: underline;">点击预览</a>
  340. <a href="${article.url }" target="_blank" v-if="'${ajtCode.ajtcode}' == 10020" rel="noreferrer" style="text-decoration: underline;">点击链接</a>
  341. </span>
  342. </li>
  343. </c:if>
  344. </ul>
  345. </div>
  346. </el-col>
  347. </el-row>
  348. </div>
  349. </body>
  350. <script type="text/javascript">
  351. space.vue = new Vue({
  352. el: space.appContent,
  353. data() {
  354. return {
  355. disable: space.utils.parseBoolean("${article.dcode == '61' }"),
  356. copyNavigation: JSON.parse('${copyNav}'),
  357. popFmt: false //查看缩略图大图
  358. }
  359. },
  360. mounted: function () {
  361. if ($('img').lazyload != undefined) {
  362. $('img').lazyload({ effect: 'fadeIn', container: $('#jquery-lazyload-container').parent() });
  363. }
  364. }
  365. })
  366. space.utils.formatDateByEls('yyyy-MM-dd hh:mm', $("span.r_date"));
  367. </script>
  368. <script type="text/javascript">space.vars.pageTypeCode = "10004";</script>
  369. <script type="text/javascript">space.vars.pageHashCode = "83a4rmIX0Yyl68yLQCtjoQ==";</script>
  370. <script type="text/javascript" >removeTokens("<app:token name='sys.removeToken' />", '<%= pageContext.getAttribute(space.core.apps.common.ConstVars.TOKEN_SESSION_LIST_KEY) %>')</script>
  371. </html>