From cd22e15d940ac5f5a1590d54ea49eaf39e1c7ad8 Mon Sep 17 00:00:00 2001 From: prabidhi Date: Thu, 18 Dec 2025 10:14:27 +0545 Subject: [PATCH] darta create page fixed --- src/views/Darta/Create.vue | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/src/views/Darta/Create.vue b/src/views/Darta/Create.vue index 53d4094..308db91 100644 --- a/src/views/Darta/Create.vue +++ b/src/views/Darta/Create.vue @@ -192,7 +192,6 @@ - @@ -210,9 +209,8 @@ const { payload, selectedItems, errors } = storeToRefs(dartaStore); const documentCategoryStore = createGenericStore("document-category")(); const documentTypeStore = createGenericStore("document-type")(); const departmentStore = createGenericStore("department")(); -const emit = defineEmits(["onSave"]); +// const emit = defineEmits(["onSave"]); const towser = ref({ - title: [{ name: "Darta", link: "#" }, { name: "Create" }], title: [{ name: "Darta", link: "#" }, { name: "Create" }], action: [ { @@ -225,24 +223,6 @@ const towser = ref({ }, ], }); -}); - -const departments = ref([ - { id: 1, name: "Administration" }, - { id: 2, name: "HR" }, -]); -const documentCategories = ref([ - { id: 1, name: "Confidential" }, - { id: 2, name: "Public" }, -]); -const departments = ref([ - { id: 1, name: "Administration" }, - { id: 2, name: "HR" }, -]); -const documentCategories = ref([ - { id: 1, name: "Confidential" }, - { id: 2, name: "Public" }, -]); const formData = reactive({ department: null, @@ -256,15 +236,6 @@ const formData = reactive({ issuedDate: "", dispatchDate: "", attachments: [] as File[], - documentNumber: "", - subject: "", - body: "", - recipientName: "", - recipientContact: "", - recipientAddress: "", - issuedDate: "", - dispatchDate: "", - attachments: [] as File[], }); const fileInputRef = ref(null);