فهرست منبع

Merge branch 'master' of http://git.cc-lotus.info/service-platform/web-website

wuhongyuq 5 سال پیش
والد
کامیت
210f75db2a
2فایلهای تغییر یافته به همراه12 افزوده شده و 3 حذف شده
  1. 11 2
      src/views/live/hall/hall.vue
  2. 1 1
      vue.config.js

+ 11 - 2
src/views/live/hall/hall.vue

@@ -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() {

+ 1 - 1
vue.config.js

@@ -53,7 +53,7 @@ module.exports = {
         // pathRewrite: { '^/api/affairs': '/api' },
       },
       '/api/talent': {
-        target: 'http://free.liaoningdoupo.com',
+        target: 'http://10.16.10.72:9000',
         changeOrigin: true,
         ws: true,
         // pathRewrite: { '^/api/affairs': '/api' },