2018-08-30 06:50:03 +00:00
|
|
|
module.exports.crudModel = {
|
|
|
|
data: [],
|
2018-09-14 12:18:39 +00:00
|
|
|
filter: {},
|
|
|
|
order: {},
|
|
|
|
|
2018-08-30 06:50:03 +00:00
|
|
|
insert: () => {
|
|
|
|
return new Promise(accept => {
|
|
|
|
accept();
|
|
|
|
});
|
|
|
|
},
|
|
|
|
remove: () => {
|
|
|
|
return new Promise(accept => {
|
|
|
|
accept();
|
|
|
|
});
|
|
|
|
},
|
|
|
|
save: () => {
|
|
|
|
return new Promise(accept => {
|
|
|
|
accept();
|
|
|
|
});
|
|
|
|
},
|
2018-10-31 13:56:54 +00:00
|
|
|
refresh: () => {},
|
|
|
|
addFilter: () => {},
|
|
|
|
applyFilter: () => {}
|
2018-08-30 06:50:03 +00:00
|
|
|
};
|