รายการ Exit interview เพิ่มฟิล วันนัดหมายเพื่อสัมภาษณ์
This commit is contained in:
parent
410fca81f3
commit
5719957330
2 changed files with 23 additions and 1 deletions
|
|
@ -103,6 +103,17 @@ const columns = ref<QTableProps["columns"]>([
|
|||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "appointDate",
|
||||
align: "left",
|
||||
label: "วันนัดหมายเพื่อสัมภาษณ์",
|
||||
sortable: true,
|
||||
field: "appointDate",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "datetext",
|
||||
align: "left",
|
||||
|
|
@ -138,7 +149,6 @@ const filterKeyword2 = ref<string>("");
|
|||
//ค้นหา คอลัมน์ คอลัมน์ที่แสดง
|
||||
const filterKeyword = ref<string>("");
|
||||
const filterRef = ref<any>(null);
|
||||
|
||||
const openModal = () => (modal.value = true);
|
||||
const closeModal = () => (modal.value = false);
|
||||
|
||||
|
|
@ -198,6 +208,7 @@ const fecthlist = async () => {
|
|||
suggestFriendsReason: r.suggestFriendsReason ?? "",
|
||||
suggestion: r.suggestion ?? "",
|
||||
status: r.status ?? "",
|
||||
appointDate: date2Thai(r.appointDate)
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -397,6 +408,15 @@ const saveAppoint = async () =>{
|
|||
{{ props.row.havejobReason }}
|
||||
</div>
|
||||
</q-td>
|
||||
<q-td
|
||||
key="appointDate"
|
||||
:props="props"
|
||||
@click="
|
||||
router.push(`/exit-Interview/questionnair/${props.row.id}`)
|
||||
"
|
||||
>
|
||||
{{ props.row.appointDate == null ? "-":props.row.appointDate }}
|
||||
</q-td>
|
||||
<q-td
|
||||
key="datetext"
|
||||
:props="props"
|
||||
|
|
@ -408,6 +428,7 @@ const saveAppoint = async () =>{
|
|||
</q-td>
|
||||
<q-td auto-width>
|
||||
<q-btn
|
||||
v-if="props.row.appointDate == null"
|
||||
icon="mdi-calendar"
|
||||
size="12px"
|
||||
color="blue-7"
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ interface ResponseItems {
|
|||
suggestion: string;
|
||||
status: string;
|
||||
datetext: string | null;
|
||||
appointDate: any;
|
||||
}
|
||||
|
||||
export type { ResponseData, ResponseItems };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue