|
|
@@ -17,9 +17,9 @@
|
|
|
<template #expand="{ row }">
|
|
|
<div class="buttonbar">
|
|
|
<el-button v-if="row.signstatus === SignStatus.Signed" type="danger" size="small"
|
|
|
- @click="showComponent('cancel', row)">解约</el-button>
|
|
|
+ @click="openComponent('cancel')">解约</el-button>
|
|
|
<el-button v-if="[SignStatus.Unsigned, SignStatus.Refuse, SignStatus.Signed].includes(row.signstatus)"
|
|
|
- type="primary" size="small" @click="showComponent('sign', row)">修改</el-button>
|
|
|
+ type="primary" size="small" @click="openComponent('sign')">修改</el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
</app-table>
|
|
|
@@ -64,11 +64,6 @@ const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
{ prop: 'signstatus', label: '状态' },
|
|
|
])
|
|
|
|
|
|
-const showComponent = (componentName: string, row: Model.BankAccountSignRsp) => {
|
|
|
- selectedRow.value = row
|
|
|
- openComponent(componentName)
|
|
|
-}
|
|
|
-
|
|
|
filterOptons.buttonList = [
|
|
|
{ lable: '添加签约账户', className: 'el-button--primary', onClick: () => openComponent('sign') },
|
|
|
]
|