所有添加判分记录的接口都增加考核id和赛事id

V0.1
yujialong 10 months ago
parent 11f0d25d89
commit f7afdc89b2
  1. 2
      src/components/Panel/index.vue
  2. 12
      src/utils/common.ts
  3. 5
      src/views/product/afterLoan/1029.vue
  4. 5
      src/views/product/afterLoan/1030.vue
  5. 5
      src/views/product/afterLoan/1031.vue
  6. 5
      src/views/product/afterLoan/1032.vue
  7. 5
      src/views/product/afterLoan/1033.vue
  8. 5
      src/views/product/bank/Add.vue
  9. 5
      src/views/product/bank/Approve.vue
  10. 5
      src/views/product/bank/Config.vue
  11. 5
      src/views/product/fund/Add.vue
  12. 5
      src/views/product/insurance/Add.vue
  13. 5
      src/views/product/interestRate/772.vue
  14. 5
      src/views/product/interestRate/773.vue
  15. 12
      src/views/product/interestRate/935.vue
  16. 5
      src/views/product/interestRate/936.vue
  17. 5
      src/views/product/strategy/150.vue
  18. 5
      src/views/product/strategy/151.vue
  19. 5
      src/views/product/strategy/152.vue
  20. 5
      src/views/product/strategy/153.vue
  21. 5
      src/views/product/strategy/154.vue
  22. 5
      src/views/product/strategy/155.vue
  23. 5
      src/views/product/strategy/156.vue
  24. 5
      src/views/product/strategy/Credit.vue
  25. 5
      src/views/product/strategy/Risk1.vue
  26. 5
      src/views/product/strategy/Risk2.vue
  27. 5
      src/views/product/strategy/Risk3.vue

@ -511,9 +511,9 @@ const submit = async () => {
projectId: param.projectId, projectId: param.projectId,
projectName: projectList.value.find((e) => e.projectId == param.projectId)?.projectName, projectName: projectList.value.find((e) => e.projectId == param.projectId)?.projectName,
lcId: curReq.value, lcId: curReq.value,
assessmentId: param.assessmentId,
systemId: curSystemId.value, systemId: curSystemId.value,
purpose: pd.value.experimentTarget, // purpose: pd.value.experimentTarget, //
assessmentId: param.assessmentId,
competitionId: param.competitionId, competitionId: param.competitionId,
stageId: param.stageId, stageId: param.stageId,
teamId: param.teamId, teamId: param.teamId,

@ -229,3 +229,15 @@ export const isIllegalNum = (str: string | number): boolean => {
export const getFileExt = (fileName: string): string => { export const getFileExt = (fileName: string): string => {
return fileName.substring(fileName.lastIndexOf('.') + 1); return fileName.substring(fileName.lastIndexOf('.') + 1);
}; };
/**
* projectIdcheckpointIdassessmentIdcompetitionId
*/
export const getIds = (): Record<string, any> => {
return {
checkpointId: +Cookies.get('sand-level') || '',
projectId: +Cookies.get('sand-projectId') || '',
assessmentId: +Cookies.get('sand-assessmentId') || '',
competitionId: +Cookies.get('sand-competitionId') || '',
};
};

@ -92,7 +92,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { fiveLevelClassificationDetails, fiveLevelClassificationSave } from '@/api/model'; import { fiveLevelClassificationDetails, fiveLevelClassificationSave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -146,10 +146,9 @@ const addRecord = async (data: Record<string, any>) => {
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -76,7 +76,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { postLoanInspectionDetails, postLoanInspectionSave } from '@/api/model'; import { postLoanInspectionDetails, postLoanInspectionSave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -158,10 +158,9 @@ const addRecord = async (data: Record<string, any>) => {
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -168,7 +168,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { postCreditScoreDetails, postCreditScoreSave } from '@/api/model'; import { postCreditScoreDetails, postCreditScoreSave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -308,10 +308,9 @@ const addRecord = async (data: Record<string, any>) => {
data[13].formulaOne && rule.push(handleId(1083, 291, data[13].formulaOne, `${preIds},1082,1083`, 1)); data[13].formulaOne && rule.push(handleId(1083, 291, data[13].formulaOne, `${preIds},1082,1083`, 1));
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -48,7 +48,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { postLoanWarningDetails, postLoanWarningSave } from '@/api/model'; import { postLoanWarningDetails, postLoanWarningSave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -97,10 +97,9 @@ const addRecord = async (data: Record<string, any>) => {
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -45,7 +45,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { collectionAfterLoanDetails, collectionAfterLoanSave } from '@/api/model'; import { collectionAfterLoanDetails, collectionAfterLoanSave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -106,10 +106,9 @@ const addRecord = async (data: Record<string, any>) => {
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -274,7 +274,7 @@ import { ref, reactive, computed, watch, onMounted, defineEmits } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import type { TabsPaneContext, FormInstance, FormRules } from 'element-plus'; import type { TabsPaneContext, FormInstance, FormRules } from 'element-plus';
import { findById, save, update } from '@/api/bank'; import { findById, save, update } from '@/api/bank';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId, isIllegalNum } from '@/utils/common'; import { handleId, isIllegalNum } from '@/utils/common';
import { getStatus } from '@/store/useProduct'; import { getStatus } from '@/store/useProduct';
@ -490,10 +490,9 @@ const addRecord = async (data: Record<string, any>) => {
lcRule.push(handleId(58, 140, data.whetherToSupportEarlyRepayment ? 345 : 346, preIds + ',58', 1)); lcRule.push(handleId(58, 140, data.whetherToSupportEarlyRepayment ? 345 : 346, preIds + ',58', 1));
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: lcRule, lcJudgmentRuleReq: lcRule,
projectId,
}); });
}; };
onMounted(() => { onMounted(() => {

@ -61,7 +61,7 @@ import Info from './Info.vue';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import { findById, examineAndApprove } from '@/api/bank'; import { findById, examineAndApprove } from '@/api/bank';
import { getTheCurrentUserName, getOperationTime } from '@/api/config'; import { getTheCurrentUserName, getOperationTime } from '@/api/config';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -112,10 +112,9 @@ const addRecord = async (data: Record<string, any>) => {
handleId(approved ? 1217 : 758, 233, signed.value ? 514 : 515, `${preIds},${approved ? '1217' : '758'}`, 1), handleId(approved ? 1217 : 758, 233, signed.value ? 514 : 515, `${preIds},${approved ? '1217' : '758'}`, 1),
]; ];
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: lcRule, lcJudgmentRuleReq: lcRule,
projectId,
}); });
}; };
// //

@ -336,7 +336,7 @@ import { ref, reactive, computed, watch, onMounted } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import type { TabsPaneContext, FormInstance } from 'element-plus'; import type { TabsPaneContext, FormInstance } from 'element-plus';
import { findById, riskSave, riskUpdate } from '@/api/bank'; import { findById, riskSave, riskUpdate } from '@/api/bank';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { listCredit } from '@/api/model'; import { listCredit } from '@/api/model';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
@ -622,10 +622,9 @@ const addRecord = async (data: Record<string, any>) => {
} }
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: lcRule, lcJudgmentRuleReq: lcRule,
projectId,
}); });
}; };
</script> </script>

@ -315,7 +315,7 @@ import { ref, reactive, computed, watch, onMounted, defineEmits } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { Plus, Minus } from '@element-plus/icons-vue'; import { Plus, Minus } from '@element-plus/icons-vue';
import { getAListOfAShares, saveFund } from '@/api/fund'; import { getAListOfAShares, saveFund } from '@/api/fund';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId, isIllegalNum } from '@/utils/common'; import { handleId, isIllegalNum } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -503,10 +503,9 @@ const addRecord = async (data: Record<string, any>) => {
); );
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -115,7 +115,7 @@
import { ref, reactive, computed, watch, onMounted, defineEmits } from 'vue'; import { ref, reactive, computed, watch, onMounted, defineEmits } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { insuranceProductDetails, addInsuranceProducts } from '@/api/insurance'; import { insuranceProductDetails, addInsuranceProducts } from '@/api/insurance';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId, isIllegalNum } from '@/utils/common'; import { handleId, isIllegalNum } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -201,10 +201,9 @@ const addRecord = async (data: Record<string, any>) => {
data.exemptionFromLiability && rule.push(handleId(301, 139, data.exemptionFromLiability, preIds + ',301', 1)); data.exemptionFromLiability && rule.push(handleId(301, 139, data.exemptionFromLiability, preIds + ',301', 1));
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -87,7 +87,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage, ElLoading } from 'element-plus'; import { ElMessage, ElLoading } from 'element-plus';
import { personalCreditModelDetails, personalCreditModelSaveOrUpdate } from '@/api/model'; import { personalCreditModelDetails, personalCreditModelSaveOrUpdate } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
@ -277,10 +277,9 @@ const addRecord = async (data: Record<string, any>) => {
} }
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -88,7 +88,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage, ElLoading } from 'element-plus'; import { ElMessage, ElLoading } from 'element-plus';
import { businessQuotaModelDetails, businessQuotaModelSaveOrUpdate } from '@/api/model'; import { businessQuotaModelDetails, businessQuotaModelSaveOrUpdate } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -153,10 +153,9 @@ const addRecord = async (data: Record<string, any>) => {
data.sixthMode && rule.push(handleId(785, 237, getItemId(data.sixthMode), preIds + ',784,785', 1)); data.sixthMode && rule.push(handleId(785, 237, getItemId(data.sixthMode), preIds + ',784,785', 1));
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -20,13 +20,14 @@
<el-table-column label="描述" <el-table-column label="描述"
min-width="150"> min-width="150">
<template #default="{ row, $index }"> <template #default="{ row, $index }">
<span :class="{'text-[#006bff]': !$index}">{{ row?.description }}</span> <span :class="{'text-[#006bff]': !$index}">{{ $index === 12 ? '=起始浮动比例+增减分值 且 不超过最高浮动比例' : row?.description }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="分值" <el-table-column label="分值"
min-width="150"> min-width="150">
<template #default="{ row, $index }"> <template #default="{ row, $index }">
<el-select v-if="$index !== 12 && $index !== 13 && row.subject && row.subject.itemList" <span v-if="$index === 12">以上分值合计</span>
<el-select v-else-if="$index !== 13 && row.subject && row.subject.itemList"
class="w-full" class="w-full"
v-model="row.score"> v-model="row.score">
<el-option v-for="item in row?.subject?.itemList" <el-option v-for="item in row?.subject?.itemList"
@ -89,7 +90,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage, ElLoading } from 'element-plus'; import { ElMessage, ElLoading } from 'element-plus';
import { personalInterestRateDetails, personalInterestRateSaveOrUpdate } from '@/api/model'; import { personalInterestRateDetails, personalInterestRateSaveOrUpdate } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
@ -188,7 +189,7 @@ const span = ({ row, column, rowIndex, columnIndex }: SpanMethodProps) => {
rowspan: 3, rowspan: 3,
colspan: 1, colspan: 1,
}; };
} else if (!rowIndex || rowIndex === 12 || rowIndex === 13) { } else if (!rowIndex || rowIndex === 12 || rowIndex === 13 || rowIndex === 14) {
return { return {
rowspan: 1, rowspan: 1,
colspan: 1, colspan: 1,
@ -231,10 +232,9 @@ const addRecord = async (data: Record<string, any>) => {
); );
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -99,7 +99,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage, ElLoading } from 'element-plus'; import { ElMessage, ElLoading } from 'element-plus';
import { businessInterestRateDetails, businessInterestRateSaveOrUpdate } from '@/api/model'; import { businessInterestRateDetails, businessInterestRateSaveOrUpdate } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
@ -330,10 +330,9 @@ const addRecord = async (data: Record<string, any>) => {
); );
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
// //

@ -133,7 +133,7 @@
import { ref, computed, watch, onMounted } from 'vue'; import { ref, computed, watch, onMounted } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { accessStrategyGovernmentBlacklistFind, accessStrategyGovernmentBlacklistSave } from '@/api/model'; import { accessStrategyGovernmentBlacklistFind, accessStrategyGovernmentBlacklistSave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
@ -342,10 +342,9 @@ const addRecord = async (data: Record<string, any>) => {
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
</script> </script>

@ -101,7 +101,7 @@
import { ref, computed, watch, onMounted } from 'vue'; import { ref, computed, watch, onMounted } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { accessStrategyCreditBlacklistFind, accessStrategyCreditBlacklistSave } from '@/api/model'; import { accessStrategyCreditBlacklistFind, accessStrategyCreditBlacklistSave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -224,10 +224,9 @@ const addRecord = async (data: Record<string, any>) => {
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
</script> </script>

@ -153,7 +153,7 @@
import { ref, watch } from 'vue'; import { ref, watch } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { accessStrategyBusinessBlacklistFind, accessStrategyBusinessBlacklistSave } from '@/api/model'; import { accessStrategyBusinessBlacklistFind, accessStrategyBusinessBlacklistSave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId, getNum, getSymbol, getChinese } from '@/utils/common'; import { handleId, getNum, getSymbol, getChinese } from '@/utils/common';
@ -441,10 +441,9 @@ const addRecord = async (data: Record<string, any>) => {
); );
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
</script> </script>

@ -126,7 +126,7 @@
import { ref, watch } from 'vue'; import { ref, watch } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { accessStrategyInlineBlacklistFind, accessStrategyInlineBlacklistSave } from '@/api/model'; import { accessStrategyInlineBlacklistFind, accessStrategyInlineBlacklistSave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { useRoute } from 'vue-router'; import { useRoute } from 'vue-router';
import { handleId, getNum, getChinese } from '@/utils/common'; import { handleId, getNum, getChinese } from '@/utils/common';
@ -238,10 +238,9 @@ const addRecord = async (data: Record<string, any>) => {
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
</script> </script>

@ -264,7 +264,7 @@
import { ref, watch } from 'vue'; import { ref, watch } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { accessStrategyEnterpriseBlacklistFind, accessStrategyEnterpriseBlacklistSave } from '@/api/model'; import { accessStrategyEnterpriseBlacklistFind, accessStrategyEnterpriseBlacklistSave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId, getNum, getSymbol, getChinese } from '@/utils/common'; import { handleId, getNum, getSymbol, getChinese } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -376,10 +376,9 @@ const addRecord = async (data: Record<string, any>) => {
} }
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
</script> </script>

@ -122,7 +122,7 @@
import { ref, watch } from 'vue'; import { ref, watch } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { accessStrategyAntiFraudStrategyFind, accessStrategyAntiFraudStrategySave } from '@/api/model'; import { accessStrategyAntiFraudStrategyFind, accessStrategyAntiFraudStrategySave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId, getNum, getSymbol, getChinese } from '@/utils/common'; import { handleId, getNum, getSymbol, getChinese } from '@/utils/common';
@ -391,10 +391,9 @@ const addRecord = async (data: Record<string, any>) => {
handleId(414, 140, data[2].ruleFourteen === '是' ? 345 : 346, preIds + ',386,414', 1), handleId(414, 140, data[2].ruleFourteen === '是' ? 345 : 346, preIds + ',386,414', 1),
); );
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
</script> </script>

@ -72,7 +72,7 @@
import { ref, computed, watch, onMounted } from 'vue'; import { ref, computed, watch, onMounted } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
import { accessStrategyNegativeIndustryStrategyFind, accessStrategyNegativeIndustryStrategySave } from '@/api/model'; import { accessStrategyNegativeIndustryStrategyFind, accessStrategyNegativeIndustryStrategySave } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
@ -213,10 +213,9 @@ const addRecord = async (data: Record<string, any>) => {
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
</script> </script>

@ -168,7 +168,7 @@
import { ref, reactive, computed, watch } from 'vue'; import { ref, reactive, computed, watch } from 'vue';
import { ElLoading, ElMessage } from 'element-plus'; import { ElLoading, ElMessage } from 'element-plus';
import { saveCredit, findCredit } from '@/api/model'; import { saveCredit, findCredit } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import type { TableColumnCtx } from 'element-plus'; import type { TableColumnCtx } from 'element-plus';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
@ -927,10 +927,9 @@ const addRecord = async () => {
}); });
} }
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: lcRule, lcJudgmentRuleReq: lcRule,
projectId,
}); });
}; };
</script> </script>

@ -56,7 +56,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage, ElLoading } from 'element-plus'; import { ElMessage, ElLoading } from 'element-plus';
import { detailRick, saveRick } from '@/api/model'; import { detailRick, saveRick } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -126,10 +126,9 @@ const addRecord = async () => {
}); });
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
</script> </script>

@ -41,7 +41,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage, ElLoading } from 'element-plus'; import { ElMessage, ElLoading } from 'element-plus';
import { detailRick, saveRick } from '@/api/model'; import { detailRick, saveRick } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -149,10 +149,9 @@ const addRecord = async () => {
]; ];
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
</script> </script>

@ -41,7 +41,7 @@
import { ref, onMounted } from 'vue'; import { ref, onMounted } from 'vue';
import { ElMessage, ElLoading } from 'element-plus'; import { ElMessage, ElLoading } from 'element-plus';
import { detailRick, saveRick } from '@/api/model'; import { detailRick, saveRick } from '@/api/model';
import { getProcessInformationBasedOnRoles, addOperation } from '@/api/judgment'; import { getProcessInformationBasedOnRoles, addOperation, getIds } from '@/api/judgment';
import { useRouter, useRoute } from 'vue-router'; import { useRouter, useRoute } from 'vue-router';
import { handleId } from '@/utils/common'; import { handleId } from '@/utils/common';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
@ -124,10 +124,9 @@ const addRecord = async () => {
]; ];
await addOperation({ await addOperation({
checkpointId: levelId, ...getIds(),
parentId: preIds, parentId: preIds,
lcJudgmentRuleReq: rule, lcJudgmentRuleReq: rule,
projectId,
}); });
}; };
</script> </script>

Loading…
Cancel
Save