|
@@ -63,6 +63,12 @@ export const PatentStore = defineStore('patent', () => {
|
|
const res = await axios.$get(`${api.url}/findFromQueue`)
|
|
const res = await axios.$get(`${api.url}/findFromQueue`)
|
|
return res
|
|
return res
|
|
}
|
|
}
|
|
|
|
+ const userquery = async ({ ...info }: IQueryParams = {}): Promise<IQueryResult> => {
|
|
|
|
+ let cond: IQueryType = {}
|
|
|
|
+ cond = { ...cond, ...info }
|
|
|
|
+ const res = await axios.$get(`${api.url}/personQuery`, cond)
|
|
|
|
+ return res
|
|
|
|
+ }
|
|
|
|
|
|
return {
|
|
return {
|
|
count,
|
|
count,
|
|
@@ -78,6 +84,7 @@ export const PatentStore = defineStore('patent', () => {
|
|
pdelmany,
|
|
pdelmany,
|
|
pdeletion,
|
|
pdeletion,
|
|
pexport,
|
|
pexport,
|
|
- pqueue
|
|
|
|
|
|
+ pqueue,
|
|
|
|
+ userquery
|
|
}
|
|
}
|
|
})
|
|
})
|