Commit 63e1b20c by 李君

12

1 parent e5388b75
...@@ -28,8 +28,8 @@ Component({ ...@@ -28,8 +28,8 @@ Component({
trendtypes: 'PassengerFlow', //选中的客流趋势类型 trendtypes: 'PassengerFlow', //选中的客流趋势类型
chartData: {}, //客流趋势分析数据 chartData: {}, //客流趋势分析数据
show: false, //显示日期自定义选择 show: false, //显示日期自定义选择
minDate: new Date(2022, 0, 1).getTime(), //自定义时间的开始日期 minDate: new Date(2020, 0, 1).getTime(), //自定义时间的开始日期
maxDate: new Date(2022, 11, 31).getTime(), //自定义时间的结束日期 // maxDate: new Date(2222, 0, 31).getTime(), //自定义时间的结束日期
rankData: [], rankData: [],
indexVal: 'PassengerFlow', indexVal: 'PassengerFlow',
indexList: [{ indexList: [{
......
...@@ -88,6 +88,6 @@ ...@@ -88,6 +88,6 @@
</view> </view>
<!-- 自定义时间选择器 --> <!-- 自定义时间选择器 -->
<van-calendar show="{{ show }}" min-date="{{ minDate }}" max-date="{{ maxDate }}" bind:close="onClose" color="#447bff" bind:confirm="onConfirm" type='range' /> <van-calendar show="{{ show }}" min-date="{{ minDate }}" bind:close="onClose" color="#447bff" bind:confirm="onConfirm" type='range' />
</view> </view>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -78,5 +78,5 @@ ...@@ -78,5 +78,5 @@
<basic chartId='chartDataAge' chartData="{{chartDataAge}}" height="500rpx"></basic> <basic chartId='chartDataAge' chartData="{{chartDataAge}}" height="500rpx"></basic>
</view> </view>
<!-- 自定义时间选择器 --> <!-- 自定义时间选择器 -->
<van-calendar show="{{ show }}" min-date="{{ minDate }}" max-date="{{ maxDate }}" bind:close="onClose" color="#447bff" bind:confirm="onConfirm" type='range' /> <van-calendar show="{{ show }}" min-date="{{ minDate }}" bind:close="onClose" color="#447bff" bind:confirm="onConfirm" type='range' />
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -2,18 +2,6 @@ ...@@ -2,18 +2,6 @@
const App = getApp(); const App = getApp();
const customBehavior = require('../../../extends/custom.behavior.js'); const customBehavior = require('../../../extends/custom.behavior.js');
import _ from 'underscore'; import _ from 'underscore';
import * as echarts from '../../../ec-canvas/echarts';
import {
echartInfo
} from '../../../utils/common';
import chartData from '../../../data';
import {
getReportCharts,
getIndexInfo
} from "../../../api/index.js";
import {
getCharts
} from "../../../api/report.js";
Component({ Component({
......
...@@ -2,18 +2,6 @@ ...@@ -2,18 +2,6 @@
const App = getApp(); const App = getApp();
const customBehavior = require('../../../extends/custom.behavior.js'); const customBehavior = require('../../../extends/custom.behavior.js');
import _ from 'underscore'; import _ from 'underscore';
import * as echarts from '../../../ec-canvas/echarts';
import {
echartInfo
} from '../../../utils/common';
import chartData from '../../../data';
import {
getReportCharts,
getIndexInfo
} from "../../../api/index.js";
import {
getCharts
} from "../../../api/report.js";
import cardConfig from '../../../utils/card' import cardConfig from '../../../utils/card'
Component({ Component({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!