From 957ae65af63411ac299d1c5791e3545c0b6ea267 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 30 Apr 2024 14:41:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E7=94=A8=E8=AF=84=E5=88=86=E8=81=94?= =?UTF-8?q?=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- src/api/model.ts | 2 +- src/views/product/strategy/150/Detail.vue | 3 +- src/views/product/strategy/512/Detail.vue | 291 ++++++++ src/views/product/strategy/512/Index.vue | 164 +++++ src/views/product/strategy/513/Detail.vue | 820 ++++++++++++++++++++++ src/views/product/strategy/513/Index.vue | 164 +++++ src/views/product/strategy/CardList.vue | 3 +- 8 files changed, 1444 insertions(+), 5 deletions(-) create mode 100644 src/views/product/strategy/512/Detail.vue create mode 100644 src/views/product/strategy/512/Index.vue create mode 100644 src/views/product/strategy/513/Detail.vue create mode 100644 src/views/product/strategy/513/Index.vue diff --git a/.env b/.env index 104e2c6..79153fd 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://192.168.31.51:9000 # VITE_BASE_API=http://121.37.12.51 # VITE_BASE_API=https://www.occupationlab.com VITE_I18N_LOCALE=zh-cn diff --git a/src/api/model.ts b/src/api/model.ts index 4a5cd90..358d8c5 100644 --- a/src/api/model.ts +++ b/src/api/model.ts @@ -101,7 +101,7 @@ export const accessStrategyNegativeIndustryStrategySave = async (data: Record): Promise => (await axios.post(`${host}/product/accessStrategyNegativeIndustryStrategy/delete`, data)).data; -export const delCredit = async (id: number): Promise => (await axios.post(`/product/creditScoringStrategy/delete?strategyId=${id}`)).data; +export const delCredit = async (data: Record): Promise => (await axios.post(`/product/creditScoringStrategy/delete`, data)).data; export const findCredit = async (id: number): Promise => (await axios.post(`/product/creditScoringStrategy/details?strategyId=${id}`)).data; export const listCredit = async (data: Record): Promise => ( diff --git a/src/views/product/strategy/150/Detail.vue b/src/views/product/strategy/150/Detail.vue index 3b19348..3143993 100644 --- a/src/views/product/strategy/150/Detail.vue +++ b/src/views/product/strategy/150/Detail.vue @@ -3,8 +3,7 @@ label-suffix=":" class="form" :disabled="disabled"> - + + + + + + + + + + + + + + + + + + + + + +
+
取消
+
确定
+
+ + + + + + + diff --git a/src/views/product/strategy/512/Index.vue b/src/views/product/strategy/512/Index.vue new file mode 100644 index 0000000..b3f787e --- /dev/null +++ b/src/views/product/strategy/512/Index.vue @@ -0,0 +1,164 @@ + + + diff --git a/src/views/product/strategy/513/Detail.vue b/src/views/product/strategy/513/Detail.vue new file mode 100644 index 0000000..38dd235 --- /dev/null +++ b/src/views/product/strategy/513/Detail.vue @@ -0,0 +1,820 @@ + + + + + diff --git a/src/views/product/strategy/513/Index.vue b/src/views/product/strategy/513/Index.vue new file mode 100644 index 0000000..ab5b0c7 --- /dev/null +++ b/src/views/product/strategy/513/Index.vue @@ -0,0 +1,164 @@ + + + diff --git a/src/views/product/strategy/CardList.vue b/src/views/product/strategy/CardList.vue index 2d3b06e..d8e7479 100644 --- a/src/views/product/strategy/CardList.vue +++ b/src/views/product/strategy/CardList.vue @@ -40,7 +40,8 @@ const dynamicComponentMap = { '154': defineAsyncComponent(() => import('./154/Index.vue')), '155': defineAsyncComponent(() => import('./155/Index.vue')), '156': defineAsyncComponent(() => import('./156/Index.vue')), - '148': defineAsyncComponent(() => import('./Credit.vue')), + '512': defineAsyncComponent(() => import('./512/Index.vue')), + '513': defineAsyncComponent(() => import('./513/Index.vue')), '702': defineAsyncComponent(() => import('./Risk1.vue')), '703': defineAsyncComponent(() => import('./Risk2.vue')), '704': defineAsyncComponent(() => import('./Risk3.vue')),