OAシステムフロントフロントエンドコード-MITテクノロジーの統合-大規模な開発

<Copy right 2020 Jacky Zong .All rightsreserved。> </ Copy>
<%@ page language = "java" contentType = "text / html; charset = UTF-8"
pageEncoding = "UTF-8"%>
<%@ page import = "java.util。*"%>
<%@ page import = "java.text。*"%>

<!DOCTYPE html PUBLIC "www.google.com">
<html>
<head>
    <meta name = "renderer" content = "webkit | ie-comp | ie-stand">
    <meta http-equiv = "X-UA -互換性のある "content =" IE = edge、chrome = 1 ">
    <meta name =" viewport "
          content =" width = device-width、initial-scale = 1、minimum-scale = 1.0、maximum-scale = 1.0、user -scalable = no "/>
    <meta http-equiv =" Cache-Control "content =" no-siteapp "/>
    <link rel =" Booking "href =" / favicon.ico ">
    <link rel =" Shortcut Icon "href =" / favicon.ico "/>
    <!-[if lt IE 9]>
    <script type ="text / javascript "src =" lib / html5shiv.js "> </ script>
    <script type =" text / javascript "src =" lib / response.min.js "> </ script>
    <![endif]- >>
    <link rel = "stylesheet" type = "text / css"
          href = "static / h-ui / css / H-ui.min.css" />
    <link rel = "stylesheet" type = "text / css"
          href = "static / h-ui.admin / css / H-ui.admin.css" />
    <link rel = "stylesheet" type = "text / css"
          href = "lib / Hui-iconfont / 1.0.8 / iconfont .css "/>
    <link rel =" stylesheet "type =" text / css "
          href =" static / h-ui.admin / skin / default / skin.css "id =" skin "/>
    <link rel =" stylesheet "type =" text / css "
          href =" static / h-ui.admin / css / style.css "/>
    <!-[IE6の場合]>
    <script type = "text / javascript" src = "lib / DD_belatedPNG_0.0.8a-min.js"> </ script>
    <script> DD_belatedPNG.fix( '*'); </ script>
    <![endif]- >>
    <title>組織リスト</ title>

</ head>
<body>

<nav class = "breadcrumb"> <i class = "Hui-iconfont">&#xe67f; </ i>首页
    < spanclass = "c-gray en">&gt; </ span>人事管理<spanclass = "c-gray en">&gt; </ span>
    デスクトップ管理<
            aclass = "btn btn-success radius r" style = "line-height:1.6em; margin-top:3px"
            href = "javascript:location。 replace(location.href); " title = "文字新"> <i
            class = "Hui-iconfont">&#xe68f; </ i> </a> </ nav>
<div class = "page-container">
    <form action = "searchBranch.do "metod =" post ">
        <div class =" text-c ">
            搜索条件:<

            <button type = "submit" class = "btn btn-success">
                <i class = "Hui-iconfont">&#xe665; </ i>搜机から
            </ button>
        </ div>
    </ form>
    <div class = "cl pd-5 bg-1 bk-gray mt-20">
            <span class = "l"> <a href = "#"οnclick= "alldelete(); return false"
                               class = "btn btn-danger radius "> <i class =" Hui-iconfont ">&#xe6e2; </ i>批量删除</a>
                <a href =" addbranch.do "class =" btn btn-primary radius "> <i
                        class = "Hui-iconfont">&#xe600; </ i>追加机で</ a> </ span> <span class = "r">共有データ:<strong> $ {count} </ strong>
                条
            </ span>
    </ div>
    <table class = "table table-border table-             bordered table-bg">
        <thead>
        <tr>
<th scope = "col" colspan = "9">机から列表</ th>
        </ tr>
        <tr class = "text-c">
            <th width = "25">&nbsp; </ th>
            <
            thwidth = "40">テーブルID </ th> <thwidth = "300">机表名</ th>
            <th width = "150">テーブル简称</ th>
            < thwidth = "130">ルス時間</ th>
            <thwidth = "100">是否已启用</ th>
            <thwidth = "100">操作</ th>
        </ tr>
        </ thead>
        <tbody>
        <c:forEach items = "$ {branchmanagement}" var = "branchs">
            <tr class = "text-c">
                <td> <input type = "checkbox"
                           value = "$ {branchs.t_branchinfo_id}" name = "checkid" id = "checkid"> </ td>
                <td> $ {branchs.t_branchinfo_id} </ td>
                <td > $ {branchs.t_branchinfo_name} </ td>
                <td> $ {branchs.t_branchinfo_shortname} </ td>
                <%
                String datetime = new SimpleDateFormat( "yyyy-MM-dd")。format(Calendar.getInstance()。getTime ());
                %>
                <td>
                    <%
                    out.print(new java.text.SimpleDateFormat( "yyyy-MM-dd hh:mm:ss")。format(new Date()));


                <td class = "td-status"> <span
                        class = "labellabel-successradius">已启用</ span> </ td>
                <td class = "td-manage"> <a style = "text-decoration :なし "
                                         onClick =" admin_stop(this、 '10001') "href =" javascript:; " title = "停用"> <iclass
                        = "Hui-iconfont">&#xe631; </ i> </a> <atitle = "编辑"
                                                                 href = "updatebranch.do?id = $ {branchs.t_branchinfo_id }&name = $ {branchs.t_branchinfo_name}&shortname = $ {branchs.t_branchinfo_shortname} "

                                                                 style = "text-decoration:none"> <i class = "Hui-iconfont">&#xe6df; </ i> </a>
                    <a title = "删除"
                       href = "DeleteBranch.do?branchid = $ { branchs.t_branchinfo_id} "
                       class =" ml-5 "style =" text-decoration:none "> <i
                            class =" Hui-iconfont ">&#xe6e2; </ i> </a> </ td>
            </ tr>
        </ c:forEach>
        </ tbody>
    </ table>

    <div align = "right">
        <fontsize = "2">共$ {page.totalPageCount}页</ font> <fontsize = "2">第
        $ {page.pageNow}页</ font> <a href = "branch_management.do?pageNow=1">首页</a>
        <c:choose>
            <c:when test = "$ {page.pageNow-1> 0}">
                <a href = "branch_management.do? pageNow = $ {page.pageNow-1} ​​">上一页</a>
            </ c:when>
            <c:when test =" $ {page.pageNow-1 <= 0} ">
                <a href =" branch_management.do?pageNow=1 ">上一页</a>
            </ c:when>
        </ c:choose>
        <c:choose>
            <c:when test = "$ {page.totalPageCount == 0}">
                <a href="branch_management.do?pageNow=${page.pageNow}">下一页</a>
            </ c:when>
            <c:when test = "$ {page.pageNow + 1 <page.totalPageCount}">
                <a href="branch_management.do?pageNow=${page.pageNow +1}">下一页</a>
            </ c:when>
            <c:when test = "$ {page.pageNow + 1> = page.totalPageCount}">
                <a href = "branch_management.do?pageNow = $ {page.totalPageCount} ">下一页</a>
            </ c:when>
        </ c:choose>
        <c:choose>
            <c:when test =" $ {page.totalPageCount == 0} ">
                <a href =" branch_management .do?pageNow = $ {page.pageNow} ">尾页</a>
            </ c:when>
            <c:それ以外>
                <ahref = "branch_management.do?pageNow = $ {page.totalPageCount}
            ">尾页</a> </ c:それ以外の場合>
        </ c:choose>
    </ div>

</ div>

<script type = "text / javascript" src = "lib / jquery / 1.9.1 / jquery.min.js"> </ script>
<script type = "text / javascript" src = "lib / layer / 2.4 / layer .js "> </ script>
<script type =" text / javascript "src =" static / h-ui / js / H-ui.min.js "> </ script>
<script type =" text / javascript " src = "static / h-ui.admin / js / H-ui.admin.js"> </ script>

<script type = "text / javascript"
        src = "lib / My97DatePicker / 4.8 / WdatePicker.js"> </ script>
<script type = "text / javascript"
        src = "lib / datatables / 1.10.0 / jquery.dataTables .min.js "> </ script>
<script type =" text / javascript "src =" lib / laypage / 1.2 / laypage.js "> </ script>
<script type =" text / javascript ">
    var array = [];
    var string = "";
    function alldelete(){         $( "input [name = 'checkid']:checkbox:checked")。each(function(){             array.push($(this).val());         })         location.href = " deleteAllBranch.do?branchid="+配列;









     title
     Titleurl要求されたurlid
     操作するデータIDw
     ポップアップレイヤーの幅(デフォルト値はデフォルトで調整されます)
     hポップアップレイヤーの高さ(デフォルト値はデフォルトで調整されます)
     * /
    / * Organization-modify * /
    / * Organization-add * /
    function branch_add(title、url、w、h){         layer_show(title、url、w、h);     }     / *組織の削除-削除* /     function branch_del(obj、id){         layer.confirm( '本当に削除しますか? '、function(index){             $ .ajax({                 type:' POST '、                 url:' '、                 dataType:' json '、                 success:function(data){                     $(obj).parents( "tr")。remove( );











                    layer.msg( 'Deleted!'、{                         icon:1、                         time:1000                     });                 }、                 error:function(data){                     console.log(data.msg);                 }、             });         });     }     //関数を無効にしてから有効にして、もう一度作成する時間があります     / * Organization-Edit * /     function admin_edit(title、url、id、w、h){         layer_show(title、url、w、h);     }     / * Organization-Disable * /     function admin_stop(obj、id){         layer             .confirm(                 '本当に停止しますか?'、




















                function(index){                     //ここでバックグラウンドプログラムが要求されます。成功後のフォアグラウンド処理は次のとおりです...                     $(obj)                         .parents( "tr")                         。find( "。td-manage")。                         prepend(                             '<a onClick = "admin_start(this、id)" href = "javascript :;" title = "Enable" style = "text-decoration:none"> <i class = "Hui-iconfont">&#xe615; </ i> < / a> ');                     $(obj)                         .parents( "tr")                         。find( "。td-status")。                         html(                             ' <span class = "label label-default radius "> Disabled </ span> ');                     $(obj).remove();












                    layer.msg( 'Disabled!'、{                         icon:5、                         time:1000                     });                 });     }     / * Administrator-Enable * /     function admin_start(obj、id){         layer             .confirm(                 'Confirm to enable '、                 function(index){                     //ここでバックグラウンドプログラムが要求され、成功後のフォアグラウンド処理は以下のとおりです...                     $(obj)                         .parents( "tr")                         。find( "。td-manage")。                         prepend(
















                            '<a onClick = "admin_stop(this、id)" href = "javascript:;" title = "停用" style = "text-decoration:none"> <i class = "Hui-iconfont">&#xe631; </ i> </a> ');
                    $(obj)
                        .parents( "tr")
                        。find( "。td-status")。
                        html(
                            '<span class = " labellabel-successradius ">已启用</ span>');
                    $(obj).remove();
                    layer.msg( '已启用!'、{                         アイコン:6、                         時間:1000                     });                 });







おすすめ

転載: blog.csdn.net/weixin_45806384/article/details/109235271
おすすめ