|
@@ -33,9 +33,9 @@
|
|
|
|
|
|
<ul class="mui-table-view">
|
|
|
|
|
|
- <li class="mui-table-view-cell mui-collapse" v-for="(it,index) in recordList" >
|
|
|
+ <li class="mui-table-view-cell mui-collapse" v-for="(it,index) in recordList" v-if="it.list.length" >
|
|
|
<a class="mui-navigate-right" href="#">{{it.name}}
|
|
|
- <span style="float: right; margin-right: 20px; color: rgba(136, 136, 136, 100); ">{{it.list.length}}</span></a>
|
|
|
+ <span style="float: right; margin-right: 20px; color: rgba(136, 136, 136, 100); ">{{it.list.length}}次</span></a>
|
|
|
<div class="mui-content-padded vongi-work">
|
|
|
|
|
|
<ul class="mui-table-view">
|
|
@@ -160,10 +160,16 @@
|
|
|
}
|
|
|
this.recordList=[];
|
|
|
API_Attendance.statistics(obj).then(response => {
|
|
|
-
|
|
|
- //this.recordList = response.list;
|
|
|
- var recordList=[]
|
|
|
var status=this.status
|
|
|
+ //this.recordList = response.list;
|
|
|
+ var recordList=[
|
|
|
+ {
|
|
|
+ result:"1",
|
|
|
+ name:status[1],
|
|
|
+ list:[],
|
|
|
+ }
|
|
|
+ ]
|
|
|
+
|
|
|
response.list.forEach(function(item, index) {
|
|
|
var bl=true;
|
|
|
|