|
@@ -11,7 +11,16 @@
|
|
|
<span>{{ parseTime(scope.row.createdate, '{y}-{m}-{d} {h}:{i}') }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
+ <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-view"
|
|
|
+ @click="checkResult(scope.row)"
|
|
|
+ >查看试卷</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
|
|
|
</div>
|
|
@@ -76,6 +85,9 @@ export default {
|
|
|
listPaper(param).then(response => {
|
|
|
this.paperList = response.rows
|
|
|
})
|
|
|
+ },
|
|
|
+ checkResult(row){
|
|
|
+ this.$router.push({ name: 'ShowExam', params: { id: row.paperId }})
|
|
|
}
|
|
|
}
|
|
|
}
|