党员积分
This commit is contained in:
@@ -22,9 +22,9 @@
|
||||
start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd HH:mm:ss" format="yyyy-MM-dd"></el-date-picker>
|
||||
</template>
|
||||
<template #right>
|
||||
<el-input size="small" placeholder="党员姓名" v-model="search.partyName" clearable
|
||||
<el-input size="small" placeholder="党员姓名" v-model="search.name" clearable
|
||||
@change="page.current=1,getTableData()" suffix-icon="iconfont iconSearch"/>
|
||||
<ai-download :instance="instance" url="/app/apppartyintegralinfo/downloadTemplate" :params="search" fileName="党员积分" :disabled="tableData.length == 0">
|
||||
<ai-download :instance="instance" url="/app/apppartyintegralinfo/exportListByOrg" :params="search" fileName="党员积分" :disabled="tableData.length == 0">
|
||||
<el-button icon="iconfont iconExported" :disabled="tableData.length == 0">导出</el-button>
|
||||
</ai-download>
|
||||
</template>
|
||||
@@ -69,6 +69,7 @@ export default {
|
||||
search: {
|
||||
startTime: '',
|
||||
endTime: '',
|
||||
name: '',
|
||||
},
|
||||
page: {current: 1, size: 10, total: 0},
|
||||
tableData: [],
|
||||
@@ -91,7 +92,7 @@ export default {
|
||||
},
|
||||
getTableData() {
|
||||
this.instance.post("/app/apppartyintegralinfo/listByOrg", null, {
|
||||
params: {...this.page, ...this.search, partyOrgId: this.partyOrgId } // partyOrgId:
|
||||
params: {...this.page, ...this.search, partyOrgId: this.partyOrgId }
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.tableData = res.data?.records
|
||||
@@ -117,8 +118,8 @@ export default {
|
||||
},
|
||||
|
||||
onTreeChange(e) {
|
||||
console.log(e);
|
||||
this.partyOrgId = e.id
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.getTableData()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user