hrms-manual/dist/assets/listProposals-dd853ae3.js

2 lines
9.8 KiB
JavaScript
Raw Normal View History

2023-09-06 14:51:44 +07:00
import{Q as k}from"./QTooltip-5ceb1b84.js";import{d as G,a7 as H,a as n,o as J,ag as Q,W as X,e as r,f as S,g as a,j as l,A as y,ac as _,C as c,aj as Z,s as m,v as A,m as ee,p as te,F as T,i as ae,D as v,z as oe,ah as le,bY as q,a4 as p}from"./index-3a2b6cd5.js";import{Q as se}from"./QSpace-5fefe78e.js";import{Q as ne}from"./QSelect-809bd0f2.js";import{Q as w}from"./QTh-95cd2a9c.js";import{Q as B}from"./QTr-c5e846f1.js";import{Q as u}from"./QTd-71639d11.js";import{Q as ie}from"./QPagination-e0f4fffb.js";import{Q as re}from"./QTable-d329bd84.js";import{u as ue}from"./mixin-183f301b.js";import{u as de}from"./use-quasar-1e7f9a8b.js";import{c as z}from"./app.config-a8647d06.js";import"./position-engine-4e9b318c.js";import"./selection-8094913b.js";import"./QChip-f43cc21c.js";import"./QItemSection-843d83e6.js";import"./QItemLabel-37c56e27.js";import"./QMenu-59199f2b.js";import"./rtl-36dd996b.js";import"./format-312d1398.js";import"./QList-1b100cb9.js";import"./use-fullscreen-273d7265.js";import"./QSpinnerCube-b3e27bc1.js";import"./index-932e35b0.js";const ce=y("div",{class:"toptitle text-dark col-12 row items-center"}," รายการรอบการเสนอขอพระราชทานเครื่องราชอิสริยาภรณ์ ",-1),me={class:"row q-col-gutter-sm"},fe={class:"row col-12 q-col-gutter-sm"},pe={class:"col-12"},ye={class:"text-weight-medium"},Oe=G({__name:"listProposals",setup(ve){const L=ue(),{date2Thai:R,success:$,messageError:h,statusLeave:ge,dialogMessage:ke,dateToISO:_e,showLoader:C,hideLoader:V,dialogConfirm:N}=L;H();const d=de();n(!1);const g=n({sortBy:"desc",descending:!1,page:1,rowsPerPage:10}),x=n(["round","year","startDate","endDate","statusRoyal"]),I=n([{name:"round",align:"left",label:"รอบการเสนอขอพระราชทานเครื่องราชฯ",sortable:!0,field:"no",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(o,t)=>o.localeCompare(t,void 0,{numeric:!0,sensitivity:"base"})},{name:"year",align:"left",label:"ปีที่เสนอ",sortable:!0,field:"name",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(o,t)=>o.localeCompare(t,void 0,{numeric:!0,sensitivity:"base"})},{name:"startDate",align:"left",label:"วันที่เริ่มต้น",sortable:!0,field:"position",headerStyle:"font-size: 14px",style:"font-size: 14px"},{name:"endDate",align:"left",label:"วันที่สิ้นสุด",sortable:!0,field:"level",headerStyle:"font-size: 14px",style:"font-size: 14px"},{name:"status",align:"left",label:"สถานะ",sortable:!0,field:"institution",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(o,t)=>o.localeCompare(t,void 0,{numeric:!0,sensitivity:"base"})},{name:"statusRoyal",align:"center",label:"สถานะราชกิจจานุเบกษา",sortable:!0,field:"institution",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(o,t)=>o.localeCompare(t,void 0,{numeric:!0,sensitivity:"base"})}]),b=n([{round:"รอบการเสนอขอพระราชทานเครื่องราชฯ",year:"2566",startDate:"2566",endDate:"31 พ.ค. 2566",status:!0,statusRoyal:"เสนอเเล้ว"},{round:"รอบการเสนอขอพระราชทานเครื่องราชฯ",year:"2566",startDate:"2566",endDate:"31 พ.ค. 2566",status:!0,statusRoyal:"เสนอเเล้ว"},{round:"รอบการเสนอขอพระราชทานเครื่องราชฯ",year:"2566",startDate:"2566",endDate:"31 พ.ค. 2566",status:!0,statusRoyal:"เสนอเเล้ว"},{round:"รอบการเสนอขอพระราชทานเครื่องราชฯ",year:"2566",startDate:"2566",endDate:"31 พ.ค. 2566",status:"ไม่ใช้งาน",statusRoyal:"ยังไม่ได้เสนอ"},{round:"รอบการเสนอขอพระราชทานเครื่องราชฯ",year:"2566",startDate:"2566",endDate:"31 พ.ค. 2566",stat