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