|
@@ -79,6 +79,37 @@
|
|
border
|
|
border
|
|
stripe
|
|
stripe
|
|
>
|
|
>
|
|
|
|
+ <el-table-column label="ID" prop="id" width="80px" sortable />
|
|
|
|
+ <el-table-column label="考试ID" prop="examId" width="100px" sortable />
|
|
|
|
+ <el-table-column label="任务类型" prop="type" width="110px" sortable />
|
|
|
|
+ <el-table-column label="任务状态" prop="status" width="110px" sortable />
|
|
|
|
+ <el-table-column label="状态描述" prop="statusDesc" />
|
|
|
|
+ <el-table-column
|
|
|
|
+ label="创建时间"
|
|
|
|
+ prop="creationTime"
|
|
|
|
+ width="160px"
|
|
|
|
+ sortable
|
|
|
|
+ />
|
|
|
|
+ <el-table-column
|
|
|
|
+ label="更新时间"
|
|
|
|
+ prop="updateTime"
|
|
|
|
+ width="160px"
|
|
|
|
+ sortable
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <el-table-column label="操作" width="120px">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-button
|
|
|
|
+ size="mini"
|
|
|
|
+ type="primary"
|
|
|
|
+ icon="el-icon-download"
|
|
|
|
+ :disabled="scope.row.status != '成功'"
|
|
|
|
+ @click="download(scope.row)"
|
|
|
|
+ plain
|
|
|
|
+ >下载
|
|
|
|
+ </el-button>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
|
|
|
|
<div class="page pull-right">
|
|
<div class="page pull-right">
|
|
@@ -147,6 +178,9 @@ export default {
|
|
}
|
|
}
|
|
);
|
|
);
|
|
},
|
|
},
|
|
|
|
+ download(row) {
|
|
|
|
+ window.location.href = row.filePath;
|
|
|
|
+ },
|
|
handlePagerNo(pageNo) {
|
|
handlePagerNo(pageNo) {
|
|
this.doSearch(pageNo);
|
|
this.doSearch(pageNo);
|
|
},
|
|
},
|