From c38c49495276a698f822a3df499fdebf88168409 Mon Sep 17 00:00:00 2001 From: pangdundun <664790274@qq.com> Date: Fri, 26 Jan 2024 19:09:08 +0800 Subject: [PATCH] ~ --- pages/timeEnvironment/timeEnvironment.vue | 28 ++- .../timeEnvironment/timeEnvironment.js.map | 2 +- .../pages/timeEnvironment/timeEnvironment.js | 199 ++++++++++-------- .../timeEnvironment/timeEnvironment.wxml | 2 +- 4 files changed, 145 insertions(+), 86 deletions(-) diff --git a/pages/timeEnvironment/timeEnvironment.vue b/pages/timeEnvironment/timeEnvironment.vue index 75c1fe7..fcc2834 100644 --- a/pages/timeEnvironment/timeEnvironment.vue +++ b/pages/timeEnvironment/timeEnvironment.vue @@ -38,7 +38,7 @@ {{ item.environmentDataId }} - {{ item.equipmentStart == 0 ? '故障' : (item.environmentData + getTypeList(item.formula)) }} + {{ item.equipmentStart == 0 ? '故障' : ((item.formula == '12' ? getWindDirection(item.environmentData) : item.environmentData) + (item.formula == '12' ? '' : getTypeList(item.formula))) }} @@ -64,7 +64,7 @@ {{ item.environmentDataId }} - {{ item.equipmentStart == 0 ? '故障' : (item.environmentData + getTypeList(item.formula)) }} + {{ item.equipmentStart == 0 ? '故障' : ((item.formula == '12' ? getWindDirection(item.environmentData) : item.environmentData) + (item.formula == '12' ? '' : getTypeList(item.formula))) }} @@ -688,6 +688,30 @@ }) // console.log(this.equipmentName30List,'this.equipmentName30List'); }, + + // 风向判定 + getWindDirection(number){ + let num = Number(number) + if(num <= 67 && num >= 22 ){ + return '东北' + }else if(num > 67 && num < 112){ + return '东' + }else if(num >= 112 && num <= 157){ + return '东南' + }else if(num > 157 && num < 202){ + return '南' + }else if(num >= 202 && num <= 247){ + return '西南' + }else if(num > 247 && num < 292){ + return '西' + }else if(num >= 292 && num <= 337){ + return '西北' + }else if(num < 22){ + return '北' + }else if(num > 337){ + return '北' + } + } } } diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/timeEnvironment/timeEnvironment.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/timeEnvironment/timeEnvironment.js.map index 7fc81e4..985416e 100644 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/pages/timeEnvironment/timeEnvironment.js.map +++ b/unpackage/dist/dev/.sourcemap/mp-weixin/pages/timeEnvironment/timeEnvironment.js.map @@ -1 +1 @@ -{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?f3ec","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?0a99","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?a5c5","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?1504","uni-app:///pages/timeEnvironment/timeEnvironment.vue","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?e84c","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?0aee"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","background","backgroundColor","waterAndFertilizerParamsList","testBaseList","img","name","value","testBaseList1","typeList","timer","updateTime","weatherList","weatherDeviceName","updateTimeWeather","equipmentName30List","equipmentName30ListChild","updateTime30","onLoad","uni","title","key","success","that","fail","url","onShow","clearInterval","onHide","onPullDownRefresh","mounted","methods","getEquipmentInfo","method","res","item","childList","childList_mubiao","childList_1","childList_2","childList_one","childList_two","childList_three","childList_four","childList_five","childList_six","childList_seven","childList_eight","childList_nine","childList_ten","childList_eleven","childList_twelve","childList_thirteen","childList_fourteen","getcontrol_rtdata","i","console","equipmentName","waterAndFertilizerParamsList_10","toTarget_water_fertilizer_PH","targetValue","getTypeList","typeList1","getStatus","getcontrol_geteqetdata","weatherListChild","el","getcontrol_rtDatastation","getcontrol_rtDatastation1"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,wBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwI;AACxI;AACmE;AACL;AACsC;;;AAGpG;AACgL;AAChL,gBAAgB,yLAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,sGAAM;AACR,EAAE,+GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2OAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1XA;AAAA;AAAA;AAAA;AAAgqB,CAAgB,qrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCqRprB;EACAC;IACA;MACA;MACAC;QACAC;MACA;MACA;MACAC,gCAEA;MAEA;MACAC;QACAC;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,EACA;MAEA;MACAC;QACAH;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,EACA;MAGA;MACA;MACAE;MAEAC;MACAC;MAEAC;MACAC;MACAC;MAEAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACAC;MACAC;IACA;IACA;IACAD;MACAE;MACAC;QACAC;QACAA;MACA;MACAC;QACAL;UACAM;QACA;MACA;IACA;EACA;EACAC;IACA;IACA;IACAC;IACA;MACAR;QACAE;QACAC;UACAC;UACAA;QACA;MACA;IACA;EACA;EACAK;IACA;IACAD;EACA;EACAE;IACAV;MACAC;IACA;IACA;IACAD;MACAE;MACAC;QACAC;QACAA;MACA;IACA;EACA;EACAO;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA,CAEA;EACAC;IACA;IACAC;MAAA;MACA;MACA;MACA;MACA;MACA;QACAP;QACA;QACAQ;MACA;QACA;QACA;UACA;UACAC;YACA;cACA;YACA;UACA;UACA;YACA;UACA;UAGA;YACA,uCACAC;cACAC;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;YAAA;UAEA;;UACA;UACA;YAEA;cACA5B,gEACA6B;cACArB;YACA;cACA;;cAEA;gBACAd;kBACAC;gBACA;gBACAD;gBACAoC;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBAEAA;kBAAA;gBAAA;gBACAA;gBACAA;kBAAA;gBAAA;gBACAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBAGA;;gBAEA;cACA;gBACA;cACA;cACA;YACA;cACAC;YACA;UACA;UACA;UACA;YAAA,SACAC;UAAA;YAAA;UAAA;;UAEA;UACA;YAAA,SACAA;UAAA;YAAA;UAAA;;UAEA;UACA,kJACAC,iCACA;UACA;QACA;MACA;IACA;IAGA;IACAC;MACAxC;QACAM,0FACAzB,mFACA4D;MACA;IACA;IAIA;IACAC;MACA;MACAC;QACA;MACA;MACA;IACA;IAEA;IACAC;MACA;QACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;IACA;IAEA;IACAC;MAAA;MACA;QACAvC;QACAQ;MACA;QACA;QACA;UACA;UACA;YACA,uCACAE;cACA8B;YAAA;UAEA;UAEA;YACA;YACA;cACAxC;cACAQ;YACA;cACA;cACA;gBACAiC;gBACA;cAEA;YAEA;UACA;QAEA;MAEA;IACA;IAEA;IACAC,0EAEA;IAEA;IACAC;MAAA;MACA;QACA,uCACAjC;UACAnB;QAAA;MAEA;MAEA;MACA;QACA;UACAS;UACAQ;QACA;UACA;YACAiC;YACA;UACA;QAEA;MACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACnrBA;AAAA;AAAA;AAAA;AAA+wC,CAAgB,4uCAAG,EAAC,C;;;;;;;;;;;ACAnyC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/timeEnvironment/timeEnvironment.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/timeEnvironment/timeEnvironment.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./timeEnvironment.vue?vue&type=template&id=34c343d8&scoped=true&\"\nvar renderjs\nimport script from \"./timeEnvironment.vue?vue&type=script&lang=js&\"\nexport * from \"./timeEnvironment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./timeEnvironment.vue?vue&type=style&index=0&id=34c343d8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"34c343d8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/timeEnvironment/timeEnvironment.vue\"\nexport default component.exports","export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./timeEnvironment.vue?vue&type=template&id=34c343d8&scoped=true&\"","var components\ntry {\n components = {\n uNavbar: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l1 = _vm.__map(_vm.weatherList, function (item0, __i0__) {\n var $orig = _vm.__get_orig(item0)\n var l0 = _vm.__map(item0.weatherListChild, function (item, __i1__) {\n var $orig = _vm.__get_orig(item)\n var m0 = !(item.equipmentStart == 0)\n ? _vm.getTypeList(item.formula)\n : null\n return {\n $orig: $orig,\n m0: m0,\n }\n })\n var g0 = item0.weatherListChild.length\n var g1 = _vm.updateTimeWeather.filter(function (el) {\n return el.equipmentId == item0.deviceId\n }).length\n var g2 =\n g1 > 0\n ? _vm.updateTimeWeather.filter(function (el) {\n return el.equipmentId == item0.deviceId\n })\n : null\n return {\n $orig: $orig,\n l0: l0,\n g0: g0,\n g1: g1,\n g2: g2,\n }\n })\n var l3 = _vm.__map(_vm.equipmentName30List, function (item0, __i2__) {\n var $orig = _vm.__get_orig(item0)\n var l2 = _vm.__map(item0.equipmentName30ListChild, function (item, __i3__) {\n var $orig = _vm.__get_orig(item)\n var m1 = !(item.equipmentStart == 0)\n ? _vm.getTypeList(item.formula)\n : null\n return {\n $orig: $orig,\n m1: m1,\n }\n })\n var g3 = item0.equipmentName30ListChild.length\n var g4 = _vm.updateTime30.filter(function (el) {\n return el.equipmentId == item0.deviceId\n }).length\n var g5 =\n g4 > 0\n ? _vm.updateTime30.filter(function (el) {\n return el.equipmentId == item0.deviceId\n })\n : null\n return {\n $orig: $orig,\n l2: l2,\n g3: g3,\n g4: g4,\n g5: g5,\n }\n })\n var l19 = _vm.__map(\n _vm.waterAndFertilizerParamsList,\n function (item1, index1) {\n var $orig = _vm.__get_orig(item1)\n var l4 = _vm.__map(item1.childList_mubiao, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m2 = _vm.getTypeList(item2.formula)\n var m3 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m4 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m2: m2,\n m3: m3,\n m4: m4,\n }\n })\n var g6 = item1.childList_mubiao.length\n var l5 = _vm.__map(item1.childList_one, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m5 = _vm.getTypeList(item2.formula)\n var m6 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m7 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m5: m5,\n m6: m6,\n m7: m7,\n }\n })\n var g7 = item1.childList_one.length\n var l6 = _vm.__map(item1.childList_two, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m8 = _vm.getTypeList(item2.formula)\n var m9 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m10 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m8: m8,\n m9: m9,\n m10: m10,\n }\n })\n var g8 = item1.childList_two.length\n var l7 = _vm.__map(item1.childList_three, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m11 = _vm.getTypeList(item2.formula)\n var m12 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m13 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m11: m11,\n m12: m12,\n m13: m13,\n }\n })\n var g9 = item1.childList_three.length\n var l8 = _vm.__map(item1.childList_four, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m14 = _vm.getTypeList(item2.formula)\n var m15 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m16 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m14: m14,\n m15: m15,\n m16: m16,\n }\n })\n var g10 = item1.childList_four.length\n var l9 = _vm.__map(item1.childList_five, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m17 = _vm.getTypeList(item2.formula)\n var m18 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m19 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m17: m17,\n m18: m18,\n m19: m19,\n }\n })\n var g11 = item1.childList_five.length\n var l10 = _vm.__map(item1.childList_six, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m20 = _vm.getTypeList(item2.formula)\n var m21 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m22 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m20: m20,\n m21: m21,\n m22: m22,\n }\n })\n var g12 = item1.childList_six.length\n var l11 = _vm.__map(item1.childList_seven, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m23 = _vm.getTypeList(item2.formula)\n var m24 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m25 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m23: m23,\n m24: m24,\n m25: m25,\n }\n })\n var g13 = item1.childList_seven.length\n var l12 = _vm.__map(item1.childList_eight, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m26 = _vm.getTypeList(item2.formula)\n var m27 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m28 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m26: m26,\n m27: m27,\n m28: m28,\n }\n })\n var g14 = item1.childList_eight.length\n var l13 = _vm.__map(item1.childList_nine, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m29 = _vm.getTypeList(item2.formula)\n var m30 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m31 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m29: m29,\n m30: m30,\n m31: m31,\n }\n })\n var g15 = item1.childList_nine.length\n var l14 = _vm.__map(item1.childList_ten, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m32 = _vm.getTypeList(item2.formula)\n var m33 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m34 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m32: m32,\n m33: m33,\n m34: m34,\n }\n })\n var g16 = item1.childList_ten.length\n var l15 = _vm.__map(item1.childList_eleven, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m35 = _vm.getTypeList(item2.formula)\n var m36 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m37 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m35: m35,\n m36: m36,\n m37: m37,\n }\n })\n var g17 = item1.childList_eleven.length\n var l16 = _vm.__map(item1.childList_twelve, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m38 = _vm.getTypeList(item2.formula)\n var m39 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m40 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m38: m38,\n m39: m39,\n m40: m40,\n }\n })\n var g18 = item1.childList_twelve.length\n var l17 = _vm.__map(item1.childList_thirteen, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m41 = _vm.getTypeList(item2.formula)\n var m42 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m43 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m41: m41,\n m42: m42,\n m43: m43,\n }\n })\n var g19 = item1.childList_thirteen.length\n var l18 = _vm.__map(item1.childList_fourteen, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m44 = _vm.getTypeList(item2.formula)\n var m45 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m46 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m44: m44,\n m45: m45,\n m46: m46,\n }\n })\n var g20 = item1.childList_fourteen.length\n var g21 = _vm.updateTime.filter(function (el) {\n return el.equipmentId == item1.deviceId\n }).length\n var g22 =\n g21 > 0\n ? _vm.updateTime.filter(function (el) {\n return el.equipmentId == item1.deviceId\n })\n : null\n return {\n $orig: $orig,\n l4: l4,\n g6: g6,\n l5: l5,\n g7: g7,\n l6: l6,\n g8: g8,\n l7: l7,\n g9: g9,\n l8: l8,\n g10: g10,\n l9: l9,\n g11: g11,\n l10: l10,\n g12: g12,\n l11: l11,\n g13: g13,\n l12: l12,\n g14: g14,\n l13: l13,\n g15: g15,\n l14: l14,\n g16: g16,\n l15: l15,\n g17: g17,\n l16: l16,\n g18: g18,\n l17: l17,\n g19: g19,\n l18: l18,\n g20: g20,\n g21: g21,\n g22: g22,\n }\n }\n )\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l1: l1,\n l3: l3,\n l19: l19,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./timeEnvironment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./timeEnvironment.vue?vue&type=script&lang=js&\"","\r\n\r\n\r\n\r\n","import mod from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./timeEnvironment.vue?vue&type=style&index=0&id=34c343d8&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./timeEnvironment.vue?vue&type=style&index=0&id=34c343d8&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1706229357198\n var cssReload = require(\"D:/HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["uni-app:///main.js",null,"webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?0a99","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?a5c5","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?1504","uni-app:///pages/timeEnvironment/timeEnvironment.vue","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?e84c","webpack:///C:/Users/PC/Desktop/2023-2-13/云上温室/wszhyWx/pages/timeEnvironment/timeEnvironment.vue?0aee"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","background","backgroundColor","waterAndFertilizerParamsList","testBaseList","img","name","value","testBaseList1","typeList","timer","updateTime","weatherList","weatherDeviceName","updateTimeWeather","equipmentName30List","equipmentName30ListChild","updateTime30","onLoad","uni","title","key","success","that","fail","url","onShow","clearInterval","onHide","onPullDownRefresh","mounted","methods","getEquipmentInfo","method","res","item","childList","childList_mubiao","childList_1","childList_2","childList_one","childList_two","childList_three","childList_four","childList_five","childList_six","childList_seven","childList_eight","childList_nine","childList_ten","childList_eleven","childList_twelve","childList_thirteen","childList_fourteen","getcontrol_rtdata","i","console","equipmentName","waterAndFertilizerParamsList_10","toTarget_water_fertilizer_PH","targetValue","getTypeList","typeList1","getStatus","getcontrol_geteqetdata","weatherListChild","el","getcontrol_rtDatastation","getcontrol_rtDatastation1","getWindDirection"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,wBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwI;AACxI;AACmE;AACL;AACsC;;;AAGpG;AACgL;AAChL,gBAAgB,yLAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,sGAAM;AACR,EAAE,+GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0GAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,2OAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtYA;AAAA;AAAA;AAAA;AAAgqB,CAAgB,qrBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCqRprB;EACAC;IACA;MACA;MACAC;QACAC;MACA;MACA;MACAC,gCAEA;MAEA;MACAC;QACAC;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,EACA;MAEA;MACAC;QACAH;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,GACA;QACAF;QACAC;QACAC;MACA,EACA;MAGA;MACA;MACAE;MAEAC;MACAC;MAEAC;MACAC;MACAC;MAEAC;MACAC;MACAC;IACA;EACA;EACAC;IACA;IACAC;MACAC;IACA;IACA;IACAD;MACAE;MACAC;QACAC;QACAA;MACA;MACAC;QACAL;UACAM;QACA;MACA;IACA;EACA;EACAC;IACA;IACA;IACAC;IACA;MACAR;QACAE;QACAC;UACAC;UACAA;QACA;MACA;IACA;EACA;EACAK;IACA;IACAD;EACA;EACAE;IACAV;MACAC;IACA;IACA;IACAD;MACAE;MACAC;QACAC;QACAA;MACA;IACA;EACA;EACAO;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA,CAEA;EACAC;IACA;IACAC;MAAA;MACA;MACA;MACA;MACA;MACA;QACAP;QACA;QACAQ;MACA;QACA;QACA;UACA;UACAC;YACA;cACA;YACA;UACA;UACA;YACA;UACA;UAGA;YACA,uCACAC;cACAC;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;cAAA;cACAC;YAAA;UAEA;;UACA;UACA;YAEA;cACA5B,gEACA6B;cACArB;YACA;cACA;;cAEA;gBACAd;kBACAC;gBACA;gBACAD;gBACAoC;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBAEAA;kBAAA;gBAAA;gBACAA;gBACAA;kBAAA;gBAAA;gBACAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBACAA;kBAAA;gBAAA;gBAGA;;gBAEA;cACA;gBACA;cACA;cACA;YACA;cACAC;YACA;UACA;UACA;UACA;YAAA,SACAC;UAAA;YAAA;UAAA;;UAEA;UACA;YAAA,SACAA;UAAA;YAAA;UAAA;;UAEA;UACA,kJACAC,iCACA;UACA;QACA;MACA;IACA;IAGA;IACAC;MACAxC;QACAM,0FACAzB,mFACA4D;MACA;IACA;IAIA;IACAC;MACA;MACAC;QACA;MACA;MACA;IACA;IAEA;IACAC;MACA;QACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;IACA;IAEA;IACAC;MAAA;MACA;QACAvC;QACAQ;MACA;QACA;QACA;UACA;UACA;YACA,uCACAE;cACA8B;YAAA;UAEA;UAEA;YACA;YACA;cACAxC;cACAQ;YACA;cACA;cACA;gBACAiC;gBACA;cAEA;YAEA;UACA;QAEA;MAEA;IACA;IAEA;IACAC,0EAEA;IAEA;IACAC;MAAA;MACA;QACA,uCACAjC;UACAnB;QAAA;MAEA;MAEA;MACA;QACA;UACAS;UACAQ;QACA;UACA;YACAiC;YACA;UACA;QAEA;MACA;MACA;IACA;IAEA;IACAG;MACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;QACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC3sBA;AAAA;AAAA;AAAA;AAA+wC,CAAgB,4uCAAG,EAAC,C;;;;;;;;;;;ACAnyC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/timeEnvironment/timeEnvironment.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/timeEnvironment/timeEnvironment.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./timeEnvironment.vue?vue&type=template&id=34c343d8&scoped=true&\"\nvar renderjs\nimport script from \"./timeEnvironment.vue?vue&type=script&lang=js&\"\nexport * from \"./timeEnvironment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./timeEnvironment.vue?vue&type=style&index=0&id=34c343d8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"34c343d8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/timeEnvironment/timeEnvironment.vue\"\nexport default component.exports","export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./timeEnvironment.vue?vue&type=template&id=34c343d8&scoped=true&\"","var components\ntry {\n components = {\n uNavbar: function () {\n return import(\n /* webpackChunkName: \"node-modules/uview-ui/components/u-navbar/u-navbar\" */ \"uview-ui/components/u-navbar/u-navbar.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l1 = _vm.__map(_vm.weatherList, function (item0, __i0__) {\n var $orig = _vm.__get_orig(item0)\n var l0 = _vm.__map(item0.weatherListChild, function (item, __i1__) {\n var $orig = _vm.__get_orig(item)\n var m0 =\n !(item.equipmentStart == 0) && item.formula == \"12\"\n ? _vm.getWindDirection(item.environmentData)\n : null\n var m1 =\n !(item.equipmentStart == 0) && !(item.formula == \"12\")\n ? _vm.getTypeList(item.formula)\n : null\n return {\n $orig: $orig,\n m0: m0,\n m1: m1,\n }\n })\n var g0 = item0.weatherListChild.length\n var g1 = _vm.updateTimeWeather.filter(function (el) {\n return el.equipmentId == item0.deviceId\n }).length\n var g2 =\n g1 > 0\n ? _vm.updateTimeWeather.filter(function (el) {\n return el.equipmentId == item0.deviceId\n })\n : null\n return {\n $orig: $orig,\n l0: l0,\n g0: g0,\n g1: g1,\n g2: g2,\n }\n })\n var l3 = _vm.__map(_vm.equipmentName30List, function (item0, __i2__) {\n var $orig = _vm.__get_orig(item0)\n var l2 = _vm.__map(item0.equipmentName30ListChild, function (item, __i3__) {\n var $orig = _vm.__get_orig(item)\n var m2 =\n !(item.equipmentStart == 0) && item.formula == \"12\"\n ? _vm.getWindDirection(item.environmentData)\n : null\n var m3 =\n !(item.equipmentStart == 0) && !(item.formula == \"12\")\n ? _vm.getTypeList(item.formula)\n : null\n return {\n $orig: $orig,\n m2: m2,\n m3: m3,\n }\n })\n var g3 = item0.equipmentName30ListChild.length\n var g4 = _vm.updateTime30.filter(function (el) {\n return el.equipmentId == item0.deviceId\n }).length\n var g5 =\n g4 > 0\n ? _vm.updateTime30.filter(function (el) {\n return el.equipmentId == item0.deviceId\n })\n : null\n return {\n $orig: $orig,\n l2: l2,\n g3: g3,\n g4: g4,\n g5: g5,\n }\n })\n var l19 = _vm.__map(\n _vm.waterAndFertilizerParamsList,\n function (item1, index1) {\n var $orig = _vm.__get_orig(item1)\n var l4 = _vm.__map(item1.childList_mubiao, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m4 = _vm.getTypeList(item2.formula)\n var m5 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m6 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m4: m4,\n m5: m5,\n m6: m6,\n }\n })\n var g6 = item1.childList_mubiao.length\n var l5 = _vm.__map(item1.childList_one, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m7 = _vm.getTypeList(item2.formula)\n var m8 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m9 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m7: m7,\n m8: m8,\n m9: m9,\n }\n })\n var g7 = item1.childList_one.length\n var l6 = _vm.__map(item1.childList_two, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m10 = _vm.getTypeList(item2.formula)\n var m11 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m12 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m10: m10,\n m11: m11,\n m12: m12,\n }\n })\n var g8 = item1.childList_two.length\n var l7 = _vm.__map(item1.childList_three, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m13 = _vm.getTypeList(item2.formula)\n var m14 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m15 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m13: m13,\n m14: m14,\n m15: m15,\n }\n })\n var g9 = item1.childList_three.length\n var l8 = _vm.__map(item1.childList_four, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m16 = _vm.getTypeList(item2.formula)\n var m17 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m18 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m16: m16,\n m17: m17,\n m18: m18,\n }\n })\n var g10 = item1.childList_four.length\n var l9 = _vm.__map(item1.childList_five, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m19 = _vm.getTypeList(item2.formula)\n var m20 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m21 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m19: m19,\n m20: m20,\n m21: m21,\n }\n })\n var g11 = item1.childList_five.length\n var l10 = _vm.__map(item1.childList_six, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m22 = _vm.getTypeList(item2.formula)\n var m23 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m24 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m22: m22,\n m23: m23,\n m24: m24,\n }\n })\n var g12 = item1.childList_six.length\n var l11 = _vm.__map(item1.childList_seven, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m25 = _vm.getTypeList(item2.formula)\n var m26 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m27 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m25: m25,\n m26: m26,\n m27: m27,\n }\n })\n var g13 = item1.childList_seven.length\n var l12 = _vm.__map(item1.childList_eight, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m28 = _vm.getTypeList(item2.formula)\n var m29 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m30 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m28: m28,\n m29: m29,\n m30: m30,\n }\n })\n var g14 = item1.childList_eight.length\n var l13 = _vm.__map(item1.childList_nine, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m31 = _vm.getTypeList(item2.formula)\n var m32 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m33 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m31: m31,\n m32: m32,\n m33: m33,\n }\n })\n var g15 = item1.childList_nine.length\n var l14 = _vm.__map(item1.childList_ten, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m34 = _vm.getTypeList(item2.formula)\n var m35 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m36 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m34: m34,\n m35: m35,\n m36: m36,\n }\n })\n var g16 = item1.childList_ten.length\n var l15 = _vm.__map(item1.childList_eleven, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m37 = _vm.getTypeList(item2.formula)\n var m38 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m39 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m37: m37,\n m38: m38,\n m39: m39,\n }\n })\n var g17 = item1.childList_eleven.length\n var l16 = _vm.__map(item1.childList_twelve, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m40 = _vm.getTypeList(item2.formula)\n var m41 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m42 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m40: m40,\n m41: m41,\n m42: m42,\n }\n })\n var g18 = item1.childList_twelve.length\n var l17 = _vm.__map(item1.childList_thirteen, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m43 = _vm.getTypeList(item2.formula)\n var m44 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m45 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m43: m43,\n m44: m44,\n m45: m45,\n }\n })\n var g19 = item1.childList_thirteen.length\n var l18 = _vm.__map(item1.childList_fourteen, function (item2, index2) {\n var $orig = _vm.__get_orig(item2)\n var m46 = _vm.getTypeList(item2.formula)\n var m47 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)\n var m48 = !(item2.equipmentStart == 0)\n ? _vm.getTypeList(item2.formula)\n : null\n return {\n $orig: $orig,\n m46: m46,\n m47: m47,\n m48: m48,\n }\n })\n var g20 = item1.childList_fourteen.length\n var g21 = _vm.updateTime.filter(function (el) {\n return el.equipmentId == item1.deviceId\n }).length\n var g22 =\n g21 > 0\n ? _vm.updateTime.filter(function (el) {\n return el.equipmentId == item1.deviceId\n })\n : null\n return {\n $orig: $orig,\n l4: l4,\n g6: g6,\n l5: l5,\n g7: g7,\n l6: l6,\n g8: g8,\n l7: l7,\n g9: g9,\n l8: l8,\n g10: g10,\n l9: l9,\n g11: g11,\n l10: l10,\n g12: g12,\n l11: l11,\n g13: g13,\n l12: l12,\n g14: g14,\n l13: l13,\n g15: g15,\n l14: l14,\n g16: g16,\n l15: l15,\n g17: g17,\n l16: l16,\n g18: g18,\n l17: l17,\n g19: g19,\n l18: l18,\n g20: g20,\n g21: g21,\n g22: g22,\n }\n }\n )\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l1: l1,\n l3: l3,\n l19: l19,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./timeEnvironment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./timeEnvironment.vue?vue&type=script&lang=js&\"","\r\n\r\n\r\n\r\n","import mod from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./timeEnvironment.vue?vue&type=style&index=0&id=34c343d8&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HbuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./timeEnvironment.vue?vue&type=style&index=0&id=34c343d8&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1706266996581\n var cssReload = require(\"D:/HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/pages/timeEnvironment/timeEnvironment.js b/unpackage/dist/dev/mp-weixin/pages/timeEnvironment/timeEnvironment.js index 1e773cc..e9c420f 100644 --- a/unpackage/dist/dev/mp-weixin/pages/timeEnvironment/timeEnvironment.js +++ b/unpackage/dist/dev/mp-weixin/pages/timeEnvironment/timeEnvironment.js @@ -129,12 +129,18 @@ var render = function () { var $orig = _vm.__get_orig(item0) var l0 = _vm.__map(item0.weatherListChild, function (item, __i1__) { var $orig = _vm.__get_orig(item) - var m0 = !(item.equipmentStart == 0) - ? _vm.getTypeList(item.formula) - : null + var m0 = + !(item.equipmentStart == 0) && item.formula == "12" + ? _vm.getWindDirection(item.environmentData) + : null + var m1 = + !(item.equipmentStart == 0) && !(item.formula == "12") + ? _vm.getTypeList(item.formula) + : null return { $orig: $orig, m0: m0, + m1: m1, } }) var g0 = item0.weatherListChild.length @@ -159,12 +165,18 @@ var render = function () { var $orig = _vm.__get_orig(item0) var l2 = _vm.__map(item0.equipmentName30ListChild, function (item, __i3__) { var $orig = _vm.__get_orig(item) - var m1 = !(item.equipmentStart == 0) - ? _vm.getTypeList(item.formula) - : null + var m2 = + !(item.equipmentStart == 0) && item.formula == "12" + ? _vm.getWindDirection(item.environmentData) + : null + var m3 = + !(item.equipmentStart == 0) && !(item.formula == "12") + ? _vm.getTypeList(item.formula) + : null return { $orig: $orig, - m1: m1, + m2: m2, + m3: m3, } }) var g3 = item0.equipmentName30ListChild.length @@ -191,226 +203,226 @@ var render = function () { var $orig = _vm.__get_orig(item1) var l4 = _vm.__map(item1.childList_mubiao, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m2 = _vm.getTypeList(item2.formula) - var m3 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m4 = !(item2.equipmentStart == 0) + var m4 = _vm.getTypeList(item2.formula) + var m5 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m6 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m2: m2, - m3: m3, m4: m4, + m5: m5, + m6: m6, } }) var g6 = item1.childList_mubiao.length var l5 = _vm.__map(item1.childList_one, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m5 = _vm.getTypeList(item2.formula) - var m6 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m7 = !(item2.equipmentStart == 0) + var m7 = _vm.getTypeList(item2.formula) + var m8 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m9 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m5: m5, - m6: m6, m7: m7, + m8: m8, + m9: m9, } }) var g7 = item1.childList_one.length var l6 = _vm.__map(item1.childList_two, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m8 = _vm.getTypeList(item2.formula) - var m9 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m10 = !(item2.equipmentStart == 0) + var m10 = _vm.getTypeList(item2.formula) + var m11 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m12 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m8: m8, - m9: m9, m10: m10, + m11: m11, + m12: m12, } }) var g8 = item1.childList_two.length var l7 = _vm.__map(item1.childList_three, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m11 = _vm.getTypeList(item2.formula) - var m12 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m13 = !(item2.equipmentStart == 0) + var m13 = _vm.getTypeList(item2.formula) + var m14 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m15 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m11: m11, - m12: m12, m13: m13, + m14: m14, + m15: m15, } }) var g9 = item1.childList_three.length var l8 = _vm.__map(item1.childList_four, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m14 = _vm.getTypeList(item2.formula) - var m15 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m16 = !(item2.equipmentStart == 0) + var m16 = _vm.getTypeList(item2.formula) + var m17 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m18 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m14: m14, - m15: m15, m16: m16, + m17: m17, + m18: m18, } }) var g10 = item1.childList_four.length var l9 = _vm.__map(item1.childList_five, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m17 = _vm.getTypeList(item2.formula) - var m18 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m19 = !(item2.equipmentStart == 0) + var m19 = _vm.getTypeList(item2.formula) + var m20 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m21 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m17: m17, - m18: m18, m19: m19, + m20: m20, + m21: m21, } }) var g11 = item1.childList_five.length var l10 = _vm.__map(item1.childList_six, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m20 = _vm.getTypeList(item2.formula) - var m21 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m22 = !(item2.equipmentStart == 0) + var m22 = _vm.getTypeList(item2.formula) + var m23 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m24 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m20: m20, - m21: m21, m22: m22, + m23: m23, + m24: m24, } }) var g12 = item1.childList_six.length var l11 = _vm.__map(item1.childList_seven, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m23 = _vm.getTypeList(item2.formula) - var m24 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m25 = !(item2.equipmentStart == 0) + var m25 = _vm.getTypeList(item2.formula) + var m26 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m27 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m23: m23, - m24: m24, m25: m25, + m26: m26, + m27: m27, } }) var g13 = item1.childList_seven.length var l12 = _vm.__map(item1.childList_eight, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m26 = _vm.getTypeList(item2.formula) - var m27 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m28 = !(item2.equipmentStart == 0) + var m28 = _vm.getTypeList(item2.formula) + var m29 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m30 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m26: m26, - m27: m27, m28: m28, + m29: m29, + m30: m30, } }) var g14 = item1.childList_eight.length var l13 = _vm.__map(item1.childList_nine, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m29 = _vm.getTypeList(item2.formula) - var m30 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m31 = !(item2.equipmentStart == 0) + var m31 = _vm.getTypeList(item2.formula) + var m32 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m33 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m29: m29, - m30: m30, m31: m31, + m32: m32, + m33: m33, } }) var g15 = item1.childList_nine.length var l14 = _vm.__map(item1.childList_ten, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m32 = _vm.getTypeList(item2.formula) - var m33 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m34 = !(item2.equipmentStart == 0) + var m34 = _vm.getTypeList(item2.formula) + var m35 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m36 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m32: m32, - m33: m33, m34: m34, + m35: m35, + m36: m36, } }) var g16 = item1.childList_ten.length var l15 = _vm.__map(item1.childList_eleven, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m35 = _vm.getTypeList(item2.formula) - var m36 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m37 = !(item2.equipmentStart == 0) + var m37 = _vm.getTypeList(item2.formula) + var m38 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m39 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m35: m35, - m36: m36, m37: m37, + m38: m38, + m39: m39, } }) var g17 = item1.childList_eleven.length var l16 = _vm.__map(item1.childList_twelve, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m38 = _vm.getTypeList(item2.formula) - var m39 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m40 = !(item2.equipmentStart == 0) + var m40 = _vm.getTypeList(item2.formula) + var m41 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m42 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m38: m38, - m39: m39, m40: m40, + m41: m41, + m42: m42, } }) var g18 = item1.childList_twelve.length var l17 = _vm.__map(item1.childList_thirteen, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m41 = _vm.getTypeList(item2.formula) - var m42 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m43 = !(item2.equipmentStart == 0) + var m43 = _vm.getTypeList(item2.formula) + var m44 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m45 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m41: m41, - m42: m42, m43: m43, + m44: m44, + m45: m45, } }) var g19 = item1.childList_thirteen.length var l18 = _vm.__map(item1.childList_fourteen, function (item2, index2) { var $orig = _vm.__get_orig(item2) - var m44 = _vm.getTypeList(item2.formula) - var m45 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) - var m46 = !(item2.equipmentStart == 0) + var m46 = _vm.getTypeList(item2.formula) + var m47 = _vm.getStatus(item2.equipmentNumber, item2.targetValue) + var m48 = !(item2.equipmentStart == 0) ? _vm.getTypeList(item2.formula) : null return { $orig: $orig, - m44: m44, - m45: m45, m46: m46, + m47: m47, + m48: m48, } }) var g20 = item1.childList_fourteen.length @@ -1201,6 +1213,29 @@ var _default = { }); }); // console.log(this.equipmentName30List,'this.equipmentName30List'); + }, + // 风向判定 + getWindDirection: function getWindDirection(number) { + var num = Number(number); + if (num <= 67 && num >= 22) { + return '东北'; + } else if (num > 67 && num < 112) { + return '东'; + } else if (num >= 112 && num <= 157) { + return '东南'; + } else if (num > 157 && num < 202) { + return '南'; + } else if (num >= 202 && num <= 247) { + return '西南'; + } else if (num > 247 && num < 292) { + return '西'; + } else if (num >= 292 && num <= 337) { + return '西北'; + } else if (num < 22) { + return '北'; + } else if (num > 337) { + return '北'; + } } } }; diff --git a/unpackage/dist/dev/mp-weixin/pages/timeEnvironment/timeEnvironment.wxml b/unpackage/dist/dev/mp-weixin/pages/timeEnvironment/timeEnvironment.wxml index 60bacad..b19e00b 100644 --- a/unpackage/dist/dev/mp-weixin/pages/timeEnvironment/timeEnvironment.wxml +++ b/unpackage/dist/dev/mp-weixin/pages/timeEnvironment/timeEnvironment.wxml @@ -1 +1 @@ -温室智慧云Greenhouse wisdom Cloud欢迎使用温室智慧云数据统计{{item0.$orig.deviceName}}{{''+item.$orig.environmentDataId+''}}{{item.$orig.equipmentStart==0?'故障':item.$orig.environmentData+item.m0}}{{item0.$orig.deviceTypeName}}{{''+item.$orig.environmentDataId+''}}{{item.$orig.equipmentStart==0?'故障':item.$orig.environmentData+item.m1}}{{item1.$orig.deviceTypeName}}{{''+(item2.m3+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m4}}{{''+(item2.m6+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m7}}{{''+(item2.m9+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m10}}{{''+(item2.m12+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m13}}{{''+(item2.m15+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m16}}{{''+(item2.m18+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m19}}{{''+(item2.m21+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m22}}{{''+(item2.m24+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m25}}{{''+(item2.m27+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m28}}{{''+(item2.m30+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m31}}{{''+(item2.m33+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m34}}{{''+(item2.m36+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m37}}{{''+(item2.m39+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m40}}{{''+(item2.m42+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m43}}{{''+(item2.m45+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m46}} \ No newline at end of file +温室智慧云Greenhouse wisdom Cloud欢迎使用温室智慧云数据统计{{item0.$orig.deviceName}}{{''+item.$orig.environmentDataId+''}}{{item.$orig.equipmentStart==0?'故障':(item.$orig.formula=='12'?item.m0:item.$orig.environmentData)+(item.$orig.formula=='12'?'':item.m1)}}{{item0.$orig.deviceTypeName}}{{''+item.$orig.environmentDataId+''}}{{item.$orig.equipmentStart==0?'故障':(item.$orig.formula=='12'?item.m2:item.$orig.environmentData)+(item.$orig.formula=='12'?'':item.m3)}}{{item1.$orig.deviceTypeName}}{{''+(item2.m5+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m6}}{{''+(item2.m8+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m9}}{{''+(item2.m11+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m12}}{{''+(item2.m14+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m15}}{{''+(item2.m17+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m18}}{{''+(item2.m20+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m21}}{{''+(item2.m23+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m24}}{{''+(item2.m26+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m27}}{{''+(item2.m29+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m30}}{{''+(item2.m32+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m33}}{{''+(item2.m35+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m36}}{{''+(item2.m38+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m39}}{{''+(item2.m41+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m42}}{{''+(item2.m44+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m45}}{{''+(item2.m47+item2.$orig.environmentDataId)+''}}{{item2.$orig.equipmentStart==0?'故障':item2.$orig.environmentData+item2.m48}} \ No newline at end of file