guhongwei 3 年之前
父节点
当前提交
749bd98416
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      src/store/patent/patentapply.js

+ 10 - 1
src/store/patent/patentapply.js

@@ -10,7 +10,11 @@ const mutations = {};
 
 const actions = {
   async query({ commit }, { skip = 0, limit = 10, ...info } = {}) {
-    const res = await this.$axios.$get(api.patentapply, { skip, limit, ...info });
+    const res = await this.$axios.$get(api.patentapply, {
+      skip,
+      limit,
+      ...info,
+    });
     return res;
   },
   async create({ commit }, payload) {
@@ -31,6 +35,11 @@ const actions = {
     const res = await this.$axios.$delete(`${api.patentapply}/${payload}`);
     return res;
   },
+  // 审核
+  async check({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.interface}/check`, payload);
+    return res;
+  },
 };
 export default {
   namespaced: true,