|
@@ -48,6 +48,11 @@ export const PersonalStore = defineStore('personal', () => {
|
|
const res = await axios.$post(`${api.url}/rp`, payload)
|
|
const res = await axios.$post(`${api.url}/rp`, payload)
|
|
return res
|
|
return res
|
|
}
|
|
}
|
|
|
|
+ const pexport = async (payload: any): Promise<IQueryResult> => {
|
|
|
|
+ const res = await axios.$post(`${api.url}/export`, payload)
|
|
|
|
+ return res
|
|
|
|
+ }
|
|
|
|
+
|
|
return {
|
|
return {
|
|
count,
|
|
count,
|
|
doubleCount,
|
|
doubleCount,
|
|
@@ -58,6 +63,7 @@ export const PersonalStore = defineStore('personal', () => {
|
|
update,
|
|
update,
|
|
del,
|
|
del,
|
|
login,
|
|
login,
|
|
- rp
|
|
|
|
|
|
+ rp,
|
|
|
|
+ pexport
|
|
}
|
|
}
|
|
})
|
|
})
|