Changes Update User

This commit is contained in:
Thien Pham Van
2026-02-24 11:06:46 +07:00
parent 24dfaf52c4
commit 06f78f95d7
9 changed files with 675 additions and 536 deletions

View File

@@ -1,28 +1,28 @@
<template>
<div class="mx-2">
<a class="ml-5" @click="resetPassword">
<div class="mx-2 has-text-centered">
<a @click="resetPassword">
<SvgIcon v-bind="{ name: 'padlock.png', type: 'gray', size: 20 }"></SvgIcon>
</a>
</div>
</template>
<script setup>
const { $store } = useNuxtApp();
const { $store, $isVietnamese } = useNuxtApp();
const emit = defineEmits(["clickevent"]);
const emit = defineEmits(['clickevent']);
var props = defineProps({
appid: Number,
row: Object,
});
function resetPassword() {
emit("clickevent", {
name: "dataevent",
emit('clickevent', {
name: 'dataevent',
data: {
modal: {
title: $store.lang === "en" ? "Reset password" : "Đặt lại mật khẩu",
height: "300px",
width: "800px",
component: "user/ResetPassword",
title: $isVietnamese() ? 'Đặt lại mật khẩu' : 'Reset password',
height: '300px',
width: '800px',
component: 'user/ResetPassword',
vbind: { row: props.row },
},
},