|
@@ -47,7 +47,6 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import getUrlParams from "../../../utils/getUrlParams.js";
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -62,17 +61,18 @@
|
|
|
|
|
|
}
|
|
|
},
|
|
|
- onShow() {
|
|
|
- let locationLocaturl = window.location.hash;
|
|
|
- this.orderID = getUrlParams(locationLocaturl,"orderID");
|
|
|
- this.orderInTime = getUrlParams(locationLocaturl,"orderInTime");
|
|
|
- this.orderOutTime = getUrlParams(locationLocaturl,"orderOutTime");
|
|
|
- this.orderSpaceName = getUrlParams(locationLocaturl,"orderSpaceName");
|
|
|
- this.orderVehicleNo = getUrlParams(locationLocaturl,"orderVehicleNo");
|
|
|
-
|
|
|
+ onLoad(page) {
|
|
|
+ this.orderID = page.orderID;
|
|
|
+ this.orderInTime = page.orderInTime;
|
|
|
+ this.orderOutTime = page.orderOutTime;
|
|
|
+ this.orderSpaceName = page.orderSpaceName;
|
|
|
+ this.orderVehicleNo = page.orderVehicleNo;
|
|
|
this.handleEntranceOutDetail();
|
|
|
|
|
|
},
|
|
|
+ onShow() {
|
|
|
+ this.handleEntranceOutDetail();
|
|
|
+ },
|
|
|
methods:{
|
|
|
openPage(path) {
|
|
|
console.log('path',path);
|