|
|
|
@ -17,9 +17,19 @@ |
|
|
|
<Row> |
|
|
|
<Col span="24"> |
|
|
|
<Card> |
|
|
|
<!-- 用户列表 --> |
|
|
|
<div style="margin-right: 50px;margin-bottom: 20px;"> |
|
|
|
<Poptip placement="right-start"> |
|
|
|
<Button><Icon type="ios-keypad" /></Button> |
|
|
|
<template #content> |
|
|
|
<CheckboxGroup style="display: grid; gap: 10px" v-for="(item,index) in columnsList" :key="index" v-model="checkAllGroup"> |
|
|
|
<Checkbox :label="item.title"></Checkbox> |
|
|
|
</CheckboxGroup> |
|
|
|
</template> |
|
|
|
</Poptip> |
|
|
|
</div> |
|
|
|
<!-- 用户列表 --> |
|
|
|
<div> |
|
|
|
<Table :loading="listLoading" :columns="columnsList" :data="tableData" stripe disabled-hover></Table> |
|
|
|
<Table :loading="listLoading" :columns="columnsList1" :data="tableData" stripe disabled-hover></Table> |
|
|
|
</div> |
|
|
|
<div class="margin-top-15" style="text-align: center"> |
|
|
|
<Page :total="count" :current="page" :page-size="size" @on-change="changePage" @on-page-size-change="changeSize" show-elevator show-sizer show-total></Page> |
|
|
|
@ -42,6 +52,7 @@ export default { |
|
|
|
tableData: [], |
|
|
|
listLoading: false, |
|
|
|
pucode_id: '', |
|
|
|
checkAllGroup: ['id', '用户编码', '税号', '开户行', '银行账号', '创建时间'], |
|
|
|
columnsList: [ |
|
|
|
{ title: 'id', align: 'center', key: 'id', minWidth: 80 }, |
|
|
|
{ title: '用户编码', align: 'center', key: 'pucode', minWidth: 100 }, |
|
|
|
@ -74,6 +85,11 @@ export default { |
|
|
|
created () { |
|
|
|
this.InvoiceHead() |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
columnsList1 () { |
|
|
|
return this.columnsList.filter(column => this.checkAllGroup.includes(column.title)) |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
InvoiceHead () { |
|
|
|
let data = { |
|
|
|
|