From 8f3926994a941d50e5dd5eab92e250166b9d836e Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 29 Oct 2024 13:51:58 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B9=80=E0=B8=84=E0=B8=A3=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=E0=B8=87=E0=B8=A3=E0=B8=B2=E0=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/3_result/DialogResults.vue | 26 +++++++-- .../07_insignia/interface/response/Main.ts | 6 +- src/modules/07_insignia/storeResult.ts | 6 +- .../07_insignia/views/03_ResultMain.vue | 55 ++++++++++++------- 4 files changed, 62 insertions(+), 31 deletions(-) diff --git a/src/modules/07_insignia/components/3_result/DialogResults.vue b/src/modules/07_insignia/components/3_result/DialogResults.vue index f2638ae10..53a5ae00d 100644 --- a/src/modules/07_insignia/components/3_result/DialogResults.vue +++ b/src/modules/07_insignia/components/3_result/DialogResults.vue @@ -10,7 +10,8 @@ import config from "@/app.config"; /** * import Type */ -import type { DataOption } from "@/modules/04_registry/components/profileType"; +// import type { DataOption } from "@/modules/04_registry/components/profileType"; +import type { OptionData } from "@/modules/07_insignia/interface/index/Main"; import DialogHeader from "@/components/DialogHeader.vue"; @@ -76,10 +77,10 @@ const affiliationReceived = ref(""); //สังกัด ณ วัน const receivedate = ref(); //วันที่ได้รับพระราชทานเครื่องราชอิสริยาภรณ์ const announceDate = ref(); //วันที่ const invoiceDate = ref(null); //วันที่จ่ายใบกำกับ -const filterinsigniaOp2 = ref([]); //ตัวเลือกเครื่องราชอิสริยาภรณ์ +const filterinsigniaOp2 = ref([]); //ตัวเลือกเครื่องราชอิสริยาภรณ์ const employeeClass = ref(""); //ขรก.สามัญ/ลูกจ้างประจำ //ประเภท ขรก.สามัญ/ลูกจ้างประจำ -const employeeClassOps = ref([ +const employeeClassOps = ref([ { id: "officer", name: "ข้าราชการ กทม.สามัญ" }, { id: "employee", name: "ลูกจ้างประจำ" }, ]); @@ -267,7 +268,7 @@ function filterSelector(val: string, update: Function, name: string) { if (name === "insigniaOp2") { brand.value = val ? "" : brand.value; filterinsigniaOp2.value = DataStore.insigniaOp2.filter( - (v: DataOption) => v.name.toLowerCase().indexOf(needle) > -1 + (v: OptionData) => v.name.toLowerCase().indexOf(needle) > -1 ); } }); @@ -486,6 +487,14 @@ watch(props, () => { class="cursor-pointer" /> + @@ -578,6 +587,14 @@ watch(props, () => { class="cursor-pointer" /> + @@ -651,6 +668,7 @@ watch(props, () => { borderless :enableTimePicker="false" week-start="0" + :readonly="disbleStatus" >