【update】-新增-会员信息统计列表
This commit is contained in:
@@ -0,0 +1,192 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<page-header-title :img-for-icon="IconImg"></page-header-title>
|
||||||
|
<a-card :bordered="false">
|
||||||
|
<!-- 查询区域 -->
|
||||||
|
<div class="table-page-search-wrapper">
|
||||||
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
|
<a-form-item label="会员单位">
|
||||||
|
<a-input
|
||||||
|
placeholder="请输入会员单位"
|
||||||
|
v-model="queryParam.companyName"
|
||||||
|
></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
|
<a-form-item label="会员状态">
|
||||||
|
<j-dict-select-tag
|
||||||
|
placeholder="请选择会员状态"
|
||||||
|
v-model="queryParam.memberStatus"
|
||||||
|
dict-code="member_status"
|
||||||
|
></j-dict-select-tag>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
|
<a-form-item label="生效日期">
|
||||||
|
<a-month-picker
|
||||||
|
style="width: 100%"
|
||||||
|
v-model="queryParam.effectiveDateStr"
|
||||||
|
format="YYYY-MM"
|
||||||
|
value-format="YYYY-MM"
|
||||||
|
placeholder="请选择生效日期"
|
||||||
|
/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
|
<a-form-item label="失效日期">
|
||||||
|
<a-month-picker
|
||||||
|
style="width: 100%"
|
||||||
|
v-model="queryParam.invalidationDateStr"
|
||||||
|
format="YYYY-MM"
|
||||||
|
value-format="YYYY-MM"
|
||||||
|
placeholder="请选择失效日期"
|
||||||
|
/>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||||
|
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
|
||||||
|
<a-button type="primary" @click="searchQuery" icon="search" v-has="'memberStatistic:search'">查询</a-button>
|
||||||
|
<a-button @click="searchReset" class="reset-button" icon="reload" style="margin-left: 8px">重置</a-button>
|
||||||
|
</span>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
</a-form>
|
||||||
|
</div>
|
||||||
|
<!-- 查询区域-END -->
|
||||||
|
|
||||||
|
<!-- 操作按钮区域 -->
|
||||||
|
<div class="table-operator">
|
||||||
|
|
||||||
|
<a-button
|
||||||
|
type="primary"
|
||||||
|
icon="download"
|
||||||
|
@click="handleExportXls('会员信息统计')"
|
||||||
|
v-has="'memberStatistic:export'">
|
||||||
|
导出
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
|
<!-- table区域-begin -->
|
||||||
|
<div>
|
||||||
|
<a-table
|
||||||
|
ref="table"
|
||||||
|
size="middle"
|
||||||
|
bordered
|
||||||
|
rowKey="id"
|
||||||
|
:columns="columns"
|
||||||
|
:dataSource="dataSource"
|
||||||
|
:pagination="ipagination"
|
||||||
|
:loading="loading"
|
||||||
|
:rowSelection="{
|
||||||
|
selectedRowKeys: selectedRowKeys,
|
||||||
|
onChange: onSelectChange,
|
||||||
|
}"
|
||||||
|
class="j-table-force-nowrap"
|
||||||
|
@change="handleTableChange"
|
||||||
|
>
|
||||||
|
<template slot="detail" slot-scope="text, record">
|
||||||
|
<div @click="openDetailModal(record)" class="color-blue">
|
||||||
|
{{ text }}
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<template slot="text" slot-scope="text">
|
||||||
|
<a-tooltip>
|
||||||
|
<template slot="title">{{ text }}</template>
|
||||||
|
<div class="table-text">{{ text }}</div>
|
||||||
|
</a-tooltip>
|
||||||
|
</template>
|
||||||
|
<!--<span slot="action" slot-scope="text, record" class="action-span-cell">-->
|
||||||
|
<!-- <a @click="handleEdit(record)" v-has="'safeguardStardsMember:edit'">查看</a>-->
|
||||||
|
<!--</span>-->
|
||||||
|
</a-table>
|
||||||
|
</div>
|
||||||
|
</a-card>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||||
|
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
|
||||||
|
import IconImg from '@/assets/imgs/icon/icon_stander_member.png'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'MemberStatisticList',
|
||||||
|
mixins: [JeroListMixin],
|
||||||
|
components: {
|
||||||
|
PageHeaderTitle,
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
IconImg,
|
||||||
|
columns: [
|
||||||
|
{
|
||||||
|
title: '序号',
|
||||||
|
dataIndex: '',
|
||||||
|
key: 'rowIndex',
|
||||||
|
width: 60,
|
||||||
|
align: 'center',
|
||||||
|
customRender: function (t, r, index) {
|
||||||
|
return parseInt(index) + 1
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '会员编号',
|
||||||
|
align: 'center',
|
||||||
|
dataIndex: 'memberNo',
|
||||||
|
scopedSlots: { customRender: 'text' },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '会员单位',
|
||||||
|
align: 'center',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
scopedSlots: { customRender: 'detail' },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '企业联系人',
|
||||||
|
align: 'center',
|
||||||
|
dataIndex: 'liaisonManId_dictText',
|
||||||
|
scopedSlots: { customRender: 'text' },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '会员状态',
|
||||||
|
align: 'center',
|
||||||
|
dataIndex: 'memberStatus_dictText',
|
||||||
|
scopedSlots: { customRender: 'text' },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '生效日期',
|
||||||
|
align: 'center',
|
||||||
|
dataIndex: 'effectiveDateStr',
|
||||||
|
scopedSlots: { customRender: 'text' },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '失效日期',
|
||||||
|
align: 'center',
|
||||||
|
dataIndex: 'invalidationDateStr',
|
||||||
|
scopedSlots: { customRender: 'text' },
|
||||||
|
}
|
||||||
|
// {
|
||||||
|
// title: '操作',
|
||||||
|
// align: 'center',
|
||||||
|
// dataIndex: '',
|
||||||
|
// scopedSlots: {customRender: 'action'}
|
||||||
|
// }
|
||||||
|
],
|
||||||
|
// todo 替换接口
|
||||||
|
url: {
|
||||||
|
list: '/member/tbMemberProjectSubitem/page',
|
||||||
|
exportXlsUrl: '/member/tbMemberProjectSubitem/exportXls'
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user