This commit is contained in:
STW_TTTY\stwtt 2024-04-17 10:55:23 +07:00
parent 174fcac1f9
commit 239d5476a9
2 changed files with 5 additions and 2 deletions

View file

@ -16,8 +16,8 @@ const router = useRouter();
const rows = ref<any>();
const editStatus = ref<boolean>(false);
const groupName = ref<string>("");
const position = ref<string>("");
const competency = ref<string>("");
const position = ref<any>(null);
const competency = ref<any>(null);
const groupNameOp = ref<DataOption[]>([
{
@ -428,6 +428,7 @@ onMounted(async () => {
v-model="position"
label="ตำแหน่ง"
outlined
multiple
emit-value
map-options
option-label="name"
@ -452,6 +453,7 @@ onMounted(async () => {
label="สมรรถนะประจำกลุ่ม"
outlined
emit-value
multiple
map-options
option-label="name"
option-value="id"

View file

@ -188,6 +188,7 @@ function fetchDataDetail(id: string) {
formBody.reportBackNo = data.reportBackNo;
formBody.reportBackNoDate = data.reportBackNoDate;
formBody.reportBackDate = data.reportBackDate;
formBody.degreeLevel = data.degreeLevel;
formBody.course = data.course;
formBody.field = data.field;