|
@@ -55,6 +55,14 @@ export const PatentStore = defineStore('patent', () => {
|
|
|
const res = await axios.$get(`${api.url}/deletion`)
|
|
|
return res
|
|
|
}
|
|
|
+ const pexport = async (payload: any): Promise<IQueryResult> => {
|
|
|
+ const res = await axios.$post(`${api.url}/export`, payload)
|
|
|
+ return res
|
|
|
+ }
|
|
|
+ const pqueue = async (): Promise<IQueryResult> => {
|
|
|
+ const res = await axios.$get(`${api.url}/findFromQueue`)
|
|
|
+ return res
|
|
|
+ }
|
|
|
|
|
|
return {
|
|
|
count,
|
|
@@ -68,6 +76,8 @@ export const PatentStore = defineStore('patent', () => {
|
|
|
pimport,
|
|
|
pupdateuser,
|
|
|
pdelmany,
|
|
|
- pdeletion
|
|
|
+ pdeletion,
|
|
|
+ pexport,
|
|
|
+ pqueue
|
|
|
}
|
|
|
})
|