|
@@ -13,6 +13,9 @@
|
|
|
<ComplexTable :tableData="companylist" :columns="columns" :showIndex="false" :columnwidth="200" :showSelect="true"
|
|
<ComplexTable :tableData="companylist" :columns="columns" :showIndex="false" :columnwidth="200" :showSelect="true"
|
|
|
:pageInfo="pageInfo" @getList="getList" @selectionChange="selectionChange" uniqueIdName="costId"
|
|
:pageInfo="pageInfo" @getList="getList" @selectionChange="selectionChange" uniqueIdName="costId"
|
|
|
highlight-current-row>
|
|
highlight-current-row>
|
|
|
|
|
+ <template #agreementAbbreviation="{ data, bodyCell }">
|
|
|
|
|
+ <div class="whitespace-normal">{{ data.agreementAbbreviation }}-{{ data.dockingPerson || '' }}</div>
|
|
|
|
|
+ </template>
|
|
|
<template #ruleDescription="{ data, bodyCell }">
|
|
<template #ruleDescription="{ data, bodyCell }">
|
|
|
<div class="whitespace-normal">{{ data.ruleDescription }}</div>
|
|
<div class="whitespace-normal">{{ data.ruleDescription }}</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -183,7 +186,7 @@ const fields = ref([
|
|
|
{
|
|
{
|
|
|
label: "所属协议", model: "agreementIds", type: "select", multiple: true, placeholder: "输入代码,名称,简称查找", options: agreementListALL,
|
|
label: "所属协议", model: "agreementIds", type: "select", multiple: true, placeholder: "输入代码,名称,简称查找", options: agreementListALL,
|
|
|
props: {
|
|
props: {
|
|
|
- label: (item: any) => `${item.agreementTitle}--${item.dockingPerson || ''}`,
|
|
|
|
|
|
|
+ label: (item: any) => `${item.agreementAbbreviation}--${item.dockingPerson || ''}`,
|
|
|
value: 'id'
|
|
value: 'id'
|
|
|
}, filterable: true
|
|
}, filterable: true
|
|
|
},
|
|
},
|
|
@@ -312,9 +315,7 @@ const getAgreement = () => {
|
|
|
const columns = [
|
|
const columns = [
|
|
|
{
|
|
{
|
|
|
prop: "agreementAbbreviation", label: "协议信息", width: '250',
|
|
prop: "agreementAbbreviation", label: "协议信息", width: '250',
|
|
|
- formatter: (row: any) => {
|
|
|
|
|
- return `${row.agreementTitle}--${row.dockingPerson || ''}`
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ component: 'customSlot',
|
|
|
},
|
|
},
|
|
|
{ prop: "effectiveTime", label: "生效时间", width: '200' },
|
|
{ prop: "effectiveTime", label: "生效时间", width: '200' },
|
|
|
{ prop: "failureTime", label: "失效时间", width: '200' },
|
|
{ prop: "failureTime", label: "失效时间", width: '200' },
|