From 5723015aa52465e8b19bdacddba5c1f1a5d1a1d0 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Sat, 11 May 2024 10:16:51 +0800 Subject: [PATCH] fix --- .env | 2 +- src/components/Panel/index.vue | 4 ++-- src/views/product/afterLoan/1033/Detail.vue | 4 ++-- src/views/product/bank/Config.vue | 4 ++-- src/views/product/bank/Info.vue | 5 ++--- src/views/product/bank/List.vue | 2 +- src/views/product/strategy/512/Detail.vue | 2 +- 7 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.env b/.env index 79153fd..104e2c6 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_BASE_API=https://www.occupationlab.com VITE_I18N_LOCALE=zh-cn diff --git a/src/components/Panel/index.vue b/src/components/Panel/index.vue index 0eae03c..93ac60c 100644 --- a/src/components/Panel/index.vue +++ b/src/components/Panel/index.vue @@ -571,9 +571,9 @@ let reloadConfirm = async () => { closeOnClickModal: false, dangerouslyUseHTMLString: true, }) - .then(async () => { + .then(() => { getEntryTime(1); - await delCache(); // 点了重新开始才需要删除缓存,切换了项目不需要删除缓存 + delCache().then(); // 点了重新开始才需要删除缓存,切换了项目不需要删除缓存 Cookies.remove('sand-level'); reload(); }) diff --git a/src/views/product/afterLoan/1033/Detail.vue b/src/views/product/afterLoan/1033/Detail.vue index c534113..82a91aa 100644 --- a/src/views/product/afterLoan/1033/Detail.vue +++ b/src/views/product/afterLoan/1033/Detail.vue @@ -176,7 +176,7 @@ const addRecord = async (data: Record) => { data.map((e) => { e.recordChildren.forEach((n, i) => { - if (i === 1) { + if (i === 2) { // 催收方式 const ids = []; e.shortMessageCollection && ids.push(774); @@ -184,7 +184,7 @@ const addRecord = async (data: Record) => { e.automaticOutboundCall && ids.push(776); e.manualCollection && ids.push(777); ids.length && rule.push(handleId(n.id, n.subjectId, ids.join(), `${preIds},${e.stRecordId},${n.id}`, 1)); - } else if (i === 2) { + } else if (i === 1) { // 话术 e.verbalTrick && rule.push(handleId(n.id, n.subjectId, e.verbalTrick, `${preIds},${e.stRecordId},${n.id}`, 1)); } else { diff --git a/src/views/product/bank/Config.vue b/src/views/product/bank/Config.vue index f1467a3..30cf1ac 100644 --- a/src/views/product/bank/Config.vue +++ b/src/views/product/bank/Config.vue @@ -1234,7 +1234,7 @@ const addRecord = async (data: Record) => { } // 风险度策略 - data.personalRiskDegreeStrategySelectedStatus && lcRule.push(handleId(1339, 327, data.personalRiskDegreeStrategySelectedStatus, preIds + '74,85,1339', 1)); + data.personalRiskDegreeStrategySelectedStatus && lcRule.push(handleId(1339, 327, data.personalRiskDegreeStrategySelectedStatus, preIds + ',74,85,1339', 1)); data.enterpriseRiskDegreeStrategySelectedStatus && lcRule.push(handleId(1340, 327, data.enterpriseRiskDegreeStrategySelectedStatus, preIds + ',74,85,1340', 1)); // 利率定价模型 @@ -1247,7 +1247,7 @@ const addRecord = async (data: Record) => { list3[1].tacticsSelectedStatus && lcRule.push(handleId(1311, 327, list3[1].tacticsSelectedStatus, `${preIds},74,86,1309,1311`, 1)); list3[1].tacticsId && lcRule.push(handleId(1361, 339, list[1].blackList.find((e) => e.id === list3[1].tacticsId)?.modelName || '', `${preIds},74,86,1309,1361`, 3)); - data.enterpriseQuotaModelSelectedStatus && lcRule.push(handleId(1343, 327, data.enterpriseQuotaModelSelectedStatus, preIds + '74,86,1341,1343', 1)); + data.enterpriseQuotaModelSelectedStatus && lcRule.push(handleId(1343, 327, data.enterpriseQuotaModelSelectedStatus, preIds + ',74,86,1341,1343', 1)); data.enterpriseQuotaModel && lcRule.push(handleId(1362, 338, data.enterpriseQuotaModel, preIds + ',74,86,1341,1362', 1)); list3[2].tacticsSelectedStatus && lcRule.push(handleId(1344, 327, list3[2].tacticsSelectedStatus, `${preIds},74,86,1342,1344`, 1)); diff --git a/src/views/product/bank/Info.vue b/src/views/product/bank/Info.vue index ee22bf3..d28d5e9 100644 --- a/src/views/product/bank/Info.vue +++ b/src/views/product/bank/Info.vue @@ -194,7 +194,7 @@ {{ item.opinionDescription }}

审查日期:{{ item.approvalTime }}

-

审查员:{{ userName }}

+

审查员:{{ item.examinationApprovalOfficer }}

@@ -227,7 +227,6 @@ const userName = ref(); const visible = ref(false); const curRow = ref>(); -const curPreview = ref('150'); const curPreviewTitle = ref(); const asyncComponents = { '150': defineAsyncComponent(() => import('../strategy/150/Detail.vue')), @@ -273,13 +272,13 @@ const getDetail = async () => { try { const { data } = await findById(id.value); info.value = data; - emit('updateAudits', data.rejectCount); if (info.value.riskControlDetails) riskInfo.value = data.riskControlDetails; const res = await approvalRecord({ id: id.value, }); approvals.value = res.list; + emit('updateAudits', res.list.length); } finally { } } diff --git a/src/views/product/bank/List.vue b/src/views/product/bank/List.vue index 55dda39..932a85f 100644 --- a/src/views/product/bank/List.vue +++ b/src/views/product/bank/List.vue @@ -110,7 +110,7 @@ @click="toDetail(`/product/bank/config`, row)">配置风控 + @confirm.stop="handleDelete(row.id)">