guhongwei 3 năm trước cách đây
mục cha
commit
1a7c4576b7
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/store/question/investigation.js

+ 4 - 0
src/store/question/investigation.js

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