Commit 7e3d1e8f authored by mxm-web-develop's avatar mxm-web-develop

321

parent 884c4477
......@@ -65,6 +65,10 @@ export const downloadTxt = async(params:GetTransListParams)=>{
}).then(async res=>{
try{
await downloadjs(res.data)
return{
status:'success',
message:'download action is finished'
}
}catch(err){
console.log('下载出错了',err);
}
......
......@@ -93,6 +93,12 @@ const download = async()=> {
message:res.message,
type:'error'
})
}else if(res.status === 'success'){
downloadModal.value = false;
ElMessage({
message:'下载已完成',
type:'success'
})
}
}
const dateFilter = computed(()=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment