From bfa0b90c002d6d01f1442ce6882b426efa077a30 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期五, 29 十二月 2023 10:09:26 +0800
Subject: [PATCH] 修改

---
 web/public/index.html |   44 ++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/web/public/index.html b/web/public/index.html
index 24873c5..a98fc71 100644
--- a/web/public/index.html
+++ b/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();

--
Gitblit v1.9.1