ch
2021-07-02 137c4f4562adb02a96e72f7d7b6293aba974c66a
WebTM/views/index_Mobile.html
@@ -139,6 +139,82 @@
              </li>
              <li data-name="set" class="layui-nav-item">
                  <a style="padding-left:20px;">
                      <img src="../layuiadmin/myicon/车间管理.svg" alt="车间管理" style="width:25px;height:25px;margin-right: 5px;" />
                      <cite>模治具管理</cite>
                  </a>
                  <dl class="layui-nav-child">
                      <dd>
                          <a lay-href="模治具管理/模治具点检保养/Sc_MouldDotCheckBill_PDA.html" style="color: aqua;">
                              <img src="../layuiadmin/myicon/单据录制.svg" alt="单据录制" style="width:25px;height:25px;margin-right: 5px;" />
                              点检记录单
                          </a>
                      </dd>
                      <dd>
                          <a lay-href="模治具管理/模治具仓库管理/Sc_MouldScrapInBill_PDA.html" style="color: aqua;">
                              <img src="../layuiadmin/myicon/单据录制.svg" alt="单据录制" style="width:25px;height:25px;margin-right: 5px;" />
                              报废入库单
                          </a>
                      </dd>
                      <dd>
                          <a lay-href="模治具管理/模治具点检保养/Sc_MouldMaintainBill_PDA.html" style="color: aqua;">
                              <img src="../layuiadmin/myicon/单据录制.svg" alt="单据录制" style="width:25px;height:25px;margin-right: 5px;" />
                              保养记录单
                          </a>
                      </dd>
                      <dd>
                          <a lay-href="模治具管理/模具其他入库单/Sc_MouldOtherInBill_PDA.html" style="color: aqua;">
                              <img src="../layuiadmin/myicon/单据录制.svg" alt="单据录制" style="width:25px;height:25px;margin-right: 5px;" />
                              模具其他入库单
                          </a>
                      </dd>
                      <dd>
                          <a lay-href="模治具管理/模具其他出库单/Sc_MouldOtherOutBill_PDA.html" style="color: aqua;">
                              <img src="../layuiadmin/myicon/单据录制.svg" alt="单据录制" style="width:25px;height:25px;margin-right: 5px;" />
                              模具其他出库单
                          </a>
                      </dd>
                      <dd>
                          <a lay-href="模治具管理/模具维修记录单/Sc_MouldRepairWorkBill_PDA.html" style="color: aqua;">
                              <img src="../layuiadmin/myicon/单据录制.svg" alt="单据录制" style="width:25px;height:25px;margin-right: 5px;" />
                              模具维修记录单
                          </a>
                      </dd>
                      <dd>
                          <a lay-href="模治具管理/模具寿命调整单/Sc_MouldLifeChangeBill_PDA.html" style="color: aqua;">
                              <img src="../layuiadmin/myicon/单据录制.svg" alt="单据录制" style="width:25px;height:25px;margin-right: 5px;" />
                              模具寿命调整单
                          </a>
                      </dd>
                  </dl>
              </li>
              <li data-name="set" class="layui-nav-item">
                  <a style="padding-left:20px;">
                      <img src="../layuiadmin/myicon/车间管理.svg" alt="车间管理" style="width:25px;height:25px;margin-right: 5px;" />
                      <cite>设备管理</cite>
                  </a>
                  <dl class="layui-nav-child">
                      <dd>
                          <a lay-href="设备管理/Sb_EqpMaintenanceBillList_PDA.html" style="color: aqua;">
                              <img src="../layuiadmin/myicon/单据录制.svg" alt="单据录制" style="width:25px;height:25px;margin-right: 5px;" />
                              设备维修工单
                          </a>
                      </dd>
                      <dd>
                          <a lay-href="设备管理/Sb_EquipDotCheckBillList_PDA.html" style="color: aqua;">
                              <img src="../layuiadmin/myicon/单据录制.svg" alt="单据录制" style="width:25px;height:25px;margin-right: 5px;" />
                              设备点检记录单
                          </a>
                      </dd>
                      <dd>
                          <a lay-href="设备管理/Sb_EquipMaintainBillList_PDA.html" style="color: aqua;">
                              <img src="../layuiadmin/myicon/单据录制.svg" alt="单据录制" style="width:25px;height:25px;margin-right: 5px;" />
                              设备保养记录单
                          </a>
                      </dd>
                  </dl>
              </li>
              <li data-name="set" class="layui-nav-item">
                  <a style="padding-left:20px;">
                      <img src="../layuiadmin/myicon/系统设置.svg" alt="系统设置" style="width:25px;height:25px;margin-right: 5px;" />
                      <cite>系统管理</cite>
                  </a>
@@ -209,17 +285,17 @@
          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) {//PC端
              window.location.href = 'index.html'
          }
          //var judgeMorPCflag = judgeMorPC();
          //if (judgeMorPCflag) {//PC端
          //    window.location.href = 'index.html'
          //}
      });