diff --git a/.env b/.env index 0c43f01..97571e0 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ VITE_APP_TITLE=金融产品设计及数字化营销沙盘 VITE_PORT=9520 VITE_PROXY=http://192.168.31.125:8080 VITE_PUBLIC_PATH=./ -VITE_BASE_API=http://192.168.31.51:9000 +VITE_BASE_API=http://192.168.31.217:9000 # VITE_BASE_API=http://121.37.12.51 VITE_I18N_LOCALE=zh-cn VITE_I18N_FALLBACK_LOCALE=zh-cn diff --git a/src/api/config.ts b/src/api/config.ts index c779298..f79dfee 100644 --- a/src/api/config.ts +++ b/src/api/config.ts @@ -8,3 +8,8 @@ export const accountType = async (): Promise => (await axios.post('/product export const buyerType = async (): Promise => (await axios.post('/product/buyerType/list')).data; export const financialMarketFind = async (): Promise => (await axios.post('/product/financialMarket/details')).data; export const financialMarketSave = async (data: Record): Promise => (await axios.post('/product/financialMarket/saveOrUpdate', data)).data; + +export const delPass = async (data: number[]): Promise => (await axios.post('/nakadai/nakadai/customsPass/batchDeletion', data)).data; +export const listPass = async (data: Record): Promise => (await axios.post('/nakadai/nakadai/customsPass/checkpointList', data)).data; +export const savePass = async (data: Record): Promise => (await axios.post('/nakadai/nakadai/customsPass/save', data)).data; +export const updatePass = async (data: Record[]): Promise => (await axios.post(`/nakadai/nakadai/customsPass/update`), data).data; diff --git a/src/api/model.ts b/src/api/model.ts index 98c889e..01bdf32 100644 --- a/src/api/model.ts +++ b/src/api/model.ts @@ -45,13 +45,13 @@ export const detailRick = async (data: Record): Promise => (await axios.post(`/product/riskDegreeStrategy/details?checkpointId=${data.checkpointId}&projectId=${data.projectId}&type=${data.type}`)).data; export const saveRick = async (data: Record): Promise => (await axios.post(`/product/riskDegreeStrategy/saveOrUpdate`, data)).data; -export const detailInterestRateBusiness = async (data: Record): Promise => +export const businessInterestRateDetails = async (data: Record): Promise => (await axios.post(`/product/interestRateModel/businessInterestRateDetails?checkpointId=${data.checkpointId}&projectId=${data.projectId}`)).data; -export const saveInterestRateBusiness = async (data: Record): Promise => +export const businessInterestRateSaveOrUpdate = async (data: Record): Promise => (await axios.post(`/product/interestRateModel/businessInterestRateSaveOrUpdate`, data)).data; -export const detailInterestRatePerson = async (data: Record): Promise => +export const personalInterestRateDetails = async (data: Record): Promise => (await axios.post(`/product/interestRateModel/personalInterestRateDetails?checkpointId=${data.checkpointId}&projectId=${data.projectId}`)).data; -export const saveInterestRatePerson = async (data: Record): Promise => +export const personalInterestRateSaveOrUpdate = async (data: Record): Promise => (await axios.post(`/product/interestRateModel/personalInterestRateSaveOrUpdate`, data)).data; export const businessQuotaModelDetails = async (data: Record): Promise => diff --git a/src/components/Panel/index.vue b/src/components/Panel/index.vue index 05a8277..705ea5c 100644 --- a/src/components/Panel/index.vue +++ b/src/components/Panel/index.vue @@ -1,5 +1,6 @@ diff --git a/src/views/config/Buyer.vue b/src/views/config/param/Buyer.vue similarity index 99% rename from src/views/config/Buyer.vue rename to src/views/config/param/Buyer.vue index 0803725..3fe54c8 100644 --- a/src/views/config/Buyer.vue +++ b/src/views/config/param/Buyer.vue @@ -414,7 +414,7 @@ onMounted(() => { diff --git a/src/views/product/insurance/List.vue b/src/views/product/insurance/List.vue index 9dda754..e5a5e87 100644 --- a/src/views/product/insurance/List.vue +++ b/src/views/product/insurance/List.vue @@ -193,29 +193,3 @@ const handleDelete = async (id: number) => { ElMessage.success(t('success')); }; - - diff --git a/src/views/product/strategy/CardList.vue b/src/views/product/strategy/CardList.vue index e2ee7c7..9682dca 100644 --- a/src/views/product/strategy/CardList.vue +++ b/src/views/product/strategy/CardList.vue @@ -114,7 +114,7 @@ const router = useRouter(); const route = useRoute(); const projectId = +Cookies.get('sand-projectId'); const levelId = +Cookies.get('sand-level'); -const curTab = ref('tab3'); +const curTab = ref('tab1'); const list = ref>>([]); const list1 = ref>>([]); const list2 = ref>>([]);