| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
- <link rel="stylesheet" href="../css/init.css" />
- <link rel="stylesheet" href="../css/Table/table1.css" />
- <title>系统管理-->岗位设置</title>
- <style>
- .box {
- width: 35%;
- }
-
- .delModel .box,
- .proModel .box {
- width: 20%;
- }
-
- .boxCon {
- height: 285px;
- }
-
- .boxCon table th {
- width: 20%;
- }
-
- .boxCon table td textarea {
- width: 80%;
- }
-
- .treeTable {
- height: 500px;
- }
-
- .tree {
- height: 100%;
- }
-
- .treeCon {
- height: 90%;
- border: 1px solid #ebebeb;
- overflow-y: auto;
- }
-
- .trTitle {
- width: 100%;
- height: 34px;
- line-height: 34px;
- border-bottom: 1px solid #ebebeb;
- color: red;
- font-weight: 700;
- margin-bottom: 15px;
- }
- </style>
- </head>
- <body class="gray-bg">
- <div class="daoHang clearfix">
- <div class="dhLeft">
- <sapn><i class="syIcon"></i>位置:
- <a id="ReIndex" href="javaScript:;">首页</a>>
- <a href="javaScript:;">设备运维</a>>
- <!--<a href="javaScript:;">权限管理</a>>-->
- <a href="javascript:location.reload()" class="now_position">岗位设置</a>
- </sapn>
- </div>
- </div>
- <div class="wrapper wrapper-content animated fadeInRight pro_allocation">
- <div class="th-box">
- <div class="form-inline th-bar clearfix">
- <div class="form-group time-box">
- <i class="tub fa fa-search"></i>
- <input type="text" class="form-control" id="searJsz" placeholder="请输入岗位名称">
- </div>
- <div class="form-group pull-right tool_bars">
- <input type="button" class="btn_gray" id="sc_btns" value="搜索" />
- <input type="button" class="btn_gray" authorize="yes" id="HY_add" onclick="btn_add()" value="添加" />
- <input type="button" class="btn_gray" authorize="yes" id="HY_edit" onclick="btn_edit()" value="修改" />
- <input type="button" class="btn_gray" authorize="yes" id="HY_delete" onclick="btn_delete()" value="删除" />
- <input type="button" class="btn_gray" authorize="yes" id="HY_save" onclick="btn_save()" value="保存岗位" />
- </div>
- </div>
- </div>
- <div class="treeTable clearfix">
- <div class="tree col-md-5">
- <div class="trTitle"> 岗位列表</div>
- <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-align="center" data-formatter="setCode">编号</th>
- <th data-field="postname" data-align="center"> 岗位名称</th>
- <th data-field="postcode" data-align="center">岗位编码</th>
- <!--<th data-field="sort" data-align="center">排序</th>-->
- <th data-field="remark" data-align="center">备注</th>
- </tr>
- </thead>
- </table>
- </div>
- <div class="tableCon col-md-7">
- <div class="trTitle"> 岗位设置</div>
- <div class="treeCon">
- <ul id="treeDemo" class="ztree">
- <!--类名为ztree是必须的-->
- </ul>
- </div>
- </div>
- </div>
- </div>
- <!--添加弹出内容-->
- <div class="model addModel">
- <div class="box">
- <div class="btop clearfix">
- <p class="btl">添加岗位信息</p>
- <p class="btr addBtr" title="关闭">X</p>
- </div>
- <div class="boxCon">
- <table>
- <tbody>
- <tr>
- <th style="color: red;">岗位名称:</th>
- <td colspan="3"><input type="text" class="add_postname" /><span class="kong addJsz_kong" style="color: red;">*用户角色不允许为空</span></td>
- </tr>
- <tr>
- <th style="color: red;">岗位编码:</th>
- <td colspan="3"><input type="text" class="add_postcode" /><span class="kong addJsz_kong" style="color: red;">*用户编码不允许为空</span></td>
- </tr>
- <!--<tr>
- <th>排序:</th>
- <td colspan="3"><input type="text" class="add_sort" /></td>
- </tr>-->
- <tr>
- <th>备注:</th>
- <td colspan="3"><textarea rows="2" cols="20" class="add_remark"></textarea></td>
- </tr>
- </tbody>
- </table>
- <div class="text-center"><button class="btns addCun">保存</button></div>
- </div>
- </div>
- </div>
- <!--修改弹出内容-->
- <div class="model changeModel">
- <div class="box">
- <div class="btop clearfix">
- <p class="btl">添加角色信息</p>
- <p class="btr changeBtr" title="关闭">X</p>
- </div>
- <div class="boxCon">
- <table>
- <tbody>
- <tr>
- <th style="color: red;">用户角色:</th>
- <td colspan="3"><input type="text" class="change_postname" /><span class="kong change_kong" style="color: red;">*用户角色不允许为空</span></td>
- </tr>
- <tr>
- <th style="color: red;">岗位编码:</th>
- <td colspan="3"><input type="text" class="change_postcode" /><span class="kong addJsz_kong" style="color: red;">*用户编码不允许为空</span></td>
- </tr>
- <!--<tr>
- <th>排序:</th>
- <td colspan="3"><input type="text" class="change_sort" /></td>
- </tr>-->
- <tr>
- <th>备注:</th>
- <td colspan="3"><textarea rows="2" cols="20" class="change_remark"></textarea></td>
- </tr>
- </tbody>
- </table>
- <div class="text-center"><button class="btns changeCun">保存</button></div>
- </div>
- </div>
- </div>
- <!--删除弹出内容-->
- <div class="model delModel">
- <div class="box">
- <div class="btop clearfix">
- <p class="btl"><span>删除提示</span></p>
- <p class="btr delBtr" title="关闭">X</p>
- </div>
- <div class="boxCon" style="height: 150px;text-align: center;">
- <p style="font-size: 16px;">您确定要删除当前用户角色吗?删除后将无法恢复!</p>
- <p style="margin-top: 30px;"><button class="btns sure">确定</button>
- <button class="btns return">取消</button></p>
- </div>
- </div>
- </div>
- <!--删除弹出内容-->
- <div class="model proModel">
- <div class="box">
- <div class="btop clearfix">
- <p class="btl"><span>提示</span></p>
- <p class="btr proBtr" title="关闭">X</p>
- </div>
- <div class="boxCon" style="height: 150px;text-align: center;">
- <p style="font-size: 16px;">保存角色权限成功!</p>
- <p style="margin-top: 30px;"><button class="btns proSure">确定</button>
- </p>
- </div>
- </div>
- </div>
- </body>
- <script src="../js/laydate/laydate.js"></script>
- <script src="../js/zTree/jquery.ztree.core.js"></script>
- <script src="../js/zTree/jquery.ztree.excheck.min.js"></script>
- <script src="../js/autosize/autosize.min.js"></script>
- <script src="js/peopleInformation.js"></script>
- </html>
|