diff --git a/api/check.js b/api/check.js index e234954..5632153 100644 --- a/api/check.js +++ b/api/check.js @@ -11,7 +11,7 @@ const Welldata = 'https://smartwell.gd.smartlog.work/welldata/list-page' const Liquiddata = 'https://smartwell.gd.smartlog.work/liquiddata/list-page' const Gasdata = 'https://smartwell.gd.smartlog.work/gasdata/list-page' - +// const Gasdata = 'https://smartwell.gd.smartlog.work/gasdector/list' /** * 获取燃气数据 diff --git a/api/check.js b/api/check.js index e234954..5632153 100644 --- a/api/check.js +++ b/api/check.js @@ -11,7 +11,7 @@ const Welldata = 'https://smartwell.gd.smartlog.work/welldata/list-page' const Liquiddata = 'https://smartwell.gd.smartlog.work/liquiddata/list-page' const Gasdata = 'https://smartwell.gd.smartlog.work/gasdata/list-page' - +// const Gasdata = 'https://smartwell.gd.smartlog.work/gasdector/list' /** * 获取燃气数据 diff --git a/common/fetch.js b/common/fetch.js index b9d05fa..def7241 100644 --- a/common/fetch.js +++ b/common/fetch.js @@ -23,18 +23,7 @@ if (data.statusCode === 200) { if (data.data.code === 200) { resolve(data.data.data); - } else if (data.data.code === 2401) { - uni.showToast({ - title: `登录过期,正在重新登录`, - icon: "none", - duration: 2000, - }); - getLogin(); - resolve(data.data.message); - } else if (data.data.code === 500 && data.data.message === '您的账号未注册,请先注册' || - data.data.code === 2402) { - resolve('用户未注册'); - } else { + } else { uni.showToast({ // title: "系统异常,请稍后再试!", title: `${data.data.message}`, diff --git a/api/check.js b/api/check.js index e234954..5632153 100644 --- a/api/check.js +++ b/api/check.js @@ -11,7 +11,7 @@ const Welldata = 'https://smartwell.gd.smartlog.work/welldata/list-page' const Liquiddata = 'https://smartwell.gd.smartlog.work/liquiddata/list-page' const Gasdata = 'https://smartwell.gd.smartlog.work/gasdata/list-page' - +// const Gasdata = 'https://smartwell.gd.smartlog.work/gasdector/list' /** * 获取燃气数据 diff --git a/common/fetch.js b/common/fetch.js index b9d05fa..def7241 100644 --- a/common/fetch.js +++ b/common/fetch.js @@ -23,18 +23,7 @@ if (data.statusCode === 200) { if (data.data.code === 200) { resolve(data.data.data); - } else if (data.data.code === 2401) { - uni.showToast({ - title: `登录过期,正在重新登录`, - icon: "none", - duration: 2000, - }); - getLogin(); - resolve(data.data.message); - } else if (data.data.code === 500 && data.data.message === '您的账号未注册,请先注册' || - data.data.code === 2402) { - resolve('用户未注册'); - } else { + } else { uni.showToast({ // title: "系统异常,请稍后再试!", title: `${data.data.message}`, diff --git a/pages/check/check.vue b/pages/check/check.vue index 2a9ff72..b497d10 100644 --- a/pages/check/check.vue +++ b/pages/check/check.vue @@ -143,10 +143,11 @@ } .list-left{ text-align: center; + width: 300rpx; } .list-center { - display: flex; - align-items: center; + // display: flex; + // align-items: center; } .list-right{ width: 160rpx; diff --git a/api/check.js b/api/check.js index e234954..5632153 100644 --- a/api/check.js +++ b/api/check.js @@ -11,7 +11,7 @@ const Welldata = 'https://smartwell.gd.smartlog.work/welldata/list-page' const Liquiddata = 'https://smartwell.gd.smartlog.work/liquiddata/list-page' const Gasdata = 'https://smartwell.gd.smartlog.work/gasdata/list-page' - +// const Gasdata = 'https://smartwell.gd.smartlog.work/gasdector/list' /** * 获取燃气数据 diff --git a/common/fetch.js b/common/fetch.js index b9d05fa..def7241 100644 --- a/common/fetch.js +++ b/common/fetch.js @@ -23,18 +23,7 @@ if (data.statusCode === 200) { if (data.data.code === 200) { resolve(data.data.data); - } else if (data.data.code === 2401) { - uni.showToast({ - title: `登录过期,正在重新登录`, - icon: "none", - duration: 2000, - }); - getLogin(); - resolve(data.data.message); - } else if (data.data.code === 500 && data.data.message === '您的账号未注册,请先注册' || - data.data.code === 2402) { - resolve('用户未注册'); - } else { + } else { uni.showToast({ // title: "系统异常,请稍后再试!", title: `${data.data.message}`, diff --git a/pages/check/check.vue b/pages/check/check.vue index 2a9ff72..b497d10 100644 --- a/pages/check/check.vue +++ b/pages/check/check.vue @@ -143,10 +143,11 @@ } .list-left{ text-align: center; + width: 300rpx; } .list-center { - display: flex; - align-items: center; + // display: flex; + // align-items: center; } .list-right{ width: 160rpx; diff --git a/pages/checkTable/checkTable.vue b/pages/checkTable/checkTable.vue index 9c334e6..118d22f 100644 --- a/pages/checkTable/checkTable.vue +++ b/pages/checkTable/checkTable.vue @@ -6,29 +6,6 @@ }} - - - - - - - - {{item.deviceTypeName}} - - - {{item.strength}} - - - {{item.cell}} - - - {{item.logtime}} - - - - + + + + + + + + {{item.deviceTypeName}} + + + {{item.strength}} + + + + {{item.logtime}} + + + +