列表
This commit is contained in:
@@ -50,7 +50,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
this.$dict.load('electionStatus', 'partyFourLinkageStatus').then(()=> {
|
this.$dict.load('electionStatus', 'electionMethod').then(()=> {
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -59,9 +59,9 @@ export default {
|
|||||||
return [
|
return [
|
||||||
{prop: "title", label: "标题", align: "left", showOverflowTooltip: true},
|
{prop: "title", label: "标题", align: "left", showOverflowTooltip: true},
|
||||||
{prop: "organizationName", label: "所属支部", align: "center"},
|
{prop: "organizationName", label: "所属支部", align: "center"},
|
||||||
{prop: "electionMethod", label: "选举方式", align: "center",formart: v => v==0? '等额':'差额'},
|
{prop: "electionMethod", label: "选举方式", align: "center",dict:"electionMethod"},
|
||||||
{prop: "chooseNumber", label: "应选人数", align: "center"},
|
{prop: "chooseNumber", label: "应选人数", align: "center"},
|
||||||
{prop: "status", label: "状态", align: "center",width: "180px"},
|
{prop: "status", label: "状态", align: "center",width: "180px", dict: "electionStatus"},
|
||||||
{ slot: "options", },
|
{ slot: "options", },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user