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/insurance.ts b/src/api/insurance.ts new file mode 100644 index 0000000..ba5cfaf --- /dev/null +++ b/src/api/insurance.ts @@ -0,0 +1,6 @@ +import axios from '@/utils/request'; +// 保险 +export const batchDeletion = async (id: number[]): Promise => (await axios.post('/product/insurance/products/batchDeletion', id)).data; +export const addInsuranceProducts = async (data: Record): Promise => (await axios.post(`/product/insurance/products/addInsuranceProducts`, data)).data; +export const insuranceList = async (data: Record): Promise => (await axios.post(`/product/insurance/products/insuranceList`, data)).data; +export const insuranceProductDetails = async (id: number): Promise => (await axios.post(`/product/insurance/products/insuranceProductDetails?id=${id}`)).data; diff --git a/src/assets/images/role/icon/选择角色/保险产品经理_nor.png b/src/assets/images/role/insurance.png similarity index 100% rename from src/assets/images/role/icon/选择角色/保险产品经理_nor.png rename to src/assets/images/role/insurance.png diff --git a/src/assets/images/role/icon/选择角色/保险产品经理_hig.png b/src/assets/images/role/insurance1.png similarity index 100% rename from src/assets/images/role/icon/选择角色/保险产品经理_hig.png rename to src/assets/images/role/insurance1.png diff --git a/src/layout/components/AppSidebar/Menu.vue b/src/layout/components/AppSidebar/Menu.vue index 149e01d..e09abb0 100644 --- a/src/layout/components/AppSidebar/Menu.vue +++ b/src/layout/components/AppSidebar/Menu.vue @@ -1,8 +1,9 @@