yujialong 7 months ago
parent 0aeb30a000
commit 5723015aa5
  1. 2
      .env
  2. 4
      src/components/Panel/index.vue
  3. 4
      src/views/product/afterLoan/1033/Detail.vue
  4. 4
      src/views/product/bank/Config.vue
  5. 5
      src/views/product/bank/Info.vue
  6. 2
      src/views/product/bank/List.vue
  7. 2
      src/views/product/strategy/512/Detail.vue

@ -2,7 +2,7 @@ VITE_APP_TITLE=金融产品设计及数字化营销沙盘
VITE_PORT=9520 VITE_PORT=9520
# VITE_PROXY=http://192.168.31.125:8080 # VITE_PROXY=http://192.168.31.125:8080
VITE_PUBLIC_PATH=./ 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=http://121.37.12.51
# VITE_BASE_API=https://www.occupationlab.com # VITE_BASE_API=https://www.occupationlab.com
VITE_I18N_LOCALE=zh-cn VITE_I18N_LOCALE=zh-cn

@ -571,9 +571,9 @@ let reloadConfirm = async () => {
closeOnClickModal: false, closeOnClickModal: false,
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
}) })
.then(async () => { .then(() => {
getEntryTime(1); getEntryTime(1);
await delCache(); // delCache().then(); //
Cookies.remove('sand-level'); Cookies.remove('sand-level');
reload(); reload();
}) })

@ -176,7 +176,7 @@ const addRecord = async (data: Record<string, any>) => {
data.map((e) => { data.map((e) => {
e.recordChildren.forEach((n, i) => { e.recordChildren.forEach((n, i) => {
if (i === 1) { if (i === 2) {
// //
const ids = []; const ids = [];
e.shortMessageCollection && ids.push(774); e.shortMessageCollection && ids.push(774);
@ -184,7 +184,7 @@ const addRecord = async (data: Record<string, any>) => {
e.automaticOutboundCall && ids.push(776); e.automaticOutboundCall && ids.push(776);
e.manualCollection && ids.push(777); e.manualCollection && ids.push(777);
ids.length && rule.push(handleId(n.id, n.subjectId, ids.join(), `${preIds},${e.stRecordId},${n.id}`, 1)); 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)); e.verbalTrick && rule.push(handleId(n.id, n.subjectId, e.verbalTrick, `${preIds},${e.stRecordId},${n.id}`, 1));
} else { } else {

@ -1234,7 +1234,7 @@ const addRecord = async (data: Record<string, any>) => {
} }
// //
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)); data.enterpriseRiskDegreeStrategySelectedStatus && lcRule.push(handleId(1340, 327, data.enterpriseRiskDegreeStrategySelectedStatus, preIds + ',74,85,1340', 1));
// //
@ -1247,7 +1247,7 @@ const addRecord = async (data: Record<string, any>) => {
list3[1].tacticsSelectedStatus && lcRule.push(handleId(1311, 327, list3[1].tacticsSelectedStatus, `${preIds},74,86,1309,1311`, 1)); 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)); 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)); 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)); list3[2].tacticsSelectedStatus && lcRule.push(handleId(1344, 327, list3[2].tacticsSelectedStatus, `${preIds},74,86,1342,1344`, 1));

@ -194,7 +194,7 @@
{{ item.opinionDescription }} {{ item.opinionDescription }}
</div> </div>
<p class="mb-2 text-sm text-[#333] text-right">审查日期{{ item.approvalTime }}</p> <p class="mb-2 text-sm text-[#333] text-right">审查日期{{ item.approvalTime }}</p>
<p class="mb-2 text-sm text-[#333] text-right">审查员{{ userName }}</p> <p class="mb-2 text-sm text-[#333] text-right">审查员{{ item.examinationApprovalOfficer }}</p>
</div> </div>
</div> </div>
@ -227,7 +227,6 @@ const userName = ref<string>();
const visible = ref<boolean>(false); const visible = ref<boolean>(false);
const curRow = ref<Record<string, any>>(); const curRow = ref<Record<string, any>>();
const curPreview = ref<string>('150');
const curPreviewTitle = ref<string>(); const curPreviewTitle = ref<string>();
const asyncComponents = { const asyncComponents = {
'150': defineAsyncComponent(() => import('../strategy/150/Detail.vue')), '150': defineAsyncComponent(() => import('../strategy/150/Detail.vue')),
@ -273,13 +272,13 @@ const getDetail = async () => {
try { try {
const { data } = await findById(id.value); const { data } = await findById(id.value);
info.value = data; info.value = data;
emit('updateAudits', data.rejectCount);
if (info.value.riskControlDetails) riskInfo.value = data.riskControlDetails; if (info.value.riskControlDetails) riskInfo.value = data.riskControlDetails;
const res = await approvalRecord({ const res = await approvalRecord({
id: id.value, id: id.value,
}); });
approvals.value = res.list; approvals.value = res.list;
emit('updateAudits', res.list.length);
} finally { } finally {
} }
} }

@ -110,7 +110,7 @@
@click="toDetail(`/product/bank/config`, row)">配置风控</el-button> @click="toDetail(`/product/bank/config`, row)">配置风控</el-button>
<el-popconfirm v-if="row.showDeleteOrNot" <el-popconfirm v-if="row.showDeleteOrNot"
title="您确定删除吗?" title="您确定删除吗?"
@confirm.stop="handleDelete(row)"> @confirm.stop="handleDelete(row.id)">
<template #reference> <template #reference>
<el-button type="text" <el-button type="text"
size="small" size="small"

@ -219,7 +219,7 @@ const addRecord = async () => {
form.description && lcRule.push(handleId(516, 192, form.description, preIds + ',516', 3)); form.description && lcRule.push(handleId(516, 192, form.description, preIds + ',516', 3));
list.value.forEach((e) => { list.value.forEach((e) => {
e.span && e.isChoose && lcRule.push(handleId(518, 140, e.isChoose, `${preIds},${e.answerId1},${e.answerId2},518`, 1)); e.span && e.isChoose && lcRule.push(handleId(518, 140, e.isChoose, `${preIds},${e.answerId1},518`, 1));
e.score && lcRule.push(handleId(e.answerId2, e.subjectId, e?.itemList?.find((n) => n.options == e.score)?.itemId || '', preIds + ',' + e.answerId1 + ',' + e.answerId2, 1)); e.score && lcRule.push(handleId(e.answerId2, e.subjectId, e?.itemList?.find((n) => n.options == e.score)?.itemId || '', preIds + ',' + e.answerId1 + ',' + e.answerId2, 1));
}); });
await addOperation({ await addOperation({

Loading…
Cancel
Save