diff --git a/src/api/inspector.js b/src/api/inspector.js
new file mode 100644
index 0000000..2da309d
--- /dev/null
+++ b/src/api/inspector.js
@@ -0,0 +1,8 @@
+import request from "@/utils/request";
+
+export const getTongJiData = () => {
+ return request({
+ method: 'post',
+ url: '/caserecord/countByPeriod',
+ })
+}
diff --git a/src/views/inspector/index.vue b/src/views/inspector/index.vue
index 2ee906c..7ceee6f 100644
--- a/src/views/inspector/index.vue
+++ b/src/views/inspector/index.vue
@@ -7,22 +7,22 @@
- 6090.99
+ {{ tongji.totalCount }}
- 6090.99
+ {{ tongji.yearCount }}
- 6090.99
+ {{tongji.monthCount}}
- 6090.99
+ {{ tongji.weekCount }}
@@ -55,10 +55,25 @@
@@ -105,7 +120,7 @@ export default {
gap: 16px;
}
-.shu{
+.shu {
position: relative;
color: rgba(14, 253, 255, 1);
font-size: 20px;
diff --git a/vue.config.js b/vue.config.js
index af78aa3..634a310 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -46,7 +46,7 @@ module.exports = {
// target: `http://120.79.202.7:443`,
// target: `http://100.100.10.216:8099`,
// target: 'http://106.15.139.36:18090',
- // target: 'http://127.0.0.1:18098',
+ target: 'http://127.0.0.1:18098',
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''