wuhongyu 5 년 전
부모
커밋
9a4c0d9629
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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;