guhongwei hace 4 años
padre
commit
14d44c465b
Se han modificado 1 ficheros con 8 adiciones y 12 borrados
  1. 8 12
      src/store/jobinfo.js

+ 8 - 12
src/store/jobinfo.js

@@ -15,18 +15,14 @@ export const actions = {
     let result;
     if (type === 'list') {
       let { schid, is_practice, ...searchInfo } = data;
-      result = await this.$axios.$get(
-        api.list,
-        {},
-        {
-          schid: schid,
-          is_practice: is_practice,
-          skip: skip,
-          limit: limit,
-          status: 1,
-          ...searchInfo,
-        }
-      );
+      result = await this.$axios.$get(api.list, {
+        schid: schid,
+        is_practice: is_practice,
+        skip: skip,
+        limit: limit,
+        status: 1,
+        ...searchInfo,
+      });
     }
     if (type === 'search') {
       let { id } = data;