修改效率效益 添加请求接口文件

This commit is contained in:
hzz 2023-06-17 17:38:18 +08:00
parent 86a382c36f
commit 19c73f664c
2 changed files with 17 additions and 2 deletions

View File

@ -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})
}

View File

@ -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: [