API สำหรับส่งคนไปออกคำสั่ง
This commit is contained in:
parent
6d5794f124
commit
90c2956e74
16 changed files with 58 additions and 54 deletions
|
|
@ -377,6 +377,6 @@ watch(
|
|||
<DialogCreateCommand
|
||||
v-model:modal="modalCommand"
|
||||
:command-type-code="commandType"
|
||||
:persons-id="selected.map((r) => r.id)"
|
||||
:persons="selected"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -406,6 +406,6 @@ watch(
|
|||
<DialogCreateCommand
|
||||
v-model:modal="modalCommand"
|
||||
:command-type-code="commandType"
|
||||
:persons-id="selected.map((r) => r.id)"
|
||||
:persons="selected"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -333,6 +333,6 @@ watch(
|
|||
<DialogCreateCommand
|
||||
v-model:modal="modalCommand"
|
||||
:command-type-code="'C-PM-15'"
|
||||
:persons-id="selected.map((r) => r.id)"
|
||||
:persons="selected"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -325,6 +325,6 @@ watch(
|
|||
<DialogCreateCommand
|
||||
v-model:modal="modalCommand"
|
||||
:command-type-code="commandType"
|
||||
:persons-id="selected.map((r) => r.id)"
|
||||
:persons="selected"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -211,6 +211,8 @@ watch(
|
|||
if (modal.value === true) {
|
||||
rows.value = props.rows ? props.rows : [];
|
||||
selected.value = [];
|
||||
commandType.value = "";
|
||||
filter.value = "";
|
||||
const status = DataStore.DataMainOrig.find((x: any) => x.id == examId);
|
||||
if (status?.examTypeName !== "") {
|
||||
const data = await storeCommand.getCommandTypes();
|
||||
|
|
@ -464,6 +466,6 @@ watch(
|
|||
<DialogCreateCommand
|
||||
v-model:modal="modalCommand"
|
||||
:command-type-code="commandType"
|
||||
:persons-id="selected.map((r) => r.id)"
|
||||
:persons="selected"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -351,7 +351,6 @@ async function getTable() {
|
|||
posmasterId: data.posmasterId,
|
||||
statusNameCheck: convertContainStatus(data.statusId),
|
||||
deferment: data.isRelief,
|
||||
|
||||
statusName:
|
||||
data.isRelief === true &&
|
||||
data.statusId == "PREPARE-CONTAIN" &&
|
||||
|
|
@ -373,6 +372,11 @@ async function getTable() {
|
|||
data.nodeShortName +
|
||||
"" +
|
||||
data.posMasterNo,
|
||||
prefix: data.prefix,
|
||||
firstName: data.firstname,
|
||||
lastName: data.lastname,
|
||||
citizenId: data.citizenId,
|
||||
id: data.id,
|
||||
};
|
||||
rowsAll.value.push(rowData);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -165,8 +165,8 @@ function openModalOrder() {
|
|||
<template>
|
||||
<div class="q-px-md q-pb-md">
|
||||
<div class="col-12 row q-py-sm">
|
||||
<!-- v-if="roleAdmin === false" -->
|
||||
<q-btn
|
||||
v-if="roleAdmin === false"
|
||||
@click="openModalOrder()"
|
||||
flat
|
||||
round
|
||||
|
|
|
|||
|
|
@ -310,6 +310,6 @@ watchEffect(() => {
|
|||
<DialogCreateCommand
|
||||
v-model:modal="modalCommand"
|
||||
:command-type-code="'C-PM-14'"
|
||||
:persons-id="selected.map((r) => r.id)"
|
||||
:persons="selected"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -292,6 +292,6 @@ watch(
|
|||
<DialogCreateCommand
|
||||
v-model:modal="modalCommand"
|
||||
:command-type-code="'C-PM-16'"
|
||||
:persons-id="selected.map((r) => r.id)"
|
||||
:persons="selected"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -255,6 +255,6 @@ watch(
|
|||
<DialogCreateCommand
|
||||
v-model:modal="modalCommand"
|
||||
command-type-code="C-PM-13"
|
||||
:persons-id="selected.map((r) => r.id)"
|
||||
:persons="selected"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue