若依开源1.1.4发布
This commit is contained in:
@@ -5,10 +5,10 @@ $("#form-${classname}-edit").validate({
|
||||
},
|
||||
},
|
||||
submitHandler:function(form){
|
||||
edit();
|
||||
update();
|
||||
}
|
||||
});
|
||||
|
||||
function edit() {
|
||||
function update() {
|
||||
_ajax_save(ctx + "${moduleName}/${classname}/save", $('#form-${classname}-edit').serialize());
|
||||
}
|
@@ -4,12 +4,12 @@ $(function() {
|
||||
var columns = [{
|
||||
checkbox: true
|
||||
},
|
||||
#foreach($column in $columns)
|
||||
#foreach($column in $columns)
|
||||
{
|
||||
field : '${column.attrname}',
|
||||
title : '${column.columnComment}'
|
||||
},
|
||||
#end
|
||||
#end
|
||||
{
|
||||
title: '操作',
|
||||
align: 'center',
|
||||
|
Reference in New Issue
Block a user