เพิ่ม ฟิลเตอร์
This commit is contained in:
parent
7fbdb7169c
commit
9f5dcc8bfd
1 changed files with 4 additions and 2 deletions
|
|
@ -153,7 +153,9 @@ watch(
|
|||
if (modal.value === true) {
|
||||
selected.value = [];
|
||||
commandType.value = "";
|
||||
rows.value = props.data.persons ? props.data.persons : [];
|
||||
rows.value = props.data.persons
|
||||
? props.data.persons.filter((item: any) => item.status == "NEW")
|
||||
: [];
|
||||
|
||||
const data = await storeCommand.getCommandTypes();
|
||||
listCommand.value = data.filter(
|
||||
|
|
@ -315,6 +317,6 @@ watch(
|
|||
<DialogCreateCommand
|
||||
v-model:modal="modalCommand"
|
||||
:command-type-code="commandType"
|
||||
:persons="selected ? dataMapToSend :[]"
|
||||
:persons="selected ? dataMapToSend : []"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue