สรรหา เพิ่มคะแนนแบบสอบถาม
This commit is contained in:
parent
9001e513a6
commit
057e5d4848
2 changed files with 35 additions and 2 deletions
|
|
@ -110,6 +110,35 @@
|
|||
</div>
|
||||
</div>
|
||||
</q-card>
|
||||
<q-card bordered flat class="col-12 row q-mt-md">
|
||||
<div class="q-pa-md row">
|
||||
<div class="col-12 text-weight-bold row items-center">
|
||||
แบบสอบถามความพึงพอใจ
|
||||
<q-space />
|
||||
</div>
|
||||
<div class="row items-center q-gutter-y-sm col-12">
|
||||
<div class="col-xs-4 col-sm-5 q-pr-sm text-grey-7">
|
||||
คะแนนความพึงพอใจ
|
||||
</div>
|
||||
<div class="col-xs-8 col-sm-6 q-pr-xs">
|
||||
<q-rating
|
||||
v-model="reviewPoint"
|
||||
:max="reviewPoint"
|
||||
size="2em"
|
||||
color="orange"
|
||||
class="full-width"
|
||||
readonly
|
||||
/>
|
||||
</div>
|
||||
<div class="col-xs-4 col-sm-5 q-pr-sm text-grey-7">
|
||||
ความคิดเห็น/ข้อแนะนำ
|
||||
</div>
|
||||
<div class="col-xs-8 col-sm-6 q-pr-xs">
|
||||
{{ review }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</q-card>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
|
@ -149,6 +178,8 @@ const scoreSum = ref<number | null>(null);
|
|||
const examResultinscore = ref<string>("");
|
||||
const avatar = ref<string>("");
|
||||
const score_expired = ref<Date>(new Date());
|
||||
const reviewPoint = ref<number>();
|
||||
const review = ref<string>("-");
|
||||
|
||||
onMounted(async () => {
|
||||
await fetchCard();
|
||||
|
|
@ -192,6 +223,8 @@ const fetchCard = async () => {
|
|||
avatar.value = data.avatar;
|
||||
score_expired.value = new Date(data.announcementDate);
|
||||
number.value = data.number;
|
||||
reviewPoint.value = data.reviewPoint;
|
||||
review.value = data.review == null ? "-" : data.review;
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
|
|||
|
|
@ -182,8 +182,8 @@ const fecthlistprofile = async (id: string) => {
|
|||
organizationOrganization: e.organizationOrganization,
|
||||
positionType: e.positionType,
|
||||
position: e.position,
|
||||
positionNumber: e.posNoEmployee,
|
||||
positionLavel: e.positionEmployeeLevel,
|
||||
positionNumber: e.posNo,
|
||||
positionLavel: e.position,
|
||||
bureau: e.oc,
|
||||
reason: e.reason,
|
||||
remove: e.remove,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue