<a href="javascript:void(0)" data-toggle="topjui-menubutton" data-options="method:'openDialog',
iconCls:'icon-edit',
grid:{type:'datagrid', id:'welderDatagrid'},
dialog:{
id:'welderEditDialog',
href:'${ctx}/welder/welderBasic/add',
url:'${ctx}/welder/welderBasic/getDetailByUuid?uuid={uuid}',
buttonsGroup:
[
{
text:'提交流程',
url:'${ctx}/welder/welderBasic/processUpdate',
iconCls:'icon-save',
handler:'ajaxForm',
reload:[
{type:'datagrid', id:'workingDatagrid'},
{type:'datagrid', id:'degreeDatagrid'}
]
},
{
text:'更新',
url:'${ctx}/welder/welderBasic/update',
iconCls:'icon-save',
handler:'ajaxForm',
reload:[
{type:'datagrid', id:'workingDatagrid'}
]
}
]
}">编辑</a>
想点击添加按钮,打开表单窗体,能否为表单带入一些参数。
<input id="cmd" type="hidden" name="cmd" value="{'/j2-easyui-encalendar-portlet.encalendar/get-default-calendar-booking-by-date':{}}">
<input type="hidden" id="userId" name="userId" value="">
<input type="hidden" id="p_auth" name="p_auth" value="">
<input type="hidden" id="locale" name="locale" value="en_US">
<input type="hidden" id="dayTime" name="dayTime" value="">
比如p_auth