@@ -172,31 +173,6 @@ watch(
immediate: true,
},
);
-// 提交
-const submit = async () => {
- try {
- const param = JSON.parse(JSON.stringify(form));
-
- if (!param.insuranceName) return ElMessage.error('请输入保险名称');
- param.insuranceDeadline = param.insuranceDeadline + param.insuranceDeadlineUnit;
- config.value[form.insuranceType === 310 ? 0 : 1]?.recordChildren[2]?.recordChildren.map((e) => {
- e.check &&
- e.sumInsured &&
- param.insuranceCoverageConfigList.push({
- insuredLiabilityId: e.id,
- sumInsured: +e.sumInsured,
- });
- });
- if (param.premiumAmount && !isNaN(param.premiumAmount)) param.premiumAmount = Number(param.premiumAmount).toFixed(2);
- param.applicationMaterial = param.applicationMaterial.join();
- param.exemptionFromLiability = param.exemptionFromLiability.join();
- await addInsuranceProducts(param);
- addRecord(param);
- ElMessage.success('提交成功!');
- emit('getList', 1);
- } finally {
- }
-};
// 新增判分记录
const addRecord = async (data: Record
) => {
const preIds = `1,${Cookies.get('sand-level')},275,${data.insuranceType === 310 ? 276 : 277}`; // 1,关卡id,角色(这个页面是保险产品经理新增产品)
@@ -232,6 +208,31 @@ const addRecord = async (data: Record) => {
projectId,
});
};
+// 提交
+const submit = async () => {
+ try {
+ const param = JSON.parse(JSON.stringify(form));
+
+ if (!param.insuranceName) return ElMessage.error('请输入保险名称');
+ param.insuranceDeadline = param.insuranceDeadline + param.insuranceDeadlineUnit;
+ config.value[form.insuranceType === 310 ? 0 : 1]?.recordChildren[2]?.recordChildren.map((e) => {
+ e.check &&
+ e.sumInsured &&
+ param.insuranceCoverageConfigList.push({
+ insuredLiabilityId: e.id,
+ sumInsured: +e.sumInsured,
+ });
+ });
+ if (param.premiumAmount && !isNaN(param.premiumAmount)) param.premiumAmount = Number(param.premiumAmount).toFixed(2);
+ param.applicationMaterial = param.applicationMaterial.join();
+ param.exemptionFromLiability = param.exemptionFromLiability.join();
+ await addInsuranceProducts(param);
+ addRecord(param);
+ ElMessage.success('提交成功!');
+ emit('getList', 1);
+ } finally {
+ }
+};
onMounted(() => {
getConfig();
});
diff --git a/src/views/product/interestRate/772.vue b/src/views/product/interestRate/772.vue
index 093c196..c7044a0 100644
--- a/src/views/product/interestRate/772.vue
+++ b/src/views/product/interestRate/772.vue
@@ -39,6 +39,7 @@
-
-
-
-
-
-
-
-
{{ row?.recordChildren[row.span ? 1 : 0]?.name }}
-
-
-
-
-
-
-
万元
-
-
-
-
- 且近一年
-
-
-
-
-
-
- 缴纳过社保或公积金
-
-
- 未婚,且年龄
+
+
+
+
+
+
+
+
+
{{ row?.recordChildren[row.span ? 1 : 0]?.name }}
@@ -60,63 +33,92 @@
-
,
-
-
-
-
-
固定资产
-
-
- {{ '命中' + row.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
万元
+
+
+
+
+ 且近一年
+
+
+
+
+
+
+ 缴纳过社保或公积金
+
+
+ 未婚,且年龄
+
+
+
+
+
+
+ ,
+
+
+
+
+ 固定资产
+
+
+ {{ '命中' + row.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
确认完成配置
diff --git a/src/views/product/strategy/151.vue b/src/views/product/strategy/151.vue
index 23fc7a3..13f66af 100644
--- a/src/views/product/strategy/151.vue
+++ b/src/views/product/strategy/151.vue
@@ -2,6 +2,7 @@
- 评级卡名称
+ 评分卡名称
@@ -22,6 +22,7 @@
:key="1"
:data="list1"
:span-method="span1"
+ :cell-style="{background:'#fff'}"
border>