123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>江苏省港口建设与经营管理信息系统</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <%@ include file="../../common.jsp"%>
- <script type="text/javascript" src="${app }/static/biz/js/set/code/codemain.js"></script>
- <script type="text/javascript">
-
- var setting = {
- async: {
- enable: true,
- url:$.app+"/code/getTreeData",
- contentType : "application/x-www-form-urlencoded", //已form的形式提交参数
- autoParam: ["id"]
- },
- view:{
- showLine:false//去掉虚线
- },
- callback: {
- onClick: code.main.onClick//点击事件
- }
- };
- $(document).ready(function () {
- code.main.init(setting);
- $('.guanbi').click(function(){
- code.main.close();
- });
- iFrameHeightIframe('${menuid}');//自适应高度
-
- });
- </script>
- </head>
- <body>
- <div class="box" >
- <div class="box-content" style="border: 0px;background-color:#fff;">
-
- <div class="treediv">
- <ul id="tree" class="ztree" style="width:100%; "></ul>
- </div>
-
- <div class="treecontent">
- <div >
- <table class="search_table" cellpadding="0" cellspacing="0">
- <tr>
- <th width="10%"></th>
- <th width="25%"></th>
- <th width="10%"></th>
- <th width="25%"></th>
- <th width="10%"></th>
- <th width="20%"></th>
- </tr>
- <tr>
- <tr>
- <td class="right">
-
- </td>
- <td >
-
- </td>
- <td class="right">
-
- </td>
- <td >
-
-
- </td>
- <td class="right" colspan="2">
- <a class="btn btn-default btn-sm" href="#" onclick="code.main.add()">
- <i class="glyphicon glyphicon-plus"></i>
- 新增</a>
-
- </td>
- </tr>
- </table>
- </div>
- <!-- 列表 -->
- <div style="background-color:#f4f4f4;">
- <table class="main_table" cellpadding="0" cellspacing="0">
- <tr>
- <th width="20%">字典名称</th>
- <th width="14%">字典编码</th>
- <th width="16%">主键+父主键</th>
- <th width="10%">字典值</th>
- <th width="10%">组编码</th>
- <th width="10%">排序号</th>
- <th width="1%" class='operatetd'>操作</th>
- </tr>
- <tbody id="liebiao">
-
- </tbody>
- </table>
- </div>
- </div>
-
- </div>
- </div>
-
- <!-- 弹出框 -->
- <div class="theme-popover" style="width: 700px;height: 360px;">
- <div class="theme-poptit">
- <div class="popTitle">
- <h4>字典新增</h4>
- </div>
- <div class="close">
- <a href="#" title="关闭" class="guanbi">×</a>
- </div>
- </div>
- <form id="addform" method="post">
-
- <table class="apply" cellpadding="0" cellspacing="0">
- <tr>
- <th>字典名称 : </th>
- <td >
- <input type="text" class="form-control" id="edittext" name="text">
- </td>
- <th>字典编码 : </th>
- <td >
- <input type="text" class="form-control" id="editcode" name="code">
- </td>
- </tr>
- <tr>
- <th>字典值 : </th>
- <td >
- <input type="text" class="form-control" id="editval" name="val">
- </td>
- <th>组编码 : </th>
- <td >
- <input type="text" class="form-control" id="editgroupCode" name="groupCode">
- </td>
- </tr>
- <tr>
- <th>排序号 : </th>
- <td >
- <input type="text" class="form-control" id="editsortno" name="sortno">
- </td>
- <th>主键 : </th>
- <td >
- <input type="text" class="form-control" id="editid" name="id">
- </td>
- </tr>
- <tr>
- <th>父主键 : </th>
- <td >
- <input type="text" class="form-control" id="editpid" value="00" name="pid">
- </td>
- <th>备注</th>
- <td >
- <input type="text" class="form-control" id="editbz" name="bz">
- </td>
- </tr>
- </table>
- </form>
- <div id="buttons">
- <a class="btn btn-default btn-sm" href="#" onclick="code.main.save()">
- <i class="glyphicon glyphicon-floppy-disk"></i>
- 保存</a>
- <a class="btn btn-default btn-sm" href="#" onclick="code.main.close()">
- <i class="glyphicon glyphicon-arrow-left"></i>
- 取消</a>
- </div>
- </div>
- <div class="theme-popover-mask"></div>
- </body>
- </html>
|