mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-06 17:36:44 +08:00
下载按钮新增参数
This commit is contained in:
@@ -14,7 +14,14 @@ import { useStore } from "vuex";
|
||||
import { reportOrgs } from "@/api/indexProject";
|
||||
const downReport = () => {
|
||||
console.log('下载报表')
|
||||
window.open(`${process.env.VUE_APP_BASE_API}/admin/project/report/data`)
|
||||
if(uploadAdmin('training-admin')){
|
||||
window.open(`${process.env.VUE_APP_BASE_API}/admin/project/report/data`)
|
||||
return
|
||||
}
|
||||
if(adminType?.value.length>0){
|
||||
let orgs = adminType.value.join(',')
|
||||
window.open(`${process.env.VUE_APP_BASE_API}/admin/project/report/data?orgs=${orgs}`)
|
||||
}
|
||||
}
|
||||
const userInfo = computed(() => store.state.userInfo);
|
||||
onMounted(()=>{
|
||||
|
||||
Reference in New Issue
Block a user