|
@@ -94,204 +94,9 @@
|
|
<div style="color: #ffffff"><img src="images/logo.jpg" style="width: 10%"> 深圳市度彼电子有限公司——</div>
|
|
<div style="color: #ffffff"><img src="images/logo.jpg" style="width: 10%"> 深圳市度彼电子有限公司——</div>
|
|
<font color="#ffffff"><span id="nowDateTimeSpan"></span></font>
|
|
<font color="#ffffff"><span id="nowDateTimeSpan"></span></font>
|
|
</div>
|
|
</div>
|
|
- <!-- <div class="collapse navbar-collapse" id="navbar-collapse">
|
|
|
|
- <ul class="nav navbar-nav navbar-right">
|
|
|
|
- <!-- Call Search -->
|
|
|
|
- <!-- <li><a href="javascript:void(0);" class="js-search" data-close="true"><i class="material-icons">search</i></a></li>
|
|
|
|
- <!-- #END# Call Search -->
|
|
|
|
- <!-- Notifications -->
|
|
|
|
- <!-- <li class="dropdown">
|
|
|
|
- <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button">
|
|
|
|
- <i class="material-icons">notifications</i>
|
|
|
|
- <span class="label-count">7</span>
|
|
|
|
- </a>
|
|
|
|
- <ul class="dropdown-menu">
|
|
|
|
- <li class="header">NOTIFICATIONS</li>
|
|
|
|
- <li class="body">
|
|
|
|
- <div class="slimScrollDiv" style="position: relative; overflow: hidden; width: auto; height: 254px;"><ul class="menu" style="overflow: hidden; width: auto; height: 254px;">
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <div class="icon-circle bg-light-green">
|
|
|
|
- <i class="material-icons">person_add</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="menu-info">
|
|
|
|
- <h4>12 new members joined</h4>
|
|
|
|
- <p>
|
|
|
|
- <i class="material-icons">access_time</i> 14 mins ago
|
|
|
|
- </p>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <div class="icon-circle bg-cyan">
|
|
|
|
- <i class="material-icons">add_shopping_cart</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="menu-info">
|
|
|
|
- <h4>4 sales made</h4>
|
|
|
|
- <p>
|
|
|
|
- <i class="material-icons">access_time</i> 22 mins ago
|
|
|
|
- </p>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <div class="icon-circle bg-red">
|
|
|
|
- <i class="material-icons">delete_forever</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="menu-info">
|
|
|
|
- <h4><b>Nancy Doe</b> deleted account</h4>
|
|
|
|
- <p>
|
|
|
|
- <i class="material-icons">access_time</i> 3 hours ago
|
|
|
|
- </p>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <div class="icon-circle bg-orange">
|
|
|
|
- <i class="material-icons">mode_edit</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="menu-info">
|
|
|
|
- <h4><b>Nancy</b> changed name</h4>
|
|
|
|
- <p>
|
|
|
|
- <i class="material-icons">access_time</i> 2 hours ago
|
|
|
|
- </p>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <div class="icon-circle bg-blue-grey">
|
|
|
|
- <i class="material-icons">comment</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="menu-info">
|
|
|
|
- <h4><b>John</b> commented your post</h4>
|
|
|
|
- <p>
|
|
|
|
- <i class="material-icons">access_time</i> 4 hours ago
|
|
|
|
- </p>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <div class="icon-circle bg-light-green">
|
|
|
|
- <i class="material-icons">cached</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="menu-info">
|
|
|
|
- <h4><b>John</b> updated status</h4>
|
|
|
|
- <p>
|
|
|
|
- <i class="material-icons">access_time</i> 3 hours ago
|
|
|
|
- </p>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <div class="icon-circle bg-purple">
|
|
|
|
- <i class="material-icons">settings</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="menu-info">
|
|
|
|
- <h4>Settings updated</h4>
|
|
|
|
- <p>
|
|
|
|
- <i class="material-icons">access_time</i> Yesterday
|
|
|
|
- </p>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- </ul><div class="slimScrollBar" style="background: rgba(0, 0, 0, 0.5); width: 4px; position: absolute; top: 0px; opacity: 0.4; display: block; border-radius: 0px; z-index: 99; right: 1px;"></div><div class="slimScrollRail" style="width: 4px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 0px; background: rgb(51, 51, 51); opacity: 0.2; z-index: 90; right: 1px;"></div></div>
|
|
|
|
- </li>
|
|
|
|
- <li class="footer">
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">View All Notifications</a>
|
|
|
|
- </li>
|
|
|
|
- </ul>
|
|
|
|
- </li>
|
|
|
|
- <!-- #END# Notifications -->
|
|
|
|
- <!-- Tasks -->
|
|
|
|
- <!-- <li class="dropdown">
|
|
|
|
- <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button">
|
|
|
|
- <i class="material-icons">flag</i>
|
|
|
|
- <span class="label-count">9</span>
|
|
|
|
- </a>
|
|
|
|
- <ul class="dropdown-menu">
|
|
|
|
- <li class="header">TASKS</li>
|
|
|
|
- <li class="body">
|
|
|
|
- <div class="slimScrollDiv" style="position: relative; overflow: hidden; width: auto; height: 254px;"><ul class="menu tasks" style="overflow: hidden; width: auto; height: 254px;">
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <h4>
|
|
|
|
- Footer display issue
|
|
|
|
- <small>32%</small>
|
|
|
|
- </h4>
|
|
|
|
- <div class="progress">
|
|
|
|
- <div class="progress-bar bg-pink" role="progressbar" aria-valuenow="85" aria-valuemin="0" aria-valuemax="100" style="width: 32%">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <h4>
|
|
|
|
- Make new buttons
|
|
|
|
- <small>45%</small>
|
|
|
|
- </h4>
|
|
|
|
- <div class="progress">
|
|
|
|
- <div class="progress-bar bg-cyan" role="progressbar" aria-valuenow="85" aria-valuemin="0" aria-valuemax="100" style="width: 45%">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <h4>
|
|
|
|
- Create new dashboard
|
|
|
|
- <small>54%</small>
|
|
|
|
- </h4>
|
|
|
|
- <div class="progress">
|
|
|
|
- <div class="progress-bar bg-teal" role="progressbar" aria-valuenow="85" aria-valuemin="0" aria-valuemax="100" style="width: 54%">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <h4>
|
|
|
|
- Solve transition issue
|
|
|
|
- <small>65%</small>
|
|
|
|
- </h4>
|
|
|
|
- <div class="progress">
|
|
|
|
- <div class="progress-bar bg-orange" role="progressbar" aria-valuenow="85" aria-valuemin="0" aria-valuemax="100" style="width: 65%">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- <li>
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">
|
|
|
|
- <h4>
|
|
|
|
- Answer GitHub questions
|
|
|
|
- <small>92%</small>
|
|
|
|
- </h4>
|
|
|
|
- <div class="progress">
|
|
|
|
- <div class="progress-bar bg-purple" role="progressbar" aria-valuenow="85" aria-valuemin="0" aria-valuemax="100" style="width: 92%">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </a>
|
|
|
|
- </li>
|
|
|
|
- </ul><div class="slimScrollBar" style="background: rgba(0, 0, 0, 0.5); width: 4px; position: absolute; top: 0px; opacity: 0.4; display: block; border-radius: 0px; z-index: 99; right: 1px;"></div><div class="slimScrollRail" style="width: 4px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 0px; background: rgb(51, 51, 51); opacity: 0.2; z-index: 90; right: 1px;"></div></div>
|
|
|
|
- </li>
|
|
|
|
- <li class="footer">
|
|
|
|
- <a href="javascript:void(0);" class=" waves-effect waves-block">View All Tasks</a>
|
|
|
|
- </li>
|
|
|
|
- </ul>
|
|
|
|
- </li>
|
|
|
|
- <!-- #END# Tasks -->
|
|
|
|
- <!-- <li class="pull-right"><a href="javascript:void(0);" class="js-right-sidebar" data-close="true"><i class="material-icons">more_vert</i></a></li>
|
|
|
|
- </ul>
|
|
|
|
- </div> -->
|
|
|
|
|
|
|
|
</nav>
|
|
</nav>
|
|
-<section style="margin-top: 100px;color: #ffffff" style-height="30-1">
|
|
|
|
|
|
+<section style="margin-top: 100px;color: #ffffff" style-height="20">
|
|
<div style="width: 38%;float: left">
|
|
<div style="width: 38%;float: left">
|
|
<div class="text-center">本拉产能统计</div>
|
|
<div class="text-center">本拉产能统计</div>
|
|
<table class="table table-bordered text-center" style="color: #ffffff">
|
|
<table class="table table-bordered text-center" style="color: #ffffff">
|
|
@@ -396,170 +201,18 @@
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
-<!--<nav class="navbar navbar-expand-lg navbar-light bg-light" style-height="10">-- >
|
|
|
|
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
- <span class="navbar-toggler-icon"></span>
|
|
|
|
- </button>
|
|
|
|
- <div class="collapse navbar-collapse" id="navbarTogglerDemo01">
|
|
|
|
- <a class="navbar-brand" href="#">Hidden brand</a>
|
|
|
|
- <ul class="navbar-nav mr-auto mt-2 mt-lg-0">
|
|
|
|
- <li class="nav-item active">
|
|
|
|
- <a class="nav-link" href="#">生产线<span>1</span>号 </a>
|
|
|
|
- </li>
|
|
|
|
- <li class="nav-item">
|
|
|
|
- <a class="nav-link" href="#"><span id="clockt"></span></a>
|
|
|
|
- </li>
|
|
|
|
- <li class="nav-item">
|
|
|
|
- <a class="nav-link disabled" href="#">Disabled</a>
|
|
|
|
- </li>
|
|
|
|
- </ul>
|
|
|
|
- <form class="form-inline my-2 my-lg-0">
|
|
|
|
- <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
|
|
|
|
- <button class="btn btn-outline-success my-2 my-sm-0" type="submit">下班</button>
|
|
|
|
-
|
|
|
|
- <div class="dropdown">
|
|
|
|
- <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown"
|
|
|
|
- aria-haspopup="true" aria-expanded="false" style="font-size: 0.5em">
|
|
|
|
- <div class="row">
|
|
|
|
- <div class="col-4">
|
|
|
|
- 拉长
|
|
|
|
- </div>
|
|
|
|
- <div class="col-5">
|
|
|
|
- 张三
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- </button>
|
|
|
|
- <ul class="dropdown-menu" aria-labelledby="dropdownMenu2">
|
|
|
|
- <li><a href="#">更改密码</a></li>
|
|
|
|
- <li><a href="#">退出登录</a></li>
|
|
|
|
- </ul>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
-</nav>-->
|
|
|
|
- <!--<section class="content" style="margin: 0 auto; margin-top: 100px;">
|
|
|
|
- <!--<div class="row"></div>
|
|
|
|
- <div class="container-fluid " style="margin-bottom: 1em;">
|
|
|
|
- <div class="row text-center">
|
|
|
|
- <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
|
|
|
|
- <div class="info-box bg-green hover-expand-effect" style="margin: 0;">
|
|
|
|
- <div class="icon">
|
|
|
|
- <i class="material-icons">equalizer</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="content">
|
|
|
|
- <div class="row text-center" style="margin: 0 auto">
|
|
|
|
- <div class="text" style="font-size: 1.5em;padding-top: 0.2em">合格数:</div>
|
|
|
|
- <div class="number" style="font-size: 3em" id="test1"></div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
|
|
|
|
- <div class="info-box bg-red hover-expand-effect" style="margin: 0;">
|
|
|
|
- <div class="icon">
|
|
|
|
- <i class="material-icons">equalizer</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="content">
|
|
|
|
- <div class="row text-center" style="margin: 0 auto">
|
|
|
|
- <div class="text" style="font-size: 1.5em;padding-top: 0.2em">不合格数:</div>
|
|
|
|
- <div class="number" style="font-size: 3em" id="test2"></div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
|
|
|
|
- <div class="info-box bg-lime hover-expand-effect" style="margin: 0;">
|
|
|
|
- <div class="icon">
|
|
|
|
- <i class="material-icons">brightness_low</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="content">
|
|
|
|
- <div class="row text-center" style="margin: 0 auto">
|
|
|
|
- <div class="text" style="font-size: 1.5em;padding-top: 0.2em">不良率:</div>
|
|
|
|
- <div class="number" style="font-size: 3em" id="test3"></div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
|
|
|
|
- <div class="info-box bg-cyan hover-zoom-effect" style="margin: 0; ">
|
|
|
|
- <div class="icon">
|
|
|
|
- <i class="material-icons">access_alarm</i>
|
|
|
|
- </div>
|
|
|
|
- <div class="content">
|
|
|
|
- <div class="row text-center" style="margin: 0 auto">
|
|
|
|
- <div class="text" style="font-size: 1.5em;padding-top: 0.2em">堆积数:</div>
|
|
|
|
- <div class="number" style="font-size: 3em" id="test4"></div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
|
|
- </div>
|
|
|
|
- </div> -->
|
|
|
|
- <!--<div class="container-fluid" style="margin-top: 0.5em;padding-top: 1em">
|
|
|
|
-
|
|
|
|
- <!-- <div class="card" style-height="30-8" style="margin: 0 auto;">
|
|
|
|
- --<div>
|
|
|
|
- <div class="" style="">
|
|
|
|
- <div class="table-responsive" style="width: 30%;float: left">
|
|
|
|
- <table class="table table-hover dashboard-task-infos">
|
|
|
|
- <thead>
|
|
|
|
- <tr style="border-bottom:3px solid black;">
|
|
|
|
- <th>姓名(工号)</th>
|
|
|
|
- <th>合格数</th>
|
|
|
|
- <th>不合格数</th>
|
|
|
|
-
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody id="rank-one">
|
|
|
|
-
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
- <div class="table-responsive" style="width: 30%;float: left;padding-left: 5em">
|
|
|
|
- <table class="table table-hover dashboard-task-infos">
|
|
|
|
- <thead>
|
|
|
|
- <tr style="border-bottom:3px solid black;">
|
|
|
|
- <th>姓名(工号)</th>
|
|
|
|
- <th>合格数</th>
|
|
|
|
- <th>不合格数</th>
|
|
|
|
-
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody id="rank-two">
|
|
|
|
-
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
- <div class="table-responsive" style="width: 30%;float: right">
|
|
|
|
- <table class="table table-hover dashboard-task-infos">
|
|
|
|
- <thead>
|
|
|
|
- <tr style="border-bottom:3px solid black;">
|
|
|
|
- <th>姓名(工号)</th>
|
|
|
|
- <th>合格数</th>
|
|
|
|
- <th>不合格数</th>
|
|
|
|
-
|
|
|
|
- </tr>
|
|
|
|
- </thead>
|
|
|
|
- <tbody id="rank-three">
|
|
|
|
-
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div> -->
|
|
|
|
-<section>
|
|
|
|
- <div class="row " style="height: 10em"></div>
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
<div class="row" style-height="50-8">
|
|
<div class="row" style-height="50-8">
|
|
<div id="graph-1"></div>
|
|
<div id="graph-1"></div>
|
|
-</div>
|
|
|
|
<div class="row " style="height: 10em"></div>
|
|
<div class="row " style="height: 10em"></div>
|
|
- <div class="row" style-height="30-2">
|
|
|
|
|
|
+ <div class="row" style-height="">
|
|
<div id="graph-2"></div>
|
|
<div id="graph-2"></div>
|
|
</div>
|
|
</div>
|
|
-</section>
|
|
|
|
|
|
+</div>
|
|
|
|
+
|
|
|
|
|
|
<!-- Jquery Core Js -->
|
|
<!-- Jquery Core Js -->
|
|
<script src="plugins/jquery/jquery.min.js"></script>
|
|
<script src="plugins/jquery/jquery.min.js"></script>
|
|
@@ -603,6 +256,7 @@
|
|
<!-- Demo Js -->
|
|
<!-- Demo Js -->
|
|
<script src="js/demo.js"></script>
|
|
<script src="js/demo.js"></script>
|
|
<script src="js/basic.js"></script>
|
|
<script src="js/basic.js"></script>
|
|
|
|
+<script src="js/getparam.js"></script>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
var timeday=["今日" ,"昨日" ,"本周" ,"本月"];
|
|
var timeday=["今日" ,"昨日" ,"本周" ,"本月"];
|
|
@@ -683,8 +337,6 @@
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- var thisPageFlow = 1;
|
|
|
|
-
|
|
|
|
function showChart() {
|
|
function showChart() {
|
|
|
|
|
|
var data = [];
|
|
var data = [];
|
|
@@ -693,6 +345,7 @@
|
|
var failmax = 0;
|
|
var failmax = 0;
|
|
var passdata=[];
|
|
var passdata=[];
|
|
var faildata=[];
|
|
var faildata=[];
|
|
|
|
+ var passmax=0;
|
|
|
|
|
|
for (i = 0; i < passNumber.length; i++) {
|
|
for (i = 0; i < passNumber.length; i++) {
|
|
if (stackmax < stackeverynum[i]) {
|
|
if (stackmax < stackeverynum[i]) {
|
|
@@ -701,6 +354,9 @@
|
|
if (failmax < failrate[i]) {
|
|
if (failmax < failrate[i]) {
|
|
failmax = failrate[i];
|
|
failmax = failrate[i];
|
|
}
|
|
}
|
|
|
|
+ if(passmax<passNumber[i]){
|
|
|
|
+ passmax=passNumber[i];
|
|
|
|
+ }
|
|
data.push(stackeverynum[i]);
|
|
data.push(stackeverynum[i]);
|
|
ratedata.push(Math.floor(failrate[i]));
|
|
ratedata.push(Math.floor(failrate[i]));
|
|
passdata.push(passNumber[i]);
|
|
passdata.push(passNumber[i]);
|
|
@@ -753,7 +409,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
min: 0,
|
|
min: 0,
|
|
- max: 10000,
|
|
|
|
|
|
+ max: passmax*1.5,
|
|
title: {
|
|
title: {
|
|
|
|
|
|
style: {
|
|
style: {
|
|
@@ -876,6 +532,7 @@
|
|
var failmax = 0;
|
|
var failmax = 0;
|
|
var passdata=[];
|
|
var passdata=[];
|
|
var faildata=[];
|
|
var faildata=[];
|
|
|
|
+ var passmax=0;
|
|
for (i = 0; i < passNumber.length; i++) {
|
|
for (i = 0; i < passNumber.length; i++) {
|
|
if (stackmax < stackeverynum[i]) {
|
|
if (stackmax < stackeverynum[i]) {
|
|
stackmax = stackeverynum[i];
|
|
stackmax = stackeverynum[i];
|
|
@@ -883,6 +540,9 @@
|
|
if (failmax < failrate[i]) {
|
|
if (failmax < failrate[i]) {
|
|
failmax = failrate[i];
|
|
failmax = failrate[i];
|
|
}
|
|
}
|
|
|
|
+ if(passmax<passNumber[i]){
|
|
|
|
+ passmax=passNumber[i];
|
|
|
|
+ }
|
|
data.push(stackeverynum[i]);
|
|
data.push(stackeverynum[i]);
|
|
ratedata.push(Math.floor(failrate[i]));
|
|
ratedata.push(Math.floor(failrate[i]));
|
|
passdata.push(passNumber[i]);
|
|
passdata.push(passNumber[i]);
|
|
@@ -896,6 +556,12 @@
|
|
stackAndFailChart.series[1].setData(faildata);
|
|
stackAndFailChart.series[1].setData(faildata);
|
|
stackAndFailChart.series[2].setData(data);
|
|
stackAndFailChart.series[2].setData(data);
|
|
FailChart.series[0].setData(ratedata);
|
|
FailChart.series[0].setData(ratedata);
|
|
|
|
+ if(failmax > FailChart.yAxis[0].getExtremes().max * 1.3 || failmax < FailChart.yAxis[0].getExtremes().max * 0.5) {
|
|
|
|
+ FailChart.yAxis[0].setExtremes(0, failmax*1.5);
|
|
|
|
+ }
|
|
|
|
+ if(passmax>stackAndFailChart.yAxis[0].getExtremes().max*1.3 || passmax<stackAndFailChart.yAxis[0].getExtremes().max*0.5) {
|
|
|
|
+ stackAndFailChart.yAxis[0].setExtremes(0, passmax*1.5);
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
showEachSpot();
|
|
showEachSpot();
|
|
@@ -909,10 +575,6 @@
|
|
|
|
|
|
$(document).ready(on_document_load);
|
|
$(document).ready(on_document_load);
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
window.onresize = resizeAll;
|
|
window.onresize = resizeAll;
|
|
|
|
|
|
function resizeAll() {
|
|
function resizeAll() {
|
|
@@ -923,15 +585,17 @@
|
|
$('[style-height="30-8"]').height(window.innerHeight * 0.4 - 220);
|
|
$('[style-height="30-8"]').height(window.innerHeight * 0.4 - 220);
|
|
$('[style-height="30-1"]').each(function(one,items){$(items).height(window.innerHeight * 0.3)});
|
|
$('[style-height="30-1"]').each(function(one,items){$(items).height(window.innerHeight * 0.3)});
|
|
$('[style-height="30-2"]').each(function(one,items){$(items).height(window.innerHeight * 0.2)});
|
|
$('[style-height="30-2"]').each(function(one,items){$(items).height(window.innerHeight * 0.2)});
|
|
|
|
+
|
|
|
|
+ $('[style-height="50-8"]').each(function(one,items){$(items).height(window.innerHeight * 0.5)});
|
|
var graph = $("#graph-1");
|
|
var graph = $("#graph-1");
|
|
graph.width(window.innerWidth - 35);
|
|
graph.width(window.innerWidth - 35);
|
|
- graph.height(window.innerHeight / 3.333);
|
|
|
|
|
|
+ graph.height(window.innerHeight *0.2);
|
|
if (graph.highcharts !== undefined) {
|
|
if (graph.highcharts !== undefined) {
|
|
graph.highcharts().reflow();
|
|
graph.highcharts().reflow();
|
|
}
|
|
}
|
|
var graph = $("#graph-2");
|
|
var graph = $("#graph-2");
|
|
graph.width(window.innerWidth - 35);
|
|
graph.width(window.innerWidth - 35);
|
|
- graph.height(window.innerHeight / 3.333);
|
|
|
|
|
|
+ graph.height(window.innerHeight *0.2);
|
|
if (graph.highcharts !== undefined) {
|
|
if (graph.highcharts !== undefined) {
|
|
graph.highcharts().reflow();
|
|
graph.highcharts().reflow();
|
|
}
|
|
}
|
|
@@ -943,18 +607,6 @@
|
|
|
|
|
|
resizeAll();
|
|
resizeAll();
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- init_names(flowId);
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
//startClock();
|
|
//startClock();
|
|
|
|
|
|
</script>
|
|
</script>
|