deviceDetail.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. if (!Array) {
  4. const _easycom_u_navbar2 = common_vendor.resolveComponent("u-navbar");
  5. const _component_xbutton = common_vendor.resolveComponent("xbutton");
  6. const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
  7. const _easycom_u_tabs2 = common_vendor.resolveComponent("u-tabs");
  8. const _easycom_u_subsection2 = common_vendor.resolveComponent("u-subsection");
  9. const _component_qiun_data_charts = common_vendor.resolveComponent("qiun-data-charts");
  10. const _easycom_u__image2 = common_vendor.resolveComponent("u--image");
  11. const _component_xpopup = common_vendor.resolveComponent("xpopup");
  12. const _easycom_u__input2 = common_vendor.resolveComponent("u--input");
  13. const _easycom_u_form_item2 = common_vendor.resolveComponent("u-form-item");
  14. const _easycom_u__form2 = common_vendor.resolveComponent("u--form");
  15. const _easycom_u_slider2 = common_vendor.resolveComponent("u-slider");
  16. const _easycom_u_radio2 = common_vendor.resolveComponent("u-radio");
  17. const _easycom_u_radio_group2 = common_vendor.resolveComponent("u-radio-group");
  18. const _easycom_u_number_box2 = common_vendor.resolveComponent("u-number-box");
  19. const _component_tki_tree = common_vendor.resolveComponent("tki-tree");
  20. const _easycom_u_picker2 = common_vendor.resolveComponent("u-picker");
  21. const _easycom_u_back_top2 = common_vendor.resolveComponent("u-back-top");
  22. (_easycom_u_navbar2 + _component_xbutton + _easycom_u_icon2 + _easycom_u_tabs2 + _easycom_u_subsection2 + _component_qiun_data_charts + _easycom_u__image2 + _component_xpopup + _easycom_u__input2 + _easycom_u_form_item2 + _easycom_u__form2 + _easycom_u_slider2 + _easycom_u_radio2 + _easycom_u_radio_group2 + _easycom_u_number_box2 + _component_tki_tree + _easycom_u_picker2 + _easycom_u_back_top2)();
  23. }
  24. const _easycom_u_navbar = () => "../../../node-modules/uview-plus/components/u-navbar/u-navbar.js";
  25. const _easycom_u_icon = () => "../../../node-modules/uview-plus/components/u-icon/u-icon.js";
  26. const _easycom_u_tabs = () => "../../../node-modules/uview-plus/components/u-tabs/u-tabs.js";
  27. const _easycom_u_subsection = () => "../../../node-modules/uview-plus/components/u-subsection/u-subsection.js";
  28. const _easycom_u__image = () => "../../../node-modules/uview-plus/components/u--image/u--image.js";
  29. const _easycom_u__input = () => "../../../node-modules/uview-plus/components/u--input/u--input.js";
  30. const _easycom_u_form_item = () => "../../../node-modules/uview-plus/components/u-form-item/u-form-item.js";
  31. const _easycom_u__form = () => "../../../node-modules/uview-plus/components/u--form/u--form.js";
  32. const _easycom_u_slider = () => "../../../node-modules/uview-plus/components/u-slider/u-slider.js";
  33. const _easycom_u_radio = () => "../../../node-modules/uview-plus/components/u-radio/u-radio.js";
  34. const _easycom_u_radio_group = () => "../../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
  35. const _easycom_u_number_box = () => "../../../node-modules/uview-plus/components/u-number-box/u-number-box.js";
  36. const _easycom_u_picker = () => "../../../node-modules/uview-plus/components/u-picker/u-picker.js";
  37. const _easycom_u_back_top = () => "../../../node-modules/uview-plus/components/u-back-top/u-back-top.js";
  38. if (!Math) {
  39. (_easycom_u_navbar + _easycom_u_icon + _easycom_u_tabs + _easycom_u_subsection + _easycom_u__image + _easycom_u__input + _easycom_u_form_item + _easycom_u__form + _easycom_u_slider + _easycom_u_radio + _easycom_u_radio_group + _easycom_u_number_box + _easycom_u_picker + _easycom_u_back_top)();
  40. }
  41. const _sfc_main = {
  42. __name: "deviceDetail",
  43. setup(__props) {
  44. const { proxy } = common_vendor.getCurrentInstance();
  45. proxy.$useDict("device_type", "device_online_status", "device_busy_status", "device_active_status");
  46. common_vendor.reactive({
  47. device_type: [],
  48. online_status: [],
  49. busy_status: [],
  50. active_status: []
  51. });
  52. common_vendor.reactive({
  53. activityState: "",
  54. opts: {
  55. padding: [15, 10, 0, 15],
  56. dataLabel: false,
  57. color: ["#2D54EC", "#F49B37"],
  58. // 开启图表可拖拽滚动
  59. // enableScroll: true,
  60. dataPointShape: false,
  61. //是否显示折线上的点
  62. xAxis: {
  63. // 开启图表可拖拽滚动后 必配置(显示多少个)
  64. // itemCount: 8,
  65. rotateLabel: true,
  66. labelCount: 10,
  67. marginTop: 10
  68. },
  69. yAxis: {
  70. splitNumber: 5,
  71. gridType: "dash",
  72. dashLength: 8,
  73. gridColor: "rgba(0, 0, 0, 0.15)",
  74. data: [{
  75. axisLine: false
  76. //坐标轴轴线是否显示
  77. }]
  78. },
  79. extra: {
  80. column: {
  81. width: 15,
  82. seriesGap: 2,
  83. barBorderRadius: [10, 10, 10, 10]
  84. },
  85. line: {
  86. type: "curve",
  87. width: 2,
  88. activeType: "hollow",
  89. linearType: "custom",
  90. onShadow: true,
  91. animation: "horizontal"
  92. }
  93. }
  94. },
  95. current: "经营数据",
  96. chartTab: [
  97. {
  98. name: "经营数据"
  99. },
  100. {
  101. name: "经营图表"
  102. },
  103. {
  104. name: "温度图表"
  105. },
  106. {
  107. name: "信号图表"
  108. }
  109. ],
  110. chartData: {
  111. series: [],
  112. categories: []
  113. },
  114. errorMessage: "无数据",
  115. tempStatus: [
  116. { value: 2, label: "温控仪检测失败" },
  117. { value: 3, label: "温控仪故障" },
  118. { value: 120, label: "温控仪检测失败" },
  119. { value: 170, label: "未读取到温度" },
  120. { value: 161, label: "温控仪通讯故障" },
  121. { value: 162, label: "温控仪故障" },
  122. { value: 255, label: "无温控仪" }
  123. ],
  124. tempDetail: {
  125. targetTemp: 4,
  126. selTempWorkModel: 2,
  127. start1: 0,
  128. end1: 0,
  129. start2: 0,
  130. end2: 0,
  131. start3: 0,
  132. end3: 0,
  133. curTimes: 0
  134. },
  135. tempWorkModels: [{
  136. name: "制热",
  137. id: 1
  138. }, {
  139. name: "制冷",
  140. id: 2
  141. }, {
  142. name: "恒温",
  143. id: 3
  144. }, {
  145. name: "关闭",
  146. id: 4
  147. }],
  148. showTimeSelPicker: false,
  149. timeSelPickerType: void 0,
  150. times: [
  151. [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24],
  152. [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]
  153. ],
  154. lightDetail: {
  155. open: true,
  156. start1: 0,
  157. end1: 0,
  158. start2: 0,
  159. end2: 0,
  160. start3: 0,
  161. end3: 0,
  162. curTimes: 0
  163. },
  164. totalTab: ["今日", "本月"],
  165. time: 0,
  166. show: false,
  167. popupTitle: "编辑商品",
  168. editForm: {
  169. name: null,
  170. areaName: null,
  171. areaId: null,
  172. lineId: null,
  173. placeId: null,
  174. lineName: null,
  175. placeName: null,
  176. lon: null,
  177. lat: null,
  178. pos: null
  179. },
  180. editRules: {
  181. "code": {
  182. type: "string",
  183. required: true,
  184. message: "必填项",
  185. trigger: ["blur", "change"]
  186. }
  187. },
  188. title: "",
  189. //弹框标题
  190. voice: 4,
  191. //声音设置
  192. light: 50,
  193. //灯光设置
  194. id: null,
  195. //设备id
  196. detail: {},
  197. //设备详情
  198. allCountData: {},
  199. //经营统计数据显示
  200. scrollTop: 0,
  201. //滚动距离顶部
  202. operaRecordsFlag: false,
  203. //操作记录
  204. netRecordsFlag: false,
  205. //在线情况
  206. errRecordCameraFlag: false,
  207. //摄像头故障情况
  208. errRecordLockFlag: false,
  209. //锁故障数据情况
  210. tempRecordsFlag: false,
  211. //温度数据情况
  212. operaRecords: [],
  213. //设备操作记录
  214. netRecords: [],
  215. //在线情况记录
  216. errRecordLock: [],
  217. //锁故障数据
  218. errRecordCamera: [],
  219. //摄像头故障数据
  220. deviceTempRecords: [],
  221. //温度记录
  222. isMore: true,
  223. // 编辑弹框
  224. areaShow: false,
  225. pickerShow: false,
  226. areaList: [],
  227. //区域数据
  228. columns: [],
  229. //picker数据
  230. pickerType: 1,
  231. //1线路2点位
  232. goodsManageData: {
  233. categoryNum: 0,
  234. stock: 0,
  235. afterFillStock: 0
  236. },
  237. countData: {
  238. salesMoney: 0,
  239. salesCount: 0,
  240. refundMoney: 0
  241. },
  242. pointColumns: [],
  243. lineColumns: [],
  244. qrcodeShow: false,
  245. qrCodeImg: null,
  246. btnState: null,
  247. devicePos: null
  248. });
  249. return (_ctx, _cache) => {
  250. return common_vendor.e({
  251. a: common_vendor.o(_ctx.rightClick),
  252. b: common_vendor.p({
  253. title: "设备详情",
  254. titleStyle: "color:#fff;fontSize:36rpx;",
  255. bgColor: "#2C6FF3",
  256. autoBack: true,
  257. leftIconColor: "#fff",
  258. placeholder: true
  259. }),
  260. c: _ctx.detail.deviceName
  261. }, _ctx.detail.deviceName ? {
  262. d: common_vendor.t(_ctx.detail.deviceName),
  263. e: common_vendor.t(_ctx.detail.deviceId)
  264. } : {
  265. f: common_vendor.t(_ctx.detail.deviceId)
  266. }, {
  267. g: common_vendor.t(_ctx.detail.netStateName || "离线"),
  268. h: common_vendor.n(_ctx.detail.netStateName == "在线" ? "t-right" : "t-right off"),
  269. i: common_vendor.t(_ctx.detail.busyState == 1 ? "运营中" : "已停运"),
  270. j: common_vendor.n(_ctx.detail.busyState == 1 ? "t-right" : "t-right off"),
  271. k: common_vendor.t(_ctx.activityState),
  272. l: _ctx.activityState.length > 0,
  273. m: common_vendor.p({
  274. round: "25rpx",
  275. padding: "4rpx 10rpx",
  276. size: "mini",
  277. bgColor: _ctx.activityState == "异常" ? "#ff0000" : "#66CC00",
  278. color: "#fff"
  279. }),
  280. n: common_vendor.t(_ctx.detail.deviceStatus.doorStateL == 2 ? "已关门" : "已开门"),
  281. o: common_vendor.p({
  282. round: "25rpx",
  283. padding: "4rpx 10rpx",
  284. size: "mini",
  285. bgColor: _ctx.detail.deviceStatus.doorStateL == 2 ? "#66CC00" : "#FFCC33",
  286. color: "#fff"
  287. }),
  288. p: common_vendor.o(_ctx.downloadQr),
  289. q: common_vendor.p({
  290. size: "mini",
  291. bgColor: "#fff",
  292. borderColor: "#2C6FF3",
  293. color: "#2C6FF3"
  294. }),
  295. r: common_vendor.o(($event) => _ctx.btnClick("编辑")),
  296. s: common_vendor.p({
  297. size: "mini"
  298. }),
  299. t: common_vendor.t(_ctx.detail.deviceId || "/"),
  300. v: _ctx.detail.mercDeviceCode
  301. }, _ctx.detail.mercDeviceCode ? {
  302. w: common_vendor.o(($event) => _ctx.copy(_ctx.detail.deviceId))
  303. } : {}, {
  304. x: common_vendor.t(_ctx.detail.mercName || "/"),
  305. y: common_vendor.t(_ctx.detail.deviceStatus.tempValue),
  306. z: common_vendor.t(_ctx.detail.deviceStatus.netDbm || "/"),
  307. A: _ctx.detail.deviceStatus.netDbm < -90
  308. }, _ctx.detail.deviceStatus.netDbm < -90 ? {} : _ctx.detail.deviceStatus.netDbm > -90 && _ctx.detail.deviceStatus.netDbm < -40 ? {} : _ctx.detail.deviceStatus.netDbm > -40 && _ctx.detail.deviceStatus.netDbm < 0 ? {} : _ctx.detail.deviceStatus.netDbm == 0 ? {} : {}, {
  309. B: _ctx.detail.deviceStatus.netDbm > -90 && _ctx.detail.deviceStatus.netDbm < -40,
  310. C: _ctx.detail.deviceStatus.netDbm > -40 && _ctx.detail.deviceStatus.netDbm < 0,
  311. D: _ctx.detail.deviceStatus.netDbm == 0,
  312. E: common_vendor.t(_ctx.detail.deviceSysinfo.simIccid || "/"),
  313. F: common_vendor.o((...args) => _ctx.detail.deviceSysinfo.simIccid && _ctx.detail.deviceSysinfo.simIccid(...args)),
  314. G: common_vendor.t(_ctx.detail.deviceSysinfo.appUpmVersion || "/"),
  315. H: common_vendor.t(_ctx.detail.updateTime || "/"),
  316. I: _ctx.detail.activeState == 1
  317. }, _ctx.detail.activeState == 1 ? {} : {}, {
  318. J: common_vendor.t(_ctx.detail.activeTime || "/"),
  319. K: common_vendor.t(_ctx.detail.districtName || "/"),
  320. L: common_vendor.t(_ctx.detail.placeName || "/"),
  321. M: common_vendor.t(_ctx.detail.placeLineName || "/"),
  322. N: common_vendor.p({
  323. size: "20",
  324. name: "map"
  325. }),
  326. O: common_vendor.o((...args) => _ctx.showPos && _ctx.showPos(...args)),
  327. P: common_vendor.p({
  328. name: _ctx.isMore ? "arrow-down" : "arrow-up",
  329. color: "#999",
  330. size: "20"
  331. }),
  332. Q: common_vendor.o(($event) => _ctx.isMore = !_ctx.isMore),
  333. R: common_vendor.n(_ctx.isMore ? "center center-more" : "center"),
  334. S: common_vendor.o(($event) => _ctx.btnClick("设备重启")),
  335. T: common_vendor.o(($event) => _ctx.btnClick("声音设置")),
  336. U: common_vendor.o(($event) => _ctx.btnClick("温度设置")),
  337. V: common_vendor.o(($event) => _ctx.btnClick("灯光设置")),
  338. W: common_vendor.o(($event) => _ctx.btnClick("清除故障")),
  339. X: common_vendor.t(_ctx.btnState),
  340. Y: common_vendor.o(($event) => _ctx.btnClick(_ctx.btnState)),
  341. Z: common_vendor.o(_ctx.tabClick),
  342. aa: common_vendor.p({
  343. list: _ctx.chartTab,
  344. scrollable: false,
  345. lineColor: "#2C6FF3"
  346. }),
  347. ab: _ctx.current == "经营数据"
  348. }, _ctx.current == "经营数据" ? {
  349. ac: common_vendor.o(_ctx.totalChange),
  350. ad: common_vendor.p({
  351. activeColor: "#2C6FF3",
  352. list: _ctx.totalTab,
  353. current: _ctx.time
  354. }),
  355. ae: common_vendor.t(_ctx.$xy.delMoney(_ctx.countData.salesMoney)),
  356. af: common_vendor.t(_ctx.countData.salesCount || 0),
  357. ag: common_vendor.t(_ctx.$xy.delMoney(_ctx.countData.refundMoney)),
  358. ah: common_vendor.o(_ctx.orderDetails),
  359. ai: common_vendor.p({
  360. width: "140"
  361. }),
  362. aj: common_vendor.o(_ctx.more),
  363. ak: common_vendor.p({
  364. width: "140"
  365. })
  366. } : {
  367. al: common_vendor.p({
  368. canvasId: "canvasString",
  369. canvas2d: true,
  370. ontouch: true,
  371. type: "line",
  372. opts: _ctx.opts,
  373. chartData: _ctx.chartData,
  374. errorMessage: _ctx.errorMessage
  375. })
  376. }, {
  377. am: common_vendor.t(_ctx.goodsManageData.categoryNum || 0),
  378. an: common_vendor.t(_ctx.goodsManageData.stock || 0),
  379. ao: common_vendor.t(_ctx.goodsManageData.afterFillStock || 0),
  380. ap: common_vendor.o(($event) => _ctx.$tab.navigateTo(`/pages/equipment/comManage?id=${_ctx.id}&deviceName=${_ctx.detail.deviceName}`)),
  381. aq: common_vendor.o(($event) => _ctx.$tab.navigateTo(`/pages/replenish/replenishmentRecord?id=${_ctx.id}`)),
  382. ar: common_vendor.o(($event) => _ctx.$tab.navigateTo(`/pages/replenish/replenishmentHomePage?id=${_ctx.id}&&deviceName=${_ctx.detail.deviceName}`)),
  383. as: common_vendor.p({
  384. width: "400rpx",
  385. height: "400rpx",
  386. src: _ctx.qrCodeImg,
  387. mode: "aspectFit",
  388. ["lazy-load"]: true
  389. }),
  390. at: common_vendor.o(_ctx.handleImgSave),
  391. av: common_vendor.o(_ctx.qrcodeClose),
  392. aw: common_vendor.p({
  393. show: _ctx.qrcodeShow,
  394. mode: "center",
  395. showBtn: false
  396. }),
  397. ax: _ctx.title == "编辑"
  398. }, _ctx.title == "编辑" ? {
  399. ay: common_vendor.o(($event) => _ctx.editForm.name = $event),
  400. az: common_vendor.p({
  401. placeholder: "设置机器名称",
  402. border: "none",
  403. modelValue: _ctx.editForm.name
  404. }),
  405. aA: common_vendor.sr("item1", "d4784c2a-17,d4784c2a-16"),
  406. aB: common_vendor.p({
  407. labelWidth: "90",
  408. label: "名称",
  409. prop: "name",
  410. borderBottom: true
  411. }),
  412. aC: common_vendor.o(($event) => _ctx.editForm.areaName = $event),
  413. aD: common_vendor.p({
  414. placeholder: "设置机器区域",
  415. readonly: true,
  416. border: "none",
  417. modelValue: _ctx.editForm.areaName
  418. }),
  419. aE: common_vendor.sr("item1", "d4784c2a-19,d4784c2a-16"),
  420. aF: common_vendor.o(_ctx.areaChoose),
  421. aG: common_vendor.p({
  422. labelWidth: "90",
  423. label: "区域",
  424. prop: "areaName",
  425. borderBottom: true
  426. }),
  427. aH: common_vendor.o(($event) => _ctx.editForm.lineName = $event),
  428. aI: common_vendor.p({
  429. placeholder: "设置机器线路",
  430. readonly: true,
  431. border: "none",
  432. modelValue: _ctx.editForm.lineName
  433. }),
  434. aJ: common_vendor.sr("item1", "d4784c2a-21,d4784c2a-16"),
  435. aK: common_vendor.o(_ctx.lineChoose),
  436. aL: common_vendor.p({
  437. labelWidth: "90",
  438. label: "线路",
  439. prop: "lineName",
  440. borderBottom: true
  441. }),
  442. aM: common_vendor.o(($event) => _ctx.editForm.placeName = $event),
  443. aN: common_vendor.p({
  444. placeholder: "设置机器点位",
  445. readonly: true,
  446. border: "none",
  447. modelValue: _ctx.editForm.placeName
  448. }),
  449. aO: common_vendor.sr("item1", "d4784c2a-23,d4784c2a-16"),
  450. aP: common_vendor.o(_ctx.placeChoose),
  451. aQ: common_vendor.p({
  452. labelWidth: "90",
  453. label: "点位",
  454. prop: "placeName",
  455. borderBottom: true
  456. }),
  457. aR: common_vendor.o(($event) => _ctx.devicePos = $event),
  458. aS: common_vendor.p({
  459. placeholder: "设置机器位置",
  460. readonly: true,
  461. border: "none",
  462. modelValue: _ctx.devicePos
  463. }),
  464. aT: common_vendor.p({
  465. size: "26",
  466. name: "map"
  467. }),
  468. aU: common_vendor.o(_ctx.getLocation),
  469. aV: common_vendor.p({
  470. labelWidth: "90",
  471. label: "位置",
  472. prop: "lon",
  473. borderBottom: true
  474. }),
  475. aW: common_vendor.p({
  476. labelPosition: "left",
  477. model: _ctx.editForm
  478. })
  479. } : {}, {
  480. aX: _ctx.title == "设备重启"
  481. }, _ctx.title == "设备重启" ? {} : {}, {
  482. aY: _ctx.title == "暂停营业" || _ctx.title == "开始营业"
  483. }, _ctx.title == "暂停营业" || _ctx.title == "开始营业" ? {
  484. aZ: common_vendor.t(_ctx.btnState)
  485. } : {}, {
  486. ba: _ctx.title == "声音设置"
  487. }, _ctx.title == "声音设置" ? {
  488. bb: common_vendor.o(($event) => _ctx.voice = $event),
  489. bc: common_vendor.p({
  490. showValue: true,
  491. min: "0",
  492. max: "25",
  493. modelValue: _ctx.voice
  494. })
  495. } : {}, {
  496. bd: _ctx.title == "温度设置"
  497. }, _ctx.title == "温度设置" ? {
  498. be: common_vendor.f(_ctx.tempWorkModels, (item, index, i0) => {
  499. return {
  500. a: index,
  501. b: "d4784c2a-30-" + i0 + ",d4784c2a-29",
  502. c: common_vendor.p({
  503. customStyle: {
  504. marginBottom: "16rpx",
  505. marginLeft: "16rpx"
  506. },
  507. label: item.name,
  508. name: item.id
  509. })
  510. };
  511. }),
  512. bf: common_vendor.o(($event) => _ctx.tempDetail.selTempWorkModel = $event),
  513. bg: common_vendor.p({
  514. placement: "row",
  515. modelValue: _ctx.tempDetail.selTempWorkModel
  516. }),
  517. bh: common_vendor.o(($event) => _ctx.tempDetail.targetTemp = $event),
  518. bi: common_vendor.p({
  519. ["button-size"]: "30",
  520. modelValue: _ctx.tempDetail.targetTemp
  521. }),
  522. bj: common_vendor.t(_ctx.tempDetail.start1),
  523. bk: common_vendor.t(_ctx.tempDetail.end1),
  524. bl: common_vendor.o(($event) => _ctx.pickerTimes("temp", 0)),
  525. bm: common_vendor.t(_ctx.tempDetail.start2),
  526. bn: common_vendor.t(_ctx.tempDetail.end2),
  527. bo: common_vendor.o(($event) => _ctx.pickerTimes("temp", 1)),
  528. bp: common_vendor.t(_ctx.tempDetail.start3),
  529. bq: common_vendor.t(_ctx.tempDetail.end3),
  530. br: common_vendor.o(($event) => _ctx.pickerTimes("temp", 2))
  531. } : {}, {
  532. bs: _ctx.title == "灯光设置"
  533. }, _ctx.title == "灯光设置" ? {
  534. bt: common_vendor.t(_ctx.lightDetail.start1),
  535. bv: common_vendor.t(_ctx.lightDetail.end1),
  536. bw: common_vendor.o(($event) => _ctx.pickerTimes("light", 0)),
  537. bx: common_vendor.t(_ctx.lightDetail.start2),
  538. by: common_vendor.t(_ctx.lightDetail.end2),
  539. bz: common_vendor.o(($event) => _ctx.pickerTimes("light", 1)),
  540. bA: common_vendor.t(_ctx.lightDetail.start3),
  541. bB: common_vendor.t(_ctx.lightDetail.end3),
  542. bC: common_vendor.o(($event) => _ctx.pickerTimes("light", 2))
  543. } : {}, {
  544. bD: _ctx.title == "清除故障"
  545. }, _ctx.title == "清除故障" ? {} : {}, {
  546. bE: common_vendor.o(_ctx.close),
  547. bF: common_vendor.o(_ctx.submit),
  548. bG: common_vendor.p({
  549. show: _ctx.show,
  550. showBtn: true,
  551. title: _ctx.title
  552. }),
  553. bH: common_vendor.o(_ctx.areaSubmit),
  554. bI: common_vendor.p({
  555. range: _ctx.areaList,
  556. foldAll: false,
  557. rangeKey: "name",
  558. idKey: "name",
  559. buttonName: "选中"
  560. }),
  561. bJ: common_vendor.o(_ctx.areaClose),
  562. bK: common_vendor.p({
  563. show: _ctx.areaShow,
  564. showBtn: false,
  565. title: "选择区域"
  566. }),
  567. bL: common_vendor.o(_ctx.pickerConfirm),
  568. bM: common_vendor.o(_ctx.pickerClose),
  569. bN: common_vendor.o(_ctx.pickerClose),
  570. bO: common_vendor.p({
  571. show: _ctx.pickerShow,
  572. closeOnClickOverlay: true,
  573. columns: _ctx.columns,
  574. keyName: "label"
  575. }),
  576. bP: common_vendor.sr("uPicker", "d4784c2a-35"),
  577. bQ: common_vendor.o(_ctx.pickerTimeConfirm),
  578. bR: common_vendor.o(_ctx.pickerTimeChangeHandler),
  579. bS: common_vendor.p({
  580. show: _ctx.showTimeSelPicker,
  581. columns: _ctx.times
  582. }),
  583. bT: common_vendor.p({
  584. ["scroll-top"]: _ctx.scrollTop,
  585. top: "400"
  586. })
  587. });
  588. };
  589. }
  590. };
  591. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d4784c2a"], ["__file", "F:/兴元/开门柜项目/平台端管理系统小程序/src/pages/xy_system/devices/deviceDetail.vue"]]);
  592. wx.createPage(MiniProgramPage);