新增
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2024-04-15 10:49:13
|
||||
* @LastEditTime: 2024-04-17 16:14:31
|
||||
* @LastEditTime: 2024-04-28 10:19:11
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
@@ -9,7 +9,7 @@
|
||||
<div style="display: flex; flex-direction: column; min-height: calc(100vh - 96px - 31px)">
|
||||
<div class="app-container" style="padding: 16px 24px 0;height: auto; flex-grow: 1;">
|
||||
<div style="background: #fff; height: 70px; width:100%">
|
||||
<ButtonNav :menus="['水', '电', '气']" :button-mode="true" @change="currentMenu = $event">
|
||||
<ButtonNav :menus="['水', '电', '气']" :button-mode="true" @change="handleChange">
|
||||
</ButtonNav>
|
||||
</div>
|
||||
<el-form :model="listQuery" :inline="true" ref="dataForm" class="blueTip">
|
||||
@@ -94,7 +94,7 @@
|
||||
|
||||
<script>
|
||||
// import { parseTime } from '../../core/mixins/code-filter';
|
||||
// import { getGlassPage, exportGlasscExcel } from '@/api/report/glass';
|
||||
import { getEnergyPage } from '@/api/energy';
|
||||
// import inputTable from './inputTable.vue';
|
||||
import lineChart from './lineChart';
|
||||
import moment from 'moment'
|
||||
@@ -303,9 +303,12 @@ export default {
|
||||
mounted() {
|
||||
this.getDict()
|
||||
// this.getCurrentYearFirst()
|
||||
// this.getDataList()
|
||||
this.getDataList()
|
||||
},
|
||||
methods: {
|
||||
handleChange(e) {
|
||||
console.log(e);
|
||||
},
|
||||
buttonClick() {
|
||||
|
||||
},
|
||||
@@ -461,6 +464,7 @@ export default {
|
||||
|
||||
},
|
||||
async getDataList() {
|
||||
const res = await getEnergyPage(this.listQuery)
|
||||
},
|
||||
add0(m) {
|
||||
return m < 10 ? '0' + m : m
|
||||
|
||||
Reference in New Issue
Block a user