allocatr/public/assets/js/backend/orderplan.js
2025-04-22 23:18:17 +08:00

24 lines
573 B
JavaScript

define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) {
var Controller = {
dashboard: function () {
Controller.api.bindevent();
console.log(123);
},
add: function () {
Controller.api.bindevent();
},
edit: function () {
Controller.api.bindevent();
},
api: {
bindevent: function () {
Form.api.bindevent($("form[role=form]"));
}
}
};
return Controller;
});