UI ส่งไปออกคำสั่งโครงสร้างอัตรากำลัง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-09-30 13:30:45 +07:00
parent d5e49b474a
commit af90e36918
4 changed files with 314 additions and 12 deletions

View file

@ -54,7 +54,7 @@ const visibleColumns2 = ref<string[]>([
"citizenId",
"fullname",
"organizationName",
"birthday",
"dateOfBirth",
"typeCommand",
]);
const columns2 = ref<QTableProps["columns"]>([
@ -115,11 +115,11 @@ const columns2 = ref<QTableProps["columns"]>([
},
},
{
name: "birthday",
name: "dateOfBirth",
align: "left",
label: "วัน/เดือน/ปี เกิด",
sortable: true,
field: "birthday",
field: "dateOfBirth",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
@ -200,6 +200,8 @@ watch(
async () => {
if (props.Modal === true) {
rows.value = props.rows2 ? props.rows2 : [];
console.log(rows.value);
selected.value = [];
commandType.value = "";
const data = await storeCommand.getCommandTypes();