33 lines
648 B
Vue
33 lines
648 B
Vue
|
<template>
|
||
|
<ListViewWithHead :table-configs="tableConfigs" :head-config="headFormConfigs" :dialog-configs="dialogConfigs" />
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import initConfig from './config';
|
||
|
import ListViewWithHead from './components/ListViewWithHead.vue';
|
||
|
|
||
|
export default {
|
||
|
name: 'OrderView',
|
||
|
components: { ListViewWithHead },
|
||
|
provide() {
|
||
|
return {
|
||
|
urls: this.allUrls
|
||
|
}
|
||
|
},
|
||
|
data() {
|
||
|
const { tableConfigs, headFormConfigs, urls, dialogConfigs } = initConfig.call(this);
|
||
|
return {
|
||
|
tableConfigs,
|
||
|
headFormConfigs,
|
||
|
allUrls: urls,
|
||
|
dialogConfigs,
|
||
|
};
|
||
|
},
|
||
|
created() {},
|
||
|
mounted() {},
|
||
|
methods: {},
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style scoped></style>
|