You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
1.4 KiB

let buttons = [{
name: "查 询",
value: 'Search',
icon: 'el-icon-search',
class: '',
type: 'primary',
onClick: function () {
this.search();
}
},
{
name: "新 建",
icon: 'el-icon-plus',
value: 'Add',
class: '',
// plain:true,
type: 'success',
// plain:true,
onClick: function () {
this.add();
}
},{
name: "编 辑",
icon: 'el-icon-edit',
value: 'Update',
// plain:true,
class: '',
type: 'primary',
onClick: function () {
this.edit();
}
}, {
name: "删 除",
icon: 'el-icon-delete',
class: '',
value: 'Delete',
type: 'danger',
onClick: function () {
this.del();
}
}, {
name: "审 核",
icon: 'el-icon-check',
class: '',
value: 'Audit',
plain:true,
type: 'primary',
onClick: function () {
this.audit();
}
},
{
name: "导 入",
icon: 'el-icon-top',
class: '',
type:'success',
plain:true,
value: 'Import',
onClick: function () {
this.import();
}
}, {
name: "导 出",
icon: 'el-icon-bottom',
type:'success',
plain:true,
value: 'Export',
onClick: function () {
this.export();
}
}
// , {
// name: "数据结构",
// icon: 'ios-cog',
// class: '',
// value: '',
// onClick: function () {
// this.openViewColumns();
// }
// }
]
export default buttons