init commit

This commit is contained in:
2026-03-17 09:56:00 +08:00
commit e2c8ae752d
6827 changed files with 1211784 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) {
var Controller = {
examine: function () {
Controller.api.bindevent();
},
offline_examine: function () {
Controller.api.bindevent();
},
api: {
bindevent: function () {
Form.api.bindevent($("form[role=form]"));
$(document).on('change','input[name="row[state]"]',function (){
var type=$(this).val();
switch (type){
case "2":
$('.reject').addClass('hide');
break;
case "3":
$('.reject').removeClass('hide');
break;
}
});
}
}
};
return Controller;
});