|
@@ -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,
|