123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <%@page contentType="text/html" pageEncoding="UTF-8"%>
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>树形表格</title>
- <%@include file="../../include.jsp" %>
- </head>
- <body>
- <!-- <div class="box1" id="formContent" style="overflow:auto;height:600px;"> -->
- <div style="overflow:auto;height:320;">
- <form id="sysmenu_form">
- <table class="tableStyle" formMode="line">
-
- <tr style="display:none">
- <td colspan="2"><input type="hidden" name="classid" value=893/></td>
- <td colspan="2"><input type="hidden" name="FD_OBJECTID893" value=""/></td>
- </tr>
- <tr style="display:none">
- <td width="15%">菜单编号:</td>
- <td width="35%"><input name="MENU_ID_893" type="text" value="" maxlength="" style="width:90%"></td>
- <td width="15%">父编号:</td>
- <td width="35%"><input name="PARENT_MENU_ID_893" id="PARENTCODE_893" type="text" value="" maxlength="" style="width:90%"></td>
- </tr>
- <tr>
- <td width="15%">菜单名称:</td>
- <td ><input name="MENU_NAME_893" type="text" maxlength="" style="width:96%"></td>
- </tr>
- <tr>
- <td width="15%">排序号:</td>
- <td ><input name="SORTNO_893" type="text" maxlength="" style="width:96%"></td>
- </tr>
- <tr>
- <td width="15%">菜单状态:</td>
- <td ><input name="MENU_STATU_893" type="text" maxlength="" style="width:96%"></td>
- </tr>
- <tr>
- <td width="15%">是否叶节点:</td>
- <td ><input name="IS_LEAF_893" type="text" maxlength="" style="width:96%"></td>
- </tr>
- <tr>
- <td width="15%">功能连接:</td>
- <td ><input name="MENU_URL_893" type="text" maxlength="" style="width:96%"></td>
-
- </tr>
- <tr>
- <td width="15%">菜单图片:</td>
- <td ><input name="MENU_IMG_893" type="text" maxlength="" style="width:96%"></td>
- </tr>
- <tr>
-
-
- </tr>
- </table>
- </form>
- </div>
- <script>
- var fd_objectid="<%=request.getParameter("fd_id")%>";
- $(function(){
- if(fd_objectid.length>0){
-
- var params = {classid : "893",objectID : "<%=request.getParameter("fd_id")%>"};
- $.ajax({
- url : $.pathname() + '/ws/crud/CRUDService/getDataById/',
- type : 'post',
- timeout : 15000,
- data : params,
- dataType : 'json',
- success : function(data){
- $('#sysmenu_form').ajaxWrite({data:data});
- $("#sysmenu_form input[name='classid']").val("893");
- },
- error : function(e){
- $.messager.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
- var code = '<%=request.getParameter("code") %>';
-
- $("#sysmenu_form input[name='MENU_ID_893']").val(code);
- $("#sysmenu_form input[name='PARENT_MENU_ID_893']").val("<%=request.getParameter("pcode") %>");
- $("#sysmenu_form input[name='classid']").val("893");
- var url = $.pathname() + '/ws/sys/constantService/getQuiConstantByName/';
- });
- </script>
- </body>
|