-
-
- {{ year + 543 }}
- {{
- parseInt(value + 543)
- }}
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ prop.node.orgTreeName }}
+
+
+ {{
+ prop.node.orgCode == null ? null : prop.node.orgCode
+ }}
+ {{
+ prop.node.orgTreeShortName == null
+ ? null
+ : prop.node.orgTreeShortName
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- {{ year + 543 }}
+ {{
+ parseInt(value + 543)
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ />
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
@@ -210,10 +337,18 @@ onMounted(async () => {
-
+ /> -->
-
+
diff --git a/src/modules/15_development/components/ProjectDetail.vue b/src/modules/15_development/components/ProjectDetail.vue
index 52969818c..d48d2a22b 100644
--- a/src/modules/15_development/components/ProjectDetail.vue
+++ b/src/modules/15_development/components/ProjectDetail.vue
@@ -200,7 +200,7 @@ onMounted(() => {
- ความสอดคล้องหรือเชื่อมโยงกับยุทธศาสตร์ / แผน
+ ความสอดคล้องหรือเชื่อมโยงกับยุทธศาสตร์/แผน
@@ -211,7 +211,7 @@ onMounted(() => {
- ยุทธศาสตร์ / แผน
+ ยุทธศาสตร์/แผน
@@ -262,7 +262,7 @@ onMounted(() => {
- ยุทธศาสตร์ / แผน
+ ยุทธศาสตร์/แผน
diff --git a/src/modules/15_development/components/history/AddPage.vue b/src/modules/15_development/components/history/AddPage.vue
index 3683b6584..a58694bfe 100644
--- a/src/modules/15_development/components/history/AddPage.vue
+++ b/src/modules/15_development/components/history/AddPage.vue
@@ -180,6 +180,7 @@ function getDataEdit() {
formMain.type = data.posTypeName ? data.posTypeName : null;
formMain.level = data.posLevelName ? data.posLevelName : null;
formMain.positionSide = data.posExecutive ? data.posExecutive : null;
+ formMain.oc = data.org ? data.org : null;
formMainProject.id = data.developmentId;
formMainProject.project = data.projectName;
@@ -210,6 +211,7 @@ onMounted(() => {
}
});
+
{
}
});
+
([
{ id: "DOMESTICE", name: "การศึกษาในประเทศ" },
{
id: "NOABROAD",
- name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยวงานภายนอก (หลักสูตรที่ไม่มีการไปต่างประเทศ)",
+ name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยงานภายนอก (หลักสูตรที่ไม่มีการไปต่างประเทศ)",
},
{
id: "ABROAD",
- name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยวงานภายนอก (หลักสูตรที่มีการไปต่างประเทศ)",
+ name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยงานภายนอก (หลักสูตรที่มีการไปต่างประเทศ)",
},
{
id: "EXECUTIVE",
- name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยวงานภายนอก (หลักสูตรประเภทนักบริหาร)",
+ name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยงานภายนอก (หลักสูตรประเภทนักบริหาร)",
+ },
+ {
+ id: "RESEARCH",
+ name: "ศึกษา ฝึกอบรม ประชุม ดูงาน และปฏิบัติการวิจัย ณ ต่างประเทศ",
},
]);
const fundTypeOp = ref([
@@ -188,7 +192,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;
@@ -418,7 +422,7 @@ async function checkFileBackReceived(id: string) {
});
}
-function downloadFileBackReceived() {
+function downloadFileBackReceived(id: string) {
showLoader();
http
.get(
@@ -465,13 +469,13 @@ onMounted(() => {
ดาวน์โหลด
@@ -557,7 +561,55 @@ onMounted(() => {
+
+
+
+
+
+
+
+
{
outlined
class="inputgreen"
v-model="formBody.bookNo"
- label="เลขที่หนังสิออนุมัติ"
+ label="เลขที่หนังสืออนุมัติ"
hide-bottom-space
:rules="[
(val: string) =>
- !!val || `${'กรุณากรอกเลขที่หนังสิออนุมัติ'}`,
+ !!val || `${'กรุณากรอกเลขที่หนังสืออนุมัติ'}`,
]"
/>
@@ -779,52 +831,7 @@ onMounted(() => {
]"
/>
-
import { ref, onMounted, reactive } from "vue";
+import { useRoute, useRouter } from "vue-router";
import { useQuasar, type QTableProps } from "quasar";
+import http from "@/plugins/http";
+import config from "@/app.config";
+
import type {
DataOption,
FormFilter,
} from "@/modules/15_development/interface/index/Main";
-import http from "@/plugins/http";
-import config from "@/app.config";
-
/** importStore*/
import { useDevelopmentDataStore } from "@/modules/15_development/store/developmentStore";
import { useCounterMixin } from "@/stores/mixin";
-import { useRoute, useRouter } from "vue-router";
import genReportXLSX from "@/plugins/genreportxlsx";
diff --git a/src/modules/15_development/views/Scholarship.vue b/src/modules/15_development/views/Scholarship.vue
index c9cf3cfbd..aa261ccea 100644
--- a/src/modules/15_development/views/Scholarship.vue
+++ b/src/modules/15_development/views/Scholarship.vue
@@ -90,21 +90,22 @@ const visibleColumns = ref
([
]);
const scholarshipTypeOp = ref([
- {
- id: "DOMESTICE",
- name: "การศึกษาในประเทศ",
- },
+ { id: "DOMESTICE", name: "การศึกษาในประเทศ" },
{
id: "NOABROAD",
- name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยวงานภายนอก (หลักสูตรที่ไม่มีการไปต่างประเทศ)",
+ name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยงานภายนอก (หลักสูตรที่ไม่มีการไปต่างประเทศ)",
},
{
id: "ABROAD",
- name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยวงานภายนอก (หลักสูตรที่มีการไปต่างประเทศ)",
+ name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยงานภายนอก (หลักสูตรที่มีการไปต่างประเทศ)",
},
{
id: "EXECUTIVE",
- name: "ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยวงานภายนอก (หลักสูตรประเภทนักบริหาร)",
+ name: " ฝึกอบรมในประเทศที่ส่งไปพัฒนากับหน่วยงานภายนอก (หลักสูตรประเภทนักบริหาร)",
+ },
+ {
+ id: "RESEARCH",
+ name: "ศึกษา ฝึกอบรม ประชุม ดูงาน และปฏิบัติการวิจัย ณ ต่างประเทศ",
},
]);
const itemDownload = ref([
@@ -186,21 +187,18 @@ watch(
function onDownload() {
showLoader();
- http
- .get(config.API.developmentReportScholarship())
- .then((res) => {
- const dataList = res.data.result;
- genReportXLSX(
- dataList,
- "รายการข้าราชการฯที่ได้รับทุนการศึกษา/ฝึกอบรม"
- );
- })
- .catch((e) => {
- messageError($q, e);
- })
- .finally(() => {
- hideLoader();
- });
+ http
+ .get(config.API.developmentReportScholarship())
+ .then((res) => {
+ const dataList = res.data.result;
+ genReportXLSX(dataList, "รายการข้าราชการฯที่ได้รับทุนการศึกษา/ฝึกอบรม");
+ })
+ .catch((e) => {
+ messageError($q, e);
+ })
+ .finally(() => {
+ hideLoader();
+ });
}
onMounted(() => {
@@ -217,7 +215,7 @@ onMounted(() => {
{
lazy-rules
outlined
:model-value="
- formQuery.year === 0 ? 'ทั้งหมด' : Number(formQuery.year) + 543
+ formQuery.year === 0
+ ? 'ทั้งหมด'
+ : Number(formQuery.year) + 543
"
:label="`${'ปีงบประมาณ'}`"
>
@@ -273,7 +271,7 @@ onMounted(() => {
option-label="name"
label="เลือกประเภททุน"
@update:model-value="fetchNewList"
- style="width: 350px;"
+ style="width: 350px"
/>