186 changed files with 98 additions and 0 deletions
@ -0,0 +1,98 @@ |
|||
<template> |
|||
<w-dialog ref="dialogRef" :title="$t('erm.appetite.spread.detail.dialog.title')" width="1200px" height="700px" :can-maximize="false"> |
|||
<q-tabs v-model="selectedTabRef" inline-label active-bg-color="primary" active-color="white"> |
|||
<q-tab name="businessObject" icon="bi-graph-up-arrow" :label="$t('erm.appetite.spread.businessObject.grid.title')" no-caps> </q-tab> |
|||
<q-tab name="industry" icon="bi-grid-3x3-gap" :label="$t('erm.appetite.spread.industry.grid.title')" no-caps> </q-tab> |
|||
<q-tab name="shareholder" icon="bi-people" :label="$t('erm.appetite.spread.shareholder.grid.title')" no-caps> </q-tab> |
|||
<q-tab name="supervision" icon="bi-stoplights" :label="$t('erm.appetite.spread.supervision.grid.title')" no-caps> </q-tab> |
|||
<q-tab name="coreIndicator" icon="bi-speedometer2" :label="$t('erm.appetite.spread.coreIndicator.grid.title')" no-caps> </q-tab> |
|||
</q-tabs> |
|||
<q-tab-panels v-model="selectedTabRef" swipeable vertical transition-prev="jump-up" transition-next="jump-up"> |
|||
<q-tab-panel name="businessObject"> |
|||
<SpreadBusinessObject :relation-id="currentIdRef"></SpreadBusinessObject> |
|||
</q-tab-panel> |
|||
<q-tab-panel name="industry"> |
|||
<SpreadIndustry :relation-id="currentIdRef"></SpreadIndustry> |
|||
</q-tab-panel> |
|||
<q-tab-panel name="shareholder"> |
|||
<SpreadShareholder :relation-id="currentIdRef"></SpreadShareholder> |
|||
</q-tab-panel> |
|||
<q-tab-panel name="supervision"> |
|||
<SreadSupervision :relation-id="currentIdRef"></SreadSupervision> |
|||
</q-tab-panel> |
|||
<q-tab-panel name="coreIndicator"> |
|||
<SreadCoreIndicator :relation-id="currentIdRef"></SreadCoreIndicator> |
|||
</q-tab-panel> |
|||
</q-tab-panels> |
|||
<!-- |
|||
<div class="p-2"> |
|||
<q-list padding bordered class="rounded-borders" dense> |
|||
<q-expansion-item expand-separator icon="bi-geo-alt" :label="$t('erm.appetite.spread.businessObject.grid.title')" default-opened class="bg-neutral-200"> |
|||
<q-card> |
|||
<q-card-section class="p-0"> |
|||
<SpreadBusinessObject :relation-id="currentIdRef"></SpreadBusinessObject> |
|||
</q-card-section> |
|||
</q-card> |
|||
</q-expansion-item> |
|||
<q-expansion-item expand-separator icon="bi-geo-alt" :label="$t('erm.appetite.spread.industry.grid.title')" default-opened class="bg-neutral-200"> |
|||
<q-card> |
|||
<q-card-section class="p-0"> |
|||
<SpreadIndustry :relation-id="currentIdRef"></SpreadIndustry> |
|||
</q-card-section> |
|||
</q-card> |
|||
</q-expansion-item> |
|||
<q-expansion-item expand-separator icon="bi-geo-alt" :label="$t('erm.appetite.spread.shareholder.grid.title')" default-opened class="bg-neutral-200"> |
|||
<q-card> |
|||
<q-card-section class="p-0"> |
|||
<SpreadShareholder :relation-id="currentIdRef"></SpreadShareholder> |
|||
</q-card-section> |
|||
</q-card> |
|||
</q-expansion-item> |
|||
<q-expansion-item expand-separator icon="bi-geo-alt" :label="$t('erm.appetite.spread.supervision.grid.title')" default-opened class="bg-neutral-200"> |
|||
<q-card> |
|||
<q-card-section class="p-0"> |
|||
<SreadSupervision :relation-id="currentIdRef"></SreadSupervision> |
|||
</q-card-section> |
|||
</q-card> |
|||
</q-expansion-item> |
|||
<q-expansion-item expand-separator icon="bi-geo-alt" :label="$t('erm.appetite.spread.coreIndicator.grid.title')" default-opened class="bg-neutral-200"> |
|||
<q-card> |
|||
<q-card-section class="p-0"> |
|||
<SreadCoreIndicator :relation-id="currentIdRef"></SreadCoreIndicator> |
|||
</q-card-section> |
|||
</q-card> |
|||
</q-expansion-item> |
|||
</q-list> |
|||
</div> |
|||
--> |
|||
</w-dialog> |
|||
</template> |
|||
<script setup lang="ts"> |
|||
import { ref, onUpdated } from 'vue'; |
|||
import { axios, Environment, NotifyManager, Tools, DictionaryTools } from 'platform-core'; |
|||
import SpreadBusinessObject from './SpreadBusinessObject.vue'; |
|||
import SpreadIndustry from './SpreadIndustry.vue'; |
|||
import SpreadShareholder from './SpreadShareholder.vue'; |
|||
import SreadSupervision from './SreadSupervision.vue'; |
|||
import SreadCoreIndicator from './SreadCoreIndicator.vue'; |
|||
|
|||
const dialogRef = ref(); |
|||
const selectedTabRef = ref('businessObject'); |
|||
const currentIdRef = ref(''); |
|||
|
|||
const open = (id: string) => { |
|||
currentIdRef.value = id; |
|||
dialogRef.value.show(); |
|||
}; |
|||
|
|||
const close = () => { |
|||
dialogRef.value.hide(); |
|||
}; |
|||
|
|||
defineExpose({ |
|||
open, |
|||
close, |
|||
}); |
|||
|
|||
const BANK_BUSINESS = await DictionaryTools.fetch('BANK_BUSINESS'); |
|||
</script> |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue