diff --git a/config/dev.env.js b/config/dev.env.js index 72ababf..57bb85c 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -10,7 +10,7 @@ // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:14537"' // BASE_API: '"http://111.198.10.15:11304"' - BASE_API: '"http://42.81.160.165:2022/smartwell"' + // BASE_API: '"http://42.81.160.165:2022/smartwell"' // BASE_API: '"http://192.168.0.225:8083"' - // BASE_API: '"http://127.0.0.1:8083"' + BASE_API: '"http://127.0.0.1:11643/smartwell"' }) diff --git a/config/dev.env.js b/config/dev.env.js index 72ababf..57bb85c 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -10,7 +10,7 @@ // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:14537"' // BASE_API: '"http://111.198.10.15:11304"' - BASE_API: '"http://42.81.160.165:2022/smartwell"' + // BASE_API: '"http://42.81.160.165:2022/smartwell"' // BASE_API: '"http://192.168.0.225:8083"' - // BASE_API: '"http://127.0.0.1:8083"' + BASE_API: '"http://127.0.0.1:11643/smartwell"' }) diff --git a/index.html b/index.html index 09287d4..94dc896 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - 智能窨井监测管理系统 + 深圳桂湾公园地下管网信息管理系统
diff --git a/config/dev.env.js b/config/dev.env.js index 72ababf..57bb85c 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -10,7 +10,7 @@ // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:14537"' // BASE_API: '"http://111.198.10.15:11304"' - BASE_API: '"http://42.81.160.165:2022/smartwell"' + // BASE_API: '"http://42.81.160.165:2022/smartwell"' // BASE_API: '"http://192.168.0.225:8083"' - // BASE_API: '"http://127.0.0.1:8083"' + BASE_API: '"http://127.0.0.1:11643/smartwell"' }) diff --git a/index.html b/index.html index 09287d4..94dc896 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - 智能窨井监测管理系统 + 深圳桂湾公园地下管网信息管理系统
diff --git a/src/api/data.js b/src/api/data.js index afeee10..db5c8d0 100644 --- a/src/api/data.js +++ b/src/api/data.js @@ -18,6 +18,16 @@ params }) } + +// 物位数据查询 +export function getObjectData(params) { + return request({ + url: 'objectdata/list', + method: 'get', + params + }) +} + // 燃气数据查询 export function getGasData(params) { return request({ @@ -50,6 +60,7 @@ params }) } + // 井盖定位监测仪数据查询 export function getWellLocaData(params) { return request({ @@ -89,6 +100,16 @@ }) } +// 批量导出液位数据 +export function batchExportOjectData(params) { + return request({ + url: 'objectdata/export', + method: 'get', + timeout: 120000, + params, + responseType: 'blob' // 这一步也很关键,一定要加上 responseType 值为 blob + }) +} // 批量导出燃气数据 export function batchExportGasData(params) { return request({ @@ -155,3 +176,22 @@ }) } +// 温度压力数据查询 +export function getTempPressData(params) { + return request({ + url: 'temppressdata/list', + method: 'get', + params + }) +} + +// 温度压力数据导出 +export function batchExportTempPressData(params) { + return request({ + url: 'temppressdata/export', + method: 'get', + timeout: 120000, // 120s,2分钟 + params, + responseType: 'blob' // 这一步也很关键,一定要加上 responseType 值为 blob + }) +} diff --git a/config/dev.env.js b/config/dev.env.js index 72ababf..57bb85c 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -10,7 +10,7 @@ // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:14537"' // BASE_API: '"http://111.198.10.15:11304"' - BASE_API: '"http://42.81.160.165:2022/smartwell"' + // BASE_API: '"http://42.81.160.165:2022/smartwell"' // BASE_API: '"http://192.168.0.225:8083"' - // BASE_API: '"http://127.0.0.1:8083"' + BASE_API: '"http://127.0.0.1:11643/smartwell"' }) diff --git a/index.html b/index.html index 09287d4..94dc896 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - 智能窨井监测管理系统 + 深圳桂湾公园地下管网信息管理系统
diff --git a/src/api/data.js b/src/api/data.js index afeee10..db5c8d0 100644 --- a/src/api/data.js +++ b/src/api/data.js @@ -18,6 +18,16 @@ params }) } + +// 物位数据查询 +export function getObjectData(params) { + return request({ + url: 'objectdata/list', + method: 'get', + params + }) +} + // 燃气数据查询 export function getGasData(params) { return request({ @@ -50,6 +60,7 @@ params }) } + // 井盖定位监测仪数据查询 export function getWellLocaData(params) { return request({ @@ -89,6 +100,16 @@ }) } +// 批量导出液位数据 +export function batchExportOjectData(params) { + return request({ + url: 'objectdata/export', + method: 'get', + timeout: 120000, + params, + responseType: 'blob' // 这一步也很关键,一定要加上 responseType 值为 blob + }) +} // 批量导出燃气数据 export function batchExportGasData(params) { return request({ @@ -155,3 +176,22 @@ }) } +// 温度压力数据查询 +export function getTempPressData(params) { + return request({ + url: 'temppressdata/list', + method: 'get', + params + }) +} + +// 温度压力数据导出 +export function batchExportTempPressData(params) { + return request({ + url: 'temppressdata/export', + method: 'get', + timeout: 120000, // 120s,2分钟 + params, + responseType: 'blob' // 这一步也很关键,一定要加上 responseType 值为 blob + }) +} diff --git a/src/views/dataManage/dataManage.vue b/src/views/dataManage/dataManage.vue index a46b904..cac531d 100644 --- a/src/views/dataManage/dataManage.vue +++ b/src/views/dataManage/dataManage.vue @@ -4,7 +4,7 @@ - + @@ -25,17 +25,25 @@ + + + + + + + + diff --git a/config/dev.env.js b/config/dev.env.js index 72ababf..57bb85c 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -10,7 +10,7 @@ // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:14537"' // BASE_API: '"http://111.198.10.15:11304"' - BASE_API: '"http://42.81.160.165:2022/smartwell"' + // BASE_API: '"http://42.81.160.165:2022/smartwell"' // BASE_API: '"http://192.168.0.225:8083"' - // BASE_API: '"http://127.0.0.1:8083"' + BASE_API: '"http://127.0.0.1:11643/smartwell"' }) diff --git a/index.html b/index.html index 09287d4..94dc896 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - 智能窨井监测管理系统 + 深圳桂湾公园地下管网信息管理系统
diff --git a/src/api/data.js b/src/api/data.js index afeee10..db5c8d0 100644 --- a/src/api/data.js +++ b/src/api/data.js @@ -18,6 +18,16 @@ params }) } + +// 物位数据查询 +export function getObjectData(params) { + return request({ + url: 'objectdata/list', + method: 'get', + params + }) +} + // 燃气数据查询 export function getGasData(params) { return request({ @@ -50,6 +60,7 @@ params }) } + // 井盖定位监测仪数据查询 export function getWellLocaData(params) { return request({ @@ -89,6 +100,16 @@ }) } +// 批量导出液位数据 +export function batchExportOjectData(params) { + return request({ + url: 'objectdata/export', + method: 'get', + timeout: 120000, + params, + responseType: 'blob' // 这一步也很关键,一定要加上 responseType 值为 blob + }) +} // 批量导出燃气数据 export function batchExportGasData(params) { return request({ @@ -155,3 +176,22 @@ }) } +// 温度压力数据查询 +export function getTempPressData(params) { + return request({ + url: 'temppressdata/list', + method: 'get', + params + }) +} + +// 温度压力数据导出 +export function batchExportTempPressData(params) { + return request({ + url: 'temppressdata/export', + method: 'get', + timeout: 120000, // 120s,2分钟 + params, + responseType: 'blob' // 这一步也很关键,一定要加上 responseType 值为 blob + }) +} diff --git a/src/views/dataManage/dataManage.vue b/src/views/dataManage/dataManage.vue index a46b904..cac531d 100644 --- a/src/views/dataManage/dataManage.vue +++ b/src/views/dataManage/dataManage.vue @@ -4,7 +4,7 @@ - + @@ -25,17 +25,25 @@ + + + + + + + + diff --git a/src/views/dataManage/deviceData/listTempPressData.vue b/src/views/dataManage/deviceData/listTempPressData.vue new file mode 100644 index 0000000..fb7c780 --- /dev/null +++ b/src/views/dataManage/deviceData/listTempPressData.vue @@ -0,0 +1,279 @@ + + + + + diff --git a/config/dev.env.js b/config/dev.env.js index 72ababf..57bb85c 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -10,7 +10,7 @@ // BASE_API: '"http://106.74.146.218:2031"' // BASE_API: '"http://192.168.0.212:14537"' // BASE_API: '"http://111.198.10.15:11304"' - BASE_API: '"http://42.81.160.165:2022/smartwell"' + // BASE_API: '"http://42.81.160.165:2022/smartwell"' // BASE_API: '"http://192.168.0.225:8083"' - // BASE_API: '"http://127.0.0.1:8083"' + BASE_API: '"http://127.0.0.1:11643/smartwell"' }) diff --git a/index.html b/index.html index 09287d4..94dc896 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - 智能窨井监测管理系统 + 深圳桂湾公园地下管网信息管理系统
diff --git a/src/api/data.js b/src/api/data.js index afeee10..db5c8d0 100644 --- a/src/api/data.js +++ b/src/api/data.js @@ -18,6 +18,16 @@ params }) } + +// 物位数据查询 +export function getObjectData(params) { + return request({ + url: 'objectdata/list', + method: 'get', + params + }) +} + // 燃气数据查询 export function getGasData(params) { return request({ @@ -50,6 +60,7 @@ params }) } + // 井盖定位监测仪数据查询 export function getWellLocaData(params) { return request({ @@ -89,6 +100,16 @@ }) } +// 批量导出液位数据 +export function batchExportOjectData(params) { + return request({ + url: 'objectdata/export', + method: 'get', + timeout: 120000, + params, + responseType: 'blob' // 这一步也很关键,一定要加上 responseType 值为 blob + }) +} // 批量导出燃气数据 export function batchExportGasData(params) { return request({ @@ -155,3 +176,22 @@ }) } +// 温度压力数据查询 +export function getTempPressData(params) { + return request({ + url: 'temppressdata/list', + method: 'get', + params + }) +} + +// 温度压力数据导出 +export function batchExportTempPressData(params) { + return request({ + url: 'temppressdata/export', + method: 'get', + timeout: 120000, // 120s,2分钟 + params, + responseType: 'blob' // 这一步也很关键,一定要加上 responseType 值为 blob + }) +} diff --git a/src/views/dataManage/dataManage.vue b/src/views/dataManage/dataManage.vue index a46b904..cac531d 100644 --- a/src/views/dataManage/dataManage.vue +++ b/src/views/dataManage/dataManage.vue @@ -4,7 +4,7 @@ - + @@ -25,17 +25,25 @@ + + + + + + + + diff --git a/src/views/dataManage/deviceData/listTempPressData.vue b/src/views/dataManage/deviceData/listTempPressData.vue new file mode 100644 index 0000000..fb7c780 --- /dev/null +++ b/src/views/dataManage/deviceData/listTempPressData.vue @@ -0,0 +1,279 @@ + + + + + diff --git a/src/views/layout/components/AppHeader.vue b/src/views/layout/components/AppHeader.vue index d98309d..2883ca0 100644 --- a/src/views/layout/components/AppHeader.vue +++ b/src/views/layout/components/AppHeader.vue @@ -1,6 +1,6 @@ + + diff --git a/src/views/dataManage/deviceData/listTempPressData.vue b/src/views/dataManage/deviceData/listTempPressData.vue new file mode 100644 index 0000000..fb7c780 --- /dev/null +++ b/src/views/dataManage/deviceData/listTempPressData.vue @@ -0,0 +1,279 @@ + + + + + diff --git a/src/views/layout/components/AppHeader.vue b/src/views/layout/components/AppHeader.vue index d98309d..2883ca0 100644 --- a/src/views/layout/components/AppHeader.vue +++ b/src/views/layout/components/AppHeader.vue @@ -1,6 +1,6 @@ + + diff --git a/src/views/dataManage/deviceData/listTempPressData.vue b/src/views/dataManage/deviceData/listTempPressData.vue new file mode 100644 index 0000000..fb7c780 --- /dev/null +++ b/src/views/dataManage/deviceData/listTempPressData.vue @@ -0,0 +1,279 @@ + + + + + diff --git a/src/views/layout/components/AppHeader.vue b/src/views/layout/components/AppHeader.vue index d98309d..2883ca0 100644 --- a/src/views/layout/components/AppHeader.vue +++ b/src/views/layout/components/AppHeader.vue @@ -1,6 +1,6 @@