1001310050_edit.jsp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <html>
  2. <head>
  3. <style>
  4. .urge_managed{
  5. padding: 0 20px;
  6. }
  7. .urge_managed .el-collapse-item__wrap{
  8. border-bottom: none;
  9. border-top: 1px solid #EBEEF5;
  10. }
  11. .urge_managed .el-collapse-item__header{
  12. height: 60px;
  13. line-height: 60px;
  14. font-size: 16px;
  15. }
  16. .urge_managed .layui-table-view .layui-table[lay-skin="line"]{
  17. border-right: 0;
  18. }
  19. .layui-table th, .layui-table td {
  20. vertical-align: middle;
  21. }
  22. .el-avatar {
  23. vertical-align: middle;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <div id="space-content">
  29. <c:if test="${auditDataList == null || auditDataList.size() == 0}">
  30. <div class="no-data"></div>
  31. </c:if>
  32. <c:if test="${auditDataList != null && auditDataList.size() > 0}">
  33. <div class="urge_managed">
  34. <el-collapse v-model="activeNames">
  35. <c:forEach items="${auditDataList}" var="item" varStatus="status">
  36. <el-collapse-item title="${item.title}" name="${status.index}">
  37. <table class="layui-table" lay-skin="nob">
  38. <thead>
  39. <tr>
  40. <th lay-data="{field:'0', width: 80}">头像</th>
  41. <th lay-data="{field:'1'}">姓名</th>
  42. <th lay-data="{field:'2'}">部门</th>
  43. <th lay-data="{field:'3'}">岗位</th>
  44. <th lay-data="{field:'4'}">审核状态</th>
  45. <th lay-data="{field:'5'}">接收时间</th>
  46. <th lay-data="{field:'6'}">审核时间</th>
  47. <th lay-data="{field:'7'}">审核耗时</th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. <c:forEach items="${item.child}" var="childItem">
  52. <tr onclick='@service{ name:`sys_already_dealt_info`, page:`haveDone_info`, params:`{auditid: "${childItem.auditid}"}`, show:`true` }@'>
  53. <td>
  54. <el-avatar :size="36" src="${childItem.iconPath}" style="border-radius: 3px;">
  55. ${childItem.personName}
  56. </el-avatar>
  57. </td>
  58. <td>
  59. ${childItem.personName}
  60. </td>
  61. <td>
  62. ${childItem.deptName}
  63. </td>
  64. <td>
  65. ${childItem.postName}
  66. </td>
  67. <td>
  68. <span style="color: #409eff;" v-if="'${childItem.auditOpinion}' == '同意' || '${childItem.auditOpinion}' == '自动越过'">
  69. ${childItem.auditOpinion}
  70. </span>
  71. <span style="color: #f56c6c;" v-else>
  72. ${childItem.auditOpinion}
  73. </span>
  74. </td>
  75. <td>
  76. ${childItem.time}
  77. </td>
  78. <td>
  79. ${childItem.auditTime}
  80. </td>
  81. <td>
  82. ${childItem.lostTime}
  83. </td>
  84. </tr>
  85. </c:forEach>
  86. </tbody>
  87. </table>
  88. </el-collapse-item>
  89. </c:forEach>
  90. </el-collapse>
  91. </div>
  92. </c:if>
  93. </div>
  94. </body>
  95. <script type="text/javascript">
  96. space.vue = new Vue({
  97. el: space.appContent,
  98. data() {
  99. return {
  100. activeNames: [],
  101. auditNum: '${auditDataList.size()}' || 0
  102. };
  103. },
  104. mounted: function () {
  105. for(var i = 0; i < this.auditNum; i++) {
  106. this.activeNames.push(i.toString())
  107. }
  108. }
  109. })
  110. </script>
  111. </html>