feat:增加订单下载任务状态
This commit is contained in:
parent
46ac80198e
commit
12457e6569
|
@ -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'){
|
||||||
|
|
Loading…
Reference in New Issue