|
|
|
@ -21,16 +21,18 @@ |
|
|
|
|
<div class="flex items-center"> |
|
|
|
|
<template v-if="!$index"> |
|
|
|
|
<span class="whitespace-nowrap">人脸识别匹配度</span> |
|
|
|
|
<div class="w-[90px] mx-2"> |
|
|
|
|
<el-select v-model="row.symbol"> |
|
|
|
|
<div class="w-[95px] mx-2"> |
|
|
|
|
<el-select v-model="row.symbol" |
|
|
|
|
clearable> |
|
|
|
|
<el-option v-for="item in symbols" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
|
:value="item" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<div class="w-[90px] "> |
|
|
|
|
<el-select v-model="row.num"> |
|
|
|
|
<div class="w-[95px]"> |
|
|
|
|
<el-select v-model="row.num" |
|
|
|
|
clearable> |
|
|
|
|
<el-option v-for="item in nums" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
@ -40,8 +42,9 @@ |
|
|
|
|
<span class="whitespace-nowrap ml-2">%。</span> |
|
|
|
|
</template> |
|
|
|
|
<div v-else-if="$index === 1 || $index === 2 || $index > 18" |
|
|
|
|
class="w-[90px] mx-2"> |
|
|
|
|
<el-select v-model="row.had"> |
|
|
|
|
class="w-[95px] mx-2"> |
|
|
|
|
<el-select v-model="row.had" |
|
|
|
|
clearable> |
|
|
|
|
<el-option v-for="item in have" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
@ -50,8 +53,9 @@ |
|
|
|
|
</div> |
|
|
|
|
<template v-else-if="$index === 3 || $index === 4"> |
|
|
|
|
<span class="whitespace-nowrap">在网期限:</span> |
|
|
|
|
<div class="w-[90px] "> |
|
|
|
|
<el-select v-model="row.num"> |
|
|
|
|
<div class="w-[95px] "> |
|
|
|
|
<el-select v-model="row.num" |
|
|
|
|
clearable> |
|
|
|
|
<el-option v-for="item in nums" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
@ -59,16 +63,18 @@ |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<span class="mx-2">~</span> |
|
|
|
|
<div class="w-[90px] "> |
|
|
|
|
<el-select v-model="row.num1"> |
|
|
|
|
<div class="w-[95px] "> |
|
|
|
|
<el-select v-model="row.num1" |
|
|
|
|
clearable> |
|
|
|
|
<el-option v-for="item in nums" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
|
:value="item" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<div class="w-[90px] mx-2"> |
|
|
|
|
<el-select v-model="row.unit"> |
|
|
|
|
<div class="w-[95px] mx-2"> |
|
|
|
|
<el-select v-model="row.unit" |
|
|
|
|
clearable> |
|
|
|
|
<el-option v-for="item in units" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
@ -80,6 +86,7 @@ |
|
|
|
|
<span class="whitespace-nowrap">命中:</span> |
|
|
|
|
<div class="flex-1"> |
|
|
|
|
<el-select v-if="row.recordChildren" |
|
|
|
|
clearable |
|
|
|
|
v-model="row.select"> |
|
|
|
|
<el-option v-for="item in row?.recordChildren[0]?.subject?.itemList" |
|
|
|
|
:key="item" |
|
|
|
@ -89,16 +96,18 @@ |
|
|
|
|
</template> |
|
|
|
|
<template v-else-if="$index > 13 && $index < 19"> |
|
|
|
|
<span class="whitespace-nowrap">关联人数</span> |
|
|
|
|
<div class="w-[90px] mx-2"> |
|
|
|
|
<el-select v-model="row.symbol"> |
|
|
|
|
<div class="w-[95px] mx-2"> |
|
|
|
|
<el-select v-model="row.symbol" |
|
|
|
|
clearable> |
|
|
|
|
<el-option v-for="item in symbols" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
|
:value="item" /> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<div class="w-[90px] "> |
|
|
|
|
<el-select v-model="row.num"> |
|
|
|
|
<div class="w-[95px] "> |
|
|
|
|
<el-select v-model="row.num" |
|
|
|
|
clearable> |
|
|
|
|
<el-option v-for="item in nums" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
@ -154,10 +163,10 @@ const getConfig = async () => { |
|
|
|
|
stRecordId: e.id, |
|
|
|
|
ruleId: e?.recordChildren[0].id, |
|
|
|
|
rule: e?.recordChildren[0].name, |
|
|
|
|
symbol: symbol || '>=', |
|
|
|
|
num: num || 2, |
|
|
|
|
symbol: symbol || '', |
|
|
|
|
num: num || '', |
|
|
|
|
num1: '', |
|
|
|
|
had: '否', |
|
|
|
|
had: '', |
|
|
|
|
select: cur?.ruleOne || '', |
|
|
|
|
unit: '', |
|
|
|
|
}; |
|
|
|
@ -170,27 +179,27 @@ const getConfig = async () => { |
|
|
|
|
temp.ruleId = n.id; |
|
|
|
|
temp.rule = n.name; |
|
|
|
|
if (n.id === 388) { |
|
|
|
|
temp.had = cur?.ruleTwo || '否'; |
|
|
|
|
temp.had = cur?.ruleTwo || ''; |
|
|
|
|
} else if (n.id === 389) { |
|
|
|
|
temp.had = cur?.ruleThree || '否'; |
|
|
|
|
temp.had = cur?.ruleThree || ''; |
|
|
|
|
} else if (n.id === 406) { |
|
|
|
|
temp.had = cur?.ruleSix || '否'; |
|
|
|
|
temp.had = cur?.ruleSix || ''; |
|
|
|
|
} else if (n.id === 407) { |
|
|
|
|
temp.had = cur?.ruleSeven || '否'; |
|
|
|
|
temp.had = cur?.ruleSeven || ''; |
|
|
|
|
} else if (n.id === 408) { |
|
|
|
|
temp.had = cur?.ruleEight || '否'; |
|
|
|
|
temp.had = cur?.ruleEight || ''; |
|
|
|
|
} else if (n.id === 409) { |
|
|
|
|
temp.had = cur?.ruleNine || '否'; |
|
|
|
|
temp.had = cur?.ruleNine || ''; |
|
|
|
|
} else if (n.id === 410) { |
|
|
|
|
temp.had = cur?.ruleTen || '否'; |
|
|
|
|
temp.had = cur?.ruleTen || ''; |
|
|
|
|
} else if (n.id === 411) { |
|
|
|
|
temp.had = cur?.ruleEleven || '否'; |
|
|
|
|
temp.had = cur?.ruleEleven || ''; |
|
|
|
|
} else if (n.id === 412) { |
|
|
|
|
temp.had = cur?.ruleTwelve || '否'; |
|
|
|
|
temp.had = cur?.ruleTwelve || ''; |
|
|
|
|
} else if (n.id === 413) { |
|
|
|
|
temp.had = cur?.ruleThirteen || '否'; |
|
|
|
|
temp.had = cur?.ruleThirteen || ''; |
|
|
|
|
} else if (n.id === 414) { |
|
|
|
|
temp.had = cur?.ruleFourteen || '否'; |
|
|
|
|
temp.had = cur?.ruleFourteen || ''; |
|
|
|
|
} else if (e.id === 385) { |
|
|
|
|
// 人脸反欺诈 |
|
|
|
|
if (n.id === 393) { |
|
|
|
@ -221,20 +230,20 @@ const getConfig = async () => { |
|
|
|
|
temp.num1 = getNum(arr[1]) || ''; |
|
|
|
|
temp.unit = getChinese(arr[1]) || ''; |
|
|
|
|
} else if (n.id === 401) { |
|
|
|
|
temp.symbol = getSymbol(cur?.ruleOne) || '>='; |
|
|
|
|
temp.num = getNum(cur?.ruleOne) || 2; |
|
|
|
|
temp.symbol = getSymbol(cur?.ruleOne) || ''; |
|
|
|
|
temp.num = getNum(cur?.ruleOne) || ''; |
|
|
|
|
} else if (n.id === 402) { |
|
|
|
|
temp.symbol = getSymbol(cur?.ruleTwo) || '>='; |
|
|
|
|
temp.num = getNum(cur?.ruleTwo) || 2; |
|
|
|
|
temp.symbol = getSymbol(cur?.ruleTwo) || ''; |
|
|
|
|
temp.num = getNum(cur?.ruleTwo) || ''; |
|
|
|
|
} else if (n.id === 403) { |
|
|
|
|
temp.symbol = getSymbol(cur?.ruleThree) || '>='; |
|
|
|
|
temp.num = getNum(cur?.ruleThree) || 2; |
|
|
|
|
temp.symbol = getSymbol(cur?.ruleThree) || ''; |
|
|
|
|
temp.num = getNum(cur?.ruleThree) || ''; |
|
|
|
|
} else if (n.id === 404) { |
|
|
|
|
temp.symbol = getSymbol(cur?.ruleFour) || '>='; |
|
|
|
|
temp.num = getNum(cur?.ruleFour) || 2; |
|
|
|
|
temp.symbol = getSymbol(cur?.ruleFour) || ''; |
|
|
|
|
temp.num = getNum(cur?.ruleFour) || ''; |
|
|
|
|
} else if (n.id === 405) { |
|
|
|
|
temp.symbol = getSymbol(cur?.ruleFive) || '>='; |
|
|
|
|
temp.num = getNum(cur?.ruleFive) || 2; |
|
|
|
|
temp.symbol = getSymbol(cur?.ruleFive) || ''; |
|
|
|
|
temp.num = getNum(cur?.ruleFive) || ''; |
|
|
|
|
} |
|
|
|
|
result.push(temp); |
|
|
|
|
} |
|
|
|
|