Browse Source

添加了准确性分析-查看无分类接口

段小段 1 year ago
parent
commit
ca3222561b
2 changed files with 11 additions and 3 deletions
  1. 2 2
      .env.development
  2. 9 1
      src/views/statisticalAnalysis/errorAnalysis/pasture/index.vue

+ 2 - 2
.env.development

@@ -6,14 +6,14 @@ ENV = 'development'
 # VUE_APP_BASE_API = 'http://210.16.189.72:8081/'
 
 
-# VUE_APP_BASE_API = 'http://kpttest.kptyun.com/'
+VUE_APP_BASE_API = 'http://kpttest.kptyun.com/'
 
 # VUE_APP_BASE_API = 'http://tmrwatch.cn/'
 
 # 测试线
 # VUE_APP_BASE_API = 'http://tmrwatch.cn:8081/'
 
-VUE_APP_BASE_API = 'http://127.0.0.1:8081/'
+# VUE_APP_BASE_API = 'http://127.0.0.1:8081/'
 
 # VUE_APP_BASE_API = 'http://lhpc81.kptyun.com/'
 

+ 9 - 1
src/views/statisticalAnalysis/errorAnalysis/pasture/index.vue

@@ -2855,7 +2855,7 @@ export default {
         this.getTabList()
         this.tab.table2.getdataListParm.offset = 1
         this.getTabList2()
-        
+
       }
     },
     // 按日期统计
@@ -4555,6 +4555,10 @@ export default {
           this.methodName = 'getDownloadedplanByFeedHL'
           this.optdevice = row.fname
           this.titlefname = '准确性详情——饲料:' + row.fname
+        } else if (this.tab.radio == 7) {
+          this.methodName = 'getDownloadedplanByWflHL'
+          this.optdevice = row.fname
+          this.titlefname = '准确性详情'
         }
       }else{
         // 撒料
@@ -4582,6 +4586,10 @@ export default {
           this.methodName = 'getDownloadedplanByTmrSL'
           this.optdevice = row.TMR名称
           this.titlefname = '准确性详情——TMR名称:' + row.TMR名称
+        }else if (this.tab.radio == 7) {
+          this.methodName = 'getDownloadedplanByWflSL'
+          this.optdevice = row.fname
+          this.titlefname = '准确性详情'
         }
       }