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加载配置