47 lines
1.0 KiB
Vue
47 lines
1.0 KiB
Vue
<template>
|
|
<ListViewWithHead
|
|
:table-config="tableConfig"
|
|
:head-config="headFormConfigs"
|
|
:dialog-configs="dialogConfigs"
|
|
:list-query-extra="[
|
|
/** { pos: [] } **/
|
|
]"
|
|
:trigger-update="triggerUpdateKey"
|
|
:car-payload-dialog-configs="carPayloadDialogConfigs"
|
|
/>
|
|
</template>
|
|
|
|
<script>
|
|
import initConfig from "./config";
|
|
import ListViewWithHead from "@/views/atomViews/ListViewWithHead.vue";
|
|
|
|
export default {
|
|
name: "currentCarLocationView",
|
|
components: { ListViewWithHead },
|
|
provide() {
|
|
return {
|
|
urls: this.allUrls,
|
|
};
|
|
},
|
|
data() {
|
|
const { tableConfig, headFormConfigs, urls, carPayloadDialogConfigs, dialogConfigs } = initConfig.call(this);
|
|
return {
|
|
carPayloadDialogConfigs,
|
|
tableConfig,
|
|
headFormConfigs,
|
|
allUrls: urls,
|
|
dialogConfigs,
|
|
triggerUpdateKey: "",
|
|
};
|
|
},
|
|
created() {},
|
|
mounted() {},
|
|
methods: {},
|
|
activated() {
|
|
this.triggerUpdateKey = Math.random().toString();
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style scoped></style>
|