[add] -增加标协证书的页面
This commit is contained in:
@@ -0,0 +1,263 @@
|
||||
<!--证书维护 的列表页 -->
|
||||
<template>
|
||||
<div>
|
||||
<page-header-title :is-level-one="false" :level-two-title="$route.query.projectName"></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.paymentStatus" dictCode="certificate_payment_status"/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<template >
|
||||
<a-col :xl="10" :lg="11" :md="12" :sm="24">
|
||||
<a-form-item label="缴费时间">
|
||||
<j-date date-format="YYYY-MM-DD 00:00:00" placeholder="请选择开始日期" class="query-group-cust" v-model="queryParam.submissionTime_begin" :disabled-date="disabledStartDate"></j-date>
|
||||
<span class="query-group-split-cust"></span>
|
||||
<j-date date-format="YYYY-MM-DD 23:59:59" placeholder="请选择结束日期" class="query-group-cust" v-model="queryParam.submissionTime_end" :disabled-date="disabledEndDate"></j-date>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</template>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<a-form-item label="缴费类型">
|
||||
<j-dict-select-tag placeholder="请选择缴费类型" v-model="queryParam.paymentType" dictCode="certificate_payment_type"/>
|
||||
</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="'safeguardStardsMember: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 @click="handleAdd" type="primary" icon="plus">添加</a-button>-->
|
||||
<a-button
|
||||
type="primary"
|
||||
icon="download"
|
||||
@click="handleExportXls('标协会员')"
|
||||
v-has="'safeguardStardsMember:export'"
|
||||
>导出
|
||||
</a-button
|
||||
>
|
||||
<!-- <a-button type="danger" icon="delete" @click="batchDel">批量删除</a-button>-->
|
||||
<!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl"-->
|
||||
<!-- @change="handleImportExcel">-->
|
||||
<!-- <a-button type="primary" icon="import">导入</a-button>-->
|
||||
<!-- </a-upload>-->
|
||||
</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">
|
||||
<j-ellipsis v-if="text" :value="text" :length="20"></j-ellipsis>
|
||||
<span v-else></span>
|
||||
</template>
|
||||
|
||||
<template slot="status" slot-scope="text, record">
|
||||
<status-slot
|
||||
:statu-obj="record"
|
||||
:status-no="text"
|
||||
:status-type="true"
|
||||
></status-slot>
|
||||
</template>
|
||||
|
||||
<template slot="status-pack" slot-scope="text, record">
|
||||
<status-slot :statu-obj="record" :status-no="text"></status-slot>
|
||||
</template>
|
||||
|
||||
<!-- 开票-->
|
||||
<template slot="status-bill" slot-scope="text,record">
|
||||
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="bill"></status-slot>
|
||||
</template>
|
||||
|
||||
<!-- 邮寄-->
|
||||
<template slot="status-mail" slot-scope="text,record">
|
||||
<status-slot :statu-obj="record" :status-no="text" :status-type="true" status-key="mail"></status-slot>
|
||||
</template>
|
||||
|
||||
<span slot="action" slot-scope="text, record" class="action-span-cell">
|
||||
<a @click="handleEdit(record)">编辑</a>
|
||||
<a @click="handleDelete(record.id)">删除</a>
|
||||
</span>
|
||||
</a-table>
|
||||
</div>
|
||||
<project-detail-modal ref="projectDetail"></project-detail-modal>
|
||||
</a-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mixinDevice} from '@/utils/mixin'
|
||||
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
||||
import {RangeDateMixin} from '@/mixins/RangeDateMixin'
|
||||
import ProjectDetailModal from '@comp/ProjectDetailModal'
|
||||
import '@/assets/less/TableExpand.less'
|
||||
import StatusSlot from '@comp/tools/StatusSlot'
|
||||
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
|
||||
import JDate from '@comp/tools/JDate'
|
||||
|
||||
export default {
|
||||
name: 'CertificateMaintenanceList',
|
||||
mixins: [JeroListMixin, mixinDevice, RangeDateMixin],
|
||||
components: {
|
||||
ProjectDetailModal,
|
||||
StatusSlot,
|
||||
PageHeaderTitle,
|
||||
JDate
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
columns: [
|
||||
{
|
||||
title: '序号',
|
||||
dataIndex: '',
|
||||
key: 'rowIndex',
|
||||
width: 60,
|
||||
align: 'center',
|
||||
customRender: function (t, r, index) {
|
||||
return parseInt(index) + 1
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '缴费单号',
|
||||
align: 'center',
|
||||
dataIndex: 'billNumber'
|
||||
},
|
||||
{
|
||||
title: '单位全称',
|
||||
align: 'center',
|
||||
dataIndex: 'companyName',
|
||||
scopedSlots: { customRender: 'detail' }
|
||||
},
|
||||
{
|
||||
title: '缴费类型',
|
||||
align: 'center',
|
||||
dataIndex: 'paymentType_dictText'
|
||||
},
|
||||
{
|
||||
title: '缴费时间',
|
||||
align: 'center',
|
||||
dataIndex: 'submissionTime'
|
||||
},
|
||||
{
|
||||
title: '核对时间',
|
||||
align: 'center',
|
||||
dataIndex: 'checkTime'
|
||||
},
|
||||
{
|
||||
title: '缴费状态',
|
||||
align: 'center',
|
||||
dataIndex: 'paymentStatus_dictText'
|
||||
},
|
||||
{
|
||||
title: '应收金额',
|
||||
align: 'center',
|
||||
dataIndex: 'amountReceivable',
|
||||
scopedSlots: { customRender: 'text' },
|
||||
},
|
||||
{
|
||||
title: '实收金额',
|
||||
align: 'center',
|
||||
dataIndex: 'paidAmount',
|
||||
scopedSlots: { customRender: 'text' },
|
||||
},
|
||||
{
|
||||
title: '打包',
|
||||
align: 'center',
|
||||
dataIndex: 'pack',
|
||||
scopedSlots: { customRender: 'status-pack' },
|
||||
},
|
||||
{
|
||||
title: '需要发票',
|
||||
align: 'center',
|
||||
dataIndex: 'invoiceRequirements',
|
||||
scopedSlots: { customRender: 'status-pack' },
|
||||
},
|
||||
{
|
||||
title: '到账',
|
||||
align: 'center',
|
||||
dataIndex: 'inAccount',
|
||||
scopedSlots: { customRender: 'status' },
|
||||
},
|
||||
{
|
||||
title: '开票',
|
||||
align: 'center',
|
||||
dataIndex: 'makeInvoice',
|
||||
scopedSlots: { customRender: 'status-bill' },
|
||||
},
|
||||
{
|
||||
title: '邮寄',
|
||||
align: 'center',
|
||||
dataIndex: 'mail',
|
||||
scopedSlots: { customRender: 'status-mail' },
|
||||
},
|
||||
],
|
||||
disableMixinCreated: true,
|
||||
url: {
|
||||
list: '/member/tbMemberProjectSubitem/page',
|
||||
exportXlsUrl: '/member/tbMemberProjectSubitem/exportXls',
|
||||
},
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.filters.projectId = this.$route.query.id
|
||||
this.loadData(1)
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
@import "~@assets/less/common.less";
|
||||
.color-blue {
|
||||
color: #069f99;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
@@ -249,7 +249,7 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
<style scoped lang="less">
|
||||
@import "~@assets/less/common.less";
|
||||
.color-blue {
|
||||
color: #069f99;
|
||||
|
||||
@@ -54,9 +54,13 @@
|
||||
<span v-else></span>
|
||||
</template>
|
||||
|
||||
<span slot="action" slot-scope="text, record" class="action-span-cell">
|
||||
<a @click="handleStandardMeeting(record)" v-has="'stardsMember:meetingMaintenance'">会议维护</a>
|
||||
</span>
|
||||
<template slot="certificate" slot-scope="text, record" class="action-span-cell">
|
||||
<a @click="handleCertificate(record)" v-has="'stardsMember:meetingMaintenance'">证书维护</a>
|
||||
</template>
|
||||
|
||||
<template slot="action" slot-scope="text, record" class="action-span-cell">
|
||||
<a @click="handleStandardMeeting(record)" v-has="'stardsMember:meetingMaintenance'">会议维护</a>
|
||||
</template>
|
||||
|
||||
</a-table>
|
||||
</div>
|
||||
@@ -97,6 +101,12 @@ export default {
|
||||
dataIndex: 'projectName',
|
||||
scopedSlots: {customRender: 'htmlSlot'}
|
||||
},
|
||||
{
|
||||
title: '标协证书',
|
||||
align: 'center',
|
||||
dataIndex: 'certificate',
|
||||
scopedSlots: {customRender: 'certificate'}
|
||||
},
|
||||
{
|
||||
title: '操作',
|
||||
align: 'center',
|
||||
@@ -136,6 +146,18 @@ export default {
|
||||
meetingType:'2'
|
||||
}
|
||||
})
|
||||
},
|
||||
/*
|
||||
* 标协证书维护
|
||||
* */
|
||||
handleCertificate(record){
|
||||
this.$router.push({
|
||||
path: '/incomePayments/memberManage/CertificateMaintenanceList',
|
||||
query: {
|
||||
id: record.id,
|
||||
projectName: record.projectName
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<!--理事会维护 --列表页-->
|
||||
<template>
|
||||
<div>
|
||||
理事会维护 --列表页
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'CouncilMaintenanceList'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user