แก้บัคทะเบียนประวัติ

This commit is contained in:
Kittapath 2024-02-07 08:05:41 +07:00
parent 25a8fb9aa2
commit 4b07d2d3d5
15 changed files with 41 additions and 37 deletions

View file

@ -44,8 +44,8 @@
icon="mdi-history" icon="mdi-history"
@click="clickHistory(props.row)" @click="clickHistory(props.row)"
> >
<q-tooltip>ประวแกไขผลการประเมนการปฏราชการ</q-tooltip> <q-tooltip>ประวแกไขผลการประเมนการปฏราชการ</q-tooltip>
</q-btn> </q-btn>
</q-td> </q-td>
</q-tr> </q-tr>
</template> </template>
@ -62,9 +62,7 @@
/> />
<q-separator /> <q-separator />
<q-card-section class="q-p-sm"> <q-card-section class="q-p-sm">
<div <div class="row col-12 q-col-gutter-x-xs q-col-gutter-y-xs">
class="row col-12 q-col-gutter-x-xs q-col-gutter-y-xs"
>
<div class="col-xs-12 col-sm-12 col-md-12"> <div class="col-xs-12 col-sm-12 col-md-12">
<datepicker <datepicker
menu-class-name="modalfix" menu-class-name="modalfix"
@ -626,7 +624,7 @@ const fetchData = async () => {
messageError($q, e); messageError($q, e);
}) })
.finally(() => { .finally(() => {
store.isLoad++ store.isLoad++;
}); });
} }
}; };
@ -903,6 +901,7 @@ const clickEditRow = () => {
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
tittleHistory.value = "ประวัติแก้ไขผลการประเมินการปฏิบัติราชการ"; tittleHistory.value = "ประวัติแก้ไขผลการประเมินการปฏิบัติราชการ";
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileAssessmentHisId(row.id)) .get(config.API.profileAssessmentHisId(row.id))

View file

@ -781,6 +781,7 @@ const clickHistory = async (row: RequestItemsObject) => {
? "ประวัติแก้ไขประกาศลูกจ้างดีเด่น" ? "ประวัติแก้ไขประกาศลูกจ้างดีเด่น"
: "ประวัติแก้ไขประกาศเกียรติคุณ"; : "ประวัติแก้ไขประกาศเกียรติคุณ";
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileHonorHisId(row.id)) .get(config.API.profileHonorHisId(row.id))

View file

@ -43,8 +43,8 @@
icon="mdi-history" icon="mdi-history"
@click="clickHistory(props.row)" @click="clickHistory(props.row)"
> >
<q-tooltip>ประวแกไขว</q-tooltip> <q-tooltip>ประวแกไขว</q-tooltip>
</q-btn> </q-btn>
</q-td> </q-td>
</q-tr> </q-tr>
</template> </template>
@ -58,9 +58,7 @@
<DialogHeader tittle="วินัย" :close="clickClose" /> <DialogHeader tittle="วินัย" :close="clickClose" />
<q-separator /> <q-separator />
<q-card-section class="q-p-sm"> <q-card-section class="q-p-sm">
<div <div class="row col-12 q-col-gutter-x-xs q-col-gutter-y-xs">
class="row col-12 q-col-gutter-x-xs q-col-gutter-y-xs"
>
<div class="col-xs-6 col-sm-6 col-md-6"> <div class="col-xs-6 col-sm-6 col-md-6">
<datepicker <datepicker
menu-class-name="modalfix" menu-class-name="modalfix"
@ -617,7 +615,7 @@ const fetchData = async () => {
messageError($q, e); messageError($q, e);
}) })
.finally(() => { .finally(() => {
store.isLoad++ store.isLoad++;
}); });
} }
}; };
@ -885,6 +883,7 @@ const clickEditRow = () => {
*/ */
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileDisHisId(row.id)) .get(config.API.profileDisHisId(row.id))

View file

@ -1495,6 +1495,7 @@ const clickEditRow = () => {
*/ */
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileEduHisId(row.id)) .get(config.API.profileEduHisId(row.id))

View file

@ -62,9 +62,9 @@
> >
<q-tooltip>เพมขอม</q-tooltip> <q-tooltip>เพมขอม</q-tooltip>
</q-btn> </q-btn>
<q-btn size="12px" flat round color="add" @click="add" :icon="iconAdd"> <!-- <q-btn size="12px" flat round color="add" @click="add" :icon="iconAdd">
<q-tooltip>สรปวนลา</q-tooltip> <q-tooltip>สรปวนลา</q-tooltip>
</q-btn> </q-btn> -->
</div> </div>
<div class="q-pl-sm" v-else> <div class="q-pl-sm" v-else>

View file

@ -1279,6 +1279,7 @@ const clickEditRow = () => {
*/ */
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileInsignHisId(row.id)) .get(config.API.profileInsignHisId(row.id))

View file

@ -152,7 +152,7 @@
</template> </template>
</datepicker> </datepicker>
</div> </div>
<div class="col-xs-3 col-sm-3 col-md-3"> <div class="col-xs-6 col-sm-6 col-md-6">
<q-input <q-input
:class="getClass(edit)" :class="getClass(edit)"
:outlined="edit" :outlined="edit"
@ -168,7 +168,7 @@
@update:modelValue="clickEditRow" @update:modelValue="clickEditRow"
/> />
</div> </div>
<div class="col-xs-3 col-sm-3 col-md-3"> <!-- <div class="col-xs-3 col-sm-3 col-md-3">
<q-input <q-input
:class="getClass(false)" :class="getClass(false)"
:outlined="true" :outlined="true"
@ -184,7 +184,7 @@
:label="`${'จำนวนวันที่ลามาแล้ว'}`" :label="`${'จำนวนวันที่ลามาแล้ว'}`"
@update:modelValue="clickEditRow" @update:modelValue="clickEditRow"
/> />
</div> </div> -->
<div class="col-xs-6 col-sm-6 col-md-6"> <div class="col-xs-6 col-sm-6 col-md-6">
<selector <selector
:class="getClass(edit)" :class="getClass(edit)"
@ -776,6 +776,7 @@ const filterSelector = (val: any, update: Function, filtername: string) => {
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileLeaveHisId(row.id)) .get(config.API.profileLeaveHisId(row.id))

View file

@ -570,6 +570,7 @@ const clickEditRow = () => {
*/ */
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileOtherHisId(row.id)) .get(config.API.profileOtherHisId(row.id))

View file

@ -43,8 +43,10 @@
icon="mdi-history" icon="mdi-history"
@click="clickHistory(props.row)" @click="clickHistory(props.row)"
> >
<q-tooltip>ประวแกไขวนทไดปฏหนาทอยในเขตทไดประกาศใชกฎอยการศ</q-tooltip> <q-tooltip
</q-btn> >ประวแกไขวนทไดปฏหนาทอยในเขตทไดประกาศใชกฎอยการศ</q-tooltip
>
</q-btn>
</q-td> </q-td>
</q-tr> </q-tr>
</template> </template>
@ -61,9 +63,7 @@
/> />
<q-separator /> <q-separator />
<q-card-section class="q-p-sm"> <q-card-section class="q-p-sm">
<div <div class="row col-12 q-col-gutter-x-xs q-col-gutter-y-xs">
class="row col-12 q-col-gutter-x-xs q-col-gutter-y-xs"
>
<div class="col-xs-6 col-sm-6 col-md-6"> <div class="col-xs-6 col-sm-6 col-md-6">
<datepicker <datepicker
menu-class-name="modalfix" menu-class-name="modalfix"
@ -507,7 +507,7 @@ const fetchData = async () => {
messageError($q, e); messageError($q, e);
}) })
.finally(() => { .finally(() => {
store.isLoad++ store.isLoad++;
}); });
} }
}; };
@ -770,6 +770,7 @@ const clickEditRow = () => {
*/ */
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileNopaidHisId(row.id)) .get(config.API.profileNopaidHisId(row.id))

View file

@ -2249,6 +2249,7 @@ const clickEditRowRef = () => {
*/ */
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileSalaryHisId(row.id)) .get(config.API.profileSalaryHisId(row.id))

View file

@ -1989,6 +1989,7 @@ const clickEditRowRef = () => {
*/ */
const clickHistory = async (row: RequestItemsEmployee) => { const clickHistory = async (row: RequestItemsEmployee) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileSalaryEmployeeHisId(row.id)) .get(config.API.profileSalaryEmployeeHisId(row.id))

View file

@ -2017,6 +2017,7 @@ const clickEditRowRef = () => {
*/ */
const clickHistory = async (row: RequestItemsEmployee) => { const clickHistory = async (row: RequestItemsEmployee) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileSalaryEmployeeHisId(row.id)) .get(config.API.profileSalaryEmployeeHisId(row.id))

View file

@ -37,9 +37,8 @@
icon="mdi-history" icon="mdi-history"
@click="clickHistory(props.row)" @click="clickHistory(props.row)"
> >
<q-tooltip>ประวแกไขความสามารถพเศษ <q-tooltip>ประวแกไขความสามารถพเศษ </q-tooltip>
</q-tooltip> </q-btn>
</q-btn>
</q-td> </q-td>
</q-tr> </q-tr>
</template> </template>
@ -53,9 +52,7 @@
<DialogHeader tittle="ความสามารถพิเศษ" :close="clickClose" /> <DialogHeader tittle="ความสามารถพิเศษ" :close="clickClose" />
<q-separator /> <q-separator />
<q-card-section class="q-p-sm"> <q-card-section class="q-p-sm">
<div <div class="row col-12 q-col-gutter-x-xs q-col-gutter-y-xs">
class="row col-12 q-col-gutter-x-xs q-col-gutter-y-xs"
>
<div class="col-6"> <div class="col-6">
<q-input <q-input
:class="getClass(edit)" :class="getClass(edit)"
@ -380,7 +377,7 @@ const fetchData = async () => {
messageError($q, e); messageError($q, e);
}) })
.finally(() => { .finally(() => {
store.isLoad++ store.isLoad++;
}); });
} }
}; };
@ -636,6 +633,7 @@ const clickEditRow = () => {
*/ */
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileAbiliHisId(row.id)) .get(config.API.profileAbiliHisId(row.id))

View file

@ -1069,6 +1069,7 @@ const clickEditRow = () => {
*/ */
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileTrainHisId(row.id)) .get(config.API.profileTrainHisId(row.id))

View file

@ -47,9 +47,8 @@
icon="mdi-history" icon="mdi-history"
@click="clickHistory(props.row)" @click="clickHistory(props.row)"
> >
<q-tooltip>ประวแกไขปฏราชการพเศษ <q-tooltip>ประวแกไขปฏราชการพเศษ </q-tooltip>
</q-tooltip> </q-btn>
</q-btn>
</q-td> </q-td>
</q-tr> </q-tr>
</template> </template>
@ -63,9 +62,7 @@
<DialogHeader tittle="ปฏิบัติราชการพิเศษ" :close="clickClose" /> <DialogHeader tittle="ปฏิบัติราชการพิเศษ" :close="clickClose" />
<q-separator /> <q-separator />
<q-card-section class="q-p-sm"> <q-card-section class="q-p-sm">
<div <div class="row col-12 q-col-gutter-x-xs q-col-gutter-y-xs">
class="row col-12 q-col-gutter-x-xs q-col-gutter-y-xs"
>
<div class="col-xs-6 col-sm-6 col-md-6"> <div class="col-xs-6 col-sm-6 col-md-6">
<datepicker <datepicker
menu-class-name="modalfix" menu-class-name="modalfix"
@ -583,7 +580,7 @@ const fetchData = async () => {
messageError($q, e); messageError($q, e);
}) })
.finally(() => { .finally(() => {
store.isLoad++ store.isLoad++;
}); });
} }
}; };
@ -851,6 +848,7 @@ const clickEditRow = () => {
*/ */
const clickHistory = async (row: RequestItemsObject) => { const clickHistory = async (row: RequestItemsObject) => {
modalHistory.value = true; modalHistory.value = true;
filterHistory.value = "";
showLoader(); showLoader();
await http await http
.get(config.API.profileDutyHisId(row.id)) .get(config.API.profileDutyHisId(row.id))