修改效率效益 添加请求接口文件
This commit is contained in:
parent
86a382c36f
commit
19c73f664c
15
src/http/waterHouse/index.ts
Normal file
15
src/http/waterHouse/index.ts
Normal 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})
|
||||||
|
}
|
@ -173,8 +173,8 @@ async function getWaterFlowInfoFun() {
|
|||||||
allData.out = data.out
|
allData.out = data.out
|
||||||
allData.use = data.use
|
allData.use = data.use
|
||||||
allData.currentCount = data.currentCount
|
allData.currentCount = data.currentCount
|
||||||
allData.xl = data.xl
|
allData.xl = data.xl.toFixed(1)
|
||||||
allData.xy = data.xy
|
allData.xy = data.xy.toFixed(1)
|
||||||
chart.setOption({
|
chart.setOption({
|
||||||
xAxis: { data: data.date },
|
xAxis: { data: data.date },
|
||||||
series: [
|
series: [
|
||||||
|
Loading…
Reference in New Issue
Block a user