feat:增加订单下载任务状态

This commit is contained in:
Apple 2023-01-04 15:04:24 +08:00
parent 46ac80198e
commit 12457e6569
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,7 @@ export default class downloadlist extends React.Component {
} }
//删除 //删除
deleteFn(e, row) { deleteFn(e, row) {
let self=this;
Sweetalert.confirm({ Sweetalert.confirm({
type: "warning", type: "warning",
closeBtn: true, closeBtn: true,
@ -64,6 +65,7 @@ export default class downloadlist extends React.Component {
handelResponse(res,(response,msg)=>{ handelResponse(res,(response,msg)=>{
Notify.clear(); Notify.clear();
Notify.success(msg); Notify.success(msg);
self.getDownloadList();
},(err)=>{ },(err)=>{
Notify.error(err) Notify.error(err)
}) })
@ -125,6 +127,7 @@ export default class downloadlist extends React.Component {
} }
).catch(err=>{}); ).catch(err=>{});
} }
/*1 进行 2中断 3完成 */
statuStyle(val){ statuStyle(val){
let result; let result;
if(val<'70'){ if(val<'70'){