จัดการผู้ใช้งาน => เพิ่มผู้ใช้งาน => เพิ่ม column prefix, ลบ btn แก้ไข
This commit is contained in:
parent
1e061649e0
commit
293642fd02
5 changed files with 50 additions and 20 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue