当前状态:开启
-进水温度:25℃
-出水温度:85℃
-今日能耗:23kWh
+当前状态:{{ dcglRunStatus }}
+进水温度:{{ dcglThermometerValueIn }}℃
+出水温度:{{ dcglThermometerValueOut }}℃
+今日能耗:{{ dcglTodayUseEnergy }}kWh
diff --git a/psdc-ui/src/api/bigview/bigview.js b/psdc-ui/src/api/bigview/bigview.js index 2ec33c4..0e9cf09 100644 --- a/psdc-ui/src/api/bigview/bigview.js +++ b/psdc-ui/src/api/bigview/bigview.js @@ -1,6 +1,10 @@ import request from '@/utils/request' -//8个温度传感器接口 +/** 8个温度传感器接口*/ export function getTemperature() { return request.get('/indexLook/8wd') +} +/**运行设备工作信息查询接口*/ +export function getDevicesInfo() { + return request.get('/indexLook/devicesInfo') } \ No newline at end of file diff --git a/psdc-ui/src/api/control/manual.js b/psdc-ui/src/api/control/manual.js new file mode 100644 index 0000000..6e886f9 --- /dev/null +++ b/psdc-ui/src/api/control/manual.js @@ -0,0 +1,6 @@ +import request from '@/utils/request' + +/** 获取设备*/ +export function getDevice() { + return request.get('/control/manual/deviceStatusList') +} \ No newline at end of file diff --git a/psdc-ui/src/api/emonitor/api.js b/psdc-ui/src/api/emonitor/api.js new file mode 100644 index 0000000..99a166c --- /dev/null +++ b/psdc-ui/src/api/emonitor/api.js @@ -0,0 +1,40 @@ +import request from '@/utils/request' +//总电表 +export function getData(data) { + return request.get('/monitor/db/index/sel1/'+data) +} +export function getZdb(data) { + return request.get('/monitor/db/index/sel2/'+data) +} +//电热锅炉 +export function getDrgl(data) { + return request.get('/monitor/drgl/index/sel1/'+data) +} +export function getDcgl(data) { + return request.get('/monitor/drgl/index/sel2/'+data) +} +//蓄热锅炉 +export function getXrgl(data) { + return request.get('/monitor/xrgl/index/sel1/'+data) +} +export function getXcgl(data) { + return request.get('/monitor/xrgl/index/sel2/'+data) +} +//空气热源泵 +export function getKqryb(data) { + return request.get('/monitor/kqyrb/index/sel1/'+data) +} +export function getKqyrb(data) { + return request.get('/monitor/kqyrb/index/sel2/'+data) +} +//发热电缆 +export function getFrdl(data) { + return request.get('/monitor/frdl/index/sel1/'+data) +} +export function getFrld(data) { + return request.get('/monitor/frdl/index/sel2/'+data) +} +//温度传感器 +export function getWdcgq(data) { + return request.get('/monitor/wdcgq/index/sel1/'+data) +} diff --git a/psdc-ui/src/main.js b/psdc-ui/src/main.js index 698c2e0..750ad40 100644 --- a/psdc-ui/src/main.js +++ b/psdc-ui/src/main.js @@ -45,6 +45,7 @@ import DictTag from '@/components/DictTag' const app = createApp(App) // 全局方法挂载 +app.config.warnHandler = () => null; app.config.globalProperties.useDict = useDict app.config.globalProperties.download = download app.config.globalProperties.parseTime = parseTime diff --git a/psdc-ui/src/views/bigview/index.vue b/psdc-ui/src/views/bigview/index.vue index 43cd513..83a3a4f 100644 --- a/psdc-ui/src/views/bigview/index.vue +++ b/psdc-ui/src/views/bigview/index.vue @@ -2,7 +2,7 @@
当前状态:开启
-进水温度:25℃
-出水温度:85℃
-今日能耗:23kWh
+当前状态:{{ dcglRunStatus }}
+进水温度:{{ dcglThermometerValueIn }}℃
+出水温度:{{ dcglThermometerValueOut }}℃
+今日能耗:{{ dcglTodayUseEnergy }}kWh
当前状态:开启
-进水温度:25℃
-出水温度:85℃
-今日能耗:23kWh
+当前状态:{{ xrglRunStatus }}
+进水温度:{{ xrglThermometerValueIn }}℃
+出水温度:{{ xrglThermometerValueOut }}℃
+今日能耗:{{ xrglTodayUseEnergy }}kWh