Browse Source

统计报表新增时间和下来项

master
songguoqiang 11 months ago
parent
commit
4fb1bc1ea0
  1. 2
      src/views/tjanalysis/electricdata/index.vue
  2. 5
      src/views/tjanalysis/hrelongatordata/index.vue
  3. 5
      src/views/tjanalysis/hrpuncherdata/index.vue
  4. 5
      src/views/tjanalysis/hrsizingmilldata/index.vue
  5. 5
      src/views/tjanalysis/natgasdatacd/index.vue
  6. 5
      src/views/tjanalysis/natgasdatahr/index.vue
  7. 5
      src/views/tjanalysis/natgasdatatotal/index.vue
  8. 2
      src/views/tjanalysis/platscale/index.vue
  9. 10
      src/views/tjanalysis/waterday/index.vue

2
src/views/tjanalysis/electricdata/index.vue

@ -101,7 +101,7 @@ const getDbTypes = async () => {
const getList = async () => {
const ll = dbTypes.typeList.find(map=>map.mcode == queryParams.mcode);
queryParams.iname = ll?.mname
const res = await TjanalysisApi.queryElectricdataTj(queryParams)
if (res != null && res.trList != null) {
dataList.days = res.days

5
src/views/tjanalysis/hrelongatordata/index.vue

@ -65,7 +65,8 @@ const dataList = ref([])
const names = ref("热轧108延伸");
const queryParams = reactive({
date: formatDate(new Date() , 'YYYY-MM-DD'),
flag: '1'
flag: '1',
iname:''
})
const flagList = ref([])
@ -83,6 +84,8 @@ const resetQuery = async () => {
}
const getList = async () => {
const ll = flagList.value.find(map=>map.value == queryParams.flag);
queryParams.iname = ll?.label
const res = await TjanalysisApi.queryRzcjinfoDay(queryParams)
dataList.value = res.dataList
loading.value = false

5
src/views/tjanalysis/hrpuncherdata/index.vue

@ -65,7 +65,8 @@ const dataList = ref([])
const names = ref('');
const queryParams = reactive({
date: formatDate(new Date() , 'YYYY-MM-DD'),
flag: '1'
flag: '1',
iname:''
})
const flagList =ref([])
@ -82,6 +83,8 @@ const resetQuery = async () => {
}
const getList = async () => {
const ll = flagList.value.find(map=>map.value == queryParams.flag);
queryParams.iname = ll?.label
const res = await TjanalysisApi.queryHrpuncherDay(queryParams)
dataList.value = res.dataList
loading.value = false

5
src/views/tjanalysis/hrsizingmilldata/index.vue

@ -66,7 +66,8 @@ const dataList = ref([])
const names = ref('');
const queryParams = reactive({
date: formatDate(new Date() , 'YYYY-MM-DD'),
flag: '1'
flag: '1',
iname:''
})
const flagList = ref([])
@ -84,6 +85,8 @@ const resetQuery = async () => {
}
const getList = async () => {
const ll = flagList.value.find(map=>map.value == queryParams.flag);
queryParams.iname = ll?.label
const res = await TjanalysisApi.querySizingmillDay(queryParams)
dataList.value = res.dataList
loading.value = false

5
src/views/tjanalysis/natgasdatacd/index.vue

@ -79,6 +79,7 @@ const dataList = reactive({dList: [] , days: 0})
const queryParams = reactive({
date: formatDate(new Date() , 'YYYY-MM-DD'),
flag:'0',
iname:''
})
const handleQuery = async () => {
@ -97,6 +98,10 @@ const resetQuery = async () => {
}
const getList = async () => {
const ll = flagList.value.find(map=>map.value == queryParams.flag);
queryParams.iname = ll?.label
const res = await TjanalysisApi.queryNatgasDatacdDay(queryParams)
if (res != null && res.dataList != null) {
dataList.dList = res.dataList

5
src/views/tjanalysis/natgasdatahr/index.vue

@ -78,7 +78,8 @@ const icode = 'Gas_Data_008'
const queryParams = reactive({
date: formatDate(new Date() , 'YYYY-MM-DD'),
mcode:'',
icode: icode//
icode: icode,//
iname:''
})
const handleQuery = async () => {
@ -93,6 +94,8 @@ const resetQuery = async () => {
}
const getList = async () => {
const ll = mcodeList.value.find(map=>map.code == queryParams.mcode);
queryParams.iname = ll?.label
const res = await TjanalysisApi.queryNatgasdataDay(queryParams)
if (res != null && res.dataList != null) {
dataList.dList = res.dataList

5
src/views/tjanalysis/natgasdatatotal/index.vue

@ -80,7 +80,8 @@ const name = ref("");
const queryParams = reactive({
date: formatDate(new Date() , 'YYYY-MM-DD'),
flag: 1
flag: 1,
iname:''
})
const handleQuery = async () => {
let aa = flagList.value.find(map=>map.value==queryParams.flag);
@ -96,6 +97,8 @@ const resetQuery = async () => {
}
const getList = async () => {
const ll = flagList.value.find(map=>map.value == queryParams.flag);
queryParams.iname = ll?.label
const res = await TjanalysisApi.queryNatgasdatatotal(queryParams)
if (res != null && res.trList != null) {
dataList.dList = res.trList

2
src/views/tjanalysis/platscale/index.vue

@ -1,6 +1,6 @@
<template>
<ContentWrap>
<!-- 搜索工作栏 -->
<!-- 地衡数据统计搜索工作栏 -->
<el-form :model="queryParams" ref="queryForm" :inline="true">
<el-form-item label="使用单位" prop="ghdw">
<el-input

10
src/views/tjanalysis/waterday/index.vue

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

Loading…
Cancel
Save