แก้ไข บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์
This commit is contained in:
parent
508fb3b02b
commit
759870d0aa
5 changed files with 91 additions and 24 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
*/
|
*/
|
||||||
import env from "../index";
|
import env from "../index";
|
||||||
|
|
||||||
const message = `${env.API_DASHBOARD_URI}/message`;
|
const message = `${env.API_PLACEMENT_URI}/message`;
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
msgNotificate: `${message}/my-notifications`,
|
msgNotificate: `${message}/my-notifications`,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<q-select v-bind="attrs">
|
<q-select v-bind="attrs">
|
||||||
|
<template v-for="(_, slot) in slots" v-slot:[slot]="scope">
|
||||||
|
<slot :name="slot" v-bind="scope || {}" />
|
||||||
|
</template>
|
||||||
<template v-slot:no-option>
|
<template v-slot:no-option>
|
||||||
<q-item>
|
<q-item>
|
||||||
<q-item-section class="text-black">
|
<q-item-section class="text-black">
|
||||||
|
|
@ -10,6 +13,7 @@
|
||||||
</q-select>
|
</q-select>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, useAttrs, defineAsyncComponent } from "vue";
|
import { ref, useAttrs, useSlots } from "vue";
|
||||||
const attrs = ref<any>(useAttrs());
|
const attrs = ref<any>(useAttrs());
|
||||||
|
const slots = ref<any>(useSlots());
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,35 @@
|
||||||
บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์
|
บันทึกผลการได้รับพระราชทานเครื่องราชย์อิสริยสภรณ์
|
||||||
</div>
|
</div>
|
||||||
<q-card flat bordered class="col-12 q-my-md q-mt-sm rounded-borders">
|
<q-card flat bordered class="col-12 q-my-md q-mt-sm rounded-borders">
|
||||||
|
<div class="q-pa-md row items-center">
|
||||||
|
<selector
|
||||||
|
hide-bottom-space
|
||||||
|
borderless
|
||||||
|
dense
|
||||||
|
lazy-rules
|
||||||
|
emit-value
|
||||||
|
map-options
|
||||||
|
options-dense
|
||||||
|
option-label="name"
|
||||||
|
option-value="id"
|
||||||
|
v-model="selectRound"
|
||||||
|
:options="selectRoundOption"
|
||||||
|
use-input
|
||||||
|
input-debounce="0"
|
||||||
|
input-class="text-bold text-grey"
|
||||||
|
>
|
||||||
|
<template v-slot:before
|
||||||
|
><label class="text-bold text-grey" style="font-size: 16px"
|
||||||
|
>รอบ</label
|
||||||
|
>
|
||||||
|
</template>
|
||||||
|
</selector>
|
||||||
|
<!-- :class="getClass(edit)" -->
|
||||||
|
<!-- @filter="(inputValue:string,
|
||||||
|
doneFn:Function) => filterSelector(inputValue, doneFn,'provinceOps'
|
||||||
|
) " -->
|
||||||
|
</div>
|
||||||
|
<q-separator />
|
||||||
<q-tabs
|
<q-tabs
|
||||||
v-model="tab"
|
v-model="tab"
|
||||||
align="left"
|
align="left"
|
||||||
|
|
@ -39,7 +68,7 @@
|
||||||
/>
|
/>
|
||||||
</div> -->
|
</div> -->
|
||||||
<Transition>
|
<Transition>
|
||||||
<div v-if="arrow" class="bg-base rounded-borders q-pa-md">
|
<div class="bg-base rounded-borders q-pa-md q-mb-md">
|
||||||
<div class="row col-12 q-col-gutter-x-lg q-col-gutter-y-md">
|
<div class="row col-12 q-col-gutter-x-lg q-col-gutter-y-md">
|
||||||
<!-- <div class="col-xs-6 col-md-2">
|
<!-- <div class="col-xs-6 col-md-2">
|
||||||
<q-input
|
<q-input
|
||||||
|
|
@ -85,7 +114,7 @@
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
/>
|
/>
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="col-xs-12 col-md-6">
|
<div class="col-xs-6 col-md-4">
|
||||||
<q-file
|
<q-file
|
||||||
class="bg-white"
|
class="bg-white"
|
||||||
outlined
|
outlined
|
||||||
|
|
@ -100,7 +129,7 @@
|
||||||
</template>
|
</template>
|
||||||
</q-file>
|
</q-file>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-md-6">
|
<div class="col-xs-6 col-md-3">
|
||||||
<q-file
|
<q-file
|
||||||
class="bg-white"
|
class="bg-white"
|
||||||
outlined
|
outlined
|
||||||
|
|
@ -115,7 +144,18 @@
|
||||||
</template>
|
</template>
|
||||||
</q-file>
|
</q-file>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-6 col-md-2">
|
<div class="col-xs-12 col-md-5">
|
||||||
|
<q-input
|
||||||
|
class="bg-white"
|
||||||
|
outlined
|
||||||
|
dense
|
||||||
|
lazy-rules
|
||||||
|
v-model="reason"
|
||||||
|
:label="`${'หมายเหตุ'}`"
|
||||||
|
hide-bottom-space
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<!-- <div class="col-xs-6 col-md-2">
|
||||||
<datepicker
|
<datepicker
|
||||||
menu-class-name="modalfix"
|
menu-class-name="modalfix"
|
||||||
v-model="dateGoverment"
|
v-model="dateGoverment"
|
||||||
|
|
@ -190,8 +230,18 @@
|
||||||
</q-input>
|
</q-input>
|
||||||
</template>
|
</template>
|
||||||
</datepicker>
|
</datepicker>
|
||||||
|
</div> -->
|
||||||
|
<div class="col-xs-6 col-md-4">
|
||||||
|
<p>
|
||||||
|
วันที่ประกาศราชกิจจานุเบกษา <b>{{ date2Thai(new Date()) }}</b>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-md-6 justify-end">
|
<div class="col-xs-6 col-md-3">
|
||||||
|
<p>
|
||||||
|
วันที่ได้รับ <b>{{ date2Thai(new Date()) }}</b>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-12 col-md-5 d-flex justify-end">
|
||||||
<q-btn label="บันทึก" @click="save" color="public" />
|
<q-btn label="บันทึก" @click="save" color="public" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -310,6 +360,7 @@ import { ref, onMounted } from "vue";
|
||||||
import { useCounterMixin } from "@/stores/mixin";
|
import { useCounterMixin } from "@/stores/mixin";
|
||||||
|
|
||||||
import type { DataOption } from "@/modules/05_placement/interface/index/Main";
|
import type { DataOption } from "@/modules/05_placement/interface/index/Main";
|
||||||
|
import type { OptionData } from "@/modules/07_insignia/interface/index/Main";
|
||||||
import type { QTableProps, QInput } from "quasar";
|
import type { QTableProps, QInput } from "quasar";
|
||||||
|
|
||||||
// const router = useRouter();
|
// const router = useRouter();
|
||||||
|
|
@ -325,6 +376,7 @@ const issue = ref<string>("");
|
||||||
const book = ref<string>("");
|
const book = ref<string>("");
|
||||||
const volume = ref<string>("");
|
const volume = ref<string>("");
|
||||||
const section = ref<string>("");
|
const section = ref<string>("");
|
||||||
|
const reason = ref<string>("");
|
||||||
const government = ref<any>(null);
|
const government = ref<any>(null);
|
||||||
const document = ref<any>(null);
|
const document = ref<any>(null);
|
||||||
|
|
||||||
|
|
@ -336,6 +388,12 @@ const selectType = ref<string>("");
|
||||||
const selectTypeOption = ref<DataOption[]>([]);
|
const selectTypeOption = ref<DataOption[]>([]);
|
||||||
const selectTypeOptionFilter = ref<DataOption[]>([]);
|
const selectTypeOptionFilter = ref<DataOption[]>([]);
|
||||||
|
|
||||||
|
const selectRound = ref<string>("1");
|
||||||
|
const selectRoundOption = ref<OptionData[]>([
|
||||||
|
{ id: "1", name: "รอบการเสนอขอพระราชทานเครื่องราชฯ ปี 2566" },
|
||||||
|
]);
|
||||||
|
const selectRoundOptionFilter = ref<OptionData[]>([]);
|
||||||
|
|
||||||
const visibleColumns = ref<String[]>([
|
const visibleColumns = ref<String[]>([
|
||||||
"no",
|
"no",
|
||||||
"status",
|
"status",
|
||||||
|
|
|
||||||
|
|
@ -1 +1,6 @@
|
||||||
export type {};
|
interface OptionData {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export type { OptionData };
|
||||||
|
|
|
||||||
|
|
@ -26,22 +26,22 @@ const iteminbox = ref<any>([]);
|
||||||
const splitterModel = ref<number>(30);
|
const splitterModel = ref<number>(30);
|
||||||
const link = ref<string>("0");
|
const link = ref<string>("0");
|
||||||
const inboxList = ref<DataInbox[]>([
|
const inboxList = ref<DataInbox[]>([
|
||||||
{
|
// {
|
||||||
no: "1",
|
// no: "1",
|
||||||
sender: "เจ้าหน้าที่ทะเบียนประวัติ",
|
// sender: "เจ้าหน้าที่ทะเบียนประวัติ",
|
||||||
subject: "ขอแก้ไขข้อมูลทะเบียนประวัติ",
|
// subject: "ขอแก้ไขข้อมูลทะเบียนประวัติ",
|
||||||
timereceive: new Date(),
|
// timereceive: new Date(),
|
||||||
body: "ขอแก้ไขข้อมูลทะเบียนประวัติ เรื่อง ชื่อ-นามสกุล",
|
// body: "ขอแก้ไขข้อมูลทะเบียนประวัติ เรื่อง ชื่อ-นามสกุล",
|
||||||
ratingModel: 0,
|
// ratingModel: 0,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
no: "2",
|
// no: "2",
|
||||||
sender: "เจ้าหน้าที่ทะเบียนประวัติ",
|
// sender: "เจ้าหน้าที่ทะเบียนประวัติ",
|
||||||
subject: "ขอแก้ไขข้อมูลทะเบียนประวัติ",
|
// subject: "ขอแก้ไขข้อมูลทะเบียนประวัติ",
|
||||||
timereceive: new Date(),
|
// timereceive: new Date(),
|
||||||
body: "ขอแก้ไขข้อมูลทะเบียนประวัติ เรื่อง ชื่อ-นามสกุล",
|
// body: "ขอแก้ไขข้อมูลทะเบียนประวัติ เรื่อง ชื่อ-นามสกุล",
|
||||||
ratingModel: 0,
|
// ratingModel: 0,
|
||||||
},
|
// },
|
||||||
]);
|
]);
|
||||||
const data = ref<DataInbox[]>([
|
const data = ref<DataInbox[]>([
|
||||||
// {
|
// {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue