diff --git a/.env.development b/.env.development
index fbcc74b..b8ccd8b 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/views/credit/creditBankruptcy/components/credit-bankruptcy-history-import.vue b/src/views/credit/creditBankruptcy/components/credit-bankruptcy-history-import.vue
index 3665bfb..3f6ea45 100644
--- a/src/views/credit/creditBankruptcy/components/credit-bankruptcy-history-import.vue
+++ b/src/views/credit/creditBankruptcy/components/credit-bankruptcy-history-import.vue
@@ -41,9 +41,11 @@
(e: 'update:visible', visible: boolean): void;
}>();
- defineProps<{
+ const props = defineProps<{
// 是否打开弹窗
visible: boolean;
+ // 关联企业ID(企业详情下导入时需要)
+ companyId?: number;
}>();
// 导入请求状态
@@ -74,7 +76,7 @@
return false;
}
loading.value = true;
- importCreditBankruptcyHistory(file)
+ importCreditBankruptcyHistory(file, props.companyId)
.then((msg) => {
loading.value = false;
message.success(msg);
@@ -93,4 +95,3 @@
emit('update:visible', value);
};
-
diff --git a/src/views/credit/creditBankruptcy/index.vue b/src/views/credit/creditBankruptcy/index.vue
index 6684cd5..55ca60f 100644
--- a/src/views/credit/creditBankruptcy/index.vue
+++ b/src/views/credit/creditBankruptcy/index.vue
@@ -22,12 +22,6 @@
@importData="openImport"
@exportData="exportData"
/>
-
-
-
-
- 导入历史破产重整
-
@@ -74,15 +68,13 @@
/>
-
-