From 91ac09a2e365f5a45459e4670ca020c7ae589b92 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Mon, 17 Oct 2022 17:00:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apps/AppGeneralElection/components/electionList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/pingchang/apps/AppGeneralElection/components/electionList.vue b/project/pingchang/apps/AppGeneralElection/components/electionList.vue index 7a9502f2..8c57e038 100644 --- a/project/pingchang/apps/AppGeneralElection/components/electionList.vue +++ b/project/pingchang/apps/AppGeneralElection/components/electionList.vue @@ -50,7 +50,7 @@ export default { } }, created () { - this.$dict.load('electionStatus', 'partyFourLinkageStatus').then(()=> { + this.$dict.load('electionStatus', 'electionMethod').then(()=> { this.getList() }) }, @@ -59,9 +59,9 @@ export default { return [ {prop: "title", label: "标题", align: "left", showOverflowTooltip: true}, {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: "status", label: "状态", align: "center",width: "180px"}, + {prop: "status", label: "状态", align: "center",width: "180px", dict: "electionStatus"}, { slot: "options", }, ] }