hrms-manual/dist/assets/District-b8f589b6.js

2 lines
12 KiB
JavaScript
Raw Normal View History

2023-09-06 14:51:44 +07:00
import{Q as Ae}from"./QTooltip-5ceb1b84.js";import{d as _e,a as o,a8 as ge,a7 as xe,o as Ne,w as Ce,ag as C,ab as Fe,e as s,f as c,A as w,g as n,j as i,C as Y,ac as D,a4 as U,ah as De,s as d,F as R,i as Z,v as p,aj as Ie,D as f,ak as ze,aa as ee}from"./index-3a2b6cd5.js";import{Q as Qe}from"./QSpace-5fefe78e.js";import{Q as te,a as Ve}from"./QBreadcrumbs-8582ad34.js";import{Q as m}from"./QTd-71639d11.js";import{Q as q}from"./QTr-c5e846f1.js";import{Q as He}from"./QForm-4d87c0ee.js";import{u as Pe}from"./use-quasar-1e7f9a8b.js";import{c as F}from"./app.config-a8647d06.js";import{u as Se}from"./mixin-183f301b.js";import{u as $e}from"./store-c09735f5.js";import{_ as Te}from"./TableHistory.vue_vue_type_script_setup_true_lang-7611e006.js";/* empty css */import"./position-engine-4e9b318c.js";import"./selection-8094913b.js";import"./index-932e35b0.js";import"./QSpinnerCube-b3e27bc1.js";import"./QSelect-809bd0f2.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"./QTh-95cd2a9c.js";import"./QPagination-e0f4fffb.js";import"./QTable-d329bd84.js";import"./QList-1b100cb9.js";import"./use-fullscreen-273d7265.js";const Be={class:"row items-center q-mb-sm q-mr-md q-ml-sm"},Re=w("div",{class:"text-h6 text-dark text-weight-bold"},"การจัดการข้อมูลเขต",-1),qe={class:"col-xs-12"},Me={class:"q-mt-sm"},Ee={key:0,class:""},Le={key:1,class:""},je={key:2,class:""},Ge={key:3,class:""},Je={class:""},Ke={class:""},Oe={key:0,class:""},We={key:1,class:""},Xe={key:2,class:""},Dt=_e({__name:"District",setup(Ye){const ae=Se(),{success:I,dateText:le,messageError:k,showLoader:A,hideLoader:z}=ae,se=$e(),{manageData:M,changeManageColumns:ie,changeManageCurrentTab:oe}=se,u=o([]),E=o([]),Q=o([]),L=o("ประวัติแก้ไขเขต/อำเภอ"),_=o(null),V=o(""),H=o(""),P=o(!1),y=o(!1),S=o(""),j=o("published"),g=o(!1),G=ge(),ne=xe(),re=o("กรุงเทพมหานคร"),x=o(ne.params.province),$=o(!1),de=o([{name:"name",align:"left",label:"เขต/อำเภอ",sortable:!0,field:"name",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(a,e)=>a.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})},{name:"createdAt",align:"center",label:"วันที่สร้าง",sortable:!0,field:"createdAt",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(a,e)=>a.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})},{name:"lastUpdatedAt",align:"center",label:"วันที่แก้ไข",sortable:!0,field:"lastUpdatedAt",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(a,e)=>a.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})},{name:"lastUpdateFullName",align:"left",label:"ผู้ดำเนินการ",sortable:!0,field:"lastUpdateFullName",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(a,e)=>a.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})},{name:"isActive",align:"left",label:"สถานะ",sortable:!0,field:"isActive",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(a,e)=>a.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})}]),h=o([]);M.person.district.columns.length==0?h.value=["name","createdAt","lastUpdatedAt","lastUpdateFullName","isActive"]:h.value=M.person.district.columns;const ue=o([{name:"name",align:"left",label:"เขต/อำเภอ",sortable:!0,field:"name",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(a,e)=>a.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})},{name:"lastUpdatedAt",align:"center",label:"วันที่แก้ไข",sortable:!0,field:"lastUpdatedAt",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(a,e)=>a.localeCompare(e,void 0,{numeric:!0,sensitivity:"base"})},{name:"lastUpdateFullName",align:"left",label:"ผู้ดำเนินการ",sortable:!0,field:"lastUpdateFullName",headerStyle:"font-size: 14px",style:"font-size: 14px",sort:(a,