จัดการผู้ใช้งาน => เพิ่มผู้ใช้งาน => เพิ่ม column prefix, ลบ btn แก้ไข

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-14 11:42:57 +07:00
parent 1e061649e0
commit 293642fd02
5 changed files with 50 additions and 20 deletions

View file

@ -109,12 +109,12 @@ const userId = ref<string>("");
/** List Mune*/
const itemMenu = ref<ItemsMenu[]>([
{
label: "แก้ไข",
icon: "edit",
color: "edit",
type: "edit",
},
// {
// label: "",
// icon: "edit",
// color: "edit",
// type: "edit",
// },
{
label: "จัดการสิทธิ์",
icon: "mdi-account-group",

View file

@ -198,6 +198,7 @@ const reqMaster = reactive<FilterReqMaster>({
const maxPage = ref<number>(0);
const totalRow = ref<number>(0);
const posMaster = ref<PosMaster[]>([]);
const dataPosMaster = ref<PosMaster>();
const pagination = ref<Pagination>({
page: reqMaster.page,
rowsPerPage: reqMaster.pageSize,
@ -310,6 +311,7 @@ function updatePagination(newPagination: Pagination) {
function onClickAddRole(data: PosMaster) {
modalDialogAdd.value = true;
dataPosMaster.value = data;
}
/** callblck function ทำการ fetch ข้อมูล tree เมื่อมีการเปลี่ยน Tab ปัจจับัน,แบบร่าง*/
@ -681,6 +683,7 @@ onMounted(() => {
<DialogAdd
v-model:modal="modalDialogAdd"
v-model:reqMaster="reqMaster"
:dataPosMaster="dataPosMaster as PosMaster"
:fetchDataTable="fetchDataTable"
/>
</template>