|
@@ -359,38 +359,38 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
- if (
|
|
|
- -200 > this.xxStart ||
|
|
|
- this.xxEnd > 200 ||
|
|
|
- -200 > this.yyStart ||
|
|
|
- this.yyEnd > 200
|
|
|
- ) {
|
|
|
- uni.showModal({
|
|
|
- content: "检测范围在-200~200之间",
|
|
|
- showCancel: false,
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
- if (
|
|
|
- 5 < this.zzStart ||
|
|
|
- this.zzStart < 0 ||
|
|
|
- 300 < this.zzEnd ||
|
|
|
- this.zzEnd < 200
|
|
|
- ) {
|
|
|
- uni.showModal({
|
|
|
- content: "Z轴检测范围不正确",
|
|
|
- showCancel: false,
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (
|
|
|
+ // -200 > this.xxStart ||
|
|
|
+ // this.xxEnd > 200 ||
|
|
|
+ // -200 > this.yyStart ||
|
|
|
+ // this.yyEnd > 200
|
|
|
+ // ) {
|
|
|
+ // uni.showModal({
|
|
|
+ // content: "检测范围在-200~200之间",
|
|
|
+ // showCancel: false,
|
|
|
+ // });
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // if (
|
|
|
+ // 5 < this.zzStart ||
|
|
|
+ // this.zzStart < 0 ||
|
|
|
+ // 300 < this.zzEnd ||
|
|
|
+ // this.zzEnd < 200
|
|
|
+ // ) {
|
|
|
+ // uni.showModal({
|
|
|
+ // content: "Z轴检测范围不正确",
|
|
|
+ // showCancel: false,
|
|
|
+ // });
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
- if (200 > this.height || this.height > 370) {
|
|
|
- uni.showModal({
|
|
|
- content: "安装高度在200~270之间",
|
|
|
- showCancel: false,
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (200 > this.height || this.height > 370) {
|
|
|
+ // uni.showModal({
|
|
|
+ // content: "安装高度在200~270之间",
|
|
|
+ // showCancel: false,
|
|
|
+ // });
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
let deviceBandingParams = {
|
|
|
clientId: this.clientId,
|