แก้ข้อความเลื่อนเงินเดือนลูกจ้าง
This commit is contained in:
parent
795649729b
commit
ffdcc4e49a
3 changed files with 15 additions and 15 deletions
|
|
@ -122,7 +122,7 @@ const baseColumns = ref<QTableProps["columns"]>([
|
|||
{
|
||||
name: "amount",
|
||||
align: "left",
|
||||
label: "เงินเดือนฐาน",
|
||||
label: "ค่าจ้างปัจจุบัน",
|
||||
sortable: false,
|
||||
field: "amount",
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
@ -141,7 +141,7 @@ const baseColumns = ref<QTableProps["columns"]>([
|
|||
{
|
||||
name: "positionSalaryAmount",
|
||||
align: "left",
|
||||
label: "เงินเดือนหลังเลื่อน",
|
||||
label: "ค่าจ้างหลังเลื่อน",
|
||||
sortable: false,
|
||||
field: "positionSalaryAmount",
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
@ -201,15 +201,15 @@ const modalDialogMoveLeve = ref<boolean>(false);
|
|||
const profileId = ref<string>("");
|
||||
const amount = ref<number>(0);
|
||||
|
||||
/** function openPopup เพิ่มคนเลื่อนเงินเดือน*/
|
||||
/** function openPopup เพิ่มคนเลื่อนค่าจ้าง*/
|
||||
function onClickAddPerson() {
|
||||
modalDialogAddPerson.value = !modalDialogAddPerson.value;
|
||||
}
|
||||
|
||||
/**
|
||||
* function openPopup แก้ไขเงินเดือน
|
||||
* function openPopup แก้ไขค่าจ้าง
|
||||
* @param id profileId
|
||||
* @param amountSalary จำนวนเงินเดือน
|
||||
* @param amountSalary จำนวนค่าจ้าง
|
||||
*
|
||||
*/
|
||||
function onClickEdit(id: string, amountSalary: number) {
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
{
|
||||
name: "amount",
|
||||
align: "left",
|
||||
label: "เงินเดือน",
|
||||
label: "ค่าจ้าง",
|
||||
field: "amount",
|
||||
sortable: true,
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
@ -150,7 +150,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
{
|
||||
name: "posSalary",
|
||||
align: "center",
|
||||
label: "ประวัติตำแหน่ง/เงินเดือน",
|
||||
label: "ประวัติตำแหน่ง/ค่าจ้าง",
|
||||
sortable: false,
|
||||
field: "posSalary",
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
@ -229,15 +229,15 @@ function onClickDelete(id: string) {
|
|||
});
|
||||
}
|
||||
|
||||
/** function openPopup เพิ่มคนเลื่อนเงินเดือน*/
|
||||
/** function openPopup เพิ่มคนเลื่อนค่าจ้าง*/
|
||||
function onClickAddPerson() {
|
||||
modalDialogAddPerson.value = !modalDialogAddPerson.value;
|
||||
}
|
||||
|
||||
/**
|
||||
* function openPopup แก้ไขเงินเดือน
|
||||
* function openPopup แก้ไขค่าจ้าง
|
||||
* @param id profileId
|
||||
* @param amountSalary จำนวนเงินเดือน
|
||||
* @param amountSalary จำนวนค่าจ้าง
|
||||
*
|
||||
*/
|
||||
function onClickEdit(id: string, amountSalary: number) {
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ const lastPage = ref<number>(0);
|
|||
const loading = ref(false);
|
||||
const nextPage = ref<number>(1);
|
||||
|
||||
/**function เรียกข้อมูลรอบการขึ้นเงินเดือน*/
|
||||
/**function เรียกข้อมูลรอบการขึ้นค่าจ้าง*/
|
||||
function getRound() {
|
||||
roundOptions.value = [];
|
||||
isDisable.value = false;
|
||||
|
|
@ -210,7 +210,7 @@ async function getAgencyPosition(id: string) {
|
|||
/**
|
||||
*
|
||||
* @param rootId id หน่วยงาน
|
||||
* @param periodId id รอบการขึ้นเงินเดือน
|
||||
* @param periodId id รอบการขึ้นค่าจ้าง
|
||||
* @param snap id รอบ
|
||||
*/
|
||||
function fetchSalalyPeriod(rootId: string, periodId: string, snap: string) {
|
||||
|
|
@ -242,7 +242,7 @@ function fetchSalalyPeriod(rootId: string, periodId: string, snap: string) {
|
|||
}
|
||||
}
|
||||
|
||||
/** function เปลี่ยนรอบการขั้นเงินเดือน*/
|
||||
/** function เปลี่ยนรอบการขั้นค่าจ้าง*/
|
||||
async function onChangeRound() {
|
||||
// เก็บสถานะการปิดรอบในตัวแปร isClosedRound เพื่อใช้ในการเช็ค
|
||||
store.isClosedRound = roundFilter.value.isClose;
|
||||
|
|
@ -292,7 +292,7 @@ async function onChangeAgency() {
|
|||
}
|
||||
}
|
||||
|
||||
/** function onScrollSelect รอบการขึ้นเงินเดือน*/
|
||||
/** function onScrollSelect รอบการขึ้นค่าจ้าง*/
|
||||
function onScroll({ to, ref }: { to: number; ref: any }) {
|
||||
const lastIndex = roundOptions.value.length - 1;
|
||||
|
||||
|
|
@ -382,7 +382,7 @@ onMounted(() => {
|
|||
<q-select
|
||||
class="q-ml-xs"
|
||||
v-model="roundFilter"
|
||||
label="รอบการขึ้นเงินเดือน"
|
||||
label="รอบการขึ้นค่าจ้าง"
|
||||
dense
|
||||
outlined
|
||||
map-options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue