所有页面的按钮标识和自定义路由标识的匹配
This commit is contained in:
@@ -63,13 +63,13 @@
|
||||
],
|
||||
tableButton: {
|
||||
top: [
|
||||
{content: '新增', fnCode: 'insert', type: 'primary', icon: 'el-icon-plus', hasPermi: 'problemRecord:add'},
|
||||
{content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'problemRecord:delete'},
|
||||
{content: '导出', fnCode: 'export', type: 'primary', icon: 'el-icon-download', hasPermi: 'problemRecord:export'},
|
||||
{content: '新增', fnCode: 'insert', type: 'primary', icon: 'el-icon-plus', hasPermi: 'sync:problemRecord:add'},
|
||||
{content: '删除', fnCode: 'delete', type: 'danger', icon: 'el-icon-delete', hasPermi: 'sync:problemRecord:delete'},
|
||||
{content: '导出', fnCode: 'export', type: 'primary', icon: 'el-icon-download', hasPermi: 'sync:problemRecord:export'},
|
||||
],
|
||||
line: [
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'problemRecord:edit'},
|
||||
{content: '查看', fnCode: 'view', type: 'text', icon: 'el-icon-view', hasPermi: 'problemRecord:view'},
|
||||
{content: '修改', fnCode: 'edit', type: 'text', icon: 'el-icon-edit', hasPermi: 'sync:problemRecord:edit'},
|
||||
{content: '查看', fnCode: 'details', type: 'text', icon: 'el-icon-view', hasPermi: 'sync:problemRecord:details'},
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -132,7 +132,7 @@
|
||||
}
|
||||
});
|
||||
break;
|
||||
case 'view':
|
||||
case 'details':
|
||||
this.fnDetails(rowData);
|
||||
break;
|
||||
case 'delete':
|
||||
|
||||
Reference in New Issue
Block a user