wuhongyu %!s(int64=5) %!d(string=hai) anos
pai
achega
9a4c0d9629
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  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;