รวมไฟล์แก้งานงวด2

This commit is contained in:
Kittapath 2023-07-10 10:10:46 +07:00
parent 79889c9464
commit 2249097b07
89 changed files with 11287 additions and 7048 deletions

View file

@ -221,7 +221,7 @@ const { manageData, changeManageColumns, getOrganization, dataOrganization } =
const rows = ref<RequestItemsHistoryObject[]>([]); //list data table
const rowsHistory = ref<RequestItemsHistoryObject[]>([]); //select data history
const rawHistory = ref<RequestItemsHistoryObject[]>([]); //raw data history
const tittleHistory = ref<string>("ประวัติแก้ไขชื่อหน่วยงาน"); //
const tittleHistory = ref<string>("ประวัติแก้ไขชื่อหน่วยงาน/ส่วนราชการ"); //
const myForm = ref<any>(null); //ref
const filter = ref<string>(""); //search data table
const filterHistory = ref<string>(""); //search data table history

View file

@ -266,7 +266,7 @@ const {
const rows = ref<RequestItemsHistoryObject[]>([]); //list data table
const rowsHistory = ref<RequestItemsHistoryObject[]>([]); //select data history
const rawHistory = ref<RequestItemsHistoryObject[]>([]); //raw data history
const tittleHistory = ref<string>("ประวัติแก้ไขชื่อหน่วยงาน"); //
const tittleHistory = ref<string>("ประวัติแก้ไขตัวย่อหน่วยงาน/ส่วนราชการ"); //
const myForm = ref<any>(null); //ref
const filter = ref<string>(""); //search data table
const filterHistory = ref<string>(""); //search data table history
@ -282,7 +282,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "agencyCode",
align: "left",
label: "รหัสหน่วยงาน",
label: "หน่วยงานต้นสังกัด",
sortable: true,
field: "agencyCode",
headerStyle: "font-size: 14px",
@ -293,7 +293,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "governmentCode",
align: "left",
label: "รหัสส่วนราชการ",
label: "ส่วนราชการต้นสังกัด",
sortable: true,
field: "governmentCode",
headerStyle: "font-size: 14px",
@ -304,7 +304,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "name",
align: "left",
label: "ตัวย่อหน่วยงาน",
label: "ตัวย่อหน่วยงาน/ส่วนราชการ",
sortable: true,
field: "name",
headerStyle: "font-size: 14px",
@ -387,7 +387,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
{
name: "agencyCode",
align: "left",
label: "รหัสหน่วยงาน",
label: "หน่วยงานต้นสังกัด",
sortable: true,
field: "agencyCode",
headerStyle: "font-size: 14px",
@ -398,7 +398,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
{
name: "governmentCode",
align: "left",
label: "รหัสส่วนราชการ",
label: "ส่วนราชการต้นสังกัด",
sortable: true,
field: "governmentCode",
headerStyle: "font-size: 14px",
@ -409,7 +409,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
{
name: "name",
align: "left",
label: "ตัวย่อหน่วยงาน",
label: "ตัวย่อหน่วยงาน/ส่วนราชการ",
sortable: true,
field: "name",
headerStyle: "font-size: 14px",
@ -691,7 +691,7 @@ const save = async (publish: boolean) => {
/**
* เชครหสซำกบขอมลทอยแล
* @param val input รหวนราชการ
* @param val input วนราชการนสงก
*/
const checkDupDataGovernmentCode = (gCode: string, aCode: string) => {
if (gCode == null || gCode == "") return true;

View file

@ -1,4 +1,4 @@
<!-- tab หมายเลขโทรศพทภายนอก หนาจดการขอมลหล/อมลโครงสรางหนวยงาน -->
<!-- tab หมายเลขโทรศพทดตอจากภายนอก หนาจดการขอมลหล/อมลโครงสรางหนวยงาน -->
<template>
<div>
<q-form ref="myForm">
@ -213,7 +213,9 @@ const {
const rows = ref<RequestItemsHistoryObject[]>([]); //list data table
const rowsHistory = ref<RequestItemsHistoryObject[]>([]); //select data history
const rawHistory = ref<RequestItemsHistoryObject[]>([]); //raw data history
const tittleHistory = ref<string>("ประวัติแก้ไขหมายเลขโทรศัพท์ภายนอก"); //
const tittleHistory = ref<string>(
"ประวัติแก้ไขหมายเลขโทรศัพท์ที่ติดต่อจากภายนอก"
); //
const myForm = ref<any>(null); //ref
const filter = ref<string>(""); //search data table
const filterHistory = ref<string>(""); //search data table history
@ -229,7 +231,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "name",
align: "left",
label: "หมายเลขโทรศัพท์ภายนอก",
label: "หมายเลขโทรศัพท์ที่ติดต่อจากภายนอก",
sortable: true,
field: "name",
headerStyle: "font-size: 14px",
@ -298,7 +300,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
{
name: "name",
align: "left",
label: "หมายเลขโทรศัพท์ภายนอก",
label: "หมายเลขโทรศัพท์ที่ติดต่อจากภายนอก",
sortable: true,
field: "name",
headerStyle: "font-size: 14px",

View file

@ -1,4 +1,4 @@
<!-- tab หมายเลขโทรศพทภายใน หนาจดการขอมลหล/อมลโครงสรางหนวยงาน -->
<!-- tab หมายเลขโทรศพทดตอจากภายใน หนาจดการขอมลหล/อมลโครงสรางหนวยงาน -->
<template>
<div>
<q-form ref="myForm">
@ -213,7 +213,9 @@ const {
const rows = ref<RequestItemsHistoryObject[]>([]); //list data table
const rowsHistory = ref<RequestItemsHistoryObject[]>([]); //select data history
const rawHistory = ref<RequestItemsHistoryObject[]>([]); //raw data history
const tittleHistory = ref<string>("ประวัติแก้ไขหมายเลขโทรศัพท์ภายใน"); //
const tittleHistory = ref<string>(
"ประวัติแก้ไขหมายเลขโทรศัพท์ที่ติดต่อจากภายใน"
); //
const myForm = ref<any>(null); //ref
const filter = ref<string>(""); //search data table
const filterHistory = ref<string>(""); //search data table history
@ -229,7 +231,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "name",
align: "left",
label: "หมายเลขโทรศัพท์ภายใน",
label: "หมายเลขโทรศัพท์ที่ติดต่อจากภายใน",
sortable: true,
field: "name",
headerStyle: "font-size: 14px",
@ -298,7 +300,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
{
name: "name",
align: "left",
label: "หมายเลขโทรศัพท์ภายใน",
label: "หมายเลขโทรศัพท์ที่ติดต่อจากภายใน",
sortable: true,
field: "name",
headerStyle: "font-size: 14px",

View file

@ -1,4 +1,4 @@
<!-- tab คำนำหน หนาจดการขอมลหล/อมลเกยวกบบคคล -->
<!-- tab คำนำหน หนาจดการขอมลหล/อมลเกยวกบบคคล -->
<template>
<div>
<q-form ref="myForm">
@ -209,7 +209,7 @@ const { manageData, changeManageColumns, getPrefix, dataPrefix } = store;
const rows = ref<RequestItemsHistoryObject[]>(dataPrefix.data); //list data table
const rowsHistory = ref<RequestItemsHistoryObject[]>([]); //select data history
const rawHistory = ref<RequestItemsHistoryObject[]>([]); //raw data history
const tittleHistory = ref<string>("ประวัติแก้ไขคำนำหน้า"); //
const tittleHistory = ref<string>("ประวัติแก้ไขคำนำหน้าชื่อ"); //
const myForm = ref<any>(null); //ref
const filter = ref<string>(""); //search data table
const filterHistory = ref<string>(""); //search data table history
@ -225,7 +225,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "name",
align: "left",
label: "คำนำหน้า",
label: "คำนำหน้าชื่อ",
sortable: true,
field: "name",
headerStyle: "font-size: 14px",
@ -294,7 +294,7 @@ const columnsHistory = ref<QTableProps["columns"]>([
{
name: "name",
align: "left",
label: "คำนำหน้า",
label: "คำนำหน้าชื่อ",
sortable: true,
field: "name",
headerStyle: "font-size: 14px",

View file

@ -469,7 +469,7 @@ const lists = ref<DataListsObject[]>([
{ name: "ข้อมูลเครื่องราชอิสริยาภรณ์", count: 0, id: 6 },
]);
const tabsPerson = [
{ label: "คำนำหน้า", value: "person_prefix" },
{ label: "คำนำหน้าชื่อ", value: "person_prefix" },
{ label: "กลุ่มเลือด", value: "person_blood" },
{ label: "เพศ", value: "person_gender" },
{ label: "ศาสนา", value: "person_religion" },
@ -478,23 +478,29 @@ const tabsPerson = [
{ label: "จังหวัด", value: "person_province" },
];
const tabsOrganization = [
{ label: "หน่วยงาน", value: "organization_organization" },
{ label: "ชื่อย่อหน่วยงาน", value: "organization_shortName" },
{ label: "ประเภท", value: "organization_type" },
{ label: "ระดับ", value: "organization_level" },
{ label: "สถานะ", value: "organization_status" },
{ label: "เบอร์ติดต่อภายใน", value: "organization_telInternal" },
{ label: "เบอร์ติดต่อภายนอก", value: "organization_telExternal" },
{ label: "เบอร์โทรสาร", value: "organization_fax" },
{ label: "ชื่อหน่วยงาน/ส่วนราชการ", value: "organization_organization" },
{ label: "ตัวย่อหน่วยงาน/ส่วนราชการ", value: "organization_shortName" },
{ label: "ประเภทของหน่วยงาน/ส่วนราชการ", value: "organization_type" },
{ label: "ระดับของหน่วยงาน/ส่วนราชการ", value: "organization_level" },
{ label: "สถานะของหน่วยงาน/ส่วนราชการ", value: "organization_status" },
{
label: "หมายเลขโทรศัพท์ที่ติดต่อจากภายใน",
value: "organization_telInternal",
},
{
label: "หมายเลขโทรศัพท์ที่ติดต่อจากภายนอก",
value: "organization_telExternal",
},
{ label: "หมายเลขโทรสาร", value: "organization_fax" },
];
const tabsPosition = [
{ label: "ชื่อตำแหน่ง", value: "position_path" },
{ label: "ด้าน/สาขา", value: "position_pathSide" },
{ label: "ตำแหน่งประเภท", value: "position_type" },
{ label: "ชื่อสายงาน", value: "position_line" },
{ label: "ชื่อตำแหน่งสายงาน", value: "position_path" },
{ label: "ด้าน/สาขา ของสายงาน", value: "position_pathSide" },
{ label: "ระดับตำแหน่ง", value: "position_level" },
{ label: "ชื่อตำแหน่งทางการบริหาร", value: "position_executive" },
{ label: "ด้านทางการบริหาร", value: "position_executiveSide" },
{ label: "ตำแหน่งประเภท", value: "position_type" },
{ label: "สายงาน ", value: "position_line" },
{ label: "ระดับ", value: "position_level" },
{ label: "สถานะของตำแหน่ง", value: "position_status" },
];
const tabsPositionEmployee = [