提交 be05dd55 authored 作者: matian's avatar matian

update

上级 6e4bc06d
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
getTopic() { getTopic() {
api.getReviewDetails({ sheet_id: this.$route.query.id, type: this.$route.query.type }).then(response => { api.getReviewDetails({ sheet_id: this.$route.query.id, type: this.$route.query.type }).then(response => {
this.data = JSON.parse(response.data).sheet this.data = JSON.parse(response.data).sheet
const status = { 3: '考卷生成', 0: '已缓存', 1: '已提交', 2: '已批阅' } const status = { 3: '待提交', 0: '待提交', 1: '已提交', 2: '已批阅' }
this.infoData = this.infoData.reduce((a, b) => { this.infoData = this.infoData.reduce((a, b) => {
a.push( a.push(
b.map(item => { b.map(item => {
......
...@@ -77,9 +77,9 @@ export default { ...@@ -77,9 +77,9 @@ export default {
align: 'center', align: 'center',
computed({ row }) { computed({ row }) {
if (row.status === 2) { if (row.status === 2) {
return '已完成' return '已批阅'
} else if (row.status === 1) { } else if (row.status === 1) {
return '待评价' return '已提交'
} else if (row.status === 0 || row.status === 3) { } else if (row.status === 0 || row.status === 3) {
return '待提交' return '待提交'
} else if (row.status === 100) { } else if (row.status === 100) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论