|
@@ -25,13 +25,19 @@
|
|
|
</el-dropdown-menu>
|
|
</el-dropdown-menu>
|
|
|
</template>
|
|
</template>
|
|
|
</el-dropdown>
|
|
</el-dropdown>
|
|
|
|
|
+ <span class="col-108 ">
|
|
|
|
|
+ 已选: <span class="text-red">{{ sysUpAndDownList.length }}</span> 条
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #costDescribe="{ data, bodyCell }">
|
|
|
|
|
+ <div class="whitespace-normal">{{ data.costDescribe }}</div>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-slot:operation="scope">
|
|
<template v-slot:operation="scope">
|
|
|
<el-button v-if="scope.operationData.auditStatus == '0'" type="primary" link
|
|
<el-button v-if="scope.operationData.auditStatus == '0'" type="primary" link
|
|
|
@click="agreemenUpdate(scope.operationData.id)"> 审核
|
|
@click="agreemenUpdate(scope.operationData.id)"> 审核
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- <el-button v-if="scope.operationData.auditStatus == '2' || scope.operationData.auditStatus == '1'" type="primary" link
|
|
|
|
|
- @click="agreemenUpdate(scope.operationData.id)"> 详情
|
|
|
|
|
|
|
+ <el-button v-if="scope.operationData.auditStatus == '2' || scope.operationData.auditStatus == '1'"
|
|
|
|
|
+ type="primary" link @click="agreemenUpdate(scope.operationData.id)"> 详情
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</ComplexTable>
|
|
</ComplexTable>
|
|
@@ -65,12 +71,22 @@ onBeforeMount(async () => {
|
|
|
findpage(0);//列表数据
|
|
findpage(0);//列表数据
|
|
|
findpage(1);//列表数据
|
|
findpage(1);//列表数据
|
|
|
findpage(2);//列表数据
|
|
findpage(2);//列表数据
|
|
|
|
|
+ getAgreement();//获取协议列表
|
|
|
|
|
+ initCompany();//保险公司列表
|
|
|
valid_status.value = getDict('valid_status');//生效状态
|
|
valid_status.value = getDict('valid_status');//生效状态
|
|
|
is_enable.value = getDict('is_enable');//协议状态
|
|
is_enable.value = getDict('is_enable');//协议状态
|
|
|
insurance_type.value = getDict('insurance_type')
|
|
insurance_type.value = getDict('insurance_type')
|
|
|
audit_status.value = getDict('audit_status')
|
|
audit_status.value = getDict('audit_status')
|
|
|
|
|
|
|
|
});
|
|
});
|
|
|
|
|
+const agreementListALL = ref();//全部协议列表
|
|
|
|
|
+const company_list = ref();//保险公司列表
|
|
|
|
|
+const companyIdprops = {
|
|
|
|
|
+ expandTrigger: 'hover' as const,
|
|
|
|
|
+ value: 'id',
|
|
|
|
|
+ label: 'name',
|
|
|
|
|
+ checkStrictly: true,
|
|
|
|
|
+}
|
|
|
const activeName = ref('pendingReview')
|
|
const activeName = ref('pendingReview')
|
|
|
const pendingReviewlength = ref(0);
|
|
const pendingReviewlength = ref(0);
|
|
|
const passlength = ref(0);//审核通过
|
|
const passlength = ref(0);//审核通过
|
|
@@ -79,6 +95,7 @@ const reviewRejectedlength = ref(0);
|
|
|
const tableData1 = ref([]);//待审核
|
|
const tableData1 = ref([]);//待审核
|
|
|
const tableData2 = ref([]);//审核通过
|
|
const tableData2 = ref([]);//审核通过
|
|
|
const tableData3 = ref([]);//审核不通过
|
|
const tableData3 = ref([]);//审核不通过
|
|
|
|
|
+
|
|
|
const pageInfoPending = ref({
|
|
const pageInfoPending = ref({
|
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
|
pageSize: 20,
|
|
pageSize: 20,
|
|
@@ -123,13 +140,26 @@ const formInline = reactive({
|
|
|
validState: "",
|
|
validState: "",
|
|
|
effectiveTime: [],
|
|
effectiveTime: [],
|
|
|
failureTime: [],
|
|
failureTime: [],
|
|
|
|
|
+ companyId: '',//保险公司id
|
|
|
})
|
|
})
|
|
|
//表格字段数据
|
|
//表格字段数据
|
|
|
const fields = ref([
|
|
const fields = ref([
|
|
|
- { label: "所属协议", model: "agreement", type: "input", placeholder: "输入代码,名称,简称查找" },
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ label: "所属协议", model: "agreementIds", type: "select", multiple: true, placeholder: "输入代码,名称,简称查找", options: agreementListALL,
|
|
|
|
|
+ props: {
|
|
|
|
|
+ label: (item: any) => `${item.agreementTitle}`,
|
|
|
|
|
+ value: 'id'
|
|
|
|
|
+ }, filterable: true
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
label: "险种", model: "productId", type: "select", options: insurance_type,
|
|
label: "险种", model: "productId", type: "select", options: insurance_type,
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ label: "保险公司", model: "companyId", type: "cascader", placeholder: "选择保险公司", options: company_list, props: companyIdprops, placement: 'left', onChange: (value: any) => {
|
|
|
|
|
+ formInline.companyId = value[value.length - 1];
|
|
|
|
|
+ getAgreement();
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
label: "承保规则", model: "rulesName", type: "input", placeholder: "输入业务规则查找",
|
|
label: "承保规则", model: "rulesName", type: "input", placeholder: "输入业务规则查找",
|
|
|
},
|
|
},
|
|
@@ -187,10 +217,10 @@ function findpage(status: any) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const columns = [
|
|
const columns = [
|
|
|
- {
|
|
|
|
|
- prop: "agreementAbbreviation", label: "协议信息", width: '300',
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: "agreementTitle", label: "协议信息", width: '350', fixed: 'left',
|
|
|
formatter: (row: any) => {
|
|
formatter: (row: any) => {
|
|
|
- return `${row.agreementCode}\n${row.agreementAbbreviation}`
|
|
|
|
|
|
|
+ return `${row.agreementTitle}--${row.contactPerson || ''}`
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
{ prop: "productName", label: "险种", width: '120', },
|
|
{ prop: "productName", label: "险种", width: '120', },
|
|
@@ -217,7 +247,7 @@ const columns = [
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- { prop: "costDescribe", label: "费用描述", width: '500', },
|
|
|
|
|
|
|
+ { prop: "costDescribe", label: "费用描述", width: '500', component: 'customSlot', },
|
|
|
{ prop: "priorityLevel", label: "优先级", width: '120', },
|
|
{ prop: "priorityLevel", label: "优先级", width: '120', },
|
|
|
{
|
|
{
|
|
|
prop: "isEnabled", label: "费用状态", width: '100', component: "Tag",
|
|
prop: "isEnabled", label: "费用状态", width: '100', component: "Tag",
|
|
@@ -322,6 +352,29 @@ const ruleFeeEditSave = (data: object) => {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
+// 获取协议列表
|
|
|
|
|
+const getAgreement = () => {
|
|
|
|
|
+ api.agreementApi.agreementList({ pages: 1, size: 1000, companyId: formInline.companyId,isExternal:"1" }).then((res: any) => {
|
|
|
|
|
+ if (res.code == '200') {
|
|
|
|
|
+ agreementListALL.value = res.data.records;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+}
|
|
|
|
|
+// 保险公司
|
|
|
|
|
+const initCompany = () => {
|
|
|
|
|
+ api.agreementApi.findTree({ name: "", systemCode: localStorage.getItem('login_system') }).then((res: any) => {
|
|
|
|
|
+ if (res.code == '200') {
|
|
|
|
|
+ company_list.value = res.data;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ ElMessage({
|
|
|
|
|
+ type: 'error',
|
|
|
|
|
+ message: res.msg,
|
|
|
|
|
+ plain: true,
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+}
|
|
|
//多选事件
|
|
//多选事件
|
|
|
const selectionChange = (val: any) => {
|
|
const selectionChange = (val: any) => {
|
|
|
sysUpAndDownList.value = val;
|
|
sysUpAndDownList.value = val;
|
|
@@ -427,6 +480,7 @@ const resetForm = () => {
|
|
|
formInline.validState = "";
|
|
formInline.validState = "";
|
|
|
formInline.effectiveTime = [];
|
|
formInline.effectiveTime = [];
|
|
|
formInline.failureTime = [];
|
|
formInline.failureTime = [];
|
|
|
|
|
+ formInline.companyId = '';//保险公司id
|
|
|
if (activeName.value == 'pendingReview') {
|
|
if (activeName.value == 'pendingReview') {
|
|
|
findpage(0);
|
|
findpage(0);
|
|
|
} else if (activeName.value == 'pass') {
|
|
} else if (activeName.value == 'pass') {
|