From 0c63fd773d013c7742d2219367d5c3c5a2f72395 Mon Sep 17 00:00:00 2001
From: TS-QD1
Date: Fri, 7 Apr 2023 11:04:45 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BE=9D=E8=B5=96=E7=89=88?=
=?UTF-8?q?=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 49 +++-
src/main/resources/application.yml | 4 +-
.../static/route/kpi/community-count.html | 18 ++
src/main/resources/templates/index.html | 231 +++++++++++++++++-
src/main/resources/templates/index1.html | 19 ++
5 files changed, 311 insertions(+), 10 deletions(-)
create mode 100644 src/main/resources/templates/index1.html
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/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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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 @@
-
-
+
+