diff --git a/.env b/.env index 97571e0..783e5c0 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.217:9000 -# VITE_BASE_API=http://121.37.12.51 +# 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/finance.ts b/src/api/finance.ts index af1aa70..ef206f2 100644 --- a/src/api/finance.ts +++ b/src/api/finance.ts @@ -4,3 +4,4 @@ export const queryStorage = async (id: number): Promise => (await axios.get export const bankingProductMarketsList = async (data: Record): Promise => (await axios.post('/product/product/bank/products/market/bankingProductMarketsList', data)).data; export const insuranceMarketList = async (data: Record): Promise => (await axios.post('/product/insurance/products/market/insuranceMarketList', data)).data; +export const fundProductMarketList = async (data: Record): Promise => (await axios.post('/product/fundProducts/market/fundProductMarketList', data)).data; diff --git a/src/views/Role.vue b/src/views/Role.vue index 0e868a2..ca7824d 100644 --- a/src/views/Role.vue +++ b/src/views/Role.vue @@ -59,8 +59,8 @@ -
- +
@@ -68,22 +68,22 @@
{{ date }}
-
-
+
+
-
+ @click="selectRole(42)">
+
- + @click="selectRole(1161)"> +
+
+
-
保险市场
+
基金市场
申购费率:
{{ item.name }}
+ :class="{ active: params.subscriptionRate === item.name }" + @click="filterClick(item, 'subscriptionRate')">{{ item.name }}
@@ -16,8 +16,8 @@
{{ item.name }}
+ :class="{ active: params.establishmentPeriod === item.name }" + @click="filterClick(item, 'establishmentPeriod')">{{ item.name }}
@@ -25,14 +25,15 @@
{{ item.name }}
+ :class="{ active: params.fundraisingScale === item.name }" + @click="filterClick(item, 'fundraisingScale')">{{ item.name }}