diff --git a/pom.xml b/pom.xml index 36f6ee8..54085e1 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ 5.1.47 2.3.28 1.1.9 - 1.0.1-SNAPSHOT + 1.0.2-SNAPSHOT @@ -105,9 +105,54 @@ + org.springframework.boot spring-boot-maven-plugin - ${spring-boot.version} + + ZIP + + + non-exists + non-exists + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + package + + copy-dependencies + + + + target/lib + false + false + runtime + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + **/*.properties + **/*.xml + **/*.yml + static/** + templates/** + mybatis/** + + diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index a909316..6b20cf3 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -83,8 +83,8 @@ security: oauth-server: http://192.168.0.15:7021/usercenter oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url} client: - client-id: cc7dbe7d6d034b0e93a41f9256723ce3 - client-secret: eWJDNTUxN3Q0QU0wVHhmbGROM1hmZzFwdFlyQUxPa1E4bWtkL01PVGVuc21ac2wwZTJHWk5NbXh3L3h3U2c4Rg== + client-id: fe091a27049d476fb66cc60d4d865939 + client-secret: aENJYmpSZjFFblloWXJGenVKRENZNFpZRkYxN3A4SWVjYTJNc0hFenUrQW1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== user-authorization-uri: ${security.oauth2.oauth-server}/oauth_client/authorize access-token-uri: ${security.oauth2.oauth-server}/oauth_client/token grant-type: authorization_code diff --git a/src/main/resources/static/route/kpi/community-count.html b/src/main/resources/static/route/kpi/community-count.html index 2989f17..b64ccd2 100644 --- a/src/main/resources/static/route/kpi/community-count.html +++ b/src/main/resources/static/route/kpi/community-count.html @@ -50,6 +50,9 @@ +
@@ -256,6 +259,21 @@ reloadTable(1); }); + $(document).on('click', '#refreshData', function() { + top.dialog.confirm('确定更新吗?时间可能较长,请不要关闭页面!', function(index) { + top.dialog.close(index); + var loadLayerIndex; + top.restAjax.get(top.restAjax.path('api/kpi/update-case', []), {}, null, function(code, data) { + reloadTable(1); + }, function(code, data) { + top.dialog.msg(data.msg); + }, function() { + loadLayerIndex = top.dialog.msg('正在更新...', {icon: 16, time: 0, shade: 0.3}); + }, function() { + top.dialog.close(loadLayerIndex); + }); + }); + }); }) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 979887d..00b126a 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -1,19 +1,238 @@ - - + + + - - + + - + +
+
+
+ + + +
+ + +
+ +
+ + +
+
+
+ +
+
    +
  • +
+
+
+ + +
+
+ +
+
+ + +
+
+
+ + diff --git a/src/main/resources/templates/index1.html b/src/main/resources/templates/index1.html new file mode 100644 index 0000000..979887d --- /dev/null +++ b/src/main/resources/templates/index1.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + +