fix
This commit is contained in:
@@ -1443,6 +1443,9 @@ export default defineComponent({
|
||||
// message.info('Your print is empty')
|
||||
// return
|
||||
// }
|
||||
if(this.allBoardData.printboardFiles.length<=0){
|
||||
return
|
||||
}
|
||||
if(credits.value < 30){
|
||||
message.info( useI18.t('exportModel.jsContent3'))
|
||||
// return
|
||||
|
||||
@@ -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=>{
|
||||
});
|
||||
|
||||
@@ -793,14 +793,16 @@ 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.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.generateList = this.generateList.filter((item:any)=>item.status == 'Success')
|
||||
this.loadingShow = false
|
||||
clearInterval(this.generateTime)
|
||||
|
||||
}
|
||||
).catch(res=>{
|
||||
});
|
||||
|
||||
@@ -905,16 +905,17 @@ export default defineComponent({
|
||||
},1000)
|
||||
},
|
||||
removeGenerate(){
|
||||
|
||||
let arr = this.generateList.filter((item:any)=>item.status != 'Success')
|
||||
//取消操作
|
||||
this.generateList = this.generateList.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.generateList = this.generateList.filter((item:any)=>item.status == 'Success')
|
||||
this.loadingShow = false
|
||||
clearInterval(this.generateTime)
|
||||
|
||||
}
|
||||
).catch(res=>{
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user