Pārlūkot izejas kodu

Merge branch 'statistical-analysis' into dev

huoyi 1 mēnesi atpakaļ
vecāks
revīzija
836fd33b61

+ 37 - 0
src/api/statisticalAnalysis/statisticalAnalysis.js

@@ -0,0 +1,37 @@
1
+import request from '@/utils/request'
2
+
3
+// 获取绩效列表
4
+export function getItemPerformanceList(params) {
5
+  return request({
6
+    url: '/item/performance/list',
7
+    method: 'get',
8
+    params
9
+  })
10
+}
11
+
12
+// 获取绩效柱状图数据
13
+export function getItemPerformanceHistogram(params) {
14
+  return request({
15
+    url: '/item/performance/histogram',
16
+    method: 'get',
17
+    params
18
+  })
19
+}
20
+
21
+// 获取绩效箱线图数据
22
+export function getItemPerformanceBoxplot(params) {
23
+  return request({
24
+    url: '/item/performance/boxplot',
25
+    method: 'get',
26
+    params
27
+  })
28
+}
29
+
30
+// 获取绩效指标数据
31
+export function getItemPerformanceMetrics(data) {
32
+  return request({
33
+    url: '/item/performance/metrics',
34
+    method: 'post',
35
+    data
36
+  })
37
+}

+ 2 - 2
src/config.js

@@ -4,8 +4,8 @@ module.exports = {
4 4
  // baseUrl: process.env.NODE_ENV === 'development' ? 'http://192.168.3.221:82/prod-api' : '/prod-api', //生产
5 5
   //  baseUrl: process.env.NODE_ENV === 'development' ? 'http://192.168.3.221:8080' : '/prod-api',
6 6
 // baseUrl: process.env.NODE_ENV === 'development' ? 'http://guangxi.qinghe.sundot.cn:8088' : 'http://guangxi.qinghe.sundot.cn:8088/prod-api',
7
-   baseUrl: 'http://airport.samsundot.com:9024/prod-api',//测试
8
- // baseUrl:'http://airport.samsundot.com:9021/prod-api',//生产
7
+    baseUrl: 'http://airport.samsundot.com:9024/prod-api',//测试
8
+// baseUrl:'http://airport.samsundot.com:9021/prod-api',//生产
9 9
   // 应用信息
10 10
   appInfo: {
11 11
     // 应用名称

+ 6 - 0
src/pages.json

@@ -297,6 +297,12 @@
297 297
       }
298 298
     },
299 299
     {
300
+      "path": "pages/statisticalAnalysis/index",
301
+      "style": {
302
+        "navigationBarTitleText": "统计分析"
303
+      }
304
+    },
305
+    {
300 306
       "path": "pages/seizureRecord/index",
301 307
       "style": {
302 308
         "navigationBarTitleText": "查获记录"

+ 2 - 2
src/pages/login.vue

@@ -78,7 +78,7 @@ export default {
78 78
   onLoad() {
79 79
     //#ifdef H5
80 80
     if (getToken()) {
81
-      this.$tab.reLaunch('/pages/home-new/index')
81
+      this.$tab.reLaunch('/pages/home/index')
82 82
     }
83 83
     this.getStorage()
84 84
     //#endif
@@ -164,7 +164,7 @@ export default {
164 164
       this.$store.dispatch('GetInfo').then(res => {
165 165
         // 登录成功后调用showMessageTabRedDot更新消息tab红点状态
166 166
         showMessageTabRedDot()
167
-        this.$tab.reLaunch('/pages/home-new/index')
167
+        this.$tab.reLaunch('/pages/home/index')
168 168
       })
169 169
     }
170 170
   }

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1269 - 0
src/pages/statisticalAnalysis/index.vue


+ 0 - 0
src/pages/statisticalAnalysis/统计分析