|
|
@@ -12,6 +12,9 @@
|
|
|
<SearchForm :fields="fields" :formInline="formInline" :onSearch="agreementQuery" :onReset="resetForm" />
|
|
|
<ComplexTable :tableData="tableData" :columns="columns" :showIndex="false" :columnwidth="200" :showSelect="true"
|
|
|
:pageInfo="pageInfo" @getList="getList" @selectionChange="selectionChange">
|
|
|
+ <template #agreementAbbreviation="{ data, bodyCell }">
|
|
|
+ <div class="whitespace-normal">{{ data.agreementAbbreviation }}-{{ data.contactPerson || '' }}</div>
|
|
|
+ </template>
|
|
|
<template v-slot:table-title-btn>
|
|
|
<el-dropdown placement="bottom-start">
|
|
|
<el-button> 批量管理<el-icon>
|
|
|
@@ -147,7 +150,7 @@ const fields = ref([
|
|
|
{
|
|
|
label: "所属协议", model: "agreementIds", type: "select", multiple: true, placeholder: "输入代码,名称,简称查找", options: agreementListALL,
|
|
|
props: {
|
|
|
- label: (item: any) => `${item.agreementTitle}`,
|
|
|
+ label: (item: any) => `${item.agreementAbbreviation}`,
|
|
|
value: 'id'
|
|
|
}, filterable: true
|
|
|
},
|
|
|
@@ -218,10 +221,8 @@ function findpage(status: any) {
|
|
|
|
|
|
const columns = [
|
|
|
{
|
|
|
- prop: "agreementTitle", label: "协议信息", width: '350',
|
|
|
- formatter: (row: any) => {
|
|
|
- return `${row.agreementTitle}--${row.contactPerson || ''}`
|
|
|
- }
|
|
|
+ prop: "agreementAbbreviation", label: "协议信息", width: '350',
|
|
|
+ component: 'customSlot',
|
|
|
},
|
|
|
{ prop: "productName", label: "险种", width: '120', },
|
|
|
{
|