判分修复

V0.1
yujialong 10 months ago
parent 311e3ab561
commit f05785d785
  1. 224
      package-lock.json
  2. 14
      src/views/product/bank/Config.vue
  3. 54
      src/views/product/interestRate/936.vue
  4. 15
      src/views/product/strategy/152.vue
  5. 4
      src/views/product/strategy/153.vue
  6. 6
      src/views/product/strategy/155.vue
  7. 2
      src/views/product/strategy/Credit.vue

224
package-lock.json generated

@ -563,6 +563,7 @@
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.2.31.tgz",
"integrity": "sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==",
"dev": true,
"requires": {
"@babel/parser": "^7.16.4",
"@vue/shared": "3.2.31",
@ -574,35 +575,90 @@
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.2.31.tgz",
"integrity": "sha512-60zIlFfzIDf3u91cqfqy9KhCKIJgPeqxgveH2L+87RcGU/alT6BRrk5JtUso0OibH3O7NXuNOQ0cDc9beT0wrg==",
"dev": true,
"requires": {
"@vue/compiler-core": "3.2.31",
"@vue/shared": "3.2.31"
}
},
"@vue/compiler-sfc": {
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.2.31.tgz",
"integrity": "sha512-748adc9msSPGzXgibHiO6T7RWgfnDcVQD+VVwYgSsyyY8Ans64tALHZANrKtOzvkwznV/F4H7OAod/jIlp/dkQ==",
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.25.tgz",
"integrity": "sha512-PminuOYIcFI7UZn+mdy2OPbogyAb0IHkVuqwmLDJiSRFhc/QAXQnO9KdS4nez3bQ9XlQmoAveQzcZuekHzdb5w==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.31",
"@vue/compiler-dom": "3.2.31",
"@vue/compiler-ssr": "3.2.31",
"@vue/reactivity-transform": "3.2.31",
"@vue/shared": "3.2.31",
"@vue/compiler-core": "3.2.25",
"@vue/compiler-dom": "3.2.25",
"@vue/compiler-ssr": "3.2.25",
"@vue/reactivity-transform": "3.2.25",
"@vue/shared": "3.2.25",
"estree-walker": "^2.0.2",
"magic-string": "^0.25.7",
"postcss": "^8.1.10",
"source-map": "^0.6.1"
},
"dependencies": {
"@vue/compiler-core": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.25.tgz",
"integrity": "sha512-FlffKezIqztTCTyG0klkYRwhdyL6b1PTTCIerPb4p2R9qQaczccTX5g9ysi9w6tpLQ48a1WiXnFDJhWD7XoqwA==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/shared": "3.2.25",
"estree-walker": "^2.0.2",
"source-map": "^0.6.1"
}
},
"@vue/compiler-dom": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.25.tgz",
"integrity": "sha512-4JrburkRg4VWbc8AKpzKFWbNY4MDXshqjFl53+vINq7zaw3Z7aSqnLv0EkKh8B8ynf/MYsAdygGutyVbEWYxOw==",
"requires": {
"@vue/compiler-core": "3.2.25",
"@vue/shared": "3.2.25"
}
},
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
}
}
},
"@vue/compiler-ssr": {
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.2.31.tgz",
"integrity": "sha512-mjN0rqig+A8TVDnsGPYJM5dpbjlXeHUm2oZHZwGyMYiGT/F4fhJf/cXy8QpjnLQK4Y9Et4GWzHn9PS8AHUnSkw==",
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.25.tgz",
"integrity": "sha512-+BAl8U5D3JkGR6086PFx1BQQ5km3z9fT88hy/7lzf8i3vEDdPQodadnX2t6tndFjIux05MEKg43DeocOojT0mw==",
"requires": {
"@vue/compiler-dom": "3.2.31",
"@vue/shared": "3.2.31"
"@vue/compiler-dom": "3.2.25",
"@vue/shared": "3.2.25"
},
"dependencies": {
"@vue/compiler-core": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.25.tgz",
"integrity": "sha512-FlffKezIqztTCTyG0klkYRwhdyL6b1PTTCIerPb4p2R9qQaczccTX5g9ysi9w6tpLQ48a1WiXnFDJhWD7XoqwA==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/shared": "3.2.25",
"estree-walker": "^2.0.2",
"source-map": "^0.6.1"
}
},
"@vue/compiler-dom": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.25.tgz",
"integrity": "sha512-4JrburkRg4VWbc8AKpzKFWbNY4MDXshqjFl53+vINq7zaw3Z7aSqnLv0EkKh8B8ynf/MYsAdygGutyVbEWYxOw==",
"requires": {
"@vue/compiler-core": "3.2.25",
"@vue/shared": "3.2.25"
}
},
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
}
}
},
"@vue/devtools-api": {
@ -632,54 +688,103 @@
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.2.31.tgz",
"integrity": "sha512-HVr0l211gbhpEKYr2hYe7hRsV91uIVGFYNHj73njbARVGHQvIojkImKMaZNDdoDZOIkMsBc9a1sMqR+WZwfSCw==",
"dev": true,
"requires": {
"@vue/shared": "3.2.31"
}
},
"@vue/reactivity-transform": {
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/@vue/reactivity-transform/-/reactivity-transform-3.2.31.tgz",
"integrity": "sha512-uS4l4z/W7wXdI+Va5pgVxBJ345wyGFKvpPYtdSgvfJfX/x2Ymm6ophQlXXB6acqGHtXuBqNyyO3zVp9b1r0MOA==",
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.25.tgz",
"integrity": "sha512-fOiW67PUalicMfMr4Sc9l8mUtkN7ZD+G1/zJV8blzQ8GEZSeRcJm11gqve6Ps623ju5YORu7V/Q1gZoOJ9WO4g==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.31",
"@vue/shared": "3.2.31",
"@vue/compiler-core": "3.2.25",
"@vue/shared": "3.2.25",
"estree-walker": "^2.0.2",
"magic-string": "^0.25.7"
},
"dependencies": {
"@vue/compiler-core": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.25.tgz",
"integrity": "sha512-FlffKezIqztTCTyG0klkYRwhdyL6b1PTTCIerPb4p2R9qQaczccTX5g9ysi9w6tpLQ48a1WiXnFDJhWD7XoqwA==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/shared": "3.2.25",
"estree-walker": "^2.0.2",
"source-map": "^0.6.1"
}
},
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
}
}
},
"@vue/runtime-core": {
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/@vue/runtime-core/-/runtime-core-3.2.31.tgz",
"integrity": "sha512-Kcog5XmSY7VHFEMuk4+Gap8gUssYMZ2+w+cmGI6OpZWYOEIcbE0TPzzPHi+8XTzAgx1w/ZxDFcXhZeXN5eKWsA==",
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.25.tgz",
"integrity": "sha512-2+fo5+lofT4xr8W2rtjyz+AM+UB1U/UNLH6ISFdHWNWuveSWxF+vkCQaATmhp6O3XA7QJAbHoRqIZor20EWSfQ==",
"requires": {
"@vue/reactivity": "3.2.31",
"@vue/shared": "3.2.31"
"@vue/reactivity": "3.2.25",
"@vue/shared": "3.2.25"
},
"dependencies": {
"@vue/reactivity": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.25.tgz",
"integrity": "sha512-Dxc/u/dxoneIDqyfmuwPVBR0G3OQJqe3Dtz4z3NGt+CGj4UuOZQfN5raJPmp6xGYgrtC6PAWoCgHhyrgr1qCtg==",
"requires": {
"@vue/shared": "3.2.25"
}
},
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
}
}
},
"@vue/runtime-dom": {
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.2.31.tgz",
"integrity": "sha512-N+o0sICVLScUjfLG7u9u5XCjvmsexAiPt17GNnaWHJUfsKed5e85/A3SWgKxzlxx2SW/Hw7RQxzxbXez9PtY3g==",
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.25.tgz",
"integrity": "sha512-3gGeyHnygn4yG6bssRKhQIxnE8vgB8FtYUUwoYoA/Pm0vZ+bGPoZax4TbtZD9eW9rvs8CY8boNp4t/sJaPJrRQ==",
"requires": {
"@vue/runtime-core": "3.2.31",
"@vue/shared": "3.2.31",
"@vue/runtime-core": "3.2.25",
"@vue/shared": "3.2.25",
"csstype": "^2.6.8"
},
"dependencies": {
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
}
}
},
"@vue/server-renderer": {
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.2.31.tgz",
"integrity": "sha512-8CN3Zj2HyR2LQQBHZ61HexF5NReqngLT3oahyiVRfSSvak+oAvVmu8iNLSu6XR77Ili2AOpnAt1y8ywjjqtmkg==",
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.25.tgz",
"integrity": "sha512-qFRmcyeyyhWbnTPn6cbCZ4bjeuPLSkUpFa98p4LEJtFBFbxjGnrHXHOjYxCY3Lznmxe0kMM3qG4t3GnjcXP12w==",
"requires": {
"@vue/compiler-ssr": "3.2.31",
"@vue/shared": "3.2.31"
"@vue/compiler-ssr": "3.2.25",
"@vue/shared": "3.2.25"
},
"dependencies": {
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
}
}
},
"@vue/shared": {
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/@vue/shared/-/shared-3.2.31.tgz",
"integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ=="
"integrity": "sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==",
"dev": true
},
"@vueup/vue-quill": {
"version": "1.2.0",
@ -1349,9 +1454,9 @@
"integrity": "sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw=="
},
"csstype": {
"version": "2.6.19",
"resolved": "https://registry.npmmirror.com/csstype/-/csstype-2.6.19.tgz",
"integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ=="
"version": "2.6.21",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.21.tgz",
"integrity": "sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w=="
},
"dateformat": {
"version": "2.2.0",
@ -5633,15 +5738,42 @@
}
},
"vue": {
"version": "3.2.31",
"resolved": "https://registry.npmmirror.com/vue/-/vue-3.2.31.tgz",
"integrity": "sha512-odT3W2tcffTiQCy57nOT93INw1auq5lYLLYtWpPYQQYQOOdHiqFct9Xhna6GJ+pJQaF67yZABraH47oywkJgFw==",
"requires": {
"@vue/compiler-dom": "3.2.31",
"@vue/compiler-sfc": "3.2.31",
"@vue/runtime-dom": "3.2.31",
"@vue/server-renderer": "3.2.31",
"@vue/shared": "3.2.31"
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/vue/-/vue-3.2.25.tgz",
"integrity": "sha512-jU3t7fyQDHoCWCqhmRrnSmYZvHC35tOJTP704di7HGfq5EcFA1cU/1ZPjUV1eCxJev65Khjyfni+vk9oa+eTtw==",
"requires": {
"@vue/compiler-dom": "3.2.25",
"@vue/compiler-sfc": "3.2.25",
"@vue/runtime-dom": "3.2.25",
"@vue/server-renderer": "3.2.25",
"@vue/shared": "3.2.25"
},
"dependencies": {
"@vue/compiler-core": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.25.tgz",
"integrity": "sha512-FlffKezIqztTCTyG0klkYRwhdyL6b1PTTCIerPb4p2R9qQaczccTX5g9ysi9w6tpLQ48a1WiXnFDJhWD7XoqwA==",
"requires": {
"@babel/parser": "^7.16.4",
"@vue/shared": "3.2.25",
"estree-walker": "^2.0.2",
"source-map": "^0.6.1"
}
},
"@vue/compiler-dom": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.25.tgz",
"integrity": "sha512-4JrburkRg4VWbc8AKpzKFWbNY4MDXshqjFl53+vINq7zaw3Z7aSqnLv0EkKh8B8ynf/MYsAdygGutyVbEWYxOw==",
"requires": {
"@vue/compiler-core": "3.2.25",
"@vue/shared": "3.2.25"
}
},
"@vue/shared": {
"version": "3.2.25",
"resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.25.tgz",
"integrity": "sha512-DkHJFV2gw9WBRmUCa21eyG0WvlF0l1QFOgTkWj29O4mt2Tv3BSE5PQOKhUruZIym4bBYCqx9ZGtoD1WohDprow=="
}
}
},
"vue-demi": {

@ -219,12 +219,12 @@
<el-form-item label="审查内容"
prop="reviewContent">
<el-radio v-model="form.reviewContent"
:label="114">所有基本材料</el-radio>
:label="261">所有基本信息</el-radio>
</el-form-item>
<el-form-item label="审查签字"
prop="reviewSignature">
<el-radio v-model="form.reviewSignature"
:label="115">用信调查申报表</el-radio>
:label="262">用信调查申报表</el-radio>
</el-form-item>
</div>
<div class="step">
@ -232,12 +232,12 @@
<el-form-item label="审批内容"
prop="reviewApproveContent">
<el-radio v-model="form.reviewApproveContent"
:label="116">以上所有材料</el-radio>
:label="263">以上所有材料</el-radio>
</el-form-item>
<el-form-item label="审批签字"
prop="approvalSignature">
<el-radio v-model="form.approvalSignature"
:label="117">用信调查申报表</el-radio>
:label="264">用信调查申报表</el-radio>
</el-form-item>
</div>
<div class="step">
@ -544,15 +544,15 @@ const addRecord = async (data: Record<string, any>) => {
data.accountMaterials && lcRule.push(handleId(120, 44, data.accountMaterials, preIds + ',112,120', 1));
data.sendingAccount && lcRule.push(handleId(121, 45, 162, preIds + ',112,121', 1));
data.loanApplicationMethod && lcRule.push(handleId(122, 46, data.loanApplicationMethod, preIds + ',113,122', 1));
data.enterpriseMaterial && lcRule.push(handleId(124, 48, data.enterpriseMaterial, preIds + ',113,124', 1));
const borrowerMaterial = [];
form.borrowerMaterial.forEach((e) => {
e != 316 && borrowerMaterial.push(e);
});
borrowerMaterial && lcRule.push(handleId(316, 47, borrowerMaterial.join(), preIds + ',113,123,316', 1));
borrowerMaterial.length && lcRule.push(handleId(316, 47, borrowerMaterial.join(), preIds + ',113,123,316', 1));
data.borrowerMaterialSelect && lcRule.push(handleId(317, 149, data.borrowerMaterialSelect, preIds + ',113,123,317', 1));
data.collateral && lcRule.push(handleId(124, 48, data.collateral, preIds + ',113,124', 1));
data.businessMaterials && lcRule.push(handleId(125, 49, data.businessMaterials, preIds + ',113,125', 1));
data.collateral && lcRule.push(handleId(125, 49, data.collateral, preIds + ',113,125', 1));
data.supplementaryMaterials && lcRule.push(handleId(126, 50, data.supplementaryMaterials, preIds + ',113,126', 1));
data.runBatchObject && lcRule.push(handleId(127, 51, data.runBatchObject, preIds + ',114,127', 1));
data.accessStrategy && lcRule.push(handleId(128, 52, data.accessStrategy, preIds + ',114,128', 1));

@ -13,8 +13,7 @@
label="指标名称"
min-width="100"
align="center"></el-table-column>
<el-table-column prop="indexName"
label="计算公式"
<el-table-column label="计算公式"
min-width="100"
align="center">
<template #default="{ row }">
@ -25,6 +24,7 @@
:key="item"
:value="item.options" />
</el-select>
<span v-else-if="!row.stRecordId">{{ row.formula }}</span>
<span v-else>--</span>
</template>
</el-table-column>
@ -34,8 +34,13 @@
align="center"></el-table-column>
<el-table-column label="浮动系数"
min-width="150">
<template #default="{ row }">
<el-select class="w-full"
<template #default="{ row, $index }">
<span v-if="$index === 51">以上分值合计</span>
<el-input v-else-if="$index === 52 || $index === 53"
placeholder="请输入"
v-model="row.floatingCoefficient"></el-input>
<el-select v-else
class="w-full"
v-model="row.floatingCoefficient">
<el-option v-for="item in row?.subject?.itemList"
:key="item"
@ -155,6 +160,29 @@ const getConfig = async () => {
}
});
});
result.push(
{
indexId: info.value[10]?.indexId || '',
modelId: info.value[10]?.modelId || '',
indexName: '建议浮动比例',
formula: ' =起始浮动比例+增减分值 且 不超过最高浮动比例',
floatingCoefficient: '',
},
{
indexId: info.value[11]?.indexId || '',
modelId: info.value[11]?.modelId || '',
indexName: '最低浮动比例',
formula: '--',
floatingCoefficient: info.value[11]?.corporateInterestRateModels[0]?.floatingCoefficient || '',
},
{
indexId: info.value[12]?.indexId || '',
modelId: info.value[12]?.modelId || '',
indexName: '最高浮动比例',
formula: '--',
floatingCoefficient: info.value[12]?.corporateInterestRateModels[0]?.floatingCoefficient || '',
},
);
form.value.corporateInterestRateModelIndicators = result;
loading.close();
};
@ -183,6 +211,7 @@ interface SpanMethodProps {
}
const rowMerge1 = [0, 16];
const rowMerge2 = [11, 20, 25, 30, 35, 40];
const rowMerge3 = [51, 52, 53];
//
const span = ({ row, column, rowIndex, columnIndex }: SpanMethodProps) => {
if (!columnIndex || columnIndex === 1) {
@ -196,6 +225,18 @@ const span = ({ row, column, rowIndex, columnIndex }: SpanMethodProps) => {
rowspan: 5,
colspan: 1,
};
} else if (rowMerge3.includes(rowIndex)) {
if (columnIndex === 1) {
return {
rowspan: 1,
colspan: 2,
};
} else if (columnIndex !== 2) {
return {
rowspan: 1,
colspan: 1,
};
}
} else if (rowIndex === 4) {
return {
rowspan: 7,
@ -212,6 +253,11 @@ const span = ({ row, column, rowIndex, columnIndex }: SpanMethodProps) => {
colspan: 0,
};
}
} else if (rowMerge3.includes(rowIndex) && columnIndex === 2) {
return {
rowspan: 0,
colspan: 0,
};
}
};

@ -417,14 +417,14 @@ const addRecord = async (data: Record<string, any>) => {
handleId(326, 152, data[0].ruleThree, preIds + ',318,326', 5),
handleId(327, 153, data[0].ruleFour, preIds + ',318,327', 5),
handleId(353, 154, data[1].ruleOne, preIds + ',320,353', 5),
handleId(353, 154, form.value[14].symbol + form.value[14].num, preIds + ',320,338,353', 5),
];
form.value[14].had && rule.push(handleId(354, 155, form.value[14].had === '有商品房' ? 353 : 354, preIds + ',320,354', 1));
form.value[14].had && rule.push(handleId(354, 155, form.value[14].had === '有商品房' ? 353 : 354, preIds + ',320,338,354', 1));
rule.push(
handleId(355, 156, form.value[15].num + form.value[15].symbol, preIds + ',320,355', 5),
handleId(356, 157, form.value[15].symbol1 + form.value[15].num1, preIds + ',320,356', 5),
handleId(355, 156, form.value[15].num + form.value[15].symbol, preIds + ',320,339,355', 5),
handleId(356, 157, form.value[15].symbol1 + form.value[15].num1, preIds + ',320,339,356', 5),
);
form.value[15].had && rule.push(handleId(357, 155, form.value[15].had === '有商品房' ? 353 : 354, preIds + ',320,357', 1));
form.value[15].had && rule.push(handleId(357, 155, form.value[15].had === '有商品房' ? 353 : 354, preIds + ',320,339,357', 1));
data[2].ruleOne && rule.push(handleId(342, 158, data[2].ruleOne === '拒绝' ? 355 : 356, preIds + ',322,342', 1));
rule.push(
handleId(344, 159, data[2].ruleTwo, preIds + ',322,344', 5),
@ -433,8 +433,9 @@ const addRecord = async (data: Record<string, any>) => {
handleId(347, 162, data[2].ruleFive, preIds + ',322,347', 5),
handleId(348, 163, data[2].ruleSix, preIds + ',322,348', 5),
handleId(349, 164, data[2].ruleSeven, preIds + ',322,349', 5),
handleId(350, 165, data[2].ruleEight, preIds + ',322,350', 5),
handleId(351, 166, data[2].ruleNine, preIds + ',322,351', 5),
handleId(355, 156, form.value[26].num + form.value[26].symbol, preIds + ',322,350,355', 5),
handleId(356, 157, form.value[26].symbol1 + form.value[26].num1, preIds + ',322,350,356', 5),
handleId(351, 165, data[2].ruleNine, preIds + ',322,351', 5),
);
await addOperation({

@ -229,9 +229,9 @@ const addRecord = async (data: Record<string, any>) => {
data.map((e) => {
e.enterBlacklist && rule.push(handleId(363, '', '', preIds + ',' + e.stRecordId + ',363', ''));
rule.push(handleId(367, 166, e.enterRuleOne, preIds + ',' + e.stRecordId + ',367', 5), handleId(368, 167, e.enterRuleTwo, preIds + ',' + e.stRecordId + ',368', 5));
rule.push(handleId(367, 166, e.enterRuleOne, preIds + ',' + e.stRecordId + ',364,367', 5), handleId(368, 167, e.enterRuleTwo, preIds + ',' + e.stRecordId + ',364,368', 5));
e.outBlacklist && rule.push(handleId(365, '', '', preIds + ',' + e.stRecordId + ',365', ''));
rule.push(handleId(367, 166, e.outRuleOne, preIds + ',' + e.stRecordId + ',367', 5), handleId(368, 167, e.outRuleTwo, preIds + ',' + e.stRecordId + ',368', 5));
rule.push(handleId(367, 166, e.outRuleOne, preIds + ',' + e.stRecordId + ',366,367', 5), handleId(368, 167, e.outRuleTwo, preIds + ',' + e.stRecordId + ',366,368', 5));
});
await addOperation({

@ -356,7 +356,7 @@ const getName = (str: string): string | number => {
const addRecord = async (data: Record<string, any>) => {
const preIds = `1,${Cookies.get('sand-level')},42,67,147,155`; // 1id
const rule: Array<Record<string, any>> = [
handleId(387, 150, data[0].ruleOne, preIds + ',384,387', 5),
handleId(387, 181, data[0].ruleOne, preIds + ',384,387', 5),
handleId(388, 140, data[0].ruleTwo === '是' ? 345 : 346, preIds + ',384,388', 1),
handleId(389, 140, data[0].ruleThree === '是' ? 345 : 346, preIds + ',384,389', 1),
handleId(390, 187, data[0].ruleFour, preIds + ',384,390', 5),
@ -376,8 +376,8 @@ const addRecord = async (data: Record<string, any>) => {
handleId(401, 182, data[2].ruleOne, preIds + ',386,401', 5),
handleId(402, 183, data[2].ruleTwo, preIds + ',386,402', 5),
handleId(403, 184, data[2].ruleThree, preIds + ',386,403', 5),
handleId(404, 161, data[2].ruleFour, preIds + ',386,404', 5),
handleId(405, 162, data[2].ruleFive, preIds + ',386,405', 5),
handleId(404, 185, data[2].ruleFour, preIds + ',386,404', 5),
handleId(405, 186, data[2].ruleFive, preIds + ',386,405', 5),
handleId(406, 140, data[2].ruleSix === '是' ? 345 : 346, preIds + ',386,406', 1),
handleId(407, 140, data[2].ruleSeven === '是' ? 345 : 346, preIds + ',386,407', 1),

@ -806,7 +806,7 @@ const addRecord = async () => {
const isEnterprise = form.scoringObject;
const preIds = `1,${Cookies.get('sand-level')},42,67,148,${form.scoringObject ? 513 : 512}`; // 1id/512/513
const lcRule: Array<Record<string, any>> = [handleId(514, 190, form.scoreCardName, preIds + ',514', 3), handleId(515, 191, form.scoringObject ? 392 : 391, preIds + ',515', 1)];
form.description && lcRule.push(handleId(516, 192, '94,' + form.description, preIds + ',516', 3));
form.description && lcRule.push(handleId(516, 192, form.description, preIds + ',516', 3));
//
if (isEnterprise) {

Loading…
Cancel
Save