Browse Source

优化

master
blankk 2 years ago
parent
commit
6d864d3072
  1. 5
      src/views/data/currdata/index.vue

5
src/views/data/currdata/index.vue

@ -89,6 +89,7 @@
<script> <script>
import barChart from "@/components/ChartTimeLineBar"; import barChart from "@/components/ChartTimeLineBar";
import {formatDate} from "@/utils/common";
export default { export default {
name: "Currdata", name: "Currdata",
components:{ components:{
@ -141,9 +142,9 @@ export default {
position: 0, position: 0,
// //
ChartData:{ ChartData:{
endTime: new Date().getTime(), endTime: formatDate(new Date().getTime(),'yyyy-MM-dd hh:mm:ss'),
stnmId: null, stnmId: null,
startTime: new Date().getTime()- 3600 * 1000 * 24, startTime: formatDate(new Date().getTime()- 3600 * 1000 * 24,'yyyy-MM-dd hh:mm:ss'),
dataType: '-1' dataType: '-1'
}, },
dataTypes:[ dataTypes:[

Loading…
Cancel
Save