no message

This commit is contained in:
setthawutttty 2025-01-22 17:53:59 +07:00
parent 8337d74368
commit fcbce0f994

View file

@ -11,7 +11,7 @@ import { useProbationReport } from "@/modules/15_probationReport/store";
import type { import type {
DataSurvey, DataSurvey,
ProbationReportType, ProbationReportType,
FileType FileType,
} from "@/modules/15_probationReport/interface/Main"; } from "@/modules/15_probationReport/interface/Main";
import SurveyPage from "@/modules/15_probationReport/components/01_SurveyPage.vue"; import SurveyPage from "@/modules/15_probationReport/components/01_SurveyPage.vue";
@ -124,7 +124,7 @@ async function getSalary(
await http await http
.get(config.API.developmentSalaryFile(name, group, id)) .get(config.API.developmentSalaryFile(name, group, id))
.then((res) => { .then((res) => {
val.value = res.data; val.value = res.data ? res.data : [];
}) })
.catch((e) => { .catch((e) => {
// messageError($q, e); // messageError($q, e);
@ -183,7 +183,11 @@ onMounted(async () => {
name="RESULT2" name="RESULT2"
label="ผลการประเมินการฯ ครั้งที่ 2" label="ผลการประเมินการฯ ครั้งที่ 2"
/> />
<q-tab v-if="dataProbation.length > 0" name="ASSIGN" label="แบบมอบหมายงานฯ" /> <q-tab
v-if="dataProbation.length > 0"
name="ASSIGN"
label="แบบมอบหมายงานฯ"
/>
</q-tabs> </q-tabs>
<q-separator /> <q-separator />