update
This commit is contained in:
@@ -85,6 +85,7 @@ public class TestDataController extends BaseController {
|
||||
public String form(TestData testData, String flag, Model model) {
|
||||
testDataService.loadChildData(testData);
|
||||
model.addAttribute("testData", testData);
|
||||
// model.addAttribute("testSelectItems", DictUtils.getDictList("sys_menu_type"));
|
||||
return "modules/test/testDataForm"+ StringUtils.defaultString(flag, "");
|
||||
}
|
||||
|
||||
|
||||
@@ -245,6 +245,7 @@ $('#testDataChildDataGrid').dataGrid({
|
||||
},
|
||||
editable:true, edittype:'select', editoptions:{'class':'form-control',
|
||||
items: $.merge([{dictLabel:' ',dictValue:''}], "#{@DictUtils.getDictListJson('sys_menu_type')}"),
|
||||
// items: $.merge([{dictLabel:' ',dictValue:''}], "#{toJson(testSelectItems![])}"),
|
||||
itemLabel: 'dictLabel', itemValue: 'dictValue', dataInit: function(element){
|
||||
js.select2(element).on("change",function(){$(this).resetValid()});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user