diff --git a/src/views/product/afterLoan/1029/Detail.vue b/src/views/product/afterLoan/1029/Detail.vue index 245da5a..63d6ec1 100644 --- a/src/views/product/afterLoan/1029/Detail.vue +++ b/src/views/product/afterLoan/1029/Detail.vue @@ -135,7 +135,7 @@ const bankIds = ref[]>([]); const getConfig = async () => { const { process } = await getProcessInformationBasedOnRoles(1029); const result = []; - process.map((e, i) => { + process.slice(1).map((e, i) => { const cur = info.value.length ? info.value[i] : {}; result.push({ ...getIds(), @@ -174,7 +174,7 @@ const fieldKeys = ['notOverdue', 'thirtyDays', 'ninetyDays', 'oneHundredAndEight // 新增判分记录 const addRecord = async (data: Record) => { const preIds = `1,${Cookies.get('sand-level')},42,69,1029`; // 1,关卡id,角色(这个页面是风控经理策略) - const rule = []; + const rule = [handleId(140, 28, strategyName.value, `${preIds},140`, 3)]; data.map((e) => { e.recordChildren.forEach((n, i) => { diff --git a/src/views/product/afterLoan/1030/Detail.vue b/src/views/product/afterLoan/1030/Detail.vue index a10cff0..596813e 100644 --- a/src/views/product/afterLoan/1030/Detail.vue +++ b/src/views/product/afterLoan/1030/Detail.vue @@ -119,7 +119,7 @@ const bankIds = ref[]>([]); const getConfig = async () => { const { process } = await getProcessInformationBasedOnRoles(1030); const result = []; - process.map((e, i) => { + process.slice(1).map((e, i) => { const cur = info.value.length ? info.value[i] : {}; let temp = { ...getIds(), @@ -180,7 +180,7 @@ const span = ({ row, column, rowIndex, columnIndex }: SpanMethodProps) => { // 新增判分记录 const addRecord = async (data: Record) => { const preIds = `1,${Cookies.get('sand-level')},42,69,1030`; // 1,关卡id,角色(这个页面是风控经理策略) - const rule = []; + const rule = [handleId(140, 28, strategyName.value, `${preIds},140`, 3)]; data.forEach((e, i) => { e.isChoose && rule.push(handleId(1052, 140, e.isChoose, `${preIds},${e.stRecordId},1052`, 1)); diff --git a/src/views/product/afterLoan/1031/Detail.vue b/src/views/product/afterLoan/1031/Detail.vue index d120f87..1dfa92e 100644 --- a/src/views/product/afterLoan/1031/Detail.vue +++ b/src/views/product/afterLoan/1031/Detail.vue @@ -255,7 +255,7 @@ const getConfig = async () => { recordName: '基准分', }, ]; - process.map((e, i) => { + process.slice(1).map((e, i) => { let temp = { ...getIds(), recordName: e.name, @@ -369,7 +369,7 @@ const span = ({ row, column, rowIndex, columnIndex }: SpanMethodProps) => { // 新增判分记录 const addRecord = async (data: Record) => { const preIds = `1,${Cookies.get('sand-level')},42,69,1031`; // 1,关卡id,角色(这个页面是风控经理策略) - const rule = []; + const rule = [handleId(140, 28, strategyName.value, `${preIds},140`, 3)]; data.forEach((e, i) => { e.isChoose && rule.push(handleId(1052, 140, e.isChoose, `${preIds},${e.stRecordId},1052`, 1)); diff --git a/src/views/product/afterLoan/1032/Detail.vue b/src/views/product/afterLoan/1032/Detail.vue index ed336dc..663b79e 100644 --- a/src/views/product/afterLoan/1032/Detail.vue +++ b/src/views/product/afterLoan/1032/Detail.vue @@ -97,7 +97,7 @@ const bankIds = ref[]>([]); const getConfig = async () => { const { process } = await getProcessInformationBasedOnRoles(1032); const result = []; - process.map((e, i) => { + process.slice(1).map((e, i) => { const cur = info.value.length ? info.value[i] : {}; result.push({ ...getIds(), @@ -132,7 +132,7 @@ onMounted(getDetail); // 新增判分记录 const addRecord = async (data: Record) => { const preIds = `1,${Cookies.get('sand-level')},42,69,1032`; // 1,关卡id,角色(这个页面是风控经理策略) - const rule = []; + const rule = [handleId(140, 28, strategyName.value, `${preIds},140`, 3)]; data.map((e) => { e.isChoose && rule.push(handleId(1052, 140, e.isChoose, `${preIds},${e.stRecordId},1052`, 1)); diff --git a/src/views/product/afterLoan/1033/Detail.vue b/src/views/product/afterLoan/1033/Detail.vue index a32e757..5efacc6 100644 --- a/src/views/product/afterLoan/1033/Detail.vue +++ b/src/views/product/afterLoan/1033/Detail.vue @@ -119,7 +119,7 @@ const bankIds = ref[]>([]); const getConfig = async () => { const { process } = await getProcessInformationBasedOnRoles(1033); const result = []; - process[0].recordChildren.map((e, i) => { + process[1].recordChildren.map((e, i) => { const cur = info.value.length ? info.value[i] : {}; result.push({ ...getIds(), @@ -159,7 +159,7 @@ const showDia = (row: Record) => { // 新增判分记录 const addRecord = async (data: Record) => { const preIds = `1,${Cookies.get('sand-level')},42,69,1033,1149`; // 1,关卡id,角色(这个页面是风控经理策略) - const rule = []; + const rule = [handleId(140, 28, strategyName.value, `${preIds},140`, 3)]; data.map((e) => { e.recordChildren.forEach((n, i) => { diff --git a/src/views/product/bank/Add.vue b/src/views/product/bank/Add.vue index 61371e5..32ccb2d 100644 --- a/src/views/product/bank/Add.vue +++ b/src/views/product/bank/Add.vue @@ -1,7 +1,6 @@