|
@@ -327,6 +327,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
+const { mapActions: mapProduct } = createNamespacedHelpers('enterpriseproject');
|
|
|
export default {
|
|
|
name: 'hall',
|
|
|
props: {},
|
|
@@ -602,8 +603,16 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
}),
|
|
|
- created() {},
|
|
|
- methods: {},
|
|
|
+ created() {
|
|
|
+ this.searchInfo();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ ...mapProduct({ mapProductQuery: 'query' }),
|
|
|
+ async searchInfo({ skip = 0, limit = 10, ...info } = {}) {
|
|
|
+ const res = await this.mapProductQuery({ skip, limit, ...info });
|
|
|
+ console.log(res);
|
|
|
+ },
|
|
|
+ },
|
|
|
computed: {
|
|
|
...mapState(['user']),
|
|
|
pageTitle() {
|