1001310229_edit.jsp 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. <html>
  2. <head>
  3. <style type="text/css">
  4. body{
  5. overflow-y: hidden;
  6. }
  7. .user-row-top {
  8. height: 166px;
  9. border-bottom: 1px solid #eee;
  10. padding-bottom: 26px;
  11. }
  12. .user-row-top .user-col-rest {
  13. line-height: 34px;
  14. }
  15. .user-email {
  16. color: #7d7d7d;
  17. }
  18. .user-name {
  19. vertical-align: middle;
  20. }
  21. .icon-border {
  22. background-color: rgba(243, 246, 248, .94);
  23. border: 4px solid #fff;
  24. box-shadow: inset 0 1.5px 3px 0 rgba(0, 0, 0, .15), 0 1.5px 3px 0 rgba(0, 0, 0, .15);
  25. box-sizing: content-box;
  26. margin: auto;
  27. position: relative;
  28. color: #999;
  29. }
  30. .role-tag {
  31. margin-right: 6px;
  32. }
  33. .space-check-infor{
  34. padding-left: 40px;
  35. padding-right: 40px;
  36. }
  37. .space-check-infor .infor-label {
  38. text-align: right;
  39. }
  40. .space-check-infor img{
  41. padding: 0;
  42. }
  43. .space-check-infor .infor-value{
  44. position: relative;
  45. }
  46. .space-frame{
  47. position: absolute;
  48. top: -10px;
  49. right: 45px;
  50. width: 120px;
  51. height: 120px;
  52. line-height: 120px;
  53. background: url(/apps/space/images/frame_green.png) no-repeat center;
  54. background-size: contain;
  55. color: #53bf59;
  56. font-size: 18px;
  57. text-align: center;
  58. }
  59. .space-frame.space-frame-red{
  60. top: -25px;
  61. right: 45px;
  62. width: 150px;
  63. height: 150px;
  64. line-height: 150px;
  65. background: url(/apps/space/images/frame_red.png) no-repeat center;
  66. background-size: contain;
  67. color: #da301a;
  68. font-size: 26px;
  69. }
  70. .space-frame p{
  71. transform: rotate(15deg);
  72. }
  73. .user-row-top .el-col{
  74. position: relative;
  75. }
  76. .triangle{
  77. position: absolute;
  78. display: inline-block;
  79. bottom: -38px;
  80. right: calc(20% + 50px);
  81. width: 0;
  82. height: 0px;
  83. content: '';
  84. border-style: solid;
  85. border-width: 6px;
  86. border-color: #fff #fff transparent transparent;
  87. transform: rotate(-45deg);
  88. box-shadow: 1px -1px 0px #e0e0e0;
  89. }
  90. .accessory{
  91. border: 1px solid #dcdfe6;
  92. border-radius: 4px;
  93. padding: 2px 8px;
  94. background-color: #fff;
  95. position: absolute;
  96. right: 0;
  97. bottom: -59px;
  98. box-shadow: -6px 0px 0 #fff;
  99. cursor: pointer;
  100. z-index: 100;
  101. }
  102. .accessory:hover{
  103. border-color: #409eff;
  104. color: #409eff;
  105. }
  106. .accessory .el-button{
  107. padding: 6px 8px;
  108. }
  109. .accessory .el-button:hover{
  110. color: #409eff;
  111. background: #ecf5ff;
  112. border-color: #b3d8ff;
  113. }
  114. .audit-opinion{
  115. margin: 32px 26px;
  116. line-height: 32px;
  117. /*max-height: 300px;*/
  118. overflow-y: hidden;
  119. }
  120. </style>
  121. </head>
  122. <body>
  123. <div id="space-content">
  124. <el-container class="space-container">
  125. <div class="space-check-infor">
  126. <!--一行两列-->
  127. <el-row class="user-row-top">
  128. <el-col :span="7">
  129. <div class="infor-label" style="margin-left: 30px;">
  130. <el-avatar :size="100" shape="square" src="${audit.icon_path}" class="icon-border">
  131. ${audit.person_name}
  132. </el-avatar>
  133. </div>
  134. <span class="triangle" v-if="!${audit.isInputAuditDescribe}"></span>
  135. </el-col>
  136. <el-col :span="17" class="user-col-rest">
  137. <div class="infor-value" style="padding-top: 3px;">
  138. <p class="user-msg">
  139. <span class="user-name">${audit.person_name}</span>
  140. <c:if test="${audit.scode == '10000'}">
  141. <i class="user-gender user-gender-man"></i>
  142. </c:if>
  143. <c:if test="${audit.scode == '10001'}">
  144. <i class="user-gender user-gender-female"></i>
  145. </c:if>
  146. <c:if test="${audit.scode == '10002'}">
  147. <i class="user-gender"></i>
  148. </c:if>
  149.  <span style="color: #eee;">|</span> 
  150. <span class="layui-badge-rim">
  151. ${audit.ps_name}
  152. </span>
  153. </p>
  154. <p class="user-email">
  155. 部门   ${audit.dept_name}
  156. </p>
  157. <p class="user-email">
  158. 岗位   ${audit.post_name}
  159. </p>
  160. <!-- 审核结果 -->
  161. <div class="space-frame" :class="${audit.ascode} == 81 ? 'space-frame-red' : ''">
  162. <p>
  163. ${audit.asname}
  164. </p>
  165. </div>
  166. <!-- 附件 -->
  167. <div class="accessory" @click="openAttachment('${audit.childCmsId}')" v-if="'${audit.fileTotal}' != ''">
  168. 附件
  169. <el-button type="primary" plain>${audit.fileTotal}</el-button>
  170. </div>
  171. </div>
  172. </el-col>
  173. </el-row>
  174. <div class="audit-opinion user-email" align="center" v-if="${audit.isInputAuditDescribe}">
  175. ${audit.auditDescribe}
  176. </div>
  177. <div class="audit-opinion" v-if="!${audit.isInputAuditDescribe}">
  178. ${audit.auditDescribe}
  179. </div>
  180. </div>
  181. </el-container>
  182. </div>
  183. </body>
  184. <script type="text/javascript">
  185. space.vue = new Vue({
  186. el: space.appContent,
  187. methods: {
  188. /**
  189. * 打开附件(CMS)
  190. */
  191. openAttachment(id) {
  192. var _this = this;
  193. var winSetting = {
  194. "title": "附件",
  195. "width": "90%",
  196. "height": "90%",
  197. "url": "@service{ page:'sys.cms.uploading_info' }@"
  198. };
  199. space.plugins.layer.openPredefinePage(winSetting, {
  200. success: function(win) {
  201. win.CMS = {
  202. id: id
  203. }
  204. },
  205. end: function() {
  206. }
  207. });
  208. }
  209. }
  210. })
  211. </script>
  212. </html>