wuhongyu 5 năm trước cách đây
mục cha
commit
9a4c0d9629
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      store/market/enterpriseproject.js

+ 10 - 0
store/market/enterpriseproject.js

@@ -29,6 +29,16 @@ const actions = {
     const res = await this.$axios.$get(`${api.columnInfo}/newfetch/${payload}`);
     return res;
   },
+
+  async newquery({ commit }, { skip = 0, limit, ...info } = {}) {
+    const res = await this.$axios.$get(`${api.columnInfo}`, {
+      skip,
+      limit,
+      ...info,
+    });
+    return res;
+  },
+
   async update({ commit }, { id, ...data }) {
     const res = await this.$axios.$post(`${api.columnInfo}/update/${id}`, data);
     return res;