52 lines
1.1 KiB
Vue
52 lines
1.1 KiB
Vue
<template>
|
|
<ListViewWithHead
|
|
:table-config="tableConfig"
|
|
:head-config="headFormConfigs"
|
|
:dialog-configs="dialogConfigs"
|
|
:list-query-extra="['key', 'bom', { wsId: 1 }]"
|
|
/>
|
|
</template>
|
|
|
|
<script>
|
|
import initConfig from "./config";
|
|
import ListViewWithHead from "@/views/atomViews/ListViewWithHead.vue";
|
|
|
|
export default {
|
|
name: "BlenderView",
|
|
components: { ListViewWithHead },
|
|
provide() {
|
|
return {
|
|
urls: this.allUrls,
|
|
};
|
|
},
|
|
// urls: {
|
|
// type: Object,
|
|
// required: true,
|
|
// default: () => ({
|
|
// /** 列表 url **/ list: null,
|
|
// /** 分页 url **/ page: null,
|
|
// /** 编辑保存 url **/ edit: null,
|
|
// /** 删除条目 url **/ delete: null,
|
|
// /** 详情 url **/ detail: null,
|
|
// /** 导出 url **/ export: null,
|
|
// /** 导入 url **/ import: null,
|
|
// /** 其他 url **/ other: null,
|
|
// }),
|
|
// },
|
|
data() {
|
|
const { tableConfig, headFormConfigs, urls, dialogConfigs } = initConfig.call(this);
|
|
return {
|
|
tableConfig,
|
|
headFormConfigs,
|
|
allUrls: urls,
|
|
dialogConfigs,
|
|
};
|
|
},
|
|
created() {},
|
|
mounted() {},
|
|
methods: {},
|
|
};
|
|
</script>
|
|
|
|
<style scoped></style>
|