fix เลขที่ตำแหน่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-04-02 14:38:28 +07:00
parent 1a109fd5e3
commit d438c1accc
15 changed files with 31 additions and 31 deletions

View file

@ -96,7 +96,7 @@ const columns2 = ref<QTableProps["columns"]>([
{
name: "positionNumberOld",
align: "left",
label: "ตำแหน่งเลขที่เดิม",
label: "เลขที่ตำแหน่งเดิม",
sortable: true,
field: "positionNumberOld",
headerStyle: "font-size: 14px",

View file

@ -42,7 +42,7 @@ const mainData = ref<any>();
const educationOld = ref<string>(""); ///
const organizationPositionOld = ref<string>(""); ///
const positionTypeOld = ref<string>(""); //
const positionTypeOld = ref<string>(""); //
const positionLevelOld = ref<string>(""); //
const posNo = ref<string>(""); //
const salary = ref<number>(0); //
@ -283,9 +283,9 @@ onMounted(async () => {
:readonly="!edit"
:borderless="!edit"
v-model="positionTypeOld"
:rules="[(val:string) => !!val || `${'กรุณากรอกประเภทตำแหน่ง'}`]"
:rules="[(val:string) => !!val || `${'กรุณากรอกตำแหน่งประเภท'}`]"
hide-bottom-space
:label="`${'ประเภทตำแหน่ง'}`"
:label="`${'ตำแหน่งประเภท'}`"
/>
</div>
</div>

View file

@ -24,12 +24,12 @@ const selected = defineModel("selectedPos", { required: true }); //ตำแห
const positionId = defineModel<string>("positionId", { required: true }); //id
const seletcId = defineModel<string>("seletcId", { required: true }); //
const date = defineModel<Date>("datePos", { required: true }); //
const positionData = defineModel<any[]>("position", { required: true }); //
const positionData = defineModel<any[]>("position", { required: true }); //
const isAll = defineModel<boolean>("isAll", { required: true }); //
const isBlank = defineModel<boolean>("isBlank", { required: true }); //
const isPosition = defineModel<string>("isPosition", { required: true });
// const isPositionOld = defineModel<boolean>("isPositionOld", { required: true }); //
const posType = defineModel<FormPosType>("posType", { required: true }); //
const posType = defineModel<FormPosType>("posType", { required: true }); //
const posLevel = defineModel<string>("posLevel", { required: true }); //
const optionPosType = defineModel<FormPosType[]>("optionPosType", {
required: true,
@ -74,7 +74,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "posMasterNo",
align: "left",
label: "ตำแหน่งเลขที่",
label: "เลขที่ตำแหน่ง",
sortable: true,
field: "posMasterNo",
headerStyle: "font-size: 14px",
@ -92,7 +92,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "posTypeName",
align: "left",
label: "ประเภทตำแหน่ง",
label: "ตำแหน่งประเภท",
sortable: true,
field: "posTypeName",
headerStyle: "font-size: 14px",
@ -202,7 +202,7 @@ const visibleColumns = ref<string[]>([
]);
/**
* function เลอกตำแหนเลขท
* function เลอกเลขทตำแหน
* @param id เลชทตำแหน
*/
async function onClickSelectPos(id: string) {
@ -265,11 +265,11 @@ onMounted(async () => {
<template>
<div class="column q-col-gutter-sm">
<!-- เลอกตำแหนเลขท -->
<!-- เลอกเลขทตำแหน -->
<div class="col-7">
<q-card bordered style="height: 100%; border: 1px solid #d6dee1">
<div class="col-12 text-weight-medium bg-grey-1 q-py-sm q-px-md">
เลอกตำแหนเลขท
เลอกเลขทตำแหน
</div>
<!-- <div class="col-12">
@ -306,7 +306,7 @@ onMounted(async () => {
v-model="posType"
:options="optionPosType"
option-label="posTypeName"
label="ประเภทตำแหน่ง"
label="ตำแหน่งประเภท"
dense
outlined
@update:model-value="props.onPosType?.()"

View file

@ -227,7 +227,7 @@ async function onClickSubmit() {
nodeId: dataPosMaster.nodeId,
orgRevisionId: orgRevisionId.value,
positionId: selectedPos.value[0].id,
posMasterNo: dataPosMaster.posMasterNo, //()
posMasterNo: dataPosMaster.posMasterNo, //()
positionName: selectedPos.value[0].positionName, //
positionField: selectedPos.value[0].positionField, //
posTypeId: selectedPos.value[0].posTypeId, //

View file

@ -88,7 +88,7 @@ const columns = ref<QTableProps["columns"]>([
const profileId = ref<string>("");
const educationOld = ref<string>(""); ///
const organizationPositionOld = ref<string>(""); ///
const positionTypeOld = ref<string>(""); //
const positionTypeOld = ref<string>(""); //
const positionLevelOld = ref<string>(""); //
const posNo = ref<string>(""); //
const salary = ref<number>(0); //
@ -988,9 +988,9 @@ onMounted(async () => {
:readonly="!edit"
:borderless="!edit"
v-model="positionTypeOld"
:rules="[(val:string) => !!val || `${'กรุณากรอกประเภทตำแหน่ง'}`]"
:rules="[(val:string) => !!val || `${'กรุณากรอกตำแหน่งประเภท'}`]"
hide-bottom-space
:label="`${'ประเภทตำแหน่ง'}`"
:label="`${'ตำแหน่งประเภท'}`"
/>
</div>
<div class="col-xs-6 col-sm-4">

View file

@ -260,9 +260,9 @@ onMounted(() => {
:readonly="!edit"
:borderless="!edit"
v-model="positionTypeOld"
:rules="[(val:string) => !!val || `${'กรุณากรอกประเภทตำแหน่ง'}`]"
:rules="[(val:string) => !!val || `${'กรุณากรอกตำแหน่งประเภท'}`]"
hide-bottom-space
:label="`${'ประเภทตำแหน่ง'}`"
:label="`${'ตำแหน่งประเภท'}`"
/>
</div>
</div>

View file

@ -44,7 +44,7 @@ const dataProfile = ref<DataProfile>(); //ข้อมูลส่วนตั
const workflowRef = ref<any>(null);
const organizationPositionOld = ref<string>(""); ///
const positionTypeOld = ref<string>(""); //
const positionTypeOld = ref<string>(""); //
const positionLevelOld = ref<string>(""); //
const posNo = ref<string>(""); //
const salary = ref<number>(0); //
@ -561,9 +561,9 @@ onMounted(async () => {
:readonly="!edit"
:borderless="!edit"
v-model="positionTypeOld"
:rules="edit ? [(val:string) => !!val || `${'กรุณากรอกประเภทตำแหน่ง'}`]:[]"
:rules="edit ? [(val:string) => !!val || `${'กรุณากรอกตำแหน่งประเภท'}`]:[]"
hide-bottom-space
:label="`${'ประเภทตำแหน่ง'}`"
:label="`${'ตำแหน่งประเภท'}`"
/>
</div>
<div class="col-xs-6 col-sm-4">

View file

@ -162,7 +162,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "positionType",
align: "left",
label: "ประเภทตำแหน่ง",
label: "ตำแหน่งประเภท",
sortable: true,
field: "positionType",
headerStyle: "font-size: 14px",
@ -225,7 +225,7 @@ const columnsMember = ref<QTableProps["columns"]>([
{
name: "posType",
align: "left",
label: "ประเภทตำแหน่ง",
label: "ตำแหน่งประเภท",
sortable: true,
field: "posType",
headerStyle: "font-size: 14px",

View file

@ -74,7 +74,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "posType",
align: "left",
label: "ประเภทตำแหน่ง",
label: "ตำแหน่งประเภท",
sortable: true,
field: "posType",
format(val, row) {

View file

@ -181,7 +181,7 @@ const columns2 = ref<QTableProps["columns"]>([
{
name: "posLevelName",
align: "left",
label: "ประเภทตำแหน่ง",
label: "ตำแหน่งประเภท",
sortable: true,
field: "posLevelName",
headerStyle: "font-size: 14px",

View file

@ -354,7 +354,7 @@ onMounted(async () => {
<div class="col-xs-6 col-sm-2 row items-center">
<div class="col-12">
<div class="col-12 text-top">ประเภทตำแหน</div>
<div class="col-12 text-top">ตำแหนประเภท</div>
<div class="col-12 text-detail">{{ position_level }}</div>
</div>
</div>

View file

@ -48,7 +48,7 @@ const personalId = ref<string>(""); //บุคคล
const files = ref<any>(); //
const posType = ref<string>(""); //
const posType = ref<string>(""); //
const posLevel = ref<string>(""); //
const position = ref<string>(""); //
const type = ref<string | null>(null);

View file

@ -38,7 +38,7 @@ const status = ref<string>("");
const modal = ref<boolean>(false); // popup
const modalTree = ref<boolean>(false); // popup - -
const posType = ref<string>(""); //
const posType = ref<string>(""); //
const posLevel = ref<string>(""); //
const position = ref<string>(""); //
const typeModal = ref<string | null>(null); // popup , ,

View file

@ -39,7 +39,7 @@ const personalId = ref<string>("");
const modal = ref<boolean>(false); // popup
const modalTree = ref<boolean>(false); // popup
const typeModal = ref<string>(""); // popup ,
const posType = ref<string>(""); //
const posType = ref<string>(""); //
const posLevel = ref<string>(""); //
const position = ref<string>(""); //
const dataRows = ref<PersonData>();

View file

@ -80,7 +80,7 @@ const columns = ref<QTableProps["columns"]>([
{
name: "positionNumberOld",
align: "left",
label: "ตำแหน่งเลขที่เดิม",
label: "เลขที่ตำแหน่งเดิม",
sortable: true,
field: "positionNumberOld",
headerStyle: "font-size: 14px",
@ -232,7 +232,7 @@ const modalSelectOrg = ref<boolean>(false);
const type = ref<string | null>(null);
const personalId = ref<string>("");
const posType = ref<string>(""); //
const posType = ref<string>(""); //
const posLevel = ref<string>(""); //
const position = ref<string>(""); //
const dataRows = ref<any>(); //