From f17541095a36cf00302a65b0dc4176e76e2cbfbd Mon Sep 17 00:00:00 2001 From: wyx Date: Sun, 19 Feb 2023 09:32:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E6=8A=95=E7=A5=A8?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=8A=95=E7=A5=A8=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../drawers/project/ProjectVoteManage.vue | 14 ++------------ src/components/drawers/router/RouterVoteManage.vue | 12 +----------- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/src/components/drawers/project/ProjectVoteManage.vue b/src/components/drawers/project/ProjectVoteManage.vue index 999fd54e..461402bc 100644 --- a/src/components/drawers/project/ProjectVoteManage.vue +++ b/src/components/drawers/project/ProjectVoteManage.vue @@ -176,21 +176,11 @@ value: "1", label: "未开始", }, - { - id: 2, - value: "2", - label: "进行中", - }, { id: 3, value: "3", label: "已完成", }, - { - id: 4, - value: "4", - label: "未完成", - }, ], tabledata: [], tableDataTotalLoading: true, // 表格loading加载配置 @@ -438,8 +428,8 @@ // 导出数据 function exportTaskStu() { console.log("导出数据") - console.log(`${process.env.VUE_APP_BASE_API}/admin/vote/manage/export/vote?type=${2}&voteId=${props.datasource.projectTaskId}`) - window.open(`${process.env.VUE_APP_BASE_API}/admin/vote/manage/export/vote?type=${2}&voteId=${props.datasource.projectTaskId}`) + console.log(`${process.env.VUE_APP_BASE_API}/admin/vote/manage/export/vote?type=${2}&voteId=${props.datasource.id}`) + window.open(`${process.env.VUE_APP_BASE_API}/admin/vote/manage/export/vote?type=${2}&voteId=${props.datasource.id}`) } return { diff --git a/src/components/drawers/router/RouterVoteManage.vue b/src/components/drawers/router/RouterVoteManage.vue index a1c150eb..44b2c255 100644 --- a/src/components/drawers/router/RouterVoteManage.vue +++ b/src/components/drawers/router/RouterVoteManage.vue @@ -180,21 +180,11 @@ value: "1", label: "未开始", }, - { - id: 2, - value: "2", - label: "进行中", - }, { id: 3, value: "3", label: "已完成", - }, - { - id: 4, - value: "4", - label: "未完成", - }, + } ], tabledata: [], tableDataTotalLoading: true, // 表格loading加载配置