ระบบพัฒนา

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-05-21 11:58:23 +07:00
parent 0efbfcd276
commit c2a1648d70
3 changed files with 20 additions and 13 deletions

View file

@ -37,9 +37,7 @@ const filter = ref<string>("");
const filterMain = ref<string>("");
const splitterModel = ref<number>(60);
const modal = ref<boolean>(false);
const projectName = ref<string>("");
const orgName = ref<string>("");
const year = ref<number>(0);
/** หัวตาราง */
const rows = ref<ResListProject[]>([]); //
const columns = ref<QTableProps["columns"]>([
@ -64,16 +62,16 @@ const columns = ref<QTableProps["columns"]>([
},
{
name: "org",
name: "root",
align: "left",
label: "หน่วยงานที่รับผิดชอบ",
sortable: true,
field: "org",
field: "root",
headerStyle: "font-size: 14px",
style: "font-size: 14px ; width:45% ",
},
]);
const visibleColumns = ref<string[]>(["year", "projectName", "org"]);
const visibleColumns = ref<string[]>(["year", "projectName", "root"]);
const statusOpt = ref<DataOption[]>([
{ id: "ONGOING", name: "กำลังดำเนินการ" },
@ -168,9 +166,11 @@ function onDownload() {
/** function ปิด Dialog เพิ่มโครงการ/หลักสูตรการฝึกอบรม*/
function closeDialog() {
modal.value = false;
year.value = 0;
orgName.value = "";
projectName.value = "";
formProject.year = null;
formProject.projectName = "";
formProject.orgRevisionId = "";
formProject.nodeId = "";
}
/** dialog submit */