@@ -282,7 +255,6 @@ function onOpenFormDetail(action: string = "", id: string = "") {
:paging="true"
dense
class="custom-header-table"
- v-bind="attrs"
:visible-columns="visibleColumns"
v-model:pagination="pagination"
>
@@ -385,8 +357,8 @@ function onOpenFormDetail(action: string = "", id: string = "") {
diff --git a/src/modules/07_insignia/components/2_Manage/listManage.vue b/src/modules/07_insignia/views/02_ManageMain.vue
similarity index 87%
rename from src/modules/07_insignia/components/2_Manage/listManage.vue
rename to src/modules/07_insignia/views/02_ManageMain.vue
index 1718fe7a1..f1e44b29d 100644
--- a/src/modules/07_insignia/components/2_Manage/listManage.vue
+++ b/src/modules/07_insignia/views/02_ManageMain.vue
@@ -1,10 +1,23 @@
@@ -547,11 +557,11 @@ onMounted(async () => {
@@ -559,8 +569,8 @@ onMounted(async () => {
@@ -568,8 +578,8 @@ onMounted(async () => {
@@ -579,7 +589,7 @@ onMounted(async () => {
name="organization"
class="q-pa-none"
>
-
+
diff --git a/src/modules/07_insignia/views/ResultPage.vue b/src/modules/07_insignia/views/03_ResultMain.vue
similarity index 86%
rename from src/modules/07_insignia/views/ResultPage.vue
rename to src/modules/07_insignia/views/03_ResultMain.vue
index 90e2c7667..6fb16cd52 100644
--- a/src/modules/07_insignia/views/ResultPage.vue
+++ b/src/modules/07_insignia/views/03_ResultMain.vue
@@ -1,29 +1,30 @@
diff --git a/src/modules/07_insignia/components/report/ReportView.vue b/src/modules/07_insignia/views/06_ReportMain.vue
similarity index 53%
rename from src/modules/07_insignia/components/report/ReportView.vue
rename to src/modules/07_insignia/views/06_ReportMain.vue
index f7d561c67..5f02e0595 100644
--- a/src/modules/07_insignia/components/report/ReportView.vue
+++ b/src/modules/07_insignia/views/06_ReportMain.vue
@@ -1,12 +1,14 @@
@@ -16,26 +18,7 @@ const nextPage = (type: string, title: string) => {
-
-
-
+
@@ -44,14 +27,7 @@ const nextPage = (type: string, title: string) => {
-
+
@@ -60,12 +36,7 @@ const nextPage = (type: string, title: string) => {
-
+
diff --git a/src/modules/07_insignia/views/Main.vue b/src/modules/07_insignia/views/Main.vue
deleted file mode 100644
index e8e23c42e..000000000
--- a/src/modules/07_insignia/views/Main.vue
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
- เครื่องราชอิสริยาภรณ์
-
-
-
-
-
-
-
diff --git a/src/modules/09_leave/components/3_WorkTime/DialogForm.vue b/src/modules/09_leave/components/3_WorkTime/DialogForm.vue
index fb6789972..96dfb155e 100644
--- a/src/modules/09_leave/components/3_WorkTime/DialogForm.vue
+++ b/src/modules/09_leave/components/3_WorkTime/DialogForm.vue
@@ -206,8 +206,8 @@ watch(
borderless
v-model="formData.startTimeMorning"
:rules="[
- (val) => !!val || 'กรุณากรอกเวลาเข้างาน',
- (val) => {
+ (val:string) => !!val || 'กรุณากรอกเวลาเข้างาน',
+ (val:string) => {
if (val && formData.endTimeMorning) {
if (val > formData.endTimeMorning) {
return 'ต้องน้อยกว่าเวลาออกงาน';
@@ -243,8 +243,8 @@ watch(
lazy-rules
borderless
:rules="[
- (val) => !!val || 'กรุณากรอกเวลาออกงาน',
- (val) => {
+ (val:string) => !!val || 'กรุณากรอกเวลาออกงาน',
+ (val:string) => {
if (val && formData.startTimeMorning) {
if (val < formData.startTimeMorning) {
return 'ต้องมากกว่าเวลาเข้างาน';
@@ -277,8 +277,8 @@ watch(
+@use "sass:math";
.mt {
margin-top: 10px;
}
@@ -433,7 +434,7 @@ $toggle-control-ease: ease-in;
// These are our computed variables
// change at your own risk.
-$toggle-radius: ($toggle-height / 2);
+$toggle-radius: math.div($toggle-height, 2);
$toggle-control-size: $toggle-height - ($toggle-gutter * 2);
.toggle-control {
diff --git a/src/modules/09_leave/components/4_specialTime/DialogApprove.vue b/src/modules/09_leave/components/4_specialTime/DialogApprove.vue
index 18b7d9ac3..64d7256a8 100644
--- a/src/modules/09_leave/components/4_specialTime/DialogApprove.vue
+++ b/src/modules/09_leave/components/4_specialTime/DialogApprove.vue
@@ -346,6 +346,7 @@ watch(
+
diff --git a/src/modules/16_positionEmployee/components/TreeTable.vue b/src/modules/16_positionEmployee/components/TreeTable.vue
index 312972696..db6a6aa84 100644
--- a/src/modules/16_positionEmployee/components/TreeTable.vue
+++ b/src/modules/16_positionEmployee/components/TreeTable.vue
@@ -31,10 +31,6 @@ import DialogHistoryPos from "@/modules/16_positionEmployee/components/DialogHis
import DialogSelectPerson from "@/modules/16_positionEmployee/components/DialogSelectPerson.vue";
import DialogSuccession from "@/modules/16_positionEmployee/components/DialogSuccession.vue";
-/**
- * importStore
- */
-
/**
* ues
*/
diff --git a/src/modules/18_command/components/Step/0_Main.vue b/src/modules/18_command/components/Step/0_Main.vue
index d5fa07909..f45c19ae3 100644
--- a/src/modules/18_command/components/Step/0_Main.vue
+++ b/src/modules/18_command/components/Step/0_Main.vue
@@ -1,5 +1,5 @@
diff --git a/src/modules/18_command/components/Step/1_Detail.vue b/src/modules/18_command/components/Step/1_Detail.vue
index 3419896d5..1a480e21c 100644
--- a/src/modules/18_command/components/Step/1_Detail.vue
+++ b/src/modules/18_command/components/Step/1_Detail.vue
@@ -38,6 +38,7 @@ let formData = reactive({
issue: null,
commandAffectDate: null, //วันที่ลงนาม
commandExcecuteDate: null, //วันที่คำสั่งมีผล
+ isBangkok: false,
});
const modalPreview = ref(false); //แสดงตัวอย่าง
@@ -164,6 +165,7 @@ defineExpose({
(formData.commandAffectDate = null)"
>
(formData.commandExcecuteDate = null)"
>
@@ -309,9 +316,10 @@ defineExpose({
dense
v-model="formData.detailBody"
hide-bottom-space
- :label="`${'เนื้อหาคำสั่งส่วนกลาง'}`"
+ :label="`${'เนื้อหาคำสั่งหลัก'}`"
@update:model-value="onCheckChangeData()"
type="textarea"
+ :rules="[(val: string) => !!val || `${'กรุณากรอกเนื้อหาคำสั่งหลัก'}`]"
/>
+
+
+
+
diff --git a/src/modules/18_command/components/Step/View0_Digital.vue b/src/modules/18_command/components/Step/View0_Digital.vue
index e99b61200..8e973cc32 100644
--- a/src/modules/18_command/components/Step/View0_Digital.vue
+++ b/src/modules/18_command/components/Step/View0_Digital.vue
@@ -1,6 +1,7 @@
-
+
{});
:icon="step === 1 ? 'mdi-pencil' : step > 1 ? 'done' : 'mdi-numeric-1'"
>
-
-