|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<ContentWrap> |
|
|
|
<!-- 搜索工作栏 --> |
|
|
|
<!-- 智能水表数据日统计表搜索工作栏 --> |
|
|
|
<el-form :model="queryParams" ref="queryForm" :inline="true"> |
|
|
|
<el-form-item label="日期" prop="date"> |
|
|
|
<el-date-picker |
|
|
@ -95,7 +95,9 @@ const dataList = reactive({dList: [] }) |
|
|
|
const queryParams = reactive({ |
|
|
|
date: formatDate(new Date() , 'YYYY-MM-DD'), |
|
|
|
mcode: 'Gas_hr_001', |
|
|
|
flag: '0' |
|
|
|
flag: '0', |
|
|
|
iname:'', |
|
|
|
mname:'' |
|
|
|
}) |
|
|
|
|
|
|
|
const handleQuery = async () => { |
|
|
@ -110,6 +112,10 @@ const resetQuery = async () => { |
|
|
|
} |
|
|
|
|
|
|
|
const getList = async () => { |
|
|
|
const l1 = flagList.value.find(map=>map.value == queryParams.flag); |
|
|
|
queryParams.mname = l1?.label |
|
|
|
const ll = mcodeList.value.find(map=>map.code == queryParams.mcode); |
|
|
|
queryParams.iname = ll?.label |
|
|
|
const res = await TjanalysisApi.queryWaterDay(queryParams) |
|
|
|
if (res != null && res.dataList != null) { |
|
|
|
dataList.dList = res.dataList |
|
|
|