1003410404_edit.jsp 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <html>
  2. <head>
  3. <style>
  4. .article-info {
  5. padding: 0 16px;
  6. position: relative;
  7. }
  8. .article-info-title {
  9. font-size: 18px;
  10. line-height: 32px;
  11. padding: 10px 0 6px;
  12. }
  13. .article-info-mesg {
  14. color: #999;
  15. font-size: 12px;
  16. }
  17. .article-tabs .van-tab__pane {
  18. padding: 12px 10px;
  19. background-color: #fff;
  20. }
  21. .article-tabs img {
  22. max-width: 100%;
  23. }
  24. .article-tabs p {
  25. word-break: break-all;
  26. }
  27. .article-desc {
  28. box-sizing: border-box;
  29. display: block;
  30. border: 1px solid #f7f7fc;
  31. border-radius: 3px;
  32. padding: 10px 10px;
  33. background-color: #f7f7fc;
  34. color: #999aaa;
  35. margin: 0px 0px 10px 0px
  36. }
  37. .article-info-bottom {
  38. float: right;
  39. background-color: #cc9650;
  40. border-radius: 3px;
  41. padding: 0px 2px;
  42. font-size: 12px;
  43. }
  44. .article-info-bottom .van-button {
  45. float: right;
  46. }
  47. .article-info-bottom>span {
  48. color: #fff;
  49. }
  50. .van-hairline--top-bottom::after,
  51. .van-hairline-unset--top-bottom::after {
  52. border-width: 0px 0px 1px;
  53. }
  54. .iframe-wrap {
  55. box-sizing: border-box;
  56. width: 100%;
  57. height: calc(100% - 139px);
  58. }
  59. .iframe-wrap iframe,
  60. .van-tab__pane {
  61. width: 100%;
  62. height: 100%;
  63. }
  64. .van-tabs__content {
  65. box-sizing: border-box;
  66. height: calc(100% - 3px);
  67. }
  68. /* 徽章 */
  69. .flow-result {
  70. width: 76px;
  71. height: 58px;
  72. background: url(/apps/space/images/mobile/flow/agree.png) no-repeat;
  73. background-size: contain;
  74. position: absolute;
  75. right: 12px;
  76. top: 28px;
  77. z-index: 10;
  78. color: #4db485;
  79. transform: rotate( 19deg);
  80. }
  81. .flow-result p {
  82. line-height: 58px;
  83. text-align: center;
  84. font-size: 15px;
  85. }
  86. .flow-result.flow-reject {
  87. color: #d81e06;
  88. background-image: url("/apps/space/images/mobile/flow/reject.png");
  89. }
  90. </style>
  91. </head>
  92. <body>
  93. <div id="space-content">
  94. <div class="content-wrap">
  95. <div class="article-info">
  96. <h2 class="article-info-title">
  97. ${applyData.auditTitle}
  98. </h2>
  99. <div class="article-info-mesg">
  100. 由 ${applyData.auditPersonName} / ${applyData.auditPersonDepartment} 发起
  101. <span style="color: #1989fa;margin-left: 8px;" @click="viewInfo">
  102. 查看内容
  103. </span>
  104. <c:if test="${applyData.ascode == '11'}">
  105. <div class="article-info-bottom">
  106. <span>
  107. ${applyData.asName}
  108. </span>
  109. </div>
  110. </c:if>
  111. </div>
  112. <c:if test="${applyData.ascode != '11'}">
  113. <!-- 徽章 -->
  114. <!-- 加上flow-reject样式名是红色,不加flow-reject是绿色 -->
  115. <c:if test="${applyData.ascode == '51' || applyData.ascode == '41'}">
  116. <div class="flow-result">
  117. <p>
  118. ${applyData.asName}
  119. </p>
  120. </div>
  121. </c:if>
  122. <c:if test="${applyData.ascode != '51' && applyData.ascode != '41'}">
  123. <div class="flow-result flow-reject">
  124. <p>
  125. ${applyData.asName}
  126. </p>
  127. </div>
  128. </c:if>
  129. </c:if>
  130. </div>
  131. <!-- Tab 标签页 -->
  132. <van-tabs v-model="tabActiveName" color="#1989fa" class="article-tabs iframe-wrap" swipeable>
  133. <van-tab title="流转意见" name="auditOpinion">
  134. <iframe
  135. src='@service{ name: `sys.sys_flow_audit_time_line`, page:`flow_time`, params:`{applyid: "${applyid}", auditid: "${auditid}", isWxAuditLink: "${isWxAuditLink}"}`}@'
  136. frameborder="0"></iframe>
  137. </van-tab>
  138. <van-tab title="流程图" name="flowChart">
  139. <iframe
  140. src='@service{ name: `sys.sys_flow_chart`, page:`sys.common_audit.flow_chart`, params:`{applyid: "${applyid}"}`}@'
  141. frameborder="0" style="min-height: 500px;"></iframe>
  142. </van-tab>
  143. </van-tabs>
  144. </div>
  145. </div>
  146. </body>
  147. <script type="text/javascript">
  148. space.vue = new Vue({
  149. el: space.appContent,
  150. data: function () {
  151. return {
  152. tabActiveName: "${tabsType}",
  153. }
  154. },
  155. mounted: function () {
  156. },
  157. methods: {
  158. viewInfo: function() {
  159. space.plugin.layer.open({
  160. url: '${applyInfoToken}'
  161. });
  162. }
  163. }
  164. })
  165. </script>
  166. </html>