space to enter / แก้คำ /showload

This commit is contained in:
setthawutttty 2025-03-26 10:20:53 +07:00
parent 51bd71ad83
commit 6a3eeaf2e5
7 changed files with 40 additions and 13 deletions

View file

@ -310,6 +310,16 @@ watch(
<div v-if="col.name === 'no'">
{{ props.rowIndex + 1 }}
</div>
<div
v-else-if="col.name == 'organizationPositionOld'"
class="text-html"
>
{{
props.row.organizationPositionOld
? props.row.organizationPositionOld
: "-"
}}
</div>
<div v-else>
{{ col.value ? col.value : "-" }}
</div>

View file

@ -14,7 +14,7 @@ import type { DataOption } from "@/modules/14_KPI/interface/index/Main";
import type {
ResRound,
ResDevelopment,
} from "@/modules/14_KPI/interface/response/index";
} from "@/modules/14_KPI/interface/response/Index";
/** importComponents*/
import DialogIndividual from "@/modules/14_KPI/components/results/dialogIndividual.vue";
@ -357,7 +357,14 @@ onMounted(async () => {
<div v-if="col.name == 'no'">
{{ (page - 1) * pageSize + props.rowIndex + 1 }}
</div>
<div v-else class="table_ellipsis2">
<div
v-else-if="col.name == 'organization'"
class="text-html"
style="width: 300px"
>
{{ props.row.organization ? props.row.organization : "-" }}
</div>
<div v-else>
{{ col.value ?? "-" }}
</div>
</q-td>

View file

@ -446,7 +446,14 @@ onMounted(async () => {
<div v-if="col.name == 'no'">
{{ (page - 1) * pageSize + props.rowIndex + 1 }}
</div>
<div v-else class="table_ellipsis2">
<div
v-else-if="col.name == 'organization'"
class="text-html"
style="width: 300px"
>
{{ props.row.organization ? props.row.organization : "-" }}
</div>
<div v-else >
{{ col.value ?? "-" }}
</div>
</q-td>

View file

@ -66,7 +66,7 @@ const {
messageError,
dialogConfirm,
success,
findOrgName,
findOrgNameHtml,
dialogRemove,
} = mixin;
@ -431,7 +431,7 @@ async function fetchProfileEvaluator(id: string) {
evaluator.value.posLevelName = data.posLevelName;
evaluator.value.isPosmasterAct = data.isPosmasterAct;
evaluator.value.posmasterAct = data.posmasterAct[0];
evaluator.value.org = findOrgName(data);
evaluator.value.org = findOrgNameHtml(data);
})
.catch((e) => {
messageError($q, e);
@ -1287,7 +1287,7 @@ onUnmounted(() => {
: "-"
}}
</div>
<div class="col-3">
<div class="col-3 text-html">
{{ evaluator.org ? evaluator.org : "-" }}
</div>
</div>

View file

@ -22,7 +22,7 @@ const $q = useQuasar();
const mixin = useCounterMixin();
const {
messageError,
findOrgName,
findOrgNameHtml,
showLoader,
hideLoader,
date2Thai,
@ -134,7 +134,7 @@ async function getMain() {
formData.posExecutiveName = data.posExecutiveName;
formData.posLevelName = data.posLevelName;
formData.isProbation = data.isProbation;
formData.org = findOrgName(data);
formData.org = findOrgNameHtml(data);
profileId.value = data.profileId;
const promises = [];
promises.push(getList(data.profileId)); // fetch
@ -302,7 +302,7 @@ onMounted(async () => {
: "-"
}}
</div>
<div class="col-4">
<div class="col-4 text-html">
{{ formData.org ? formData.org : "-" }}
</div>
</div>