|
|
|
|
@ -416,6 +416,8 @@ class Index extends Component<any, any> {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
gourl = (e) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { url } = e.currentTarget.dataset;
|
|
|
|
|
if (this.isRegister()) {
|
|
|
|
|
go(url);
|
|
|
|
|
@ -737,6 +739,8 @@ class Index extends Component<any, any> {
|
|
|
|
|
|
|
|
|
|
// 跳转仪器介绍页
|
|
|
|
|
goNursing = (item) => {
|
|
|
|
|
console.log(item,'查看跳转对象');
|
|
|
|
|
|
|
|
|
|
if (item.status === 0) {
|
|
|
|
|
setStorageSync("instrument_detail", item);
|
|
|
|
|
this.setState({ connectInstrument: item });
|
|
|
|
|
@ -752,6 +756,7 @@ class Index extends Component<any, any> {
|
|
|
|
|
|
|
|
|
|
/** 蓝牙逻辑 */
|
|
|
|
|
bindBlockLeft() {
|
|
|
|
|
|
|
|
|
|
if (!this.state.isRegisterBoolean) {
|
|
|
|
|
//未注册授权
|
|
|
|
|
this.alertRegister();
|
|
|
|
|
|