progressBar(row) {
// 当前按照每秒11m
const second_data = 11 * 1024 * 1024
// 需要的秒数
const need_second = parseInt(row.fileSize / second_data)
// 任务开始时间
const task_start_time = row.taskStartTime
// 当前时间
const timestamp = this.systemimeTime ? this.systemimeTime : Date.parse(new Date())
// 完成时间
const complete_time = task_start_time + need_second
if (timestamp > complete_time) {
return 100
}
return parseInt(((timestamp - task_start_time) / (complete_time - task_start_time)) * 100)
},