pms-aomei/src/views/modules/pms/palletizingLine/index.vue
2023-03-23 14:52:33 +08:00

47 lines
985 B
Vue

<template>
<ListViewWithHead
:table-config="tableConfig"
:head-config="headFormConfigs"
:dialog-configs="dialogConfigs"
:listQueryExtra="[{ pos: [1, 7] }]"
:trigger-update="triggerUpdateKey"
key="pallet"
/>
<!-- attach-list-query-data="code" -->
</template>
<script>
import initConfig from "./config";
import ListViewWithHead from "@/views/atomViews/ListViewWithHead.vue";
export default {
name: "PalletizingLineView",
components: { ListViewWithHead },
provide() {
return {
urls: this.allUrls,
};
},
computed: {
code() {
return this.$route.query.code || "";
},
},
data() {
const { tableConfig, headFormConfigs, urls, dialogConfigs } = initConfig.call(this);
return {
tableConfig,
headFormConfigs,
allUrls: urls,
dialogConfigs,
triggerUpdateKey: "",
};
},
activated() {
this.triggerUpdateKey = Math.random().toString();
},
};
</script>
<style scoped></style>