jinlin
2023-12-20 1d29540c77a0b736e10a9be0c0834c1813c3303e
web/public/index.html
@@ -3,6 +3,13 @@
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <!--  <link rel='stylesheet' href='./excelData/plugins/css/pluginsCss.css' />-->
  <!--  <link rel='stylesheet' href='./excelData/plugins/plugins.css' />-->
  <!--  <link rel='stylesheet' href='./excelData/css/luckysheet.css' />-->
  <!--  <link rel='stylesheet' href='./excelData/assets/iconfont/iconfont.css' />-->
  <!--  <script src="./excelData/plugins/js/plugin.js"></script>-->
  <!--  &lt;!&ndash;&lt;!&ndash; rollup luckysheet.js &ndash;&gt;&ndash;&gt;-->
  <!--  <script src="./excelData/luckysheet.umd.js"></script>-->
  <!--   站点配置-->
  <style>
    /* html,
@@ -212,8 +219,8 @@
    window.SITE_CONFIG['dynamicMenuRoutesHasAdded'] = false; // 动态(菜单)路由是否已经添加的状态标示(用于判断是否需要重新拉取数据并进行动态添加操作)
    // 服务地址
    window.SITE_CONFIG['apiURL'] = 'http://' + location.hostname + ':8050/life-protection';
    window.SITE_CONFIG['apiURL2'] = 'http://' + location.hostname + ':8050/life-protection';
    window.SITE_CONFIG['apiURL'] = 'http://' + location.hostname + ':8058/life-protection';
    window.SITE_CONFIG['apiURL2'] = 'http://' + location.hostname + ':8058/life-protection';
    //window.SITE_CONFIG['apiURL2'] = 'http://'+location.hostname+':8066';
    //window.SITE_CONFIG['apiURL'] = '<%= process.env.VUE_APP_API_URL %>';
@@ -382,6 +389,39 @@
    } else {
      window.location.href = './html/ie.html';
    }
    if (!isMise || (isMise && versionNo>=11)) {
      // if(window.document.location.href.indexOf('&system=djxl&')>-1){
      // alert(window.document.location.href.indexOf('&system=djxl&'))
      // document.getElementById("onload").style.display = "none"
      // document.getElementById("ref").style.display = "none"
      // document.getElementById("ref1").style.display = "none"
      var css1 = document.createElement("link");
      var css2 = document.createElement("link");
      var css3 = document.createElement("link");
      var css4 = document.createElement("link");
      css1.setAttribute("rel", "stylesheet");
      css1.setAttribute("href", "./excelData/plugins/css/pluginsCss.css");
      css2.setAttribute("rel", "stylesheet");
      css2.setAttribute("href", "./excelData/plugins/plugins.css");
      css3.setAttribute("rel", "stylesheet");
      css3.setAttribute("href", "./excelData/css/luckysheet.css");
      css4.setAttribute("rel", "stylesheet");
      css4.setAttribute("href", "./excelData/assets/iconfont/iconfont.css");
      document.head.appendChild(css1);
      document.head.appendChild(css2);
      document.head.appendChild(css3);
      document.head.appendChild(css4);
      var js1 = document.createElement("script");
      var js2 = document.createElement("script");
      js1.setAttribute("src", "./excelData/plugins/js/plugin.js");
      js2.setAttribute("src", "./excelData/luckysheet.umd.js");
      document.head.appendChild(js1);
      document.head.appendChild(js2);
    }
  }
  window.onload = checkBrowserVersion();