ch
2021-05-17 58d1103917c0c63422715423bccb935e2c4fc24b
WebTM/views/index.html
@@ -30,30 +30,34 @@
              <i class="layui-icon layui-icon-shrink-right" id="LAY_app_flexible"></i>
            </a>
          </li>
          <!--<li class="layui-nav-item layui-hide-xs" lay-unselect>
              <li class="layui-nav-item layui-hide-xs" lay-unselect>
            <a href="http://www.layui.com/admin/" target="_blank" title="前台">
              <i class="layui-icon layui-icon-website"></i>
            </a>
          </li>-->
              </li>
          <li class="layui-nav-item" lay-unselect>
            <a href="javascript:;" layadmin-event="refresh" title="刷新">
              <i class="layui-icon layui-icon-refresh-3"></i>
            </a>
          </li>
          <!--<li class="layui-nav-item layui-hide-xs" lay-unselect>
            <input type="text" placeholder="搜索..." autocomplete="off" class="layui-input layui-input-search" layadmin-event="serach" lay-action="template/search.html?keywords=">
          </li>-->
              <li class="layui-nav-item layui-hide-xs" lay-unselect>
                  <input type="text" placeholder="搜索..." autocomplete="off" class="layui-input layui-input-search" layadmin-event="serach" lay-action="https://www.baidu.com/s?ie=UTF-8&wd=">
              </li>
              <li class="layui-nav-item" lay-unselect style="color: black;">
                  <span>登录组织:</span>
                  <label id="Organization"></label>
              </li>
        </ul>
        <ul class="layui-nav layui-layout-right" lay-filter="layadmin-layout-right">
          
          <!--<li class="layui-nav-item" lay-unselect>
          <li class="layui-nav-item" lay-unselect>
            <a lay-href="app/message/index.html" layadmin-event="message" lay-text="消息中心">
              <i class="layui-icon layui-icon-notice"></i>  
              
               如果有新消息,则显示小圆点
               <!--如果有新消息,则显示小圆点-->
              <span class="layui-badge-dot"></span>
            </a>
          </li>-->
          </li>
          <li class="layui-nav-item layui-hide-xs" lay-unselect>
            <a href="javascript:;" layadmin-event="theme">
              <i class="layui-icon layui-icon-theme"></i>
@@ -75,24 +79,20 @@
                    <label name="UserName" id="UserName"></label>
                </cite>
            </a>
            <!--<dl class="layui-nav-child">
            <dl class="layui-nav-child">
              <dd><a lay-href="set/user/info.html">基本资料</a></dd>
              <dd><a lay-href="set/user/password.html">修改密码</a></dd>
              <hr>
              <dd layadmin-event="logout" style="text-align: center;"><a>退出</a></dd>
            </dl>-->
          </li>
            <li class="layui-nav-item" lay-unselect>
                <dd layadmin-event="logout" style="text-align: center;background-color:red"><a>退出</a></dd>
            </dl>
            </li>
          
          <!--<li class="layui-nav-item layui-hide-xs" lay-unselect>
          <li class="layui-nav-item layui-hide-xs" lay-unselect>
            <a href="javascript:;" layadmin-event="about"><i class="layui-icon layui-icon-more-vertical"></i></a>
          </li>
          <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-unselect>
            <a href="javascript:;" layadmin-event="more"><i class="layui-icon layui-icon-more-vertical"></i></a>
          </li>-->
          </li>
        </ul>
      </div>
      
@@ -105,8 +105,6 @@
            </div>
          
          <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
              <li data-name="set" class="layui-nav-item">
                  <a><i class="layui-icon layui-icon-set"></i><cite>生产工序管理</cite></a>
                  <dl class="layui-nav-child">
@@ -129,14 +127,12 @@
                              <dd><a lay-href="生产工序管理/工序派工单/Sc_ProcessSendWorkList.html">工序派工单列表</a></dd>
                          </dl>
                      </dd>
                      <dd class="layui-nav-itemed">
                          <a>委外工单</a>
                          <dl class="layui-nav-child">
                              <dd><a lay-href="生产工序管理/委外工单/WW_EntrustWorkOrderBillMainList.html">委外工单列表</a></dd>
                          </dl>
                      </dd>
                      <dd class="layui-nav-itemed">
                          <a>委外工序计划汇报单</a>
                          <dl class="layui-nav-child">
@@ -158,7 +154,6 @@
                              <dd><a lay-href="生产工序管理/委外工序派工单/WW_EntrustProcSendWorkBillList.html">委外工序派工单列表</a></dd>
                          </dl>
                      </dd>
                      <dd class="layui-nav-itemed">
                          <a>增加不良评审单</a>
                          <dl class="layui-nav-child">
@@ -166,10 +161,42 @@
                              <dd><a href="生产工序管理/增加不良评审单/QC_Add_NoPassProdCheckBill.html" target="main_self_frame">新增不良评审单</a></dd>
                          </dl>
                      </dd>
                  </dl>
              </li>
                <li data-name="set" class="layui-nav-item">
                    <a><i class="layui-icon layui-icon-set"></i><cite>质量管理</cite></a>
                    <dl class="layui-nav-child">
                        <dd class="layui-nav-itemed">
                            <a>检验方案单</a>
                            <dl class="layui-nav-child">
                                <dd><a lay-href="质量管理/检验方案单/QC_CheckProjectList.html">检验方案单列表</a></dd>
                            </dl>
                        </dd>
                        <dd class="layui-nav-itemed">
                            <a>来料检验单</a>
                            <dl class="layui-nav-child">
                                <dd><a lay-href="质量管理/来料检验单/QC_POStockInCheckBillList.html">来料检验单列表</a></dd>
                            </dl>
                        </dd>
                        <dd class="layui-nav-itemed">
                            <a>首件检验单</a>
                            <dl class="layui-nav-child">
                                <dd><a lay-href="质量管理/首件检验单/QC_FirstPieceCheckBillList.html">首件检验单列表</a></dd>
                            </dl>
                        </dd>
                        <dd class="layui-nav-itemed">
                            <a>巡检记录单</a>
                            <dl class="layui-nav-child">
                                <dd><a lay-href="质量管理/巡检记录单/QC_PatrolProcCheckBillList.html">巡检记录单列表</a></dd>
                            </dl>
                        </dd>
                    </dl>
                </li>
              <li data-name="set" class="layui-nav-item">
                  <a><i class="layui-icon layui-icon-set"></i><cite>采购管理</cite></a>
                  <dl class="layui-nav-child">
@@ -273,24 +300,6 @@
                              <dd><a lay-href="生产管理/生产汇报单/Sc_ICMOReportBillList.html">生产汇报单列表</a></dd>
                          </dl>
                      </dd>
                      <dd class="layui-nav-itemed">
                          <a>生产质量汇报单</a>
                          <dl class="layui-nav-child">
                              <dd><a lay-href="生产管理/生产质量汇报单/Sc_QualityReportBillList.html">生产质量汇报单列表</a></dd>
                          </dl>
                      </dd>
                      <dd class="layui-nav-itemed">
                          <a>生产组装追溯单</a>
                          <dl class="layui-nav-child">
                              <dd><a lay-href="生产管理/生产组装追溯单/Sc_AssemblyBillList.html">生产组装追溯单列表</a></dd>
                          </dl>
                      </dd>
                      <dd class="layui-nav-itemed">
                          <a>上料单</a>
                          <dl class="layui-nav-child">
                              <dd><a lay-href="生产管理/上料单/Sc_MaterToSourceBillList.html">上料单列表</a></dd>
                          </dl>
                      </dd>
                  </dl>
              </li>
              <li data-name="set" class="layui-nav-item">
@@ -316,13 +325,6 @@
                              <dd><a lay-href="模治具管理/模治具管理/Sc_CheckToolsDotCheckBillList.html">检具点检记录表列表</a></dd>
                              <dd><a lay-href="模治具管理/模治具管理/Sc_MouldDotCheckPlanBillList.html">模具点检计划表列表</a></dd>
                              <dd><a lay-href="模治具管理/模治具管理/Sc_CheckToolsDotCheckPlanBillList.html">检具点检计划表列表</a></dd>
                          </dl>
                      </dd>
                  </dl>
@@ -333,7 +335,7 @@
                      <dd>
                          <a>工序流转卡</a>
                          <dl class="layui-nav-child">
                              <!--<dd><a lay-href="车间管理/工序流转卡/Sc_ProcessExchangeBill.html">工序流转卡</a></dd>-->
                                <dd><a lay-href="车间管理/工序流转卡/Sc_ProcessExchangeBill.html">工序流转卡</a></dd>
                              <dd><a lay-href="车间管理/工序流转卡/Sc_ProcessExchangeBillList.html">工序流转卡列表</a></dd>
                          </dl>
                      </dd>
@@ -427,11 +429,7 @@
                              <dd><a lay-href="基础资料/公用基础资料/Gy_Department_Edit.html">部门基础资料</a></dd>
                              <dd><a lay-href="基础资料/公用基础资料/Gy_PropertyList.html">辅助属性列表</a></dd>
                              <dd><a lay-href="基础资料/公用基础资料/Xt_ORGANIZATIONSList.html">组织列表</a></dd>
                              <!-- <dd><a lay-href="基础资料/公用基础资料/test.html">测试树形</a></dd>-->
                              <dd><a lay-href="基础资料/公用基础资料/Gy_StockPlace.html">仓位设置</a></dd>
                              <dd><a lay-href="基础资料/公用基础资料/Gy_Unit.html">计量单位设置</a></dd>
                              <dd><a lay-href="基础资料/公用基础资料/Gy_Currency.html">货币设置</a></dd>
                              <dd><a lay-href="基础资料/公用基础资料/Gy_WorkCenter.html">工作中心设置</a></dd>
                                <dd><a lay-href="基础资料/公用基础资料/test.html">测试树形</a></dd>
                          </dl>
                      </dd>
                  </dl>
@@ -457,15 +455,15 @@
                  </dl>
              </li>
              <!--<li data-name="template" class="layui-nav-item">
    <!--<a href="javascript:;" lay-tips="生产管理" lay-direction="2">
    <a href="javascript:;" lay-tips="生产管理" lay-direction="2">
        <i class="layui-icon layui-icon-template"></i>
        <cite>生产管理</cite>
    </a>
        <dl class="layui-nav-child">
            <dd class="layui-this"><a href="组装单/Sc_AssemblyBill_Fast.html" target="main_self_frame">组装单</a></dd>
            <dd class="layui-this"><a href="验收入库/产品入库/Xs_SeOrderPickUp_New.html" target="main_self_frame">不良汇报</a></dd>
        </dl>-->
              <!--</a>-->
        </dl>
              </a>
              </li>-->
              <li data-name="template" class="layui-nav-item">
                  <a href="javascript:;" lay-tips="领料发货" lay-direction="2">
@@ -584,6 +582,44 @@
                      </dd>
                  </dl>
              </li>
                <li data-name="template" class="layui-nav-item">
                    <a href="javascript:;" lay-tips="可视化看板" lay-direction="2">
                        <i class="layui-icon layui-icon-chart-screen"></i>
                        <cite>可视化看板</cite>
                    </a>
                    <dl class="layui-nav-child" style="width:230px;">
                        <dd>
                            <a href="https://www.baidu.com" target="_blank">
                                <i class="layui-icon layui-icon-layer"></i>看板一
                            </a>
                        </dd>
                        <dd>
                            <a href="https://www.baidu.com" target="_blank">
                                <i class="layui-icon layui-icon-layer"></i>看板二
                            </a>
                        </dd>
                        <dd>
                            <a href="https://www.baidu.com" target="_blank">
                                <i class="layui-icon layui-icon-layer"></i>看板三
                            </a>
                        </dd>
                        <dd>
                            <a href="https://www.baidu.com" target="_blank">
                                <i class="layui-icon layui-icon-layer"></i>看板四
                            </a>
                        </dd>
                        <dd>
                            <a href="https://www.baidu.com" target="_blank">
                                <i class="layui-icon layui-icon-layer"></i>看板五
                            </a>
                        </dd>
                        <dd>
                            <a href="https://www.baidu.com" target="_blank">
                                <i class="layui-icon layui-icon-layer"></i>看板六
                            </a>
                        </dd>
                    </dl>
                </li>
          </ul>
        </div>
      </div>
@@ -634,11 +670,11 @@
          var $ = layui.$;
          //判断是否登录 未登录则跳到登录页
          if (sessionStorage.login != "login") {
              layer.confirm("登录失效,请重新登录!", {
                  icon: 4, skin: 'layui-layer-lan', title: "温馨提示", closeBtn: 0, btn: ['重新登录']
              }, function () { window.location.href = "user/login.html"; });
          }
          //if (sessionStorage.login != "login") {
          //    layer.confirm("登录失效,请重新登录!", {
          //        icon: 4, skin: 'layui-layer-lan', title: "温馨提示", closeBtn: 0, btn: ['重新登录']
          //    }, function () { window.location.href = "user/login.html"; });
          //}
          //判断用户是移动端还是PC端
          var judgeMorPCflag = judgeMorPC();
          if (!judgeMorPCflag) {//移动端
@@ -654,6 +690,7 @@
      });
    document.getElementById('UserName').innerHTML = sessionStorage["HUserName"];
      document.getElementById('Organization').innerHTML = sessionStorage["Organization"];
  </script>
  
  <!--<script>