소스 검색

feat:宁录更新

yf_elsa.cui 1 개월 전
부모
커밋
5a1ff87a34

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3 - 3
dist/static/css/app.d8515ece46d64925d259772cc4d04304.css


BIN
dist/static/css/app.d8515ece46d64925d259772cc4d04304.css.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/static/js/0.28e3cef530c99472607d.js


BIN
dist/static/js/0.28e3cef530c99472607d.js.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/static/js/0.8a888a6c870f995b1d08.js


BIN
dist/static/js/0.8a888a6c870f995b1d08.js.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 8 - 0
dist/static/js/1.5114fd65c590c447d919.js


BIN
dist/static/js/1.5114fd65c590c447d919.js.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 8
dist/static/js/1.abf21bb0f4b54ca1e329.js


BIN
dist/static/js/1.abf21bb0f4b54ca1e329.js.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/static/js/5.123d62b973ffbfef4843.js


BIN
dist/static/js/5.123d62b973ffbfef4843.js.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/static/js/5.5327445218284ccfaf46.js


BIN
dist/static/js/5.5327445218284ccfaf46.js.gz


BIN
dist/static/js/manifest.7b76b93745dee2c76cd1.js.gz


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/static/js/manifest.7b76b93745dee2c76cd1.js


BIN
dist/static/js/manifest.ef30eb67f14d1dbfc601.js.gz


+ 25 - 0
src/pages/bigdata/combine/MyMap/index.vue

@@ -523,6 +523,14 @@ export default {
               id: id
             }
           })
+        } else if (info.device_type_id == '26') {
+          // 小麦条锈病
+          this.$router.push({
+            path: `/index/dwb`,
+            query: {
+              id: id
+            }
+          })
         } else if (info.device_type_id == '17') {
           // 水电双计
           this.$router.push({
@@ -534,6 +542,22 @@ export default {
         } else if (info.device_type_id == '18') {
           // 水肥一体化
           this.$router.push({ name: 'waterTogether', params: { ids: id } })
+        } else if (info.device_type_id == '43') {
+          // 闸阀
+          this.$router.push({
+            path: `/index/zhaFa`,
+            query: {
+              id: id
+            }
+          })
+        } else if (info.device_type_id == '44') {
+          // 闸阀
+          this.$router.push({
+            path: `/index/multispCamera`,
+            query: {
+              id: id
+            }
+          })
         }
       }
     },
@@ -585,6 +609,7 @@ export default {
 
       if (baseInfo && baseInfo.lng && baseInfo.lat) {
         this.map.setCenter([baseInfo.lng, baseInfo.lat])
+        this.map.setFitView()
       }
     },
     createMarker(lnglat, waterID, waterName, waterNum, row) {

+ 2 - 0
src/pages/equipmanger/EquipList.vue

@@ -1670,6 +1670,7 @@ export default {
       })
     },
     deviceUserChange(e) {
+      this.queryInfo.page = 1
       if (this.cancelShow) {
         this.getList()
       } else {
@@ -1677,6 +1678,7 @@ export default {
       }
     },
     deviceUserClear() {
+      this.queryInfo.page = 1
       this.queryInfo.device_user = ''
       this.deviceUserList = []
     },

+ 36 - 36
src/pages/forecasting/cbd/analyse.vue

@@ -108,14 +108,14 @@
               <el-button size="mini" round @click="selectAllStatus(false)">清空选择</el-button>
             </div>
             <div class="float-right">
-              <el-button
+              <!-- <el-button
                 icon="el-icon-upload2"
                 :disabled="hightf"
                 size="mini"
                 type="primary"
                 @click="exportPest()"
                 >导出</el-button
-              >
+              > -->
 
               <!-- <span class="deep-seek margin-left-sm" :class="[changeAI ? 'active' : '']">
                 <i @click="changeAI = false" class="el-icon-circle-close"></i>
@@ -330,7 +330,7 @@ export default {
         x: 0,
         y: 0,
         title: '',
-        data: [],
+        data: []
       },
       showPdf: false,
       reportDialog: false,
@@ -348,7 +348,7 @@ export default {
       basedata: [], // 设备列表
       checkList: [], // 选中的设备列表
       checkModal: [], // 设备选择弹窗选中列表
-      device_id: '', // 设备ID
+      device_id: '' // 设备ID
     }
   },
   components: {
@@ -357,7 +357,7 @@ export default {
     imgItem,
     pestTable,
     DeepComp,
-    pdf,
+    pdf
   },
   // 监听属性 类似于data概念
   computed: {
@@ -374,17 +374,17 @@ export default {
       // 计算tooltip的样式
       return {
         left: this.tooltip.x + 'px',
-        top: this.tooltip.y + 'px',
+        top: this.tooltip.y + 'px'
       }
-    },
+    }
   },
   // 监控data中的数据变化
   watch: {
     wormValue: {
       handler(val) {
         this.wormInfoObj = this.wormInfo[val] || {}
-      },
-    },
+      }
+    }
   },
   // 方法集合
   methods: {
@@ -405,7 +405,7 @@ export default {
       this.$axios({
         method: 'post',
         url: '/api/api_gateway?method=forecast.worm_lamp.cbd_lamp_list',
-        data: this.qs.stringify({}),
+        data: this.qs.stringify({})
       }).then((res) => {
         if (res.data.message == '') {
           if (res.data.data) {
@@ -537,8 +537,8 @@ export default {
           method: 'post',
           url: '/api/api_gateway?method=forecast.worm_lamp.generate_pest_report',
           data: this.qs.stringify({
-            report_id: item.report_id,
-          }),
+            report_id: item.report_id
+          })
         }).then((res) => {
           if (res.data.message == '') {
             this.$message.success('报告正在生成中,请稍后查看')
@@ -583,8 +583,8 @@ export default {
         data: this.qs.stringify({
           d_id: this.d_id,
           page: this.reportPage,
-          page_size: 10,
-        }),
+          page_size: 10
+        })
       }).then((res) => {
         this.reportLoading = false
         if (res.data.message == '') {
@@ -635,7 +635,7 @@ export default {
       return {
         data: data.reverse(),
         titlename: titlename.reverse(),
-        valdata: valdata.reverse(),
+        valdata: valdata.reverse()
       }
     },
     formatePestMessage(data) {
@@ -662,8 +662,8 @@ export default {
           d_ids: this.d_id,
           year: this.yearValue,
           amend: this.amend,
-          identify_model: this.currentDeviceInfo.identify_model || 'B',
-        }),
+          identify_model: this.currentDeviceInfo.identify_model || 'B'
+        })
       }).then((res) => {
         if (res.data.message == '') {
           if (res.data.data) {
@@ -700,8 +700,8 @@ export default {
           sp_hour_ed: this.sp_hour_ed.split(':')[0],
           end_time: this.formatTime(this.end_time * 1000, 'yyyy-MM-dd'),
           identify_model: this.currentDeviceInfo.identify_model,
-          amend: 1,
-        }),
+          amend: 1
+        })
       }).then((res) => {
         if (res.data.message == '') {
           if (res.data.data) {
@@ -724,33 +724,33 @@ export default {
               for (var i = 0; i < atah.length; i++) {
                 arr.push([
                   this.formatTime(atah[i].addtime * 1000, 'yyyy-MM-dd'),
-                  atah[i].height ? atah[i].height : 0,
+                  atah[i].height ? atah[i].height : 0
                 ])
                 arr2.push([
                   this.formatTime(atah[i].addtime * 1000, 'yyyy-MM-dd'),
-                  atah[i].low ? atah[i].low : 0,
+                  atah[i].low ? atah[i].low : 0
                 ])
                 arr3.push([
                   this.formatTime(atah[i].addtime * 1000, 'yyyy-MM-dd'),
-                  atah[i].ah ? atah[i].ah : 0,
+                  atah[i].ah ? atah[i].ah : 0
                 ])
               }
               ChartData = [
                 {
                   type: 'line',
                   name: '高温',
-                  data: arr,
+                  data: arr
                 },
                 {
                   type: 'line',
                   name: '低温',
-                  data: arr2,
+                  data: arr2
                 },
                 {
                   type: 'line',
                   name: '湿度',
-                  data: arr3,
-                },
+                  data: arr3
+                }
               ]
             }
             var data = []
@@ -758,7 +758,7 @@ export default {
             for (var key in pest_total) {
               var obj = {
                 name: key,
-                value: pest_total[key],
+                value: pest_total[key]
               }
 
               data.push(obj)
@@ -783,7 +783,7 @@ export default {
               let obj = {
                 name: item,
                 type: 'line',
-                data: countData,
+                data: countData
               }
               this.ChartData.push(obj)
             })
@@ -799,7 +799,7 @@ export default {
                 // markArea,
                 unit: '头',
                 legend,
-                selected,
+                selected
               },
               temColor
             )
@@ -842,7 +842,7 @@ export default {
         this.chart.dispatchAction({
           type: 'highlight',
           seriesIndex: e.seriesIndex,
-          dataIndex: e.dataIndex,
+          dataIndex: e.dataIndex
         })
       }
     },
@@ -855,8 +855,8 @@ export default {
       })
       this.chart.setOption({
         legend: {
-          selected: selected,
-        },
+          selected: selected
+        }
       })
     },
     exportPest() {
@@ -887,7 +887,7 @@ export default {
         return false
       }
       return true
-    },
+    }
   },
   beforeCreate() {}, // 生命周期 - 创建之前
   // 生命周期 - 创建完成(可以访问当前this实例)
@@ -902,8 +902,8 @@ export default {
         method: 'post',
         url: '/api/api_gateway?method=forecast.prediction.is_prediction',
         data: this.qs.stringify({
-          device_id: this.d_id,
-        }),
+          device_id: this.d_id
+        })
       }).then((res) => {
         this.isShowPestBtn = res.data.data
       })
@@ -923,7 +923,7 @@ export default {
   updated() {}, // 生命周期 - 更新之后
   beforeDestroy() {}, // 生命周期 - 销毁之前
   destroyed() {}, // 生命周期 - 销毁完成
-  activated() {}, // 如果页面有keep-alive缓存功能,这个函数会触发
+  activated() {} // 如果页面有keep-alive缓存功能,这个函数会触发
 }
 </script>
 <style lang="less">