新增表格参数(是否支持打印页面showPrint)

This commit is contained in:
RuoYi
2021-06-10 11:11:54 +08:00
parent 3111b66bdb
commit dcf28440f7
2 changed files with 4 additions and 1 deletions

View File

@ -61,6 +61,7 @@ var table = {
showColumns: true,
showToggle: true,
showExport: false,
showPrint: false,
exportDataType: 'all',
exportTypes: ['csv', 'txt', 'doc', 'excel'],
clickToSelect: false,
@ -110,6 +111,7 @@ var table = {
showColumns: options.showColumns, // 是否显示隐藏某列下拉框
showToggle: options.showToggle, // 是否显示详细视图和列表视图的切换按钮
showExport: options.showExport, // 是否支持导出文件
showPrint: options.showPrint, // 是否支持打印页面
showHeader: options.showHeader, // 是否显示表头
showFullscreen: options.showFullscreen, // 是否显示全屏按钮
uniqueId: options.uniqueId, // 唯一的标识符