moved to orders tab
This commit is contained in:
parent
20dc241c89
commit
7771201c32
2 changed files with 24 additions and 16 deletions
|
|
@ -5,7 +5,7 @@ window.app = Vue.createApp({
|
||||||
mixins: [window.windowMixin],
|
mixins: [window.windowMixin],
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
activeTab: 'merchant',
|
activeTab: 'orders',
|
||||||
selectedStallFilter: null,
|
selectedStallFilter: null,
|
||||||
merchant: {},
|
merchant: {},
|
||||||
shippingZones: [],
|
shippingZones: [],
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,12 @@
|
||||||
indicator-color="primary"
|
indicator-color="primary"
|
||||||
align="left"
|
align="left"
|
||||||
>
|
>
|
||||||
|
<q-tab
|
||||||
|
name="orders"
|
||||||
|
label="Orders"
|
||||||
|
icon="receipt_long"
|
||||||
|
style="min-width: 120px"
|
||||||
|
></q-tab>
|
||||||
<q-tab
|
<q-tab
|
||||||
name="merchant"
|
name="merchant"
|
||||||
label="Merchant"
|
label="Merchant"
|
||||||
|
|
@ -42,6 +48,23 @@
|
||||||
<q-separator></q-separator>
|
<q-separator></q-separator>
|
||||||
|
|
||||||
<q-tab-panels v-model="activeTab" animated>
|
<q-tab-panels v-model="activeTab" animated>
|
||||||
|
<!-- Orders Tab -->
|
||||||
|
<q-tab-panel name="orders">
|
||||||
|
<q-card-section>
|
||||||
|
<div class="text-h6">Orders</div>
|
||||||
|
</q-card-section>
|
||||||
|
<q-separator></q-separator>
|
||||||
|
<q-card-section class="q-pt-none">
|
||||||
|
<order-list
|
||||||
|
ref="orderListRef"
|
||||||
|
:adminkey="g.user.wallets[0].adminkey"
|
||||||
|
:inkey="g.user.wallets[0].inkey"
|
||||||
|
:customer-pubkey-filter="orderPubkey"
|
||||||
|
@customer-selected="customerSelectedForOrder"
|
||||||
|
></order-list>
|
||||||
|
</q-card-section>
|
||||||
|
</q-tab-panel>
|
||||||
|
|
||||||
<!-- Merchant Tab -->
|
<!-- Merchant Tab -->
|
||||||
<q-tab-panel name="merchant">
|
<q-tab-panel name="merchant">
|
||||||
<merchant-tab
|
<merchant-tab
|
||||||
|
|
@ -99,21 +122,6 @@
|
||||||
<!-- Messages Tab -->
|
<!-- Messages Tab -->
|
||||||
</q-tab-panels>
|
</q-tab-panels>
|
||||||
</q-card>
|
</q-card>
|
||||||
<q-card class="q-mt-md">
|
|
||||||
<q-card-section>
|
|
||||||
<div class="text-h6">Orders</div>
|
|
||||||
</q-card-section>
|
|
||||||
<q-separator></q-separator>
|
|
||||||
<q-card-section class="q-pt-none">
|
|
||||||
<order-list
|
|
||||||
ref="orderListRef"
|
|
||||||
:adminkey="g.user.wallets[0].adminkey"
|
|
||||||
:inkey="g.user.wallets[0].inkey"
|
|
||||||
:customer-pubkey-filter="orderPubkey"
|
|
||||||
@customer-selected="customerSelectedForOrder"
|
|
||||||
></order-list>
|
|
||||||
</q-card-section>
|
|
||||||
</q-card>
|
|
||||||
</div>
|
</div>
|
||||||
<q-card v-else>
|
<q-card v-else>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue