guhongwei преди 3 години
родител
ревизия
8bdff5e9d4
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      src/store/patent/patenttrans.js

+ 4 - 0
src/store/patent/patenttrans.js

@@ -40,6 +40,10 @@ const actions = {
     const res = await this.$axios.$post(`${api.patenttrans}/check`, payload);
     return res;
   },
+  async toImport({ commit }, payload) {
+    const res = await this.$axios.$post(`${api.patenttrans}/toImport`, payload);
+    return res;
+  },
 };
 export default {
   namespaced: true,