commentcode มอบหมายหน้าที่ความรับผิดชอบ
This commit is contained in:
parent
e7568373c8
commit
0e106cd116
2 changed files with 27 additions and 15 deletions
|
|
@ -30,7 +30,7 @@ const nodes = ref<Array<NodeTree[]>>([]); // ข้อมูลโครงส
|
|||
const lazy = ref(nodes);
|
||||
const expanded = ref<string[]>([]); // แสดงข้อมูลในโหนดที่เลือก
|
||||
const nodeId = ref<string>(""); // id โหนด
|
||||
const isOfficer = ref<boolean>(false);
|
||||
const isOfficer = ref<boolean>(false); //แสดง columns สกจ.
|
||||
|
||||
/** Table*/
|
||||
const columns = ref<QTableProps["columns"]>([
|
||||
|
|
@ -192,8 +192,8 @@ const reqMaster = reactive<FilterReqMaster>({
|
|||
keyword: "",
|
||||
revisionId: "",
|
||||
});
|
||||
const maxPage = ref<number>(0);
|
||||
const totalRow = ref<number>(0);
|
||||
const maxPage = ref<number>(0); //จำนวนหน้า
|
||||
const totalRow = ref<number>(0); //จำนวนข้อมูล
|
||||
const posMaster = ref<PosMaster[]>([]); // ข้อมูลรายการตำแหน่ง
|
||||
const dataPosMaster = ref<PosMaster>(); // ข้อมูลตำแหน่ง
|
||||
const pagination = ref<Pagination>({
|
||||
|
|
@ -201,11 +201,9 @@ const pagination = ref<Pagination>({
|
|||
rowsPerPage: reqMaster.pageSize,
|
||||
});
|
||||
|
||||
const modalDialog = ref<boolean>(false);
|
||||
const modalDialog = ref<boolean>(false); // popup กำหนดหน้าที่ความรับผิดชอบ
|
||||
|
||||
/**
|
||||
* function เรียกข้อมูลโครงสร้าง แบบปัจุบัน
|
||||
*/
|
||||
/** function เรียกข้อมูลโครงสร้าง แบบปัจุบัน*/
|
||||
async function fetchOrganizationActive() {
|
||||
showLoader();
|
||||
await http
|
||||
|
|
@ -301,6 +299,10 @@ function updatePagination(newPagination: Pagination) {
|
|||
reqMaster.page = 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* function กำหนดหน้าที่ความรับผิดชอบ
|
||||
* @param data ข้อมูลรายการที่ต้องการกำหนดหน้าที่ความรับผิดชอบ
|
||||
*/
|
||||
function onClickAddRole(data: PosMaster) {
|
||||
modalDialog.value = true;
|
||||
dataPosMaster.value = data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue