diff --git a/ruoyi-ui/src/api/szxc/voteresut.js b/ruoyi-ui/src/api/szxc/voteresut.js index ef2ad56..444c9f7 100644 --- a/ruoyi-ui/src/api/szxc/voteresut.js +++ b/ruoyi-ui/src/api/szxc/voteresut.js @@ -42,3 +42,12 @@ export function delVoteresut(id) { method: 'delete' }) } + +// 统计议事投票情况 +export function getVoteresutCount(query) { + return request({ + url: '/szxc/voteresut/count', + method: 'get', + params: query + }) +} diff --git a/ruoyi-ui/src/views/szxc/yscentre/index.vue b/ruoyi-ui/src/views/szxc/yscentre/index.vue index 0cb9d8d..6ed6881 100644 --- a/ruoyi-ui/src/views/szxc/yscentre/index.vue +++ b/ruoyi-ui/src/views/szxc/yscentre/index.vue @@ -196,7 +196,7 @@ - + 添加 + + 同意:{{ voter.result.tyCount }} + + + 反对:{{ voter.result.fdCount }} + + + 弃权:{{ voter.result.qqCount }} + @@ -325,7 +334,7 @@