updated probation response
This commit is contained in:
parent
fd0a109cc4
commit
43dec2d05f
2 changed files with 6 additions and 5 deletions
|
|
@ -30,7 +30,8 @@ const idInboxActive = ref<string>(); // Id ข้อความที่เล
|
|||
|
||||
const filteredItems = computed(() =>
|
||||
items.value.filter(
|
||||
(item) => item.title !== "แบบสำรวจความคิดเห็น" || dataStore.isProbation
|
||||
(item) =>
|
||||
item.title !== "ทดลองปฏิบัติหน้าที่ราชการ" || dataStore.isProbation
|
||||
)
|
||||
);
|
||||
|
||||
|
|
@ -125,8 +126,8 @@ const items = ref<MenuMainList[]>([
|
|||
},
|
||||
{
|
||||
icon: "mdi-poll",
|
||||
title: "แบบสำรวจความคิดเห็น",
|
||||
sub: "แบบสำรวจความคิดเห็นการทดลองปฏิบัติหน้าที่ราชการ",
|
||||
title: "ทดลองปฏิบัติหน้าที่ราชการ",
|
||||
sub: "ผลการทดลองปฏิบัติหน้าที่ราชการและแบบสำรวจความคิดเห็น",
|
||||
color: "yellow-3",
|
||||
path: "/probation-report",
|
||||
active: false,
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ async function getSurveyData() {
|
|||
await http
|
||||
.get(config.API.summaryDetail())
|
||||
.then(async (res: any) => {
|
||||
const data = await res.data.data.data;
|
||||
assignId.value = res.data.data.assignId;
|
||||
const data = await res.data.result.data;
|
||||
assignId.value = res.data.result.assignId;
|
||||
if (data !== null) {
|
||||
answer1.value = data.answer1;
|
||||
answer2.value = data.answer2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue