This commit is contained in:
Viet An
2026-07-02 09:07:59 +07:00
parent 1fc8532ed8
commit e91f0d22c4
52 changed files with 131 additions and 159 deletions

View File

@@ -68,17 +68,14 @@
></Modal>
</template>
<script setup>
import { computed, ref } from "vue";
import { useNuxtApp } from "#app";
import CustomerForm from "~/components/customer/CustomerForm.vue";
import CustomerView from "~/components/customer/CustomerView.vue";
import Modal from "~/components/Modal.vue";
import ImageGallery from "~/components/media/ImageGallery.vue";
const nuxtApp = useNuxtApp();
const { $dialog } = nuxtApp;
const { $dialog } = useNuxtApp();
const store = useStore();
var props = defineProps({
const props = defineProps({
pagename: String,
row: Object,
application: Object,
@@ -86,8 +83,7 @@ var props = defineProps({
handleCustomer: Function,
});
const lang = computed(() => store.lang);
const isVietnamese = computed(() => lang.value === "vi");
const isVietnamese = computed(() => store.lang === "vi");
const emit = defineEmits(["modalevent", "close"]);
var viewport = 5;
var tabs = [

View File

@@ -282,7 +282,7 @@
</button>
<button
class="button is-light"
@click="exportPdf(docid, { filename: record.code })"
@click="$exportPdf(docid, { filename: record.code })"
>
In thông tin
</button>