fixing history command
This commit is contained in:
parent
e45aadbf6c
commit
4016eb6db3
2 changed files with 8 additions and 4 deletions
|
|
@ -103,9 +103,9 @@ const clickSearch = async () => {
|
|||
};
|
||||
showLoader();
|
||||
http
|
||||
.post(config.API.searchOrderprofile(), body)
|
||||
.then((res) => {
|
||||
let data = res.data.result;
|
||||
.post(config.API.searchCommandProfileNew(), body)
|
||||
.then(async (res) => {
|
||||
let data = await res.data.result.data;
|
||||
if (data.length !== 0) {
|
||||
rows.value = data.map((e: history) => ({
|
||||
id: e.id,
|
||||
|
|
@ -312,7 +312,9 @@ function updatemodalPersonal(modal: boolean) {
|
|||
>{{ props.row.name }}</q-td
|
||||
>
|
||||
|
||||
<q-td key="posNo" :props="props">{{ props.row.posNo }}</q-td>
|
||||
<q-td key="posNo" :props="props">{{
|
||||
props.row.posNo !== null ? props.row.posNo : "-"
|
||||
}}</q-td>
|
||||
<q-td key="position" :props="props">{{
|
||||
props.row.position
|
||||
}}</q-td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue