รายการเลื่อนเงินเดือนลูกจ้างประจำ
This commit is contained in:
parent
a32bd4573a
commit
ee6603eaae
4 changed files with 43 additions and 60 deletions
|
|
@ -64,27 +64,27 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "position",
|
name: "position",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำแหน่งในสายงาน",
|
label: "ตำแหน่ง",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "position",
|
field: "position",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "posType",
|
name: "posTypeName",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ประเภทตำเเหน่ง",
|
label: "กลุ่มงาน",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "posType",
|
field: "posTypeName",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "posLevel",
|
name: "posLevelName",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ระดับตำเเหน่ง",
|
label: "ระดับชั้นงาน",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "posLevel",
|
field: "posLevelName",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
|
|
@ -112,11 +112,19 @@ function closeModal() {
|
||||||
/** function เรียกรายชื่อ คนเลื่อนเงินเดือน*/
|
/** function เรียกรายชื่อ คนเลื่อนเงินเดือน*/
|
||||||
function fetchListPerson() {
|
function fetchListPerson() {
|
||||||
showLoader();
|
showLoader();
|
||||||
formFilter.rootId = store.rootId;
|
// formFilter.rootId = store.rootId;
|
||||||
formFilter.period = store.roundMainCode;
|
// formFilter.period = store.roundMainCode;
|
||||||
formFilter.year = store.roundYear;
|
// formFilter.year = store.roundYear;
|
||||||
|
const reqBody = {
|
||||||
|
posTypeId: "", // id ประเภทตำแหน่ง
|
||||||
|
posLevelId: "", // id ระดับตำแหน่ง
|
||||||
|
position: "", // ตำแหน่ง
|
||||||
|
page: formFilter.page, //*หน้า
|
||||||
|
pageSize: formFilter.pageSize, //*จำนวนแถวต่อหน้า
|
||||||
|
keyword: formFilter.keyword, //นามสกุล ชื่อ สกุล เลขบัตร
|
||||||
|
};
|
||||||
http
|
http
|
||||||
.post(config.API.salaryListPerson, formFilter)
|
.post(config.API.orgSearchProfileEmp, reqBody)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
const data = res.data.result.data;
|
const data = res.data.result.data;
|
||||||
maxPage.value = Math.ceil(res.data.result.total / formFilter.pageSize);
|
maxPage.value = Math.ceil(res.data.result.total / formFilter.pageSize);
|
||||||
|
|
|
||||||
|
|
@ -68,38 +68,29 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "position",
|
name: "positionName",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำแหน่งในสายงาน",
|
label: "ตำแหน่ง",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "position",
|
field: "positionName",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "posType",
|
name: "posTypeName",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำแหน่งประเภท",
|
label: "กลุ่มงาน",
|
||||||
sortable: false,
|
sortable: false,
|
||||||
field: "posType",
|
field: "posTypeName",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "posLevel",
|
name: "posLevelName",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ระดับตำแหน่ง",
|
label: "ระดับชั้นงาน",
|
||||||
sortable: false,
|
sortable: false,
|
||||||
field: "posLevel",
|
field: "posLevelName",
|
||||||
headerStyle: "font-size: 14px",
|
|
||||||
style: "font-size: 14px",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "posExecutive",
|
|
||||||
align: "left",
|
|
||||||
label: "ตำแหน่งทางการบริหาร",
|
|
||||||
sortable: false,
|
|
||||||
field: "posExecutive",
|
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
|
|
@ -146,10 +137,9 @@ const visibleColumns = ref<string[]>([
|
||||||
"no",
|
"no",
|
||||||
"posNo",
|
"posNo",
|
||||||
"fullName",
|
"fullName",
|
||||||
"position",
|
"positionName",
|
||||||
"posType",
|
"posTypeName",
|
||||||
"posLevel",
|
"posLevelName",
|
||||||
"posExecutive",
|
|
||||||
"amount",
|
"amount",
|
||||||
"amountUse",
|
"amountUse",
|
||||||
"positionSalaryAmount",
|
"positionSalaryAmount",
|
||||||
|
|
|
||||||
|
|
@ -63,37 +63,28 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "posType",
|
name: "posTypeName",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำแหน่งประเภท",
|
label: "กลุ่มงาน",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "posType",
|
field: "posTypeName",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "posExecutive",
|
name: "positionName",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ตำแหน่งทางการบริหาร",
|
label: "ตำแหน่ง",
|
||||||
sortable: true,
|
field: "positionName",
|
||||||
field: "posExecutive",
|
|
||||||
headerStyle: "font-size: 14px",
|
|
||||||
style: "font-size: 14px",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "position",
|
|
||||||
align: "left",
|
|
||||||
label: "ตำแหน่งในสายงาน",
|
|
||||||
field: "position",
|
|
||||||
sortable: true,
|
sortable: true,
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "posLevel",
|
name: "posLevelName",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ระดับตำแหน่ง",
|
label: "ระดับชั้นงาน",
|
||||||
field: "posLevel",
|
field: "posLevelName",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
|
|
@ -174,10 +165,9 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
const visibleColumns = ref<string[]>([
|
const visibleColumns = ref<string[]>([
|
||||||
"no",
|
"no",
|
||||||
"fullName",
|
"fullName",
|
||||||
"posType",
|
"posTypeName",
|
||||||
"posExecutive",
|
"positionName",
|
||||||
"position",
|
"posLevelName",
|
||||||
"posLevel",
|
|
||||||
"amount",
|
"amount",
|
||||||
"organization",
|
"organization",
|
||||||
"result",
|
"result",
|
||||||
|
|
|
||||||
|
|
@ -243,11 +243,6 @@ async function onChangeRound() {
|
||||||
await getAgency(roundFilter.value.revisionId);
|
await getAgency(roundFilter.value.revisionId);
|
||||||
await getAgencyPosition(roundFilter.value.revisionId);
|
await getAgencyPosition(roundFilter.value.revisionId);
|
||||||
if (agencyFilter.value && roundFilter.value.id && snapFilter.value) {
|
if (agencyFilter.value && roundFilter.value.id && snapFilter.value) {
|
||||||
// await fetchSalalyPeriod(
|
|
||||||
// agencyFilter.value,
|
|
||||||
// roundFilter.value.id,
|
|
||||||
// snapFilter.value
|
|
||||||
// );
|
|
||||||
store.tabType = "PENDING";
|
store.tabType = "PENDING";
|
||||||
store.roundMainCode = roundFilter.value.shortCode;
|
store.roundMainCode = roundFilter.value.shortCode;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue