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>
|
<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>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
|
import { createGenericStore } from "@/stores/GenericStore";
|
||||||
const modal = ref({
|
import { createOverlayStore } from "@/stores/OverlayStore";
|
||||||
|
const dartaChalaniStore = createGenericStore("user-meal-schedule")();
|
||||||
|
const dartaChalaniTowserStore = createOverlayStore("darta-chalani-towser")();
|
||||||
|
const towser = ref({
|
||||||
show: false,
|
show: false,
|
||||||
title: [
|
title: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ import { createOverlayStore } from "@/stores/OverlayStore";
|
||||||
import { Toast } from "dolphin-components";
|
import { Toast } from "dolphin-components";
|
||||||
|
|
||||||
const DartaStore = createGenericStore("darta")();
|
const DartaStore = createGenericStore("darta")();
|
||||||
const DartaModalStore = createOverlayStore("darta-modal")();
|
const DartaTowserStore = createOverlayStore("darta-towser")();
|
||||||
|
|
||||||
const { itemList } = storeToRefs(DartaStore);
|
const { itemList } = storeToRefs(DartaStore);
|
||||||
|
|
||||||
|
|
@ -93,6 +93,6 @@ const headerDetails = [
|
||||||
];
|
];
|
||||||
|
|
||||||
const onCreate = () => {
|
const onCreate = () => {
|
||||||
DartaModalStore.open();
|
DartaTowserStore.open();
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user