|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
<ul class="filter"> |
|
|
|
|
<li> |
|
|
|
|
<label>考核时间</label> |
|
|
|
|
<el-radio-group size="small" v-model="form.month" @change="initData"> |
|
|
|
|
<el-radio-group size="small" v-model="form.month"> |
|
|
|
|
<el-radio v-for="(item,index) in dateList" :key="index" :label="item.id" border> |
|
|
|
|
{{ item.name }} |
|
|
|
|
</el-radio> |
|
|
|
@ -62,7 +62,7 @@ |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<el-table :data="listData" class="table" stripe header-align="center"> |
|
|
|
|
<el-table v-loading="listLoading" :data="listData" class="table" stripe header-align="center"> |
|
|
|
|
<el-table-column type="index" width="100" label="序号" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{ scope.$index + (page - 1) * pageSize + 1 }} |
|
|
|
@ -185,6 +185,7 @@ export default { |
|
|
|
|
page: 1, |
|
|
|
|
pageSize: 10, |
|
|
|
|
totals: 0, |
|
|
|
|
listLoading:false,// 列表加载 |
|
|
|
|
icVisible: false, |
|
|
|
|
invitationCode: "", |
|
|
|
|
searchTimer: null, |
|
|
|
@ -214,7 +215,7 @@ export default { |
|
|
|
|
this.form.startTime = ""; |
|
|
|
|
this.form.endTime = ""; |
|
|
|
|
} |
|
|
|
|
this.getData(); |
|
|
|
|
this.initData(); |
|
|
|
|
}, |
|
|
|
|
keyword: function(val) { |
|
|
|
|
clearTimeout(this.searchTimer); |
|
|
|
@ -266,6 +267,8 @@ export default { |
|
|
|
|
}, 1000); |
|
|
|
|
}, |
|
|
|
|
getData() { |
|
|
|
|
this.listLoading = true; |
|
|
|
|
this.listData.splice(0); |
|
|
|
|
if (this.ticker) { |
|
|
|
|
clearInterval(this.ticker); |
|
|
|
|
} |
|
|
|
@ -302,7 +305,10 @@ export default { |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.beginTimer(); |
|
|
|
|
}).catch(err => {}); |
|
|
|
|
this.listLoading = false; |
|
|
|
|
}).catch(err => { |
|
|
|
|
this.listLoading = false; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
initData() { |
|
|
|
|
this.page = 1; |
|
|
|
|