|
|
|
|
@ -441,7 +441,7 @@ class Index extends Component<any, any> {
|
|
|
|
|
msg("您已绑定所有设备");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
go("/pages/instrument/instrument");
|
|
|
|
|
go("/instrument/pages/instrument/instrument");
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -493,7 +493,7 @@ class Index extends Component<any, any> {
|
|
|
|
|
|
|
|
|
|
const { url } = e.currentTarget.dataset;
|
|
|
|
|
if (this.isRegister()) {
|
|
|
|
|
if (url === "/pages/instrument/instrument") {
|
|
|
|
|
if (url === "/instrument/pages/instrument/instrument") {
|
|
|
|
|
let { data } = await InstrumentInfo.unbindingInstrumentInfoList();
|
|
|
|
|
console.log(data, "查看未绑定设备");
|
|
|
|
|
if (data.data.length === 0) {
|
|
|
|
|
@ -781,7 +781,7 @@ class Index extends Component<any, any> {
|
|
|
|
|
if (res.data.code === 200) {
|
|
|
|
|
console.log("res.data.data", res.data.data);
|
|
|
|
|
if (res.data.data.length > 0) {
|
|
|
|
|
go("/pages/instrument/intro??customBack=true&id=" + id);
|
|
|
|
|
go("/instrument/pages/instrument/intro??customBack=true&id=" + id);
|
|
|
|
|
} else {
|
|
|
|
|
this.bindingInstrumentList();
|
|
|
|
|
}
|
|
|
|
|
@ -1349,7 +1349,7 @@ class Index extends Component<any, any> {
|
|
|
|
|
<View className="title">前往护理</View>
|
|
|
|
|
<View
|
|
|
|
|
className="txt_box flex jcenter aitems"
|
|
|
|
|
data-url="/pages/instrument/instrument"
|
|
|
|
|
data-url="/instrument/pages/instrument/instrument"
|
|
|
|
|
onClick={this.gourl}
|
|
|
|
|
>
|
|
|
|
|
<Image
|
|
|
|
|
|