Ver código fonte

前端文件,打包配置

chenw 7 anos atrás
pai
commit
835bff59a6
24 arquivos alterados com 252 adições e 5 exclusões
  1. 20 4
      bi-server/pom.xml
  2. 1 1
      bi-server/src/main/java/com/usoftchina/bi/server/service/dashboard/DashboardsService.java
  3. 4 0
      bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.css
  4. BIN
      bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.eot
  5. 0 0
      bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.js
  6. 25 0
      bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.svg
  7. BIN
      bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.ttf
  8. BIN
      bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.woff
  9. 4 0
      bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.css
  10. BIN
      bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.eot
  11. 0 0
      bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.js
  12. 182 0
      bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.svg
  13. BIN
      bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.ttf
  14. BIN
      bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.woff
  15. BIN
      bi-server/src/main/webapp/dist/images/chart-default.png
  16. BIN
      bi-server/src/main/webapp/dist/images/dashboard-default.png
  17. BIN
      bi-server/src/main/webapp/dist/images/favicon.png
  18. BIN
      bi-server/src/main/webapp/dist/images/login-bg.png
  19. BIN
      bi-server/src/main/webapp/dist/images/selected.png
  20. BIN
      bi-server/src/main/webapp/dist/images/table-default.png
  21. BIN
      bi-server/src/main/webapp/dist/images/uas.png
  22. 0 0
      bi-server/src/main/webapp/dist/index.css
  23. 16 0
      bi-server/src/main/webapp/dist/index.html
  24. 0 0
      bi-server/src/main/webapp/dist/index.js

+ 20 - 4
bi-server/pom.xml

@@ -44,13 +44,13 @@
       <artifactId>java-jwt</artifactId>
     </dependency>
 
-    <dependency>
+    <!--<dependency>
       <groupId>org.springframework.boot</groupId>
       <artifactId>spring-boot-starter-tomcat</artifactId>
-      <!--打包的时候可以不用包进去,别的设施会提供。事实上该依赖理论上可以参与编译,测试,运行等周期。
-          相当于compile,但是打包阶段做了exclude操作-->
+      &lt;!&ndash;打包的时候可以不用包进去,别的设施会提供。事实上该依赖理论上可以参与编译,测试,运行等周期。
+          相当于compile,但是打包阶段做了exclude操作&ndash;&gt;
       <scope>provided</scope>
-    </dependency>
+    </dependency>-->
   </dependencies>
 
   <build>
@@ -63,4 +63,20 @@
     </plugins>
   </build>
 
+  <distributionManagement>
+    <!-- 发布release仓库 -->
+    <repository>
+      <id>platform-release</id>
+      <name>platform-release</name>
+      <url>http://10.10.101.21:8081/artifactory/libs-release-local</url>
+    </repository>
+    <!-- 发布快照版本 -->
+    <snapshotRepository>
+      <id>platform-snapshots</id>
+      <name>platform-snapshots</name>
+      <url>http://10.10.101.21:8081/artifactory/libs-snapshot-local</url>
+    </snapshotRepository>
+  </distributionManagement>
+
+
 </project>

+ 1 - 1
bi-server/src/main/java/com/usoftchina/bi/server/service/dashboard/DashboardsService.java

@@ -199,7 +199,7 @@ public class DashboardsService {
         Map<String, String> map = new HashMap<>();
         int firstEndIndex = decodeData.indexOf("&");
         map.put("id", decodeData.substring(3, firstEndIndex));
-        map.put("endTime", decodeData.substring(firstEndIndex));
+        map.put("endTime", decodeData.substring(firstEndIndex + 9));
         return map;
     }
 

Diferenças do arquivo suprimidas por serem muito extensas
+ 4 - 0
bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.css


BIN
bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.eot


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 25 - 0
bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.svg


BIN
bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.ttf


BIN
bi-server/src/main/webapp/dist/fonts/iconfont/custom/iconfont.woff


Diferenças do arquivo suprimidas por serem muito extensas
+ 4 - 0
bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.css


BIN
bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.eot


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 182 - 0
bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.svg


BIN
bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.ttf


BIN
bi-server/src/main/webapp/dist/fonts/iconfont/default/iconfont.woff


BIN
bi-server/src/main/webapp/dist/images/chart-default.png


BIN
bi-server/src/main/webapp/dist/images/dashboard-default.png


BIN
bi-server/src/main/webapp/dist/images/favicon.png


BIN
bi-server/src/main/webapp/dist/images/login-bg.png


BIN
bi-server/src/main/webapp/dist/images/selected.png


BIN
bi-server/src/main/webapp/dist/images/table-default.png


BIN
bi-server/src/main/webapp/dist/images/uas.png


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
bi-server/src/main/webapp/dist/index.css


+ 16 - 0
bi-server/src/main/webapp/dist/index.html

@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="UTF-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+  <title>BI 商业智能平台</title>
+  <link rel="shortcut icon" href="/images/favicon.png">
+  <link rel="stylesheet" href="index.css" />
+</head>
+<body>
+
+  <div id="root"></div>
+  <script src="index.js"></script>
+
+</body>
+</html>

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
bi-server/src/main/webapp/dist/index.js


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff