123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
- <!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/gkjcxx/xzdwxxgl/xzglryxx/xzglrymain.js"></script>
- <script type="text/javascript">
- $(document).ready(function () {
- xzglry.main.init();
- xzglry.main.selXbData='${listXb}';
- xzglry.main.selBmlx='${listGkglbmlx}';
- xzglry.main.selSzd='${listSzd}';
- xzglry.main.selLx = '${listLx}';
- iFrameHeightIframe('${menuid}');//自适应高度
- xzglry.main.treeObj=$.fn.zTree.init($("#tree"), setting);
- //关闭人员新增的弹出框
- $('.guanbi').click(function(){
- xzglry.main.close();
- })
- //关闭部门新增的弹出框
- $('.guanbibm').click(function(){
- xzglry.main.close1();
- })
- });
- </script>
- <script type="text/javascript">
- var setting = {
- async: {
- enable: true,
- url:$.app+"/xzglry/getTreeData",
- contentType : "application/x-www-form-urlencoded", //已form的形式提交参数
- autoParam: ["id","name"]
- },
- view:{
- showLine:false//去掉虚线
- },
- callback: {
- //beforeClick: xzglry.main.beforeClick,//点击前事件
- onClick: xzglry.main.onClick//点击事件
- }
- };
- </script>
- </head>
- <body>
- <div class="box" >
- <div class="box-content" style="min-height: 500px;">
-
- <div class="treediv" style="overflow: auto;max-height: 500px;">
- <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="left" colspan="2">
- <a class="btn btn-default btn-sm" href="#" onclick="xzglry.main.add1()">
- <i class="glyphicon glyphicon-plus"></i>
- 新增部门/科室</a>
- <a class="btn btn-default btn-sm" href="#" onclick="xzglry.main.editbm()">
- <i class="glyphicon glyphicon-pencil"></i>
- 编辑部门/科室</a>
- <a class="btn btn-default btn-sm" href="#" onclick="xzglry.main.deletebm()">
- <i class="glyphicon glyphicon-wrench"></i>
- 删除部门/科室</a>
-
- </td>
- <td class="right" >
- </td>
- <td class="right" >
- </td>
- <td class="right" colspan="2" id="addRytd">
- </td>
- </tr>
- </table>
- </div>
- <!-- 列表 -->
- <div style="background-color:#f4f4f4;" id="liebiaodiv">
- <table class="main_table" cellpadding="0" cellspacing="0">
- <tr id="liebiaotr">
- </tr>
- <tbody id="liebiao">
-
- </tbody>
- </table>
- </div>
- <!-- <div id="bmAdddiv">
- <form id="addform3" method="post">
- <table class="apply" cellpadding="0" cellspacing="0" id="bmAdd">
-
- </table>
- </form>
- <div id="buttons">
- </div>
- </div> -->
- </div>
-
- </div>
- </div>
-
- <!-- 弹出框 -->
- <div class="theme-popover" style="width: 900px;height: 360px;" id="theme-popover1">
- <div class="theme-poptit">
- <div class="popTitle">
- <h4><span id="act2"></span>人员</h4>
- </div>
- <div class="close">
- <a href="#" title="关闭" class="guanbi">×</a>
- </div>
- </div>
- <form id="addform" method="post">
- <input type="hidden" id="editid2" name="id">
- <input type="hidden" id="editssbm" name="ssbmid">
- <table class="apply" cellpadding="0" cellspacing="0">
- <tr>
- <th><span class="needwrite">*</span>姓名: </th>
- <td >
- <input type="text" class="form-control" id="editxm" name="xm" maxlength="40">
- </td>
- <th><span class="needwrite">*</span>性别: </th>
- <td >
- <div id="selXb"></div>
- </td>
- </tr>
- <tr>
- <th><span class="needwrite">*</span>排序号: </th>
- <td >
- <input type="text" class="form-control" id="editsortno" name="sortno"
- onkeyup="value=value.replace(/[^\d]/g,'')"
- onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
- </td>
- <th>岗位: </th>
- <td >
- <input type="text" class="form-control" id="editgw" name="gw" maxlength="20">
- </td>
- </tr>
- <tr>
- <th>职称: </th>
- <td>
- <input type="text" class="form-control" id="editzc" name="zc" maxlength="40">
- </td>
- <th>通信地址: </th>
- <td>
- <input type="text" class="form-control" id="edittxdz" name="txdz" maxlength="40">
- </td>
- </tr>
- <tr>
- <th>邮政编码: </th>
- <td>
- <input type="text" class="form-control" id="edityzbm" name="yzbm">
- </td>
- <th>电子邮箱: </th>
- <td>
- <input type="text" class="form-control" id="editdzyx" name="dzyx" maxlength="40">
- </td>
- </tr>
- <tr>
- <th>传真: </th>
- <td>
- <!-- <input type="text" class="form-control" id="editcz" name="cz"
- onkeyup="value=value.replace(/[^\d]/g,'')"
- onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
- maxlength="40"> -->
- <input type="text" class="form-control" id="editcz" name="cz" maxlength="40">
- </td>
- <th>联系电话: </th>
- <td>
- <!-- <input type="text" class="form-control" id="editlxfs" name="lxfs"
- onkeyup="value=value.replace(/[^\d]/g,'')"
- onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
- maxlength="40"> -->
- <input type="text" class="form-control" id="editlxfs" name="lxfs" maxlength="40">
- </td>
- </tr>
- <tr>
- <th>手机: </th>
- <td>
- <input type="text" class="form-control" id="editphone" name="phone"
- onkeyup="value=value.replace(/[^\d]/g,'')"
- onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
- maxlength="30">
- </td>
- <th></th>
- <td></td>
- </tr>
- </table>
- </form>
- <div id="buttons">
- <a class="btn btn-default btn-sm" href="#" onclick="xzglry.main.save()">
- <i class="glyphicon glyphicon-floppy-disk"></i>
- 保存</a>
- <a class="btn btn-default btn-sm" href="#" onclick="xzglry.main.close()">
- <i class="glyphicon glyphicon-arrow-left"></i>
- 取消</a>
- </div>
- </div>
- <div class="theme-popover-mask" id="theme-popover-mask1"></div>
-
- <!-- 弹出框2 -->
- <div class="theme-popover" style="width: 900px;height: 430px;" id="theme-popover2">
- <div class="theme-poptit">
- <div class="popTitle">
- <h4><span id="act1"></span>部门/科室</h4>
- </div>
- <div class="close">
- <a href="#" title="关闭" class="guanbibm">×</a>
- </div>
- </div>
-
-
- <form id="addform2" method="post">
- <input type="hidden" id="editid1" name="id">
- <input type="hidden" id="editpid" name="pid" value="00">
- <table class="apply" cellpadding="0" cellspacing="0">
- <tr>
- <th><span class="needwrite">*</span>所在地: </th>
- <td >
- <div id="selSzd"></div>
- </td>
- <th><span class="needwrite">*</span>港口管理部门全称: </th>
- <td >
- <input type="text" class="form-control" id="editgkglbmqc" name="gkglbmqc" maxlength="100">
- </td>
- </tr>
- <tr>
- <!-- <th><span class="needwrite">*</span>部门类型: </th>
- <td >
- <div id="selBmlx"></div>
- </td> -->
- <th>类型: </th>
- <td>
- <div id="selLx"></div>
- </td>
- <th>人员编制(人): </th>
- <td >
- <input type="text" class="form-control" id="editrybz" name="rybz" style="width: 80%;"
- onkeyup="value=value.replace(/[^\d]/g,'') "
- onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
- </td>
-
- </tr>
- <tr>
- <th>联系人: </th>
- <td >
- <input type="text" class="form-control" id="editlxr" name="lxr" maxlength="20">
- </td>
- <th>联系电话: </th>
- <td >
- <input type="text" class="form-control" id="editlxdh" name="lxdh" style="width: 80%;"
- onkeyup="value=value.replace(/[^\d]/g,'')"
- onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
- maxlength="40">
- </td>
-
- </tr>
- <tr>
- <th>邮编: </th>
- <td>
- <input type="text" class="form-control" id="edityb" name="yb" style="width: 80%;"
- onkeyup="value=value.replace(/[^\d]/g,'') "
- onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
- </td>
- <th>地址: </th>
- <td>
- <input type="text" class="form-control" id="editaddress" name="address" maxlength="200">
- </td>
-
- </tr>
- <tr>
- <th>电子邮箱: </th>
- <td>
- <input type="text" class="form-control" id="editemail" name="email" maxlength="100">
- </td>
- <th>传真: </th>
- <td>
- <input type="text" class="form-control" id="editcz" name="cz" style="width: 80%;"
- onkeyup="value=value.replace(/[^\d]/g,'')"
- onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
- maxlength="40">
- </td>
-
-
- </tr>
- <tr>
- <th>排序号: </th>
- <td >
- <input type="text" class="form-control" id="editsortno" name="sortno" maxlength="20">
- </td>
- <th>是否末级: </th>
- <td>
- <select class='selectpicker' name='leaf' >
- <option value="Y" >是</option>
- <option value="N" selected="selected">否</option>
- </select>
- </td>
-
- </tr>
- <tr>
- <!-- <th>备注: </th>
- <td>
- <input type="text" class="form-control" id="editbz" name="bz" maxlength="200">
- </td> -->
- <th>备注: </th>
- <td colspan="4">
- <textarea class="form-control" id="editbz" name="bz" style="width:92.5%;height:80px;" onkeyup="limitTextArea(this,200)"></textarea>
- </td>
- </tr>
- </table>
- </form>
- <div id="buttons">
- <a class="btn btn-default btn-sm" href="#" onclick="xzglry.main.save1()">
- <i class="glyphicon glyphicon-floppy-disk"></i>
- 保存</a>
- <a class="btn btn-default btn-sm" href="#" onclick="xzglry.main.close1()">
- <i class="glyphicon glyphicon-arrow-left"></i>
- 取消</a>
- </div>
- </div>
- <div class="theme-popover-mask" id="theme-popover-mask2"></div>
- </body>
- </html>
|