darta page changes
This commit is contained in:
parent
67930dfbbb
commit
39588f6c3b
8
public/config.example.json
Normal file
8
public/config.example.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"API_URL": "http://localhost:8000/api/v3/",
|
||||
"APP_ENVIRONMENT": "DEVELOPMENT",
|
||||
"CLIENT_NAME": "Mavorion Systems",
|
||||
"CLIENT_LOGO": "/img/dolphinfav.ico",
|
||||
"CLIENT_PAGE_TITLE": "Dolphin Dartachalani",
|
||||
"CLIENT_PAGE_TITLE_LOGO": "/img/dolphinfav.ico"
|
||||
}
|
||||
|
|
@ -1,11 +1,22 @@
|
|||
<template>
|
||||
<Modal :title="modal.title" :actions="modal.action" @onClose="onClose"></Modal>
|
||||
<!-- <Modal :title="modal.title" :actions="modal.action" @onClose="onClose"></Modal> -->
|
||||
<Towser
|
||||
:show="dartaChalaniTowserStore.show"
|
||||
:title="towser.title"
|
||||
:actions="towser.action"
|
||||
@onClose="onClose"
|
||||
>
|
||||
|
||||
</Towser>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
|
||||
const modal = ref({
|
||||
import { createGenericStore } from "@/stores/GenericStore";
|
||||
import { createOverlayStore } from "@/stores/OverlayStore";
|
||||
const dartaChalaniStore = createGenericStore("user-meal-schedule")();
|
||||
const dartaChalaniTowserStore = createOverlayStore("darta-chalani-towser")();
|
||||
const towser = ref({
|
||||
show: false,
|
||||
title: [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import { createOverlayStore } from "@/stores/OverlayStore";
|
|||
import { Toast } from "dolphin-components";
|
||||
|
||||
const DartaStore = createGenericStore("darta")();
|
||||
const DartaModalStore = createOverlayStore("darta-modal")();
|
||||
const DartaTowserStore = createOverlayStore("darta-towser")();
|
||||
|
||||
const { itemList } = storeToRefs(DartaStore);
|
||||
|
||||
|
|
@ -93,6 +93,6 @@ const headerDetails = [
|
|||
];
|
||||
|
||||
const onCreate = () => {
|
||||
DartaModalStore.open();
|
||||
DartaTowserStore.open();
|
||||
};
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user