Zhouzhendong 4 лет назад
Родитель
Сommit
cbb4fb15c8

+ 8 - 0
app/Http/Controllers/HomeController.php

@@ -34,4 +34,12 @@ class HomeController extends Controller
     {
         return view('home');
     }
+
+    public function help()
+    {
+        $filePath = base_path('文档\\SystemHandBook.md');
+        $read = @file_get_contents($filePath);
+        $read = str_replace(["\r","\n",'"'],["\\r",'\\n',"'"],$read);
+        return view("help",compact("read"));
+    }
 }

+ 0 - 4
app/Http/Controllers/TestController.php

@@ -149,10 +149,6 @@ class TestController extends Controller
     }
     public function test()
     {
-        $filePath = base_path('文档\\Export使用.md');
-        $read = @file_get_contents($filePath);
-        $read = str_replace(["\n",'"'],['\\n',"'"],$read);
-        return view("help",compact("read"));
     }
     function tailCustom($filepath, $lines = 1, $adaptive = true) {
 // Open file

+ 185 - 338
resources/views/help.blade.php

@@ -6,418 +6,265 @@
     <link rel="icon" href="{{asset('icon/faviconc.ico')}}" type="image/x-icon"/>
 
     <title>系统🎯手册</title>
+    <style>
+        .sidebar {
+            background: #ffffff;
+            line-height: 180%;
+            position: fixed;
+            left: 0;
+            top: 0;
+            border: 1px solid #aaaaaa;
+            width: 20%;
+            height:100%;
+        }
+        .sidebar p {
+            font-size: 18px;
+            color: #15a230;
+            margin: 0 0 0.3rem 0;
+            text-align: right;
+        }
+        .sidebar li{
+            text-indent: 0.5rem;
+            font-size: 14px;
+            list-style: none;
+            border-bottom:1px solid #ced4da;
+        }
+        .sidebar li .nav_item{
+            padding: 3px;
+        }
+        .sidebar li .item_h1{
+            margin-left: 0;
+        }
+        .sidebar li .item_h2{
+            margin-left: 2rem;
+            font-size: 0.8rem;
+        }
+        .sidebar li .item_h3{
+            margin-left: 4rem;
+            font-size: 0.8rem;
+        }
+        .sidebar li .item_h4{
+            margin-left: 5rem;
+            font-size: 0.8rem;
+        }
+        .sidebar li .item_h5{
+            margin-left: 6rem;
+            font-size: 0.8rem;
+        }
+        .sidebar li .item_h6{
+            margin-left: 7rem;
+            font-size: 0.8rem;
+        }
+        .sidebar li .nav_item.current{
+            color: white;
+            background-color: #5cc26f;
+        }
+        .sidebar a:hover {
+            color: #5cc26f;
+        }
+        .sidebar a {
+            text-decoration: none;
+        }
+        .nowrap{white-space:nowrap;}
+        code {
+            border-radius: 6px;
+            background: rgba(0,0,0,.1);
+            color: red;
+            padding: 8px;
+        }
+        kbd {
+            border-radius: 6px;
+            background: rgba(5,1,5,.2);
+            color: #000000;
+            font-weight: bold;
+            padding: 8px;
+        }
+    </style>
 </head>
 <body>
 <div class="sidebar">
-    <div class="AnchorContent" id="AnchorContent" style="overflow: auto;"></div>
+    <div class="AnchorContent nowrap" id="AnchorContent"></div>
 </div>
 <div id="content" style="margin-left: 100px"></div>
 <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
 <script>
-    document.getElementById('content').innerHTML =
-        marked("{!! $read !!}");
+    document.getElementById('content').innerHTML = marked("{!! $read !!}");
 </script>
 <script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
 <script type="text/javascript">
-    //是否展开导航栏
-    let expandNavBar = true;
     let currentIndex = 0;
     let currentScrollHigh = 0;
     let currentContentScrollHigh = 0;
-    function sleep(numberMillis) {
-        var now = new Date();
-        var exitTime = now.getTime() + numberMillis;
-        while (true) {
-            now = new Date();
-            if (now.getTime() > exitTime)
-                return;
-        }
-    }
-
-
-    $(window).onbeforeunload = function(){
-        currentIndex = 0;
-    }
-
-
     $(window).load(function(){
-        var h1s = $("body").find("h1");
-        var h2s = $("body").find("h2");
-        var h3s = $("body").find("h3");
-        var h4s = $("body").find("h4");
-        var h5s = $("body").find("h5");
-        var h6s = $("body").find("h6");
-
-        var headCounts = [h1s.length, h2s.length, h3s.length, h4s.length, h5s.length, h6s.length];
-        var vH1Tag = null;  // 显示的最高层级
-        var vH2Tag = null;   // 显示的最低层级
-        var sum = 0;
-
-
-        for(var i = 0; i < headCounts.length; i++){
+        let body = $("body");
+        let content = $("#AnchorContent");
+        let headCounts = [body.find("h1").length, body.find("h2").length, body.find("h3").length, body.find("h4").length,
+            body.find("h5").length, body.find("h6").length];
+        let vH1Tag = null;  // 显示的最高层级
+        let vH2Tag = null;   // 显示的最低层级
+        for(let i = 0; i < headCounts.length; i++){
             if(headCounts[i] > 0){
-                for( var y = 0; y < headCounts[i]; y++)
-                    sum = sum + 1;
+                if(vH1Tag == null)vH1Tag = 'h' + (i + 1);
+                else vH2Tag = 'h' + (i + 1);
             }
         }
-        for(var i = 0; i < headCounts.length; i++){
-            if(headCounts[i] > 0){
-                if(vH1Tag == null){
-                    vH1Tag = 'h' + (i + 1);
-                }else{
-                    vH2Tag = 'h' + (i + 1);
-                }
-            }
-        }
-        if(vH1Tag == null){
-            return;
-        }
-
-        var vH1Index = 0;
-        var vH2Index = 0;
-
-
-        var vIndexH1 = 0;
-        var vIndexH2 = 0;
-        var vIndexH3 = 0;
-        var vIndexH4 = 0;
-        var vIndexH5 = 0;
-        var vIndexH6 = 0;
-        var headerALL = [];
-        var headerIDALL = [];
-        var headerHightALL = [];
-        $("body").find("h1,h2,h3,h4,h5,h6").each(function(i,item){
-
-            var id = '';
-            var name = '';
-            var tag = $(item).get(0).tagName.toLowerCase();
-            var className = '';
-            // i=0 tag=h1          i=1 tag=h2     i=2 tag=h2
-
-            if(tag == "h1"){
-                id = name = ++vIndexH1;
-                vIndexH2 = 0;
-                vIndexH3 = 0;
-                vIndexH4 = 0;
-                vIndexH5 = 0;
-                vIndexH6 = 0;
-                className = 'item_h1';
-
-//alert("tag ="+ tag +"----   i = "+ i + " name ="+ name +"    className= "+ className);
-//tag =h1----   i = 0 name =1    className= item_h1
-            }else if(tag == "h2"){
-
-                id = vIndexH1 + '_' + ++vIndexH2;
-                name = vIndexH1 + '.' + vIndexH2;
-                className = 'item_h2';
-                vIndexH3 = 0;
-                vIndexH4 = 0;
-                vIndexH5 = 0;
-                vIndexH6 = 0;
-
-            }else if(tag == "h3"){
-                id = vIndexH1 + '_' + vIndexH2+ '_' + ++vIndexH3;
-                name = vIndexH1 + '.' + vIndexH2+ '.' + +vIndexH3;
-                className = 'item_h3';
-                vIndexH4 = 0;
-                vIndexH5 = 0;
-                vIndexH6 = 0;
-
-            }
-
-            else if(tag == "h4"){
-                id = vIndexH1 + '_' + vIndexH2+ '_'  +vIndexH3 +'_'+ ++vIndexH4 ;
-                name =  vIndexH1 + '.' + vIndexH2+ '.'  +vIndexH3 +'.'+  vIndexH4 ;
-                className = 'item_h4';
-                vIndexH5 = 0;
-                vIndexH6 = 0;
-            }
-
-            else if(tag == "h5"){
-                id = vIndexH1 + '_' + vIndexH2+ '_'  +vIndexH3 +'_' +vIndexH4+'_'+ ++vIndexH5;
-                name = vIndexH1 + '.' + vIndexH2+ '.'  +vIndexH3 +'.' +vIndexH4+'.'+ vIndexH5;
-                className = 'item_h5';
-                vIndexH6 = 0;
-            }
-
-            else if(tag == "h6"){
-                id = vIndexH1 + '_' + vIndexH2+ '_'  +vIndexH3 +'_' +vIndexH4+'_' +vIndexH5+'_'+ ++vIndexH6;
-                name = vIndexH1 + '.' + vIndexH2+ '.'  +vIndexH3 +'.' +vIndexH4+'.' +vIndexH5+'.'+ vIndexH6;
-                className = 'item_h6';
-
+        if(vH1Tag == null)return;
+        let vIndexH1 = 0;
+        let vIndexH2 = 0;
+        let vIndexH3 = 0;
+        let vIndexH4 = 0;
+        let vIndexH5 = 0;
+        let vIndexH6 = 0;
+        let headerALL = [];
+        let headerIDALL = [];
+        let headerHeightALL = [];
+        body.find("h1,h2,h3,h4,h5,h6").each(function(i,item){
+            let id = '';
+            let name = '';
+            let tag = $(item).get(0).tagName.toLowerCase();
+            let className = '';
+            switch (tag){
+                case "h1":
+                    id = name = ++vIndexH1;
+                    vIndexH2 = 0;
+                    vIndexH3 = 0;
+                    vIndexH4 = 0;
+                    vIndexH5 = 0;
+                    vIndexH6 = 0;
+                    className = 'item_h1';
+                    break;
+                case "h2":
+                    id = vIndexH1 + '_' + ++vIndexH2;
+                    name = vIndexH1 + '.' + vIndexH2;
+                    className = 'item_h2';
+                    vIndexH3 = 0;
+                    vIndexH4 = 0;
+                    vIndexH5 = 0;
+                    vIndexH6 = 0;
+                    break;
+                case "h3":
+                    id = vIndexH1 + '_' + vIndexH2+ '_' + ++vIndexH3;
+                    name = vIndexH1 + '.' + vIndexH2+ '.' + +vIndexH3;
+                    className = 'item_h3';
+                    vIndexH4 = 0;
+                    vIndexH5 = 0;
+                    vIndexH6 = 0;
+                    break;
+                case "h4":
+                    id = vIndexH1 + '_' + vIndexH2+ '_'  +vIndexH3 +'_'+ ++vIndexH4 ;
+                    name =  vIndexH1 + '.' + vIndexH2+ '.'  +vIndexH3 +'.'+  vIndexH4 ;
+                    className = 'item_h4';
+                    vIndexH5 = 0;
+                    vIndexH6 = 0;
+                    break;
+                case "h5":
+                    id = vIndexH1 + '_' + vIndexH2+ '_'  +vIndexH3 +'_' +vIndexH4+'_'+ ++vIndexH5;
+                    name = vIndexH1 + '.' + vIndexH2+ '.'  +vIndexH3 +'.' +vIndexH4+'.'+ vIndexH5;
+                    className = 'item_h5';
+                    vIndexH6 = 0;
+                    break;
+                case "h6":
+                    id = vIndexH1 + '_' + vIndexH2+ '_'  +vIndexH3 +'_' +vIndexH4+'_' +vIndexH5+'_'+ ++vIndexH6;
+                    name = vIndexH1 + '.' + vIndexH2+ '.'  +vIndexH3 +'.' +vIndexH4+'.' +vIndexH5+'.'+ vIndexH6;
+                    className = 'item_h6';
+                    break;
             }
             if(name.length > 2){
-
-                var mFirstName = name.substring(0,2);
-                while(mFirstName == "0."){
+                let mFirstName = name.substring(0,2);
+                while(mFirstName === "0."){
                     name = name.substring(2,name.length);
                     mFirstName = name.substring(0,2);
                 }
-
             }
             $(item).attr("id","wow"+id+"_index_"+i);
             $(item).addClass("wow_head");
-            var itemHeight = $(item).offset().top
-            $("#AnchorContent").css('max-height', ($(document).height()) + 'px');
-            $("#AnchorContent").css('height', ($(window).height()) + 'px');
-            $("#AnchorContent").css('overflow','auto');
-            $("#AnchorContent").append('<li><a class="nav_item '+className+' anchor-link"  href="#wow'+id+'_index_'+i+'" link="#wow'+id+'" index="'+i+'">'+name+" "+$(this).text()+" "+'</a></li>');
-            var str = "#wow"+id+"_index_"+i;
+            content.css('max-height', ($(document).height()) + 'px');
+            content.css('height', ($(window).height()) + 'px');
+            content.css('overflow','auto');
+            content.append('<li><a class="nav_item '+className+' anchor-link"  href="#wow'+id+'_index_'+i+'" link="#wow'+id+'" index="'+i+'">'+name+" "+$(this).text()+" "+'</a></li>');
+            let str = "#wow"+id+"_index_"+i;
             headerALL.push($(item));
             headerIDALL.push(str);
-            console.log("  i = "+ i +"   id =" + id +"  itemHeight = "+ itemHeight);
-        });
-
-        // 1
-        // 1.1
-        // 1.1.1
-        // 1.1.1.1
-        // 1.1.1.1.1
-        // 1.1.1.1.1.1
-        $("#AnchorContentToggle").click(function(){
-            var text = $(this).html();
-            if(text=="目录▲"){
-                $(this).html("目录▼");
-                $(this).attr({"title":"展开"});
-            }else{
-                $(this).html("目录▲");
-                $(this).attr({"title":"收起"});
-            }
-            $("#AnchorContent").toggle();
         });
-
-
         $(".anchor-link").click(function(){
-
-            //$("html,body").animate({scrollTop: $($(this).attr("link")).offset().top}, 10);
-            var index  = $(this).attr("index");
-            $(".BlogAnchor li .nav_item.current").removeClass('current');
+            let index  = $(this).attr("index");
+            $(".sidebar li .nav_item.current").removeClass('current');
             $(headerNavs[index]).addClass('current');
-            var scrollTop = $(window).scrollTop(); // 获得将要到达的点离顶距离
-            currentScrollHigh = scrollTop;
-            currentContentScrollHigh = headerHightALL[index];
-            var value = headerTops[index];
-            currentIndex = value;
-            console.log("index = "+ index+ "  headerTops["+index+"] ="+ value + "scrollTop="+ scrollTop);
+            currentScrollHigh = $(window).scrollTop();
+            currentContentScrollHigh = headerHeightALL[index];
+            currentIndex = headerTops[index];
         });
-
-
-
-
-
-        var headerNavs = $(".BlogAnchor li .nav_item");
-        var headerTops = [];
-        var mHeight = 0;
+        let headerNavs = $(".sidebar li .nav_item");
+        let headerTops = [];
         $(".wow_head").each(function(i, n){
-            var value = $(n).offset().top;
-
             headerTops.push($(n).offset().top);
-            console.log("i = "+ i+ "  offset().top ="+ value);
         });
         headerTops.push($(document).height());
-
         window.onresize = function(){
-
             headerTops = [];
             $.each(headerNavs, function(i, n){
                     $(n).trigger("click");
                     document.querySelector(headerIDALL[i]).scrollIntoView(true);
-//var high = $(n).offset().top;
-                    var scrollTop = $(window).scrollTop();
+                    let scrollTop = $(window).scrollTop();
                     headerTops.push(scrollTop);
-                    console.log("headerNavs_index="+i +"   scrollTop="+scrollTop +"  headerTops="+headerTops[i]);
                 }
             );
             headerTops.push($(document).height());
-
-//$("#AnchorContent").height($(window).height());
-            $("#AnchorContent").css('height', ($(window).height()) + 'px');
-            var xcontentWidth =  $("#AnchorContent").width();
-            var xWidth = $(window).width();
-            var xlength = xWidth - xcontentWidth;
-            $("body").css("marginLeft",xcontentWidth+'px');
-            $("body").css("max-width",xlength);
-
+            content.css('height', ($(window).height()) + 'px');
+            let xcontentWidth =  content.width();
+            let xWidth = $(window).width();
+            let xlength = xWidth - xcontentWidth;
+            body.css("marginLeft",xcontentWidth+'px');
+            body.css("max-width",xlength);
             $(headerNavs[currentIndex]).trigger("click");
-            document.querySelector(headerIDALL[i]).scrollIntoView(true);
-
-
         }
-
-
-
-
-
-
-
-
-
         $(window).scroll(function(){
-            var scrollTop = $(window).scrollTop(); // 获得将要到达的点离顶距离
-
+            let scrollTop = $(window).scrollTop(); // 获得将要到达的点离顶距离
             $.each(headerTops, function(i, n){
                     if( (scrollTop >= (headerTops[i])  && scrollTop < (headerTops[i+1] -1))  ){
-                        console.log("headerTops[i-1]"+headerTops[i-1]+"headerTops[i]"+headerTops[i]+"  scrollTop ="+ scrollTop+"  headerTops[i+1]= "+headerTops[i+1] +"  i ="+i);
-                        $(".BlogAnchor li .nav_item.current").removeClass('current');
+                        $(".sidebar li .nav_item.current").removeClass('current');
                         $(headerNavs[i]).addClass('current');
                         currentScrollHigh = scrollTop;
-                        currentContentScrollHigh = headerHightALL[i];
+                        currentContentScrollHigh = headerHeightALL[i];
                         currentIndex = i;
-                        var mxxHeight = $("#AnchorContent").height()
-                        var mscrollTop1 = $("#AnchorContent").scrollTop();  // 当前标签的高度
-                        console.log("zukgit2 currentIndex="+ currentIndex );
-                        console.log("zukgit2 windows.scrollTop="+ scrollTop );
-                        console.log("zukgit2 $(window).height()="+ $(window).height() );
-                        console.log("zukgit2 currentContentScrollHigh="+ currentContentScrollHigh );
-                        console.log("zukgit2 AnchorContent.mscrollTop="+ mscrollTop1 );
-                        console.log("zukgit2 AnchorContent.high="+ mxxHeight );
-                        if((currentContentScrollHigh - mscrollTop1)>  ($(window).height()/2)){ //↓ // 如果当前index超出  界面的高度
-                            //var sum =   Math.floor(headerHightALL(i) / $(window).height());
-                            var dif = currentContentScrollHigh - mscrollTop1;
-                            $("#AnchorContent").animate({scrollTop: (currentContentScrollHigh)}, 50);
-                            console.log("  i(zukgit3) = "+ i +"   currentContentScrollHigh =" + currentContentScrollHigh +"  mscrollTop1 = "+ mscrollTop1);
-                            console.log(" $(window).height()="+ $(window).height() );
-
-                        } else if( ( mscrollTop1 - currentContentScrollHigh )>  0 ){  //↑
-                            $("#AnchorContent").animate({scrollTop: currentContentScrollHigh-($("#AnchorContent").height()/3)}, 50);
-                            console.log("  i(zukgit4) = "+ i +"   currentContentScrollHigh =" + currentContentScrollHigh +"  mscrollTop1 = "+ mscrollTop1);
-                            console.log(" $(window).height()="+ $(window).height() +"   $(#AnchorContent).height()="+mxxHeight);
+                        let mscrollTop1 = content.scrollTop();  // 当前标签的高度
+                        if((currentContentScrollHigh - mscrollTop1)>  ($(window).height()/2)){
+                            content.animate({scrollTop: (currentContentScrollHigh)}, 10);
+                        } else if( ( mscrollTop1 - currentContentScrollHigh )>  0 ){
+                            content.animate({scrollTop: currentContentScrollHigh-(content.height()/3)}, 10);
                         }
-
                         return false;
                     }
                 }
             );
-            if(scrollTop == 0){
-                $("#AnchorContent").animate({scrollTop: 0}, 50);
+            if(scrollTop === 0){
+                content.animate({scrollTop: 0}, 10);
             }
-            if(scrollTop == $(document).height()){
-                $("#AnchorContent").animate({scrollTop: headerHightALL[headerHightALL.length-1]}, 50);
+            if(scrollTop === $(document).height()){
+                content.animate({scrollTop: headerHeightALL[headerHeightALL.length-1]}, 10);
             }
         });
-
-
         $.each(headerNavs, function(i, n){
-                var high = $(n).offset().top;
-                headerHightALL.push(high);
-                console.log("high"+high);
+                headerHeightALL.push($(n).offset().top);
             }
         );
-
-
         headerTops = [];
         $.each(headerNavs, function(i, n){
-
                 $(n).trigger("click");
                 document.querySelector(headerIDALL[i]).scrollIntoView(true);
-
-                var scrollTop = $(window).scrollTop();
-
+                let scrollTop = $(window).scrollTop();
                 headerTops.push(scrollTop);
-                console.log("headerNavs_index="+i +"   scrollTop="+scrollTop +"  headerTops="+headerTops[i]);
-
             }
         );
-
-
-
         headerTops.push($(document).height());
         $(headerNavs[0]).trigger("click");
         document.querySelector(headerIDALL[0]).scrollIntoView(true);
-
-
-
-
-        var xcontentWidth =  $("#AnchorContent").width();
-        var xWidth = $(window).width();
-        var xlength = xWidth - xcontentWidth;
-        $("body").css("marginLeft",xcontentWidth+'px');
-        $("body").css("max-width",xlength);
-
-        if(!expandNavBar){
-            $(this).html("目录▼");
-            $(this).attr({"title":"展开"});
-            $("#AnchorContent").hide();
-        }
+        let xcontentWidth =  content.width();
+        let xWidth = $(window).width();
+        let xlength = xWidth - xcontentWidth;
+        body.css("marginLeft",xcontentWidth+'px');
+        body.css("max-width",xlength);
     });
-
-
-
 </script>
-<style>
-    .sidebar {
-        background: #ffffff;
-        line-height: 180%;
-        position: fixed;
-        left: 0;
-        top: 0;
-        border: 1px solid #aaaaaa;
-        width: 20%;
-        height:100%;
-    }
-    .sidebar p {
-        font-size: 18px;
-        color: #15a230;
-        margin: 0 0 0.3rem 0;
-        text-align: right;
-    }
-    .BlogAnchor li{
-        text-indent: 0.5rem;
-        font-size: 14px;
-        list-style: none;
-    }
-    .BlogAnchor li .nav_item{
-        padding: 3px;
-    }
-    .BlogAnchor li .item_h1{
-        margin-left: 0rem;
-    }
-    .BlogAnchor li .item_h2{
-        margin-left: 2rem;
-        font-size: 0.8rem;
-    }
-
-    .BlogAnchor li .item_h3{
-        margin-left: 4rem;
-        font-size: 0.8rem;
-    }
-
-    .BlogAnchor li .item_h4{
-        margin-left: 5rem;
-        font-size: 0.8rem;
-    }
-
-    .BlogAnchor li .item_h5{
-        margin-left: 6rem;
-        font-size: 0.8rem;
-    }
-
-
-    .BlogAnchor li .item_h6{
-        margin-left: 7rem;
-        font-size: 0.8rem;
-    }
-
-    .BlogAnchor li .nav_item.current{
-        color: white;
-        background-color: #5cc26f;
-    }
-    #AnchorContentToggle {
-        font-size: 13px;
-        font-weight: normal;
-        color: #FFF;
-        display: inline-block;
-        line-height: 20px;
-        background: #5cc26f;
-        font-style: normal;
-        padding: 1px 8px;
-    }
-    .BlogAnchor a:hover {
-        color: #5cc26f;
-    }
-    .BlogAnchor a {
-        text-decoration: none;
-    }
-</style>
 </body>
 </html>

+ 1 - 0
routes/web.php

@@ -69,6 +69,7 @@ Route::group(['prefix'=>'personnel/checking-in/userDutyCheck'],function(){
 Route::group(['middleware'=>'auth'],function ($route){
     /** @var Route $route */
     $route->get('/home', 'HomeController@index')->name('home');
+    $route->get('/help', 'HomeController@help')->name('help');
     /** 密码 */
     $route->group(['prefix'=>'password'],function(){
         Route::get('change', 'Auth\PasswordController@change');

+ 0 - 34
文档/Export使用.md

@@ -3,8 +3,6 @@
     composer require oursdreams/export
     php artisan export
     php artisan export:start
-### 测试
-#### 测试2 
 
 ## 命令
     //初始化与命令列表
@@ -13,38 +11,6 @@
     php artisan export:start
     //服务关闭
     php artisan export:stop
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试测试测试测试测试测试测试测试测试测试测试测试
-#### 测试2### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-### 测试
-#### 测试2
-
     
 ## 使用(仿EloquentModel)
     //JSON

+ 16 - 0
文档/SystemHandBook.md

@@ -0,0 +1,16 @@
+# WAS(Warehouse Automation System)系统手册
+> 客户ERP 》 FLUX应用系统 》 <font color=#1E90FF>**WAS后台管理系统**</font> 》 HAIQ机器人系统
+***
+## 全局功能
+* **搜索**  
+> 对于文本类搜索可以在前后加<kbd>%</kbd>进行模糊匹配  
+> > 例:搜索快递单号为123456的订单可以写为:```%456``` 或 ```123%```,推荐使用后者,在内容前加<kbd>%</kbd>会使得搜索变慢  
+
+> 除去点击按钮提交外您还可以使用 <kbd>Enter</kbd> 回车键提交  
+* **表格**  
+  对于大部分重要页面的表格是允许表格的字段自由缩放与字段自由呈现的
+> * 缩放设置
+> > 鼠标移至表头(标题)边界线上左右拖拽来放大缩小表格大小,这会适应整个表格
+> * 呈现设置
+> > 点击打开左下角的设置栏 》 显示列 》 去除隐藏列选中 》 保存设置  
+> 此设置针对本机而非账户,所以如若更换设备页面仍是初始状态