|
...
|
...
|
@@ -230,7 +230,9 @@ |
|
|
|
<template #default="{ row }">
|
|
|
|
<el-button
|
|
|
|
v-show="
|
|
|
|
row.policyStatus === '已作废' || row.policyStatus === '已办结'
|
|
|
|
row.policyStatus === '已作废' ||
|
|
|
|
row.policyStatus === '已办结' ||
|
|
|
|
row.policyStatus === '已退回'
|
|
|
|
"
|
|
|
|
type="primary"
|
|
|
|
@click="queryRemark(row)"
|
|
...
|
...
|
@@ -560,7 +562,6 @@ function reset() { |
|
|
|
const queryRemark = async (row) => {
|
|
|
|
const { data } = await getCarDetail(row.businessKey);
|
|
|
|
form.value = data;
|
|
|
|
isCustom.value = data.isCustomizeBrandAndModel == "0";
|
|
|
|
if (row.policyStatus === "已作废") {
|
|
|
|
labelTitle.value = "作废备注";
|
|
|
|
const { data } = await queryDefeatContent({
|
|
...
|
...
|
@@ -569,7 +570,7 @@ const queryRemark = async (row) => { |
|
|
|
});
|
|
|
|
form.value.comment = data.message;
|
|
|
|
open.value = true;
|
|
|
|
} else {
|
|
|
|
} else if (row.policyStatus === "已办结") {
|
|
|
|
queryResult({ processInstanceId: row.processInstanceId }).then((res) => {
|
|
|
|
form.value.commercialInsurancePolicyNumber =
|
|
|
|
res?.data?.commercialInsurancePolicyNumber;
|
|
...
|
...
|
@@ -578,6 +579,14 @@ const queryRemark = async (row) => { |
|
|
|
form.value.comment = res?.data?.message;
|
|
|
|
open.value = true;
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
labelTitle.value = "退回原因";
|
|
|
|
const { data } = await queryDefeatContent({
|
|
|
|
processInstanceId: row.processInstanceId,
|
|
|
|
type: 1,
|
|
|
|
});
|
|
|
|
form.value.comment = data.message;
|
|
|
|
open.value = true;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
...
|
...
|
|