Browse Source

补充

master
曲树通 5 years ago
parent
commit
9fe2c81c4f
  1. 20
      src/views/modules/user/volunteerinfo.vue

20
src/views/modules/user/volunteerinfo.vue

@ -67,6 +67,7 @@
align="center"></el-table-column>
<el-table-column prop="kindnessTime"
label="爱心时长"
:formatter="kindnessTimeState"
header-align="center"
align="center"></el-table-column>
<el-table-column prop="points"
@ -251,16 +252,15 @@ export default {
return '男'
}
},
// //
// kindnessTimeState: function (row, column) {
// var state = row.kindnessTime
// if (state === 0) {
// return '0'
// } else {
// var h = state / 60
// return h.toFixed(2) + ''
// }
// },
//
kindnessTimeState: function (row, column) {
var state = row.kindnessTime
if (state === 0) {
return '0小时'
} else {
return state + '小时'
}
},
//
auditStatusState: function (row, column) {
let state = row.auditStatus

Loading…
Cancel
Save