orders.value = await api.post('applications/myTicket_list/execute-proc', params);
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
This commit is contained in:
parent
47c61a7b35
commit
cba6b000fc
|
@ -17,6 +17,7 @@ import { storeToRefs } from 'pinia';
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const jApi = inject('jApi');
|
const jApi = inject('jApi');
|
||||||
|
const api = inject('api');
|
||||||
const { notify } = useNotify();
|
const { notify } = useNotify();
|
||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
const { isHeaderMounted } = storeToRefs(appStore);
|
const { isHeaderMounted } = storeToRefs(appStore);
|
||||||
|
@ -30,7 +31,13 @@ const tpv = tpvStore();
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await tpv.check(route);
|
await tpv.check(route);
|
||||||
|
|
||||||
orders.value = await jApi.query('CALL myTicket_list(NULL, NULL)');
|
const myTickets = await api.post('applications/myTicket_list/execute-proc', new URLSearchParams({
|
||||||
|
schema: 'hedera',
|
||||||
|
params: '[null, null]',
|
||||||
|
}));
|
||||||
|
|
||||||
|
orders.value = myTickets.data;
|
||||||
|
|
||||||
debt.value = await jApi.getValue('SELECT -myClient_getDebt(NULL)');
|
debt.value = await jApi.getValue('SELECT -myClient_getDebt(NULL)');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue