@@ -215,22 +229,25 @@ export default {
{
text: this.$t('standardRegulationLibrary.domesticStandard.cancelCollection'),
clickEvent: 'handleCollection',
- has: ''
+ has: 'domesticStandard:collection'
},
+ // 编辑
{
text: this.$t('edit'),
clickEvent: 'handleEdit',
- has: ''
+ has: 'domesticStandard:edit'
},
+ // 分享
{
text: this.$t('share'),
clickEvent: 'handleShare',
- has: ''
+ has: 'domesticStandard:share'
},
+ // 删除
{
text: this.$t('delete'),
clickEvent: 'handleDelete',
- has: ''
+ has: 'domesticStandard:delete'
}
],
getTableHeaderFunc: getDomesticStandardTableHeader,
@@ -243,7 +260,6 @@ export default {
exportZipUrl: '', // 带文件导出
importExcelUrl: '' // 导入
},
- dataSource: [{ id: 1, collectionFlag: '1', standard_name: '标准001', standard_number: 'BZ001' }],
yesValue: YesOrNoEnum.YES.value,
noValue: YesOrNoEnum.NO.value,
nowShareId: null, // 当前正在分享的数据的id