This commit is contained in:
X1627315083
2024-04-22 09:46:40 +08:00
parent 727968548b
commit a194ae3bf6
7 changed files with 28 additions and 21 deletions

View File

@@ -644,15 +644,16 @@ export default defineComponent({
},
removeGenerate(){
let arr = this.fileList.filter((item:any)=>item.status != 'Success')
//取消操作
this.fileList = this.fileList.filter((item:any)=>item.status == 'Success')
this.loadingShow = false
clearInterval(this.generateTime)
if(arr){
let str = arr.map((obj:any) => obj.taskId).join(',');
let data = {uniqueId:str,userId:this?.userInfo?.userId,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}
Https.axiosGet(Https.httpUrls.generateStopWaiting, {params:data}).then(
(rv) => {
this.fileList = this.fileList.filter((item:any)=>item.status == 'Success')
this.loadingShow = false
clearInterval(this.generateTime)
}
).catch(res=>{
});