no message
This commit is contained in:
parent
d46a12b4ca
commit
a8d35e8719
1 changed files with 7 additions and 19 deletions
|
|
@ -65,7 +65,7 @@
|
||||||
@click="addCaretaker"
|
@click="addCaretaker"
|
||||||
/>
|
/>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="caretakerCount > 1 && routeName == 'probationWorkAdd'"
|
v-if="caretakerCount > 2 && routeName == 'probationWorkAdd'"
|
||||||
round
|
round
|
||||||
color="red"
|
color="red"
|
||||||
dense
|
dense
|
||||||
|
|
@ -75,9 +75,7 @@
|
||||||
@click="resetCaretakers"
|
@click="resetCaretakers"
|
||||||
><q-tooltip>รีเช็ต</q-tooltip></q-btn
|
><q-tooltip>รีเช็ต</q-tooltip></q-btn
|
||||||
>
|
>
|
||||||
<q-chip color="primary" text-color="white" icon="flag_circle">
|
|
||||||
{{ caretakerCount }}
|
|
||||||
</q-chip>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12 row q-col-gutter-md">
|
<div class="col-12 row q-col-gutter-md">
|
||||||
|
|
@ -127,9 +125,7 @@
|
||||||
@click="resetActivity"
|
@click="resetActivity"
|
||||||
><q-tooltip>รีเช็ต</q-tooltip></q-btn
|
><q-tooltip>รีเช็ต</q-tooltip></q-btn
|
||||||
>
|
>
|
||||||
<q-chip color="primary" text-color="white" icon="flag_circle">
|
|
||||||
{{ activityCount }}
|
|
||||||
</q-chip>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 row q-gutter-md">
|
<div class="col-12 row q-gutter-md">
|
||||||
<q-card
|
<q-card
|
||||||
|
|
@ -200,13 +196,7 @@
|
||||||
@click="resetKnowledge"
|
@click="resetKnowledge"
|
||||||
><q-tooltip>รีเช็ต</q-tooltip></q-btn
|
><q-tooltip>รีเช็ต</q-tooltip></q-btn
|
||||||
>
|
>
|
||||||
<q-chip
|
|
||||||
color="primary"
|
|
||||||
text-color="white"
|
|
||||||
icon="flag_circle"
|
|
||||||
>
|
|
||||||
{{ knowledgeCount }}
|
|
||||||
</q-chip>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 row q-col-gutter-sm">
|
<div class="col-12 row q-col-gutter-sm">
|
||||||
<div v-for="item in knowledgeCount" class="col-12">
|
<div v-for="item in knowledgeCount" class="col-12">
|
||||||
|
|
@ -654,9 +644,7 @@
|
||||||
@click="resetProductivity"
|
@click="resetProductivity"
|
||||||
><q-tooltip>รีเช็ต</q-tooltip></q-btn
|
><q-tooltip>รีเช็ต</q-tooltip></q-btn
|
||||||
>
|
>
|
||||||
<q-chip color="primary" text-color="white" icon="flag_circle">
|
|
||||||
{{ productivityCount }}
|
|
||||||
</q-chip>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 row q-gutter-md">
|
<div class="col-12 row q-gutter-md">
|
||||||
<q-card v-for="item in productivityCount" flat bordered class="col-12 q-pa-sm bg-grey-1">
|
<q-card v-for="item in productivityCount" flat bordered class="col-12 q-pa-sm bg-grey-1">
|
||||||
|
|
@ -1088,7 +1076,7 @@ const routeName = router.currentRoute.value.name;
|
||||||
const name = ref<string>("นายสมคิด ยอดใจ");
|
const name = ref<string>("นายสมคิด ยอดใจ");
|
||||||
const position = ref<string>("นักจัดการงานทั่วไป");
|
const position = ref<string>("นักจัดการงานทั่วไป");
|
||||||
|
|
||||||
const caretakerCount = ref<number>(1);
|
const caretakerCount = ref<number>(2);
|
||||||
const caretakerMax = ref<number>(6);
|
const caretakerMax = ref<number>(6);
|
||||||
const caretakers = ref<string[]>(Array(caretakerCount.value).fill(""));
|
const caretakers = ref<string[]>(Array(caretakerCount.value).fill(""));
|
||||||
const caretaker2 = ref<string>("");
|
const caretaker2 = ref<string>("");
|
||||||
|
|
@ -1107,7 +1095,7 @@ const getOptions = (item: number) => {
|
||||||
return OPcaretaker;
|
return OPcaretaker;
|
||||||
};
|
};
|
||||||
const resetCaretakers = () => {
|
const resetCaretakers = () => {
|
||||||
caretakerCount.value = 1;
|
caretakerCount.value = 2;
|
||||||
caretakers.value = Array(caretakerCount.value).fill("");
|
caretakers.value = Array(caretakerCount.value).fill("");
|
||||||
};
|
};
|
||||||
//-----------------(3.1)-----------//
|
//-----------------(3.1)-----------//
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue