|
@@ -19,18 +19,18 @@
|
19
|
19
|
<el-option v-for="item in carOptions" :key="item.parkId" :label="item.carParkName" :value="item.parkId"></el-option>
|
20
|
20
|
</el-select>
|
21
|
21
|
</el-form-item>
|
22
|
|
- <el-form-item label="查询日期">
|
23
|
|
- <el-date-picker
|
24
|
|
- clearable
|
25
|
|
- v-model="formInline.time"
|
26
|
|
- type="daterange"
|
27
|
|
- range-separator="至"
|
28
|
|
- start-placeholder="开始日期"
|
29
|
|
- value-format="yyyy-MM-dd"
|
30
|
|
- :picker-options="{disabledDate: (time) => time.getTime() > Date.now()}"
|
31
|
|
- end-placeholder="结束日期">
|
32
|
|
- </el-date-picker>
|
33
|
|
- </el-form-item>
|
|
22
|
+<!-- <el-form-item label="查询日期">-->
|
|
23
|
+<!-- <el-date-picker-->
|
|
24
|
+<!-- clearable-->
|
|
25
|
+<!-- v-model="formInline.time"-->
|
|
26
|
+<!-- type="daterange"-->
|
|
27
|
+<!-- range-separator="至"-->
|
|
28
|
+<!-- start-placeholder="开始日期"-->
|
|
29
|
+<!-- value-format="yyyy-MM-dd"-->
|
|
30
|
+<!-- :picker-options="{disabledDate: (time) => time.getTime() > Date.now()}"-->
|
|
31
|
+<!-- end-placeholder="结束日期">-->
|
|
32
|
+<!-- </el-date-picker>-->
|
|
33
|
+<!-- </el-form-item>-->
|
34
|
34
|
<el-form-item>
|
35
|
35
|
<el-button type="primary" @click="queryAll">查询</el-button>
|
36
|
36
|
</el-form-item>
|
|
@@ -131,7 +131,7 @@ export default {
|
131
|
131
|
keyAreas: '',
|
132
|
132
|
streetName: '',
|
133
|
133
|
parkId: '',
|
134
|
|
- time: [],
|
|
134
|
+ // time: [],
|
135
|
135
|
}
|
136
|
136
|
}
|
137
|
137
|
},
|
|
@@ -149,16 +149,16 @@ export default {
|
149
|
149
|
},
|
150
|
150
|
queryAll() {
|
151
|
151
|
let params = {...this.formInline}
|
152
|
|
- if (
|
153
|
|
- this.formInline.time && this.formInline.time.length === 2 &&
|
154
|
|
- this.formInline.time[1] !== ""
|
155
|
|
- ) {
|
156
|
|
- this.formInline.time[0] = this.formInline.time[0].substring(0, 10) + " 00:00:00";
|
157
|
|
- this.formInline.time[1] = this.formInline.time[1].substring(0, 10) + " 23:59:59";
|
158
|
|
- params.begin= this.formInline.time[0]
|
159
|
|
- params.end = this.formInline.time[1]
|
160
|
|
- }
|
161
|
|
- delete params.time
|
|
152
|
+ // if (
|
|
153
|
+ // this.formInline.time && this.formInline.time.length === 2 &&
|
|
154
|
+ // this.formInline.time[1] !== ""
|
|
155
|
+ // ) {
|
|
156
|
+ // this.formInline.time[0] = this.formInline.time[0].substring(0, 10) + " 00:00:00";
|
|
157
|
+ // this.formInline.time[1] = this.formInline.time[1].substring(0, 10) + " 23:59:59";
|
|
158
|
+ // params.begin= this.formInline.time[0]
|
|
159
|
+ // params.end = this.formInline.time[1]
|
|
160
|
+ // }
|
|
161
|
+ // delete params.time
|
162
|
162
|
this.dashBerthsInformationStat1(params)
|
163
|
163
|
this.dashBerthsInformationStat2(params)
|
164
|
164
|
this.dashBerthsInformationStat3(params)
|