mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
【讲师费管理】/【讲师费统计】里面的时长显示都调整为小时(包口页面和导出)
This commit is contained in:
@@ -318,7 +318,7 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
width: 140,
|
width: 140,
|
||||||
customRender: ({ text }) => {
|
customRender: ({ text }) => {
|
||||||
return text ? text + '分钟' : '-'
|
return text ? (text/60).toFixed(2) + '小时' : '-'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -329,7 +329,7 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
width: 140,
|
width: 140,
|
||||||
customRender: ({ text }) => {
|
customRender: ({ text }) => {
|
||||||
return text ? text + '分钟' : '-'
|
return text ? (text/60).toFixed(2) + '小时' : '-'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -340,7 +340,7 @@ export default {
|
|||||||
align: "center",
|
align: "center",
|
||||||
width: 120,
|
width: 120,
|
||||||
customRender: ({ text }) => {
|
customRender: ({ text }) => {
|
||||||
return text ? text + '分钟' : '-'
|
return text ? (text/60).toFixed(2) + '小时' : '-'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user