This commit is contained in:
Abhishek 2025-12-18 10:20:55 +05:45
commit 8bdb293d9d

View File

@ -192,7 +192,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
</Towser> </Towser>
</template> </template>
@ -210,9 +209,8 @@ const { payload, selectedItems, errors } = storeToRefs(dartaStore);
const documentCategoryStore = createGenericStore("document-category")(); const documentCategoryStore = createGenericStore("document-category")();
const documentTypeStore = createGenericStore("document-type")(); const documentTypeStore = createGenericStore("document-type")();
const departmentStore = createGenericStore("department")(); const departmentStore = createGenericStore("department")();
const emit = defineEmits(["onSave"]); // const emit = defineEmits(["onSave"]);
const towser = ref({ const towser = ref({
title: [{ name: "Darta", link: "#" }, { name: "Create" }],
title: [{ name: "Darta", link: "#" }, { name: "Create" }], title: [{ name: "Darta", link: "#" }, { name: "Create" }],
action: [ action: [
{ {
@ -226,24 +224,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({ const formData = reactive({
department: null, department: null,
documentCategory: null, documentCategory: null,
@ -256,15 +236,6 @@ const formData = reactive({
issuedDate: "", issuedDate: "",
dispatchDate: "", dispatchDate: "",
attachments: [] as File[], attachments: [] as File[],
documentNumber: "",
subject: "",
body: "",
recipientName: "",
recipientContact: "",
recipientAddress: "",
issuedDate: "",
dispatchDate: "",
attachments: [] as File[],
}); });
const fileInputRef = ref<HTMLInputElement | null>(null); const fileInputRef = ref<HTMLInputElement | null>(null);