fix(04): summary
This commit is contained in:
parent
3ddca35589
commit
502e845fb6
1 changed files with 18 additions and 17 deletions
|
|
@ -6,7 +6,6 @@ import { getUserId, getRole } from 'src/services/keycloak';
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import { useQuasar, type QTableProps } from 'quasar';
|
import { useQuasar, type QTableProps } from 'quasar';
|
||||||
|
|
||||||
import FlowDialog from './FlowDialog.vue';
|
|
||||||
import ProductCardComponent from 'components/04_product-service/ProductCardComponent.vue';
|
import ProductCardComponent from 'components/04_product-service/ProductCardComponent.vue';
|
||||||
import StatCard from 'components/StatCardComponent.vue';
|
import StatCard from 'components/StatCardComponent.vue';
|
||||||
import DrawerInfo from 'components/DrawerInfo.vue';
|
import DrawerInfo from 'components/DrawerInfo.vue';
|
||||||
|
|
@ -157,7 +156,6 @@ const actionDisplay = computed(() =>
|
||||||
);
|
);
|
||||||
const holdDialog = ref(false);
|
const holdDialog = ref(false);
|
||||||
const imageDialog = ref(false);
|
const imageDialog = ref(false);
|
||||||
const flowDialog = ref(false);
|
|
||||||
const currentNode = ref<ProductGroup & { type: string }>();
|
const currentNode = ref<ProductGroup & { type: string }>();
|
||||||
const expandedTree = ref<string[]>([]);
|
const expandedTree = ref<string[]>([]);
|
||||||
const editByTree = ref<'group' | 'type' | undefined>();
|
const editByTree = ref<'group' | 'type' | undefined>();
|
||||||
|
|
@ -1404,11 +1402,6 @@ async function fetchImageList(
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
function openFlowDialog() {
|
|
||||||
flowDialog.value = true;
|
|
||||||
console.log('flow call');
|
|
||||||
}
|
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
utilsStore.currentTitle.title = 'productService.title';
|
utilsStore.currentTitle.title = 'productService.title';
|
||||||
utilsStore.currentTitle.path = [
|
utilsStore.currentTitle.path = [
|
||||||
|
|
@ -1576,6 +1569,24 @@ watch(
|
||||||
<div class="full-height column no-wrap">
|
<div class="full-height column no-wrap">
|
||||||
<div class="text-body-2 q-mb-xs flex items-center">
|
<div class="text-body-2 q-mb-xs flex items-center">
|
||||||
{{ $t('general.dataSum') }}
|
{{ $t('general.dataSum') }}
|
||||||
|
<q-badge
|
||||||
|
rounded
|
||||||
|
class="q-ml-sm"
|
||||||
|
style="
|
||||||
|
background-color: hsla(var(--info-bg) / 0.15);
|
||||||
|
color: hsl(var(--info-bg));
|
||||||
|
"
|
||||||
|
>
|
||||||
|
{{
|
||||||
|
productMode === 'group'
|
||||||
|
? stat[0].count
|
||||||
|
: productMode === 'service'
|
||||||
|
? stat[1].count
|
||||||
|
: productMode === 'product'
|
||||||
|
? stat[2].count
|
||||||
|
: 0
|
||||||
|
}}
|
||||||
|
</q-badge>
|
||||||
<q-btn
|
<q-btn
|
||||||
class="q-ml-xs"
|
class="q-ml-xs"
|
||||||
icon="mdi-pin-outline"
|
icon="mdi-pin-outline"
|
||||||
|
|
@ -1588,14 +1599,6 @@ watch(
|
||||||
:style="hideStat ? 'rotate: 90deg' : ''"
|
:style="hideStat ? 'rotate: 90deg' : ''"
|
||||||
style="transition: 0.1s ease-in-out"
|
style="transition: 0.1s ease-in-out"
|
||||||
/>
|
/>
|
||||||
<!-- <q-btn
|
|
||||||
label="flow"
|
|
||||||
dense
|
|
||||||
padding="0px 8px"
|
|
||||||
unelevated
|
|
||||||
color="primary"
|
|
||||||
@click="openFlowDialog"
|
|
||||||
/> -->
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<transition name="slide">
|
<transition name="slide">
|
||||||
|
|
@ -4611,8 +4614,6 @@ watch(
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</ImageUploadDialog>
|
</ImageUploadDialog>
|
||||||
|
|
||||||
<FlowDialog v-model="flowDialog" />
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue