diff --git a/.env.development b/.env.development index ecb9bfb..213846b 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ VITE_APP_NAME=后台管理(开发环境) -VITE_API_URL=http://127.0.0.1:9200/api +#VITE_API_URL=http://127.0.0.1:9200/api #VITE_SERVER_API_URL=http://127.0.0.1:8000/api diff --git a/src/api/credit/creditCompany/index.ts b/src/api/credit/creditCompany/index.ts index 1dadcc1..db5b86f 100644 --- a/src/api/credit/creditCompany/index.ts +++ b/src/api/credit/creditCompany/index.ts @@ -129,6 +129,7 @@ export async function importCreditCompany(file: File) { export async function importCustomer(file: File) { const formData = new FormData(); formData.append('file', file); + formData.append('isCustomer', '1'); const res = await request.post>( '/credit/credit-company/import', formData, diff --git a/src/views/credit/components/CreditSearchToolbar2.vue b/src/views/credit/components/CreditSearchToolbar2.vue index b76ab6e..74edb0c 100644 --- a/src/views/credit/components/CreditSearchToolbar2.vue +++ b/src/views/credit/components/CreditSearchToolbar2.vue @@ -37,6 +37,7 @@ CloudDownloadOutlined, DeleteOutlined } from '@ant-design/icons-vue'; + import RefreshCompanyIdButton from "@/views/credit/components/RefreshCompanyIdButton.vue"; const props = withDefaults( defineProps<{ diff --git a/src/views/credit/creditCompetitor/index.vue b/src/views/credit/creditCompetitor/index.vue index 13951c0..4a1d68a 100644 --- a/src/views/credit/creditCompetitor/index.vue +++ b/src/views/credit/creditCompetitor/index.vue @@ -13,6 +13,7 @@ >