|
@@ -53,12 +53,14 @@ export default {
|
|
|
title: null
|
|
|
},
|
|
|
headers: [
|
|
|
- { text: '中文名称', align: 'start', value: 'name' },
|
|
|
- { text: '英文名称', align: 'start', value: 'name' },
|
|
|
+ { text: '中文名称', align: 'start', value: 'name_zh' },
|
|
|
+ { text: '英文名称', align: 'start', value: 'name_en' },
|
|
|
{ text: '状态', align: 'center', value: 'status' },
|
|
|
- { text: '作者', align: 'center', value: 'description' },
|
|
|
- { text: '描述', align: 'start', value: 'description' },
|
|
|
- { text: '创建时间', align: 'start', value: 'created_by' },
|
|
|
+ { text: '分类', align: 'center', value: 'category' },
|
|
|
+ { text: '作者', align: 'center', value: 'leader' },
|
|
|
+ { text: '机构', align: 'center', value: 'organization' },
|
|
|
+ { text: '描述', align: 'start', value: 'describe' },
|
|
|
+ { text: '创建时间', align: 'start', value: 'created_at' },
|
|
|
{ text: '更新时间', align: 'start', value: 'updated_at' },
|
|
|
{ text: '操作', align: 'start', value: 'actions' }
|
|
|
],
|
|
@@ -106,7 +108,7 @@ export default {
|
|
|
this.itemData = {}
|
|
|
this.show = true
|
|
|
},
|
|
|
- async handleEdit (item) {
|
|
|
+ async onEdit (item) {
|
|
|
this.itemData = item
|
|
|
this.show = true
|
|
|
},
|