diff --git a/src/http/waterHouse/index.ts b/src/http/waterHouse/index.ts new file mode 100644 index 0000000..168d78d --- /dev/null +++ b/src/http/waterHouse/index.ts @@ -0,0 +1,15 @@ +/* + * @FilePath: \wwwd:\code\screenFront\src\http\realtimeSecurity\index.ts + * @Author: 王路平 + * @文件版本: V1.0.0 + * @Date: 2023-02-14 08:45:45 + * @Description: + * + * 版权信息 : 2023 by ${再登软件}, All Rights Reserved. + */ +import {get,post} from "@/utils/http" + +//气压 +export function getWaterFlowInfo(type:string){ + return get('/waterFlow/getWaterFlowInfo',{type}) +} \ No newline at end of file diff --git a/src/views/Waterhouse/index.vue b/src/views/Waterhouse/index.vue index 71f207e..f778e19 100644 --- a/src/views/Waterhouse/index.vue +++ b/src/views/Waterhouse/index.vue @@ -173,8 +173,8 @@ async function getWaterFlowInfoFun() { allData.out = data.out allData.use = data.use allData.currentCount = data.currentCount - allData.xl = data.xl - allData.xy = data.xy + allData.xl = data.xl.toFixed(1) + allData.xy = data.xy.toFixed(1) chart.setOption({ xAxis: { data: data.date }, series: [