ปรับข้อความรอบประเมิน

This commit is contained in:
Warunee Tamkoo 2024-07-12 13:41:54 +07:00
parent f82e3727e4
commit eb9e512b5d
4 changed files with 33 additions and 32 deletions

View file

@ -177,9 +177,9 @@ function fetchRoundOption() {
id: e.id,
name:
e.durationKPI === "OCT"
? "รอบตุลาคม"
? "รอบที่ 2 ตุลาคม"
: e.durationKPI === "APR"
? "รอบเมษายน"
? "รอบที่ 1 เมษายน"
: "",
isClosed: !e.isActive,
}));
@ -271,10 +271,10 @@ function updateSelect() {
search.value = "";
}
function getOrgOp(check: boolean,id:string) {
function getOrgOp(check: boolean, id: string) {
if (check == false) {
http
.get(config.API.Kpiorg+`/${id}`)
.get(config.API.Kpiorg + `/${id}`)
.then((res) => {
const data = res.data.result;
evaluatorIdMainOp.value = data.caregiver.map((i: any) => ({
@ -461,7 +461,7 @@ watch(
color="primary"
dense
v-model="props.selected"
@click="getOrgOp(props.selected,props.row.id)"
@click="getOrgOp(props.selected, props.row.id)"
/>
</q-td>
<q-td