| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <html>
- <head>
- <style>
- .urge_managed{
- padding: 0 20px;
- }
- .urge_managed .el-collapse-item__wrap{
- border-bottom: none;
- border-top: 1px solid #EBEEF5;
- }
- .urge_managed .el-collapse-item__header{
- height: 60px;
- line-height: 60px;
- font-size: 16px;
- }
- .urge_managed .layui-table-view .layui-table[lay-skin="line"]{
- border-right: 0;
- }
-
- .layui-table th, .layui-table td {
- vertical-align: middle;
- }
-
- .el-avatar {
- vertical-align: middle;
- }
- </style>
-
- </head>
- <body>
- <div id="space-content">
- <c:if test="${auditDataList == null || auditDataList.size() == 0}">
- <div class="no-data"></div>
- </c:if>
- <c:if test="${auditDataList != null && auditDataList.size() > 0}">
- <div class="urge_managed">
- <el-collapse v-model="activeNames">
- <c:forEach items="${auditDataList}" var="item" varStatus="status">
- <el-collapse-item title="${item.title}" name="${status.index}">
- <table class="layui-table" lay-skin="nob">
-
- <thead>
- <tr>
- <th lay-data="{field:'0', width: 80}">头像</th>
- <th lay-data="{field:'1'}">姓名</th>
- <th lay-data="{field:'2'}">部门</th>
- <th lay-data="{field:'3'}">岗位</th>
- <th lay-data="{field:'4'}">审核状态</th>
- <th lay-data="{field:'5'}">接收时间</th>
- <th lay-data="{field:'6'}">审核时间</th>
- <th lay-data="{field:'7'}">审核耗时</th>
- </tr>
- </thead>
-
- <tbody>
- <c:forEach items="${item.child}" var="childItem">
- <tr onclick='@service{ name:`sys_already_dealt_info`, page:`haveDone_info`, params:`{auditid: "${childItem.auditid}"}`, show:`true` }@'>
- <td>
- <el-avatar :size="36" src="${childItem.iconPath}" style="border-radius: 3px;">
- ${childItem.personName}
- </el-avatar>
- </td>
- <td>
- ${childItem.personName}
- </td>
- <td>
- ${childItem.deptName}
- </td>
- <td>
- ${childItem.postName}
- </td>
- <td>
- <span style="color: #409eff;" v-if="'${childItem.auditOpinion}' == '同意' || '${childItem.auditOpinion}' == '自动越过'">
- ${childItem.auditOpinion}
- </span>
- <span style="color: #f56c6c;" v-else>
- ${childItem.auditOpinion}
- </span>
- </td>
- <td>
- ${childItem.time}
- </td>
- <td>
- ${childItem.auditTime}
- </td>
- <td>
- ${childItem.lostTime}
- </td>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- </el-collapse-item>
- </c:forEach>
-
- </el-collapse>
- </div>
- </c:if>
- </div>
- </body>
- <script type="text/javascript">
-
- space.vue = new Vue({
- el: space.appContent,
- data() {
- return {
- activeNames: [],
- auditNum: '${auditDataList.size()}' || 0
- };
- },
- mounted: function () {
- for(var i = 0; i < this.auditNum; i++) {
- this.activeNames.push(i.toString())
- }
- }
- })
-
- </script>
- </html>
|