| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- /**
- * 按钮
- */
- export default {
- 'search': {
- label: '查询',
- type: 'primary',
- icon: 'ibps-icon-search',
- scope: ['toolbar', 'search']
- },
- // 'delete': {
- // label: '删除',
- // type: 'danger',
- // icon: 'ibps-icon-delete',
- // scope: ['toolbar', 'delete']
- // },
- 'resetSearch': {
- label: '刷新',
- icon: 'ibps-icon-undo',
- scope: ['toolbar', 'search']
- },
- 'moreSearch': {
- label: '更多',
- type: 'primary',
- icon: 'ibps-icon-ellipsis-h',
- scope: ['toolbar', 'search']
- },
- 'add': {
- label: '添加',
- type: 'success',
- icon: 'ibps-icon-add',
- scope: ['toolbar', 'contextmenu'],
- contextmenu: 'all'
- },
- 'remove': {
- label: '删除',
- type: 'danger',
- icon: 'ibps-icon-remove',
- scope: ['toolbar', 'manage'],
- contextmenu: 'sub'
- },
- 'edit': {
- label: '编辑',
- type: 'primary',
- icon: 'ibps-icon-edit',
- scope: ['toolbar', 'manage'],
- contextmenu: 'sub'
- },
- 'detail': {
- label: '明细',
- type: 'primary',
- icon: 'ibps-icon-detail',
- scope: ['toolbar', 'manage'],
- contextmenu: 'sub'
- },
- 'batchModify': {
- label: '批量修改',
- type: 'primary',
- icon: 'ibps-icon-check-square-o',
- scope: ['toolbar']
- },
- 'import': {
- label: '导入',
- type: 'primary',
- icon: 'ibps-icon-import',
- scope: ['toolbar']
- },
- 'export': {
- label: '导出',
- type: 'primary',
- icon: 'ibps-icon-export',
- scope: ['toolbar'],
- dropdown: [{
- label: '导出所有',
- key: 'exportAll'
- }, {
- label: '导出选中',
- key: 'exportSelected'
- }, {
- label: '导出当前页',
- key: 'exportCurPage'
- }]
- },
- 'close': {
- label: '关闭',
- type: 'danger',
- icon: 'ibps-icon-close',
- scope: ['edit', 'detail']
- },
- 'save': {
- label: '保存',
- type: 'primary',
- icon: 'ibps-icon-save',
- scope: ['edit']
- },
- 'print': {
- label: '打印',
- type: 'primary',
- icon: 'ibps-icon-print',
- scope: ['toolbar', 'manage', 'edit', 'detail']
- },
- 'custom': {
- label: '自定义',
- type: 'primary',
- icon: 'ibps-icon-setting',
- scope: ['toolbar', 'manage', 'edit', 'detail', 'dialog']
- },
- 'confirm': {
- label: '确定',
- type: 'primary',
- icon: 'ibps-icon-ok',
- scope: ['dialog']
- },
- 'clean': {
- label: '清空',
- type: 'info',
- icon: 'ibps-icon-clean',
- scope: ['dialog']
- },
- 'cleanSelected': {
- label: '清空选择',
- type: 'warning',
- icon: 'ibps-icon-times-circle-o',
- scope: ['dialog']
- },
- 'cancel': {
- label: '取消',
- icon: 'ibps-icon-cancel',
- scope: ['dialog']
- },
- 'refresh': {
- label: '刷新',
- type: 'primary',
- icon: 'ibps-icon-refresh',
- scope: ['toolbar']
- },
- 'expand': {
- label: '展开',
- type: 'primary',
- icon: 'ibps-icon-expand',
- scope: ['toolbar']
- },
- 'compress': {
- label: '收缩',
- type: 'primary',
- icon: 'ibps-icon-compress',
- scope: ['toolbar']
- },
- 'more': {
- label: '更多',
- type: 'primary',
- icon: 'ibps-icon-list-alt',
- scope: ['toolbar']
- },
- 'collapse': {
- label: '收缩',
- icon: 'ibps-icon-angle-up',
- scope: ['toolbar']
- },
- 'expansion': {
- label: '展开',
- icon: 'ibps-icon-angle-down',
- scope: ['toolbar']
- },
- 'fullscreen': {
- label: '全屏',
- icon: 'ibps-icon-window-maximize',
- scope: ['toolbar']
- },
- 'fullscreenOn': {
- label: '小屏',
- icon: 'ibps-icon-window-restore',
- scope: ['toolbar']
- }
- }
|