| | |
| | | import { ElMessageBox } from 'element-plus' |
| | | import FileUpload from '@/components/FileUpload/handlerImport.vue' |
| | | import { download as downloadHttp} from '@/utils/request' |
| | | import { downTemplate, importTemplate, doImport } from '@/api/system/company/company' |
| | | import { downTemplate, importTemplate, doImport, exportTemplate } from '@/api/system/company/company' |
| | | const { proxy } = getCurrentInstance(); |
| | | const dialogVisible = ref(false) |
| | | const emit = defineEmits() |
| | |
| | | dialogVisible.value = false |
| | | } |
| | | function downLoad() { |
| | | downTemplate().then(val => { |
| | | exportTemplate().then(val => { |
| | | downloadHttp('/tool/file/download', { |
| | | fileName: val.msg, |
| | | delete: true |