diff --git a/src/modules/15_development/components/FollowResult.vue b/src/modules/15_development/components/FollowResult.vue index 61f601bf5..21de47a1a 100644 --- a/src/modules/15_development/components/FollowResult.vue +++ b/src/modules/15_development/components/FollowResult.vue @@ -435,11 +435,14 @@ onMounted(() => { - +
-
+
{ option-value="name" emit-value map-options + class="inputgreen" hide-bottom-space :rules="[ (val:string) => @@ -474,7 +478,7 @@ onMounted(() => { />
-
+
{ - +
diff --git a/src/modules/15_development/views/MainPage.vue b/src/modules/15_development/views/MainPage.vue index a9aa7777c..669275d68 100644 --- a/src/modules/15_development/views/MainPage.vue +++ b/src/modules/15_development/views/MainPage.vue @@ -37,9 +37,7 @@ const filter = ref(""); const filterMain = ref(""); const splitterModel = ref(60); const modal = ref(false); -const projectName = ref(""); -const orgName = ref(""); -const year = ref(0); + /** หัวตาราง */ const rows = ref([]); // ข้อมูลรายการ const columns = ref([ @@ -64,16 +62,16 @@ const columns = ref([ }, { - 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(["year", "projectName", "org"]); +const visibleColumns = ref(["year", "projectName", "root"]); const statusOpt = ref([ { 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 */