换届
This commit is contained in:
@@ -39,24 +39,25 @@ export default {
|
||||
data () {
|
||||
return {
|
||||
search: {
|
||||
status: '',
|
||||
status: '', // 0、未开始;1、进行中;2、已结束
|
||||
title: '',
|
||||
tableData: [],
|
||||
},
|
||||
page: {
|
||||
current: 1,
|
||||
size: 10,
|
||||
total: '',
|
||||
total: 0,
|
||||
},
|
||||
tableData: [],
|
||||
}
|
||||
},
|
||||
created () {
|
||||
this.dict.load('yesOrNo', 'partyFourLinkageStatus')
|
||||
this.getList()
|
||||
},
|
||||
computed: {
|
||||
colConfigs() {
|
||||
return [
|
||||
{prop: "", label: "标题", align: "left"},
|
||||
{prop: "", label: "标题", align: "left", showOverflowTooltip: true},
|
||||
{prop: "", label: "所属支部", align: "center"},
|
||||
{prop: "", label: "选举方式", align: "center"},
|
||||
{prop: "", label: "应选人数", align: "center"},
|
||||
@@ -66,7 +67,18 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getList () {},
|
||||
getList() {
|
||||
this.instance.post(`/app/appgeneralelectioninfo/list`,null,{
|
||||
params: {
|
||||
...this.page,
|
||||
...this.search,
|
||||
}
|
||||
}).then(res=> {
|
||||
if(res?.data) {
|
||||
console.log(res);
|
||||
}
|
||||
})
|
||||
},
|
||||
toAdd(id) {
|
||||
this.$emit('change', {
|
||||
type: 'electionAdd',
|
||||
|
||||
Reference in New Issue
Block a user