fix
This commit is contained in:
@@ -1198,17 +1198,17 @@ export default defineComponent({
|
||||
},
|
||||
removeGenerate(){
|
||||
let arr = this.generateList.filter((item:any)=>item.status != 'Success')
|
||||
|
||||
this.generateList = this.generateList.filter((item:any)=>item.status == 'Success')
|
||||
this.isShowMark = false
|
||||
this.isGenerate = false
|
||||
this.remGenerate = false
|
||||
clearInterval(this.generateTime)
|
||||
if(arr){
|
||||
let str = arr.map((obj:any) => obj.taskId).join(',');
|
||||
let data = {uniqueId:str,userId:(this?.userInfo as any)?.userId,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}
|
||||
Https.axiosGet(Https.httpUrls.generateStopWaiting, {params:data}).then(
|
||||
(rv) => {
|
||||
this.generateList = this.generateList.filter((item:any)=>item.status == 'Success')
|
||||
this.isShowMark = false
|
||||
this.isGenerate = false
|
||||
this.remGenerate = false
|
||||
clearInterval(this.generateTime)
|
||||
|
||||
}
|
||||
).catch(res=>{
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user