From 09889368842cc8a1e14a90feec68a677471c8a1f Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 30 Apr 2024 14:51:49 +0200 Subject: [PATCH] feat: frmItemProposal show --- src/pages/Item/Card/ItemBotanical.vue | 4 +- .../{Card => components}/CreateGenusForm.vue | 0 .../{Card => components}/CreateSpecieForm.vue | 0 src/pages/Item/components/ItemProposal.vue | 157 ++++++++++++++++++ .../Ticket/Negative/TicketLackDetail.vue | 4 + src/pages/Ticket/Negative/TicketLackList.vue | 39 +++-- 6 files changed, 188 insertions(+), 16 deletions(-) rename src/pages/Item/{Card => components}/CreateGenusForm.vue (100%) rename src/pages/Item/{Card => components}/CreateSpecieForm.vue (100%) create mode 100644 src/pages/Item/components/ItemProposal.vue diff --git a/src/pages/Item/Card/ItemBotanical.vue b/src/pages/Item/Card/ItemBotanical.vue index 15492de9f..717fe2251 100644 --- a/src/pages/Item/Card/ItemBotanical.vue +++ b/src/pages/Item/Card/ItemBotanical.vue @@ -7,8 +7,8 @@ import FetchData from 'components/FetchData.vue'; import FormModel from 'components/FormModel.vue'; import VnRow from 'components/ui/VnRow.vue'; import VnSelectDialog from 'src/components/common/VnSelectDialog.vue'; -import CreateGenusForm from './CreateGenusForm.vue'; -import CreateSpecieForm from './CreateSpecieForm.vue'; +import CreateGenusForm from '../components/CreateGenusForm.vue'; +import CreateSpecieForm from '../components/CreateSpecieForm.vue'; const route = useRoute(); const { t } = useI18n(); diff --git a/src/pages/Item/Card/CreateGenusForm.vue b/src/pages/Item/components/CreateGenusForm.vue similarity index 100% rename from src/pages/Item/Card/CreateGenusForm.vue rename to src/pages/Item/components/CreateGenusForm.vue diff --git a/src/pages/Item/Card/CreateSpecieForm.vue b/src/pages/Item/components/CreateSpecieForm.vue similarity index 100% rename from src/pages/Item/Card/CreateSpecieForm.vue rename to src/pages/Item/components/CreateSpecieForm.vue diff --git a/src/pages/Item/components/ItemProposal.vue b/src/pages/Item/components/ItemProposal.vue new file mode 100644 index 000000000..5e7b4aa93 --- /dev/null +++ b/src/pages/Item/components/ItemProposal.vue @@ -0,0 +1,157 @@ + + + + + + es: + xx: xx + diff --git a/src/pages/Ticket/Negative/TicketLackDetail.vue b/src/pages/Ticket/Negative/TicketLackDetail.vue index a9d768183..91f3a18a0 100644 --- a/src/pages/Ticket/Negative/TicketLackDetail.vue +++ b/src/pages/Ticket/Negative/TicketLackDetail.vue @@ -207,6 +207,7 @@ const columns = computed(() => [ sortable: true, }, ]); +const { dialogRef, onDialogHide } = useDialogPluginComponent(); const emit = defineEmits([...useDialogPluginComponent.emits, 'selection']); function rowsHasSelected(selection) { @@ -266,6 +267,9 @@ function freeFirst({ alertLevel: a }, { alertLevel: b }) { @on-fetch="(data) => (editableStates = data)" auto-load /> + + { +const viewSummary = (row) => { currentRow.value = row; }; const originDialogRef = ref(); const totalNegativeDialogRef = ref(); +const proposalDialogRef = ref(); const columns = computed(() => [ { name: 'minTimed', @@ -109,10 +108,10 @@ const columns = computed(() => [ + +
@@ -221,12 +232,12 @@ const columns = computed(() => [
- +