党费缴纳
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<template slot="title">
|
||||
<ai-title title="党费缴纳" isShowBottomBorder :instance="instance"></ai-title>
|
||||
</template>
|
||||
<template slot="content">
|
||||
<template #content>
|
||||
<div class="statistics-top">
|
||||
<div class="statistics-top__item">
|
||||
<span>本月已缴纳党费金额</span>
|
||||
@@ -23,15 +23,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
<ai-search-bar class="search-bar">
|
||||
<ai-search-bar>
|
||||
<template #left>
|
||||
<el-button size="small" type="primary" icon="iconfont iconAdd" @click="toAdd('')">新增</el-button>
|
||||
<ai-party :instance="instance" v-model="search.partyOrgId" :topOrgId="topOrgId" :name.sync="search.partyOrgName"
|
||||
style="display:inline-block" @origin="handlePartyOrgSelect" customClicker
|
||||
url="/app/partyOrganization/queryAllChildren">
|
||||
<el-input size="small" v-model="search.partyOrgName" readonly placeholder="选择党组织"></el-input>
|
||||
</ai-party>
|
||||
<el-date-picker v-model="search.ymd" type="month" placeholder="选择月" size="small" value-format="yyyy-MM" @change="getListInit"></el-date-picker>
|
||||
<el-date-picker v-model="search.ymd" type="month" placeholder="选择日期" size="small" value-format="yyyy-MM" @change="getListInit"></el-date-picker>
|
||||
<ai-select
|
||||
v-model="search.status"
|
||||
@change="getListInit()"
|
||||
@@ -39,7 +38,16 @@
|
||||
:selectList="dict.getDict('zhishengPartyFeeRecordStatus')">
|
||||
</ai-select>
|
||||
</template>
|
||||
<template slot="right">
|
||||
<template #right>
|
||||
<el-input size="small" v-model="search.name" placeholder="姓名/身份证"
|
||||
suffix-icon="iconfont iconSearch" v-throttle="() => {getListInit()}" clearable @clear="search.name = '', getListInit()"/>
|
||||
</template>
|
||||
</ai-search-bar>
|
||||
<ai-search-bar>
|
||||
<template #left>
|
||||
<el-button size="small" type="primary" icon="iconfont iconAdd" @click="toAdd('')">新增</el-button>
|
||||
</template>
|
||||
<template #right>
|
||||
<ai-import :instance="instance" :dict="dict" type="appconvenientaddressbook" name="党费缴纳"
|
||||
@success="getListInit()" importUrl="/app/appdfjnzhisheng/import" url="/app/appdfjnzhisheng/downloadTemplate">
|
||||
<el-button icon="iconfont iconImport">导入</el-button>
|
||||
@@ -48,8 +56,6 @@
|
||||
:disabled="tableData.length == 0">
|
||||
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
|
||||
</ai-download>
|
||||
<el-input size="small" v-model="search.name" placeholder="姓名/身份证"
|
||||
suffix-icon="iconfont iconSearch" v-throttle="() => {getListInit()}" clearable @clear="search.name = '', getListInit()"/>
|
||||
</template>
|
||||
</ai-search-bar>
|
||||
<ai-table
|
||||
@@ -91,7 +97,7 @@
|
||||
<el-form-item label="缴纳月份" prop="ymd">
|
||||
<el-date-picker v-model="form.ymd" type="month" placeholder="选择年月" size="small" value-format="yyyy-MM"></el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="金额" prop="amount">
|
||||
<el-form-item label="金额(元)" prop="amount">
|
||||
<el-input-number :precision="2" size="small" type="input" v-model="form.amount" clearable placeholder="2位小数"></el-input-number>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -245,6 +251,9 @@
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
res.data.records.map((item) => {
|
||||
item.ymd = item.ymd.substring(0, 7)
|
||||
})
|
||||
this.tableData = res.data.records
|
||||
this.total = res.data.total
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user