From 3034fabaa7d9cb3f2379e315f34a7fdf53f4514d Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 21 Sep 2023 21:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A3=8E=E6=8E=A7=E7=BB=8F=E7=90=86=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A3=8E=E6=8E=A7=E8=81=94=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bank.ts | 1 + src/styles/index.scss | 10 + src/views/product/Add.vue | 3 +- src/views/product/CardList.vue | 1 + src/views/product/Config.vue | 695 ++++++++++++++++++++++++++++++--- 5 files changed, 649 insertions(+), 61 deletions(-) diff --git a/src/api/bank.ts b/src/api/bank.ts index f0fda14..b05769d 100644 --- a/src/api/bank.ts +++ b/src/api/bank.ts @@ -12,3 +12,4 @@ export const personalRiskControlConfigurationField = async (): Promise => export const productElement = async (id: number): Promise => (await axios.post(`/product/product/bank/products/productElement?id=${id}`)).data; export const findById = async (id: number): Promise => (await axios.post(`/product/product/bank/products/findById?id=${id}`)).data; export const save = async (data: Record): Promise => (await axios.post(`/product/product/bank/products/save`, data)).data; +export const riskSave = async (data: Record): Promise => (await axios.post(`/product/managerOfRiskControl/bankRiskControlAllocation/save`, data)).data; diff --git a/src/styles/index.scss b/src/styles/index.scss index 0dfb577..af14a0e 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -29,3 +29,13 @@ body { .msgbox-error { width: 100%; } + +::-webkit-scrollbar { + width: 8px; + height: 8px; +} +::-webkit-scrollbar-thumb { + width: 5px; + border-radius: 6px; + background: #d7d7d7; +} diff --git a/src/views/product/Add.vue b/src/views/product/Add.vue index 21f9e3f..6ed3fd6 100644 --- a/src/views/product/Add.vue +++ b/src/views/product/Add.vue @@ -254,7 +254,7 @@ interface RuleForm { const router = useRouter(); const route = useRoute(); const curTab = ref('tab1'); -const config = ref([]); +const config = ref([]); const formRef = ref(); const form = reactive({ productDefinition: '', @@ -389,7 +389,6 @@ onMounted(() => {