wszhyWx/unpackage/dist/dev/mp-weixin/pages/timeEnvironment/timeEnvironment.js

1047 lines
55 KiB
JavaScript
Raw Normal View History

2023-09-28 10:07:02 +00:00
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/timeEnvironment/timeEnvironment"],{
2023-10-14 00:40:50 +00:00
/***/ 67:
2023-11-23 11:02:09 +00:00
/*!***************************************************************************************************************!*\
!*** C:/Users/PC/Desktop/2023-2-13//wszhyWx/main.js?{"page":"pages%2FtimeEnvironment%2FtimeEnvironment"} ***!
\***************************************************************************************************************/
2023-09-28 10:07:02 +00:00
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
__webpack_require__(/*! uni-pages */ 26);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
2023-10-14 00:40:50 +00:00
var _timeEnvironment = _interopRequireDefault(__webpack_require__(/*! ./pages/timeEnvironment/timeEnvironment.vue */ 68));
2023-09-28 10:07:02 +00:00
// @ts-ignore
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
createPage(_timeEnvironment.default);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"]))
/***/ }),
2023-10-14 00:40:50 +00:00
/***/ 68:
2023-11-23 11:02:09 +00:00
/*!********************************************************************************************!*\
!*** C:/Users/PC/Desktop/2023-2-13//wszhyWx/pages/timeEnvironment/timeEnvironment.vue ***!
\********************************************************************************************/
2023-09-28 10:07:02 +00:00
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
2023-10-14 00:40:50 +00:00
/* harmony import */ var _timeEnvironment_vue_vue_type_template_id_34c343d8_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./timeEnvironment.vue?vue&type=template&id=34c343d8&scoped=true& */ 69);
/* harmony import */ var _timeEnvironment_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./timeEnvironment.vue?vue&type=script&lang=js& */ 71);
2023-09-28 10:07:02 +00:00
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _timeEnvironment_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _timeEnvironment_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
2023-10-14 00:40:50 +00:00
/* harmony import */ var _timeEnvironment_vue_vue_type_style_index_0_id_34c343d8_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./timeEnvironment.vue?vue&type=style&index=0&id=34c343d8&lang=scss&scoped=true& */ 73);
2023-11-23 11:02:09 +00:00
/* harmony import */ var _D_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 32);
2023-09-28 10:07:02 +00:00
var renderjs
/* normalize component */
2023-11-23 11:02:09 +00:00
var component = Object(_D_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
2023-09-28 10:07:02 +00:00
_timeEnvironment_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_timeEnvironment_vue_vue_type_template_id_34c343d8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_timeEnvironment_vue_vue_type_template_id_34c343d8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"34c343d8",
null,
false,
_timeEnvironment_vue_vue_type_template_id_34c343d8_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "pages/timeEnvironment/timeEnvironment.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
2023-10-14 00:40:50 +00:00
/***/ 69:
2023-11-23 11:02:09 +00:00
/*!***************************************************************************************************************************************!*\
!*** C:/Users/PC/Desktop/2023-2-13//wszhyWx/pages/timeEnvironment/timeEnvironment.vue?vue&type=template&id=34c343d8&scoped=true& ***!
\***************************************************************************************************************************************/
2023-09-28 10:07:02 +00:00
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
2023-11-23 11:02:09 +00:00
/* harmony import */ var _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___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./timeEnvironment.vue?vue&type=template&id=34c343d8&scoped=true& */ 70);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _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___WEBPACK_IMPORTED_MODULE_0__["render"]; });
2023-09-28 10:07:02 +00:00
2023-11-23 11:02:09 +00:00
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _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___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
2023-09-28 10:07:02 +00:00
2023-11-23 11:02:09 +00:00
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _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___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
2023-09-28 10:07:02 +00:00
2023-11-23 11:02:09 +00:00
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _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___WEBPACK_IMPORTED_MODULE_0__["components"]; });
2023-09-28 10:07:02 +00:00
/***/ }),
2023-10-14 00:40:50 +00:00
/***/ 70:
2023-11-23 11:02:09 +00:00
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/PC/Desktop/2023-2-13//wszhyWx/pages/timeEnvironment/timeEnvironment.vue?vue&type=template&id=34c343d8&scoped=true& ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
2023-09-28 10:07:02 +00:00
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
try {
components = {
uNavbar: function () {
2023-12-01 13:22:42 +00:00
return __webpack_require__.e(/*! import() | node-modules/uview-ui/components/u-navbar/u-navbar */ "node-modules/uview-ui/components/u-navbar/u-navbar").then(__webpack_require__.bind(null, /*! uview-ui/components/u-navbar/u-navbar.vue */ 191))
2023-09-28 10:07:02 +00:00
},
}
} catch (e) {
if (
e.message.indexOf("Cannot find module") !== -1 &&
e.message.indexOf(".vue") !== -1
) {
console.error(e.message)
console.error("1. 排查组件名称拼写是否正确")
console.error(
"2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
)
console.error(
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
)
} else {
throw e
}
}
var render = function () {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
2024-01-10 02:42:05 +00:00
var l15 = _vm.__map(
2023-10-05 04:08:22 +00:00
_vm.waterAndFertilizerParamsList,
function (item1, index1) {
var $orig = _vm.__get_orig(item1)
2024-01-10 02:42:05 +00:00
var l0 = _vm.__map(item1.childList_mubiao, function (item2, index2) {
2023-11-10 02:43:22 +00:00
var $orig = _vm.__get_orig(item2)
var m0 = _vm.getTypeList(item2.formula)
var m1 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m2 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2023-11-10 02:43:22 +00:00
return {
$orig: $orig,
m0: m0,
m1: m1,
m2: m2,
}
})
2024-01-10 02:42:05 +00:00
var g0 = item1.childList_mubiao.length
var l1 = _vm.__map(item1.childList_one, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m3 = _vm.getTypeList(item2.formula)
var m4 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m5 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m3: m3,
m4: m4,
m5: m5,
}
})
var g1 = item1.childList_one.length
var l2 = _vm.__map(item1.childList_two, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m6 = _vm.getTypeList(item2.formula)
var m7 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m8 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m6: m6,
m7: m7,
m8: m8,
}
})
var g2 = item1.childList_two.length
var l3 = _vm.__map(item1.childList_three, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m9 = _vm.getTypeList(item2.formula)
var m10 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m11 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m9: m9,
m10: m10,
m11: m11,
}
})
var g3 = item1.childList_three.length
var l4 = _vm.__map(item1.childList_four, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m12 = _vm.getTypeList(item2.formula)
var m13 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m14 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m12: m12,
m13: m13,
m14: m14,
}
})
var g4 = item1.childList_four.length
var l5 = _vm.__map(item1.childList_five, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m15 = _vm.getTypeList(item2.formula)
var m16 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m17 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m15: m15,
m16: m16,
m17: m17,
}
})
var g5 = item1.childList_five.length
var l6 = _vm.__map(item1.childList_six, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m18 = _vm.getTypeList(item2.formula)
var m19 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m20 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m18: m18,
m19: m19,
m20: m20,
}
})
var g6 = item1.childList_six.length
var l7 = _vm.__map(item1.childList_seven, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m21 = _vm.getTypeList(item2.formula)
var m22 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m23 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m21: m21,
m22: m22,
m23: m23,
}
})
var g7 = item1.childList_seven.length
var l8 = _vm.__map(item1.childList_eight, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m24 = _vm.getTypeList(item2.formula)
var m25 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m26 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m24: m24,
m25: m25,
m26: m26,
}
})
var g8 = item1.childList_eight.length
var l9 = _vm.__map(item1.childList_nine, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m27 = _vm.getTypeList(item2.formula)
var m28 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m29 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m27: m27,
m28: m28,
m29: m29,
}
})
var g9 = item1.childList_nine.length
var l10 = _vm.__map(item1.childList_ten, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m30 = _vm.getTypeList(item2.formula)
var m31 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m32 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m30: m30,
m31: m31,
m32: m32,
}
})
var g10 = item1.childList_ten.length
var l11 = _vm.__map(item1.childList_eleven, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m33 = _vm.getTypeList(item2.formula)
var m34 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m35 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m33: m33,
m34: m34,
m35: m35,
}
})
var g11 = item1.childList_eleven.length
var l12 = _vm.__map(item1.childList_twelve, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m36 = _vm.getTypeList(item2.formula)
var m37 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m38 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m36: m36,
m37: m37,
m38: m38,
}
})
var g12 = item1.childList_twelve.length
var l13 = _vm.__map(item1.childList_thirteen, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m39 = _vm.getTypeList(item2.formula)
var m40 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m41 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m39: m39,
m40: m40,
m41: m41,
}
})
var g13 = item1.childList_thirteen.length
var l14 = _vm.__map(item1.childList_fourteen, function (item2, index2) {
var $orig = _vm.__get_orig(item2)
var m42 = _vm.getTypeList(item2.formula)
var m43 = _vm.getStatus(item2.equipmentNumber, item2.targetValue)
2024-01-11 01:27:30 +00:00
var m44 = !(item2.equipmentStart == 0)
? _vm.getTypeList(item2.formula)
: null
2024-01-10 02:42:05 +00:00
return {
$orig: $orig,
m42: m42,
m43: m43,
m44: m44,
}
})
var g14 = item1.childList_fourteen.length
2024-01-18 07:21:50 +00:00
var g15 = _vm.updateTime.filter(function (el) {
return el.equipmentId == item1.deviceId
}).length
var g16 =
g15 > 0
? _vm.updateTime.filter(function (el) {
return el.equipmentId == item1.deviceId
})
: null
2023-10-05 04:08:22 +00:00
return {
$orig: $orig,
l0: l0,
2024-01-10 02:42:05 +00:00
g0: g0,
l1: l1,
g1: g1,
l2: l2,
g2: g2,
l3: l3,
g3: g3,
l4: l4,
g4: g4,
l5: l5,
g5: g5,
l6: l6,
g6: g6,
l7: l7,
g7: g7,
l8: l8,
g8: g8,
l9: l9,
g9: g9,
l10: l10,
g10: g10,
l11: l11,
g11: g11,
l12: l12,
g12: g12,
l13: l13,
g13: g13,
l14: l14,
g14: g14,
2024-01-18 07:21:50 +00:00
g15: g15,
g16: g16,
2023-10-05 04:08:22 +00:00
}
}
)
_vm.$mp.data = Object.assign(
{},
{
$root: {
2024-01-10 02:42:05 +00:00
l15: l15,
2023-10-05 04:08:22 +00:00
},
}
)
2023-09-28 10:07:02 +00:00
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
2023-10-14 00:40:50 +00:00
/***/ 71:
2023-11-23 11:02:09 +00:00
/*!*********************************************************************************************************************!*\
!*** C:/Users/PC/Desktop/2023-2-13//wszhyWx/pages/timeEnvironment/timeEnvironment.vue?vue&type=script&lang=js& ***!
\*********************************************************************************************************************/
2023-09-28 10:07:02 +00:00
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
2023-11-23 11:02:09 +00:00
/* harmony import */ var _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___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./timeEnvironment.vue?vue&type=script&lang=js& */ 72);
/* harmony import */ var _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___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_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___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _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___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _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___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_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___WEBPACK_IMPORTED_MODULE_0___default.a);
2023-09-28 10:07:02 +00:00
/***/ }),
2023-10-14 00:40:50 +00:00
/***/ 72:
2023-11-23 11:02:09 +00:00
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/PC/Desktop/2023-2-13//wszhyWx/pages/timeEnvironment/timeEnvironment.vue?vue&type=script&lang=js& ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
2023-09-28 10:07:02 +00:00
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
2023-11-23 11:02:09 +00:00
var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
2023-09-28 10:07:02 +00:00
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
2024-01-10 02:42:05 +00:00
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
2023-09-28 10:07:02 +00:00
var _default = {
data: function data() {
return {
// 头部导航背景
background: {
backgroundColor: 'transparent'
},
// 水肥参数
waterAndFertilizerParamsList: [],
// 测试基地
testBaseList: [{
2023-10-05 04:08:22 +00:00
img: "../../static/base1.png",
2023-09-28 10:07:02 +00:00
name: '空气温度',
value: "38.8klux"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base2.png",
2023-09-28 10:07:02 +00:00
name: '光亮度',
value: "38.8klux"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base3.png",
2023-09-28 10:07:02 +00:00
name: '二氧化碳',
value: "二氧化碳"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base3.png",
2023-09-28 10:07:02 +00:00
name: '二氧化碳',
value: "678PPM"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base4.png",
2023-09-28 10:07:02 +00:00
name: '土壤温度',
value: "20℃"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base4.png",
2023-09-28 10:07:02 +00:00
name: '土壤温度',
value: "30.1℃"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base5.png",
2023-09-28 10:07:02 +00:00
name: '土壤湿度',
value: "18.5%"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base5.png",
2023-09-28 10:07:02 +00:00
name: '土壤湿度',
value: "18.5%"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base6.png",
2023-09-28 10:07:02 +00:00
name: '水肥PH',
value: "0"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base6.png",
2023-09-28 10:07:02 +00:00
name: '水肥EC',
value: "0.2mS/cm"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base7.png",
2023-09-28 10:07:02 +00:00
name: '3#空气温度',
value: "29.8C"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base8.png",
2023-09-28 10:07:02 +00:00
name: '3#空气湿度',
value: "80.6%"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base2.png",
2023-09-28 10:07:02 +00:00
name: '3#光亮度',
value: "34.6 klux"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base3.png",
2023-09-28 10:07:02 +00:00
name: '3#二氧化碳',
value: "29.8C"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/base5.png",
2023-09-28 10:07:02 +00:00
name: '3#土壤温度',
value: "31℃"
}],
// 测试基地
testBaseList1: [{
2023-10-05 04:08:22 +00:00
img: "../../static/1.png",
2023-09-28 10:07:02 +00:00
name: '4#光亮度',
value: "43 klux"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/2.png",
2023-09-28 10:07:02 +00:00
name: '4#二氧化碳',
value: "742 PPM"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/3.png",
2023-09-28 10:07:02 +00:00
name: '4#土壤温度',
value: "29.3C"
}, {
2023-10-05 04:08:22 +00:00
img: "../../static/4.png",
2023-09-28 10:07:02 +00:00
name: '4#土壤湿度',
value: "4%"
2023-10-05 04:08:22 +00:00
}],
//label是名称 value是code码
//countType计算类型 0是原数据 1是原数据-400 2是原数据/10 3是(原数据-400) / 10
2023-11-22 09:28:49 +00:00
typeList: [],
timer: null,
2024-01-18 01:47:38 +00:00
updateTime: []
2023-09-28 10:07:02 +00:00
};
},
2023-10-07 06:44:30 +00:00
onLoad: function onLoad() {
2023-11-22 09:28:49 +00:00
this.typeList = this.api.typeList;
2023-10-14 03:16:59 +00:00
uni.showLoading({
title: '加载中...'
});
2023-10-07 06:44:30 +00:00
var that = this;
2023-10-14 03:16:59 +00:00
uni.getStorage({
key: 'token',
success: function success(res) {
that.getEquipmentInfo(uni.getStorageSync('userid'));
}
});
2023-10-07 06:44:30 +00:00
},
2023-12-28 09:17:50 +00:00
onShow: function onShow() {
2024-01-22 01:42:36 +00:00
// console.log('timeEnvironment');
2023-12-28 09:17:50 +00:00
var that = this;
clearInterval(that.timer) && that.timer;
this.timer = setInterval(function () {
uni.getStorage({
key: 'token',
success: function success(res) {
that.getEquipmentInfo(uni.getStorageSync('userid'));
}
});
}, 60000);
},
onHide: function onHide() {
2023-10-14 03:16:59 +00:00
var that = this;
2023-12-28 09:17:50 +00:00
clearInterval(that.timer) && that.timer;
2023-10-07 06:44:30 +00:00
},
onPullDownRefresh: function onPullDownRefresh() {
2023-10-14 03:16:59 +00:00
uni.showLoading({
title: '加载中...'
});
2023-10-07 06:44:30 +00:00
var that = this;
uni.getStorage({
key: 'token',
success: function success(res) {
that.getEquipmentInfo(uni.getStorageSync('userid'));
}
});
},
2023-09-28 10:07:02 +00:00
mounted: function mounted() {
2023-10-14 03:16:59 +00:00
uni.showLoading({
title: '加载中...'
});
2023-09-28 10:07:02 +00:00
var that = this;
uni.getStorage({
key: 'token',
success: function success(res) {
that.getEquipmentInfo(uni.getStorageSync('userid'));
},
fail: function fail(err) {
uni.reLaunch({
url: '/pages/login/login'
});
}
});
},
methods: {
// 根据用户id查询对应的设备数据
getEquipmentInfo: function getEquipmentInfo(userid) {
var _this = this;
var that = this;
2023-10-14 03:16:59 +00:00
// uni.showLoading({
// title: '加载中...'
// });
2023-09-28 10:07:02 +00:00
this.$http({
url: this.api.sel_eqbyid + userid,
method: 'GET'
}).then(function (res) {
2023-10-07 06:44:30 +00:00
// console.log(res, '根据用户id查询对应的设备数据');
2023-09-28 10:07:02 +00:00
if (res.code == 200) {
_this.waterAndFertilizerParamsList = res.data.map(function (item, index) {
return _objectSpread(_objectSpread({}, item), {}, {
2024-01-10 02:42:05 +00:00
childList: [],
childList_mubiao: [],
//目标
childList_1: [],
//平均
childList_2: [],
//平均
childList_one: [],
//1#
childList_two: [],
//2#
childList_three: [],
//3#
childList_four: [],
//4#
childList_five: [],
//5#
childList_six: [],
//6#
childList_seven: [],
//7#
childList_eight: [],
//8#
childList_nine: [],
//9#
childList_ten: [],
//10#
childList_eleven: [],
//11#
childList_twelve: [],
//12#
childList_thirteen: [],
//13#
childList_fourteen: [] //14#
2023-09-28 10:07:02 +00:00
});
});
2024-01-10 02:42:05 +00:00
2024-01-18 01:47:38 +00:00
_this.updateTime = [];
2023-09-28 10:07:02 +00:00
_this.waterAndFertilizerParamsList.forEach(function (i, index) {
_this.$http({
2023-11-10 02:43:22 +00:00
url: (i.equipmentName == 1 ? _this.api.getFs_rtdata : _this.api.getcontrol_rtdata) + "?equipmentId=" + i.deviceId,
2023-09-28 10:07:02 +00:00
method: 'post'
}).then(function (res) {
2023-10-08 07:37:17 +00:00
// console.log(res, '主页查看施肥机实时数据');
2023-09-28 10:07:02 +00:00
if (res.code == 200) {
uni.hideLoading({
title: '完成'
});
2023-10-07 06:44:30 +00:00
uni.stopPullDownRefresh();
2023-09-28 10:07:02 +00:00
i.childList = res.data;
2024-01-10 02:42:05 +00:00
i.childList_mubiao = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == '目标';
});
i.childList_1 = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == '1#平均';
});
i.childList_2 = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == '2#平均';
});
i.childList_one = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 1;
});
i.childList_one = [].concat((0, _toConsumableArray2.default)(i.childList_1), (0, _toConsumableArray2.default)(i.childList_one));
i.childList_two = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 2;
});
i.childList_two = [].concat((0, _toConsumableArray2.default)(i.childList_2), (0, _toConsumableArray2.default)(i.childList_two));
i.childList_three = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 3;
});
i.childList_four = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 4;
});
i.childList_five = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 5;
});
i.childList_six = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 6;
});
i.childList_seven = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 7;
});
i.childList_eight = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 8;
});
i.childList_nine = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 9;
});
i.childList_ten = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 10;
});
i.childList_eleven = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 11;
});
i.childList_twelve = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 12;
});
i.childList_thirteen = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 13;
});
i.childList_fourteen = res.data.filter(function (el) {
return _this.getStatus(el.equipmentNumber, el.targetValue) == el.equipmentNumber + '#' && el.equipmentNumber == 14;
});
2024-01-18 07:21:50 +00:00
_this.updateTime.push(res.data[0]);
2024-01-18 01:47:38 +00:00
2023-11-24 02:13:41 +00:00
// console.log(this.waterAndFertilizerParamsList);
2024-01-18 01:47:38 +00:00
} else {
_this.updateTime.push('暂无');
}
2024-01-22 01:42:36 +00:00
// console.log(this.updateTime,'this.updateTime');
2023-10-07 08:53:26 +00:00
}).catch(function (err) {
console.log('接口失败');
2023-09-28 10:07:02 +00:00
});
});
2023-11-23 11:02:09 +00:00
// equipmentName==1的
var waterAndFertilizerParamsList_1 = _this.waterAndFertilizerParamsList.filter(function (e) {
return e.equipmentName == 1;
}).sort(function (a, b) {
return a.equipmentStatu - b.equipmentStatu;
});
// equipmentName==10的
var waterAndFertilizerParamsList_10 = _this.waterAndFertilizerParamsList.filter(function (e) {
return e.equipmentName == 10;
}).sort(function (a, b) {
return a.equipmentStatu - b.equipmentStatu;
});
2023-11-24 02:13:41 +00:00
// console.log(waterAndFertilizerParamsList_1,waterAndFertilizerParamsList_10,'00000000000');
2023-11-23 11:02:09 +00:00
_this.waterAndFertilizerParamsList = [].concat((0, _toConsumableArray2.default)(waterAndFertilizerParamsList_1), (0, _toConsumableArray2.default)(waterAndFertilizerParamsList_10));
2024-01-10 02:42:05 +00:00
// console.log(this.waterAndFertilizerParamsList, 'this.waterAndFertilizerParamsList');
2023-09-28 10:07:02 +00:00
}
});
},
// 跳转到折线图
2023-11-10 02:43:22 +00:00
toTarget_water_fertilizer_PH: function toTarget_water_fertilizer_PH(id, data, name, equipmentNumber, targetValue, unit, equipmentName) {
2023-09-28 10:07:02 +00:00
uni.navigateTo({
2023-11-10 02:43:22 +00:00
url: '/pages/target_water_fertilizer_PH/target_water_fertilizer_PH?id=' + id + '&data=' + data + '&name=' + name + '&equipmentNumber=' + equipmentNumber + '&targetValue=' + targetValue + '&unit=' + unit + '&equipmentName=' + equipmentName
2023-09-28 10:07:02 +00:00
});
},
2023-10-05 04:08:22 +00:00
// 数据单位
getTypeList: function getTypeList(val) {
var typeList1 = [];
typeList1 = this.typeList.filter(function (item) {
return item.value == val;
});
return typeList1[0].unit;
},
// 判断是否是平均或者目标,或者是1#
getStatus: function getStatus(equipmentNumber, targetValue) {
if (targetValue == 1) {
return '目标';
} else if (targetValue == 0 && equipmentNumber == 0) {
return '1#平均';
} else if (targetValue == 0 && equipmentNumber == 15) {
return '2#平均';
} else if (targetValue == 0 && equipmentNumber != 0 && equipmentNumber != 15) {
2023-10-07 01:49:48 +00:00
return equipmentNumber + '#';
2023-09-28 10:07:02 +00:00
}
}
}
};
exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
/***/ }),
2023-10-14 00:40:50 +00:00
/***/ 73:
2023-11-23 11:02:09 +00:00
/*!******************************************************************************************************************************************************!*\
!*** C:/Users/PC/Desktop/2023-2-13//wszhyWx/pages/timeEnvironment/timeEnvironment.vue?vue&type=style&index=0&id=34c343d8&lang=scss&scoped=true& ***!
\******************************************************************************************************************************************************/
2023-09-28 10:07:02 +00:00
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
2023-11-23 11:02:09 +00:00
/* harmony import */ var _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___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./timeEnvironment.vue?vue&type=style&index=0&id=34c343d8&lang=scss&scoped=true& */ 74);
/* harmony import */ var _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___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_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___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _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___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _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___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_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___WEBPACK_IMPORTED_MODULE_0___default.a);
2023-09-28 10:07:02 +00:00
/***/ }),
2023-10-14 00:40:50 +00:00
/***/ 74:
2023-11-23 11:02:09 +00:00
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!C:/Users/PC/Desktop/2023-2-13//wszhyWx/pages/timeEnvironment/timeEnvironment.vue?vue&type=style&index=0&id=34c343d8&lang=scss&scoped=true& ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
2023-09-28 10:07:02 +00:00
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
2023-10-14 00:40:50 +00:00
},[[67,"common/runtime","common/vendor"]]]);
2023-09-28 10:07:02 +00:00
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/timeEnvironment/timeEnvironment.js.map