From 7deb7b6414b8474c9418e6af02892750397fc9f6 Mon Sep 17 00:00:00 2001 From: Surya Paolo Date: Fri, 2 Dec 2022 10:44:57 +0100 Subject: [PATCH] Added Bar Selector City at the Top ! --- src/components/CBarSelection/CBarSelection.ts | 6 + .../CBarSelection/CBarSelection.vue | 410 +++++++++--------- src/components/CFinder/CFinder.vue | 140 +++--- src/components/CGridTableRec/CGridTableRec.ts | 57 ++- src/components/CMySelect/CMySelect.ts | 3 +- src/components/CMySelect/CMySelect.vue | 8 +- src/components/CTitlePage/CTitlePage.vue | 1 + src/css/app.scss | 8 +- 8 files changed, 328 insertions(+), 305 deletions(-) diff --git a/src/components/CBarSelection/CBarSelection.ts b/src/components/CBarSelection/CBarSelection.ts index 594680c7..31eaf38e 100755 --- a/src/components/CBarSelection/CBarSelection.ts +++ b/src/components/CBarSelection/CBarSelection.ts @@ -136,7 +136,13 @@ export default defineComponent({ tablesel.value = props.table }) + watch(() => globalStore.myselector.data, (newval, oldval) => { + const rec = searchList.value.find((myrec) => myrec.table === toolsext.TABCITIES) // check if exist + if (rec) { + rec.value = globalStore.myselector.data + } + }) const labelcombo = computed(() => (item: any) => { let lab = item.label diff --git a/src/components/CBarSelection/CBarSelection.vue b/src/components/CBarSelection/CBarSelection.vue index daaccb55..1b5f849b 100755 --- a/src/components/CBarSelection/CBarSelection.vue +++ b/src/components/CBarSelection/CBarSelection.vue @@ -3,234 +3,210 @@ :class="$q.screen.lt.sm ? `` : `q-pa-xs`" v-if="isfinishLoading && mycolumns" > -
-
-
- -
- -
- - -
- - - -
- - - -
- + + + +
+ + - + +
+ + - - - - - - - + + +
+
+
+
+
- +
+ +
+