fixing column บรรจุ แต่งตั้ง ย้าย
This commit is contained in:
parent
bb2d03e499
commit
9cde68ab4f
74 changed files with 620 additions and 626 deletions
|
|
@ -227,9 +227,9 @@ async function getDataTable(id: string, level: number = 0) {
|
|||
const body = {
|
||||
node: level,
|
||||
nodeId: id,
|
||||
position: posType.value ? posType.value : "",
|
||||
position: position.value ? position.value : "",
|
||||
posLevel: posLevel.value ? posLevel.value : "",
|
||||
posType: position.value ? position.value : "",
|
||||
posType: posType.value ? posType.value : "",
|
||||
isAll: isAll.value,
|
||||
isBlank: isBlank.value,
|
||||
typeCommand: type.value,
|
||||
|
|
|
|||
|
|
@ -326,7 +326,6 @@ watch(modal, (newValue) => {
|
|||
:model-value="goverment.oc === '' ? '-' : goverment.oc"
|
||||
label="สังกัด"
|
||||
autogrow
|
||||
|
||||
></q-input>
|
||||
</div>
|
||||
<div class="col-xs-6 col-md-6">
|
||||
|
|
@ -366,7 +365,7 @@ watch(modal, (newValue) => {
|
|||
borderless
|
||||
readonly
|
||||
:model-value="goverment.positionType"
|
||||
label="ประเภท"
|
||||
label="ประเภทตำแหน่ง"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-xs-6 col-md-6">
|
||||
|
|
@ -374,7 +373,7 @@ watch(modal, (newValue) => {
|
|||
borderless
|
||||
readonly
|
||||
:model-value="goverment.positionLevel"
|
||||
label="ระดับ"
|
||||
label="ระดับตำแหน่ง"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-xs-6 col-md-6">
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { ref, reactive, watch, onMounted } from "vue";
|
|||
import { useQuasar } from "quasar";
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
import { useRouter,useRoute } from "vue-router";
|
||||
import { useRouter, useRoute } from "vue-router";
|
||||
|
||||
/** importType*/
|
||||
import type { PersonalImformation } from "@/components/information/interface/response/Information";
|
||||
|
|
@ -14,7 +14,7 @@ import type { Avatar } from "@/components/information/interface/response/avatar"
|
|||
import { useCounterMixin } from "@/stores/mixin";
|
||||
|
||||
/** use*/
|
||||
const route = useRoute()
|
||||
const route = useRoute();
|
||||
const mixin = useCounterMixin();
|
||||
const router = useRouter();
|
||||
const $q = useQuasar();
|
||||
|
|
@ -104,7 +104,7 @@ function calculateAge(birthDate: Date | null) {
|
|||
async function fetchInformation(id: string) {
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.orgProfileById(id,empType.value))
|
||||
.get(config.API.orgProfileById(id, empType.value))
|
||||
.then((res) => {
|
||||
const data = res.data.result;
|
||||
imformation.prefix = data.prefix ? data.prefix : "-";
|
||||
|
|
@ -118,9 +118,9 @@ async function fetchInformation(id: string) {
|
|||
avatar.fullname = `${data.prefix}${data.firstName} ${data.lastName}`;
|
||||
|
||||
avatar.position = data.position ? data.position : "-";
|
||||
if(data.avatarName){
|
||||
fetchProfile(data.id as string)
|
||||
}else{
|
||||
if (data.avatarName) {
|
||||
fetchProfile(data.id as string);
|
||||
} else {
|
||||
statusLoad.value.val = true;
|
||||
}
|
||||
})
|
||||
|
|
@ -394,7 +394,7 @@ async function fetchProfile(id: string) {
|
|||
borderless
|
||||
readonly
|
||||
:model-value="goverment.positionType"
|
||||
label="ประเภท"
|
||||
label="ประเภทตำแหน่ง"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-xs-6 col-md-6">
|
||||
|
|
@ -402,7 +402,7 @@ async function fetchProfile(id: string) {
|
|||
borderless
|
||||
readonly
|
||||
:model-value="goverment.positionLevel"
|
||||
label="ระดับ"
|
||||
label="ระดับตำแหน่ง"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue