优化蜂箱录入
This commit is contained in:
parent
30eb2768e2
commit
8f179a4d25
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view class="pages">
|
||||
<u-navbar title="设备录入" :border-bottom="false" :background="bgc" title-size='38' title-color='#000'
|
||||
<u-navbar title="设备录入" :border-bottom="false" :background="bgc" title-size='38' title-color='#000' :custom-back="btns"
|
||||
back-icon-color="#000" height='50'></u-navbar>
|
||||
<view class="title">
|
||||
<text>设备录入列表</text>
|
||||
|
@ -124,9 +124,14 @@
|
|||
// this.videoContext = uni.createVideoContext('myVideo', this)
|
||||
},
|
||||
methods: {
|
||||
btns(){
|
||||
uni.reLaunch({
|
||||
url:'/pages/my'
|
||||
})
|
||||
},
|
||||
// 点击跳转到控制台
|
||||
btnkzt(){
|
||||
uni.navigateTo({
|
||||
uni.reLaunch({
|
||||
url:'/page_user/lurutwo'
|
||||
})
|
||||
},
|
||||
|
@ -294,7 +299,7 @@
|
|||
// 发送开关
|
||||
createBLEConnections(e) {
|
||||
let Bluetoothmac = e.name.substring(5)
|
||||
uni.navigateTo({
|
||||
uni.reLaunch({
|
||||
url:'/page_user/luruone?mac=' + Bluetoothmac
|
||||
})
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view class="page">
|
||||
<u-navbar title="设备录入" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000" title-size='38'
|
||||
<u-navbar title="设备录入" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000" title-size='38' :custom-back="btns"
|
||||
height='50'></u-navbar>
|
||||
<view class="iptbox" @click="backpage()">
|
||||
|
||||
|
@ -177,6 +177,11 @@
|
|||
|
||||
},
|
||||
methods: {
|
||||
btns(){
|
||||
uni.reLaunch({
|
||||
url:'/page_user/luru'
|
||||
})
|
||||
},
|
||||
confirm(e) {
|
||||
// console.log(e);
|
||||
this.banben = e[0].label
|
||||
|
@ -264,7 +269,7 @@
|
|||
deviceId: this.deviceId,
|
||||
})
|
||||
setTimeout(()=>{
|
||||
uni.navigateTo({
|
||||
uni.reLaunch({
|
||||
url:'/page_user/lurutwo?sn=' + this.storeId
|
||||
})
|
||||
},1500)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view class="">
|
||||
<u-navbar title="设备控制" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000"
|
||||
<u-navbar title="设备控制" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000" :custom-back="btnshang"
|
||||
title-size='36' height='50'></u-navbar>
|
||||
<view class="title">
|
||||
控制台
|
||||
|
@ -127,6 +127,11 @@
|
|||
this.clearInterval();
|
||||
},
|
||||
methods: {
|
||||
btnshang(){
|
||||
uni.reLaunch({
|
||||
url:'/page_user/luru'
|
||||
})
|
||||
},
|
||||
startInterval() {
|
||||
// 每五秒执行一次的方法
|
||||
const timerCallback = () => {
|
||||
|
@ -225,7 +230,9 @@
|
|||
|
||||
// 返回录入
|
||||
btnfh() {
|
||||
uni.navigateBack()
|
||||
uni.reLaunch({
|
||||
url:'/page_user/luru'
|
||||
})
|
||||
},
|
||||
|
||||
// 开启蜂鸣
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
methods: {
|
||||
// 点击跳转到录入设备页面
|
||||
btnluru(){
|
||||
uni.navigateTo({
|
||||
uni.reLaunch({
|
||||
url:'/page_user/luru'
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user