|
@@ -145,28 +145,73 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
title: '线上研修',
|
|
|
+ key:'onlineTime',
|
|
|
slot: 'online',
|
|
|
- align: 'center'
|
|
|
+ align: 'center',
|
|
|
+ sortable: true,
|
|
|
+ sortMethod: (a, b, type) => {
|
|
|
+ if (type == 'desc') {
|
|
|
+ return parseInt(a) > parseInt(b) ? -1 : 1
|
|
|
+ } else {
|
|
|
+ return parseInt(a) < parseInt(b) ? -1 : 1
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: '校本研修',
|
|
|
+ key:'offlinelTime',
|
|
|
slot: 'offline',
|
|
|
- align: 'center'
|
|
|
+ align: 'center',
|
|
|
+ sortable: true,
|
|
|
+ sortMethod: (a, b, type) => {
|
|
|
+ if (type == 'desc') {
|
|
|
+ return parseInt(a) > parseInt(b) ? -1 : 1
|
|
|
+ } else {
|
|
|
+ return parseInt(a) < parseInt(b) ? -1 : 1
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: '认证材料',
|
|
|
+ key:'schoolScoreTime',
|
|
|
slot: 'assessment',
|
|
|
- align: 'center'
|
|
|
+ align: 'center',
|
|
|
+ sortable: true,
|
|
|
+ sortMethod: (a, b, type) => {
|
|
|
+ if (type == 'desc') {
|
|
|
+ return parseInt(a) > parseInt(b) ? -1 : 1
|
|
|
+ } else {
|
|
|
+ return parseInt(a) < parseInt(b) ? -1 : 1
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: '课堂实录',
|
|
|
+ key:'classVideoTime',
|
|
|
slot: 'classRecord',
|
|
|
- align: 'center'
|
|
|
+ align: 'center',
|
|
|
+ sortable: true,
|
|
|
+ sortMethod: (a, b, type) => {
|
|
|
+ if (type == 'desc') {
|
|
|
+ return parseInt(a) > parseInt(b) ? -1 : 1
|
|
|
+ } else {
|
|
|
+ return parseInt(a) < parseInt(b) ? -1 : 1
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: '总学时',
|
|
|
+ key:'alltime',
|
|
|
slot: 'allHour',
|
|
|
- align: 'center'
|
|
|
+ align: 'center',
|
|
|
+ sortable: true,
|
|
|
+ sortMethod: (a, b, type) => {
|
|
|
+ if (type == 'desc') {
|
|
|
+ return parseInt(a) > parseInt(b) ? -1 : 1
|
|
|
+ } else {
|
|
|
+ return parseInt(a) < parseInt(b) ? -1 : 1
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: '完成状态',
|
|
@@ -202,7 +247,7 @@ export default {
|
|
|
},
|
|
|
serchData() {
|
|
|
this.hourDataShow = this.hourData.filter(item => {
|
|
|
- return item.tmdname.includes(this.keyword) || item.groupName.includes(this.keyword)
|
|
|
+ return item.tmdname.includes(this.keyword)
|
|
|
})
|
|
|
},
|
|
|
findTotalData() {
|