diff --git a/src/api/votingElection.ts b/src/api/votingElection.ts index e8933b7..dc80f82 100644 --- a/src/api/votingElection.ts +++ b/src/api/votingElection.ts @@ -1,10 +1,12 @@ import { request } from '@/utils/http' + + // 获取投票选举(正在进行) export function getVoteprogress() { return request.http({ url: '/api/vote_progress', - method: 'GET' + method: "GET" }) } @@ -17,9 +19,11 @@ export function voteMember(data: any) { } // 获取我的选举 -export function getMyvote() { +export function getMyvote(data:any) { return request.http({ url: '/api/my_vote', - method: 'GET' + method: "GET", + data + }) -} +} \ No newline at end of file diff --git a/src/pages/myElection/index.vue b/src/pages/myElection/index.vue index 4a81ddc..093d79c 100644 --- a/src/pages/myElection/index.vue +++ b/src/pages/myElection/index.vue @@ -55,6 +55,8 @@ + + + + + \ No newline at end of file diff --git a/src/static/img/Group.png b/src/static/img/Group.png new file mode 100644 index 0000000..848be8c Binary files /dev/null and b/src/static/img/Group.png differ