diff --git a/.env.base b/.env.base index c4e5a4a..9c6f2ee 100644 --- a/.env.base +++ b/.env.base @@ -4,9 +4,9 @@ VITE_NODE_ENV=development VITE_DEV=true # 请求路径 -# VITE_BASE_URL='http://47.98.161.246:48080' +VITE_BASE_URL='http://47.98.161.246:48080' # VITE_BASE_URL='http://114.215.207.150:48080' -VITE_BASE_URL='http://localhost:48080' +# VITE_BASE_URL='http://localhost:48080' # 高德地图key密钥 # 1寻驾 diff --git a/src/views/Clue/Order/Comp/AfterSales.vue b/src/views/Clue/Order/Comp/AfterSales.vue index affe73e..66176f1 100644 --- a/src/views/Clue/Order/Comp/AfterSales.vue +++ b/src/views/Clue/Order/Comp/AfterSales.vue @@ -113,7 +113,6 @@ 批量审核 - 下载模板 导入 @@ -251,7 +251,6 @@ import DialogBatchAudit from './DialogBatchAudit.vue' import { removeNullField } from '@/utils' import { dateFormatter } from '@/utils/formatTime' import { useAppStore } from '@/store/modules/app' -import download from '@/utils/download' const afterSaleAuditDialog = ref() @@ -348,11 +347,6 @@ function handleAudit(row) { afterSaleAuditDialog.value.open(row) } -async function downloadTemplateFile() { - let data = await AfterSaleApi.getAfterSalesTemplate() - download.excel(data, '售后模板.xls') -} - const fileBeforeUpload = (file) => { let format = '.' + file.name.split('.')[1] if (!['.xls', '.xlsx'].includes(format)) {