fix
This commit is contained in:
parent
f47cfae539
commit
8e982af4bc
1 changed files with 15 additions and 17 deletions
|
|
@ -83,9 +83,7 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
format(val, row) {
|
format(val, row) {
|
||||||
return `${
|
return `${
|
||||||
row.firstName
|
row.firstName
|
||||||
? `${row.prefix ?? ""}${row.firstName ?? ""} ${
|
? `${row.prefix ?? ""}${row.firstName ?? ""} ${row.lastName ?? ""}`
|
||||||
row.lastName ?? ""
|
|
||||||
}`
|
|
||||||
: "-"
|
: "-"
|
||||||
}`;
|
}`;
|
||||||
},
|
},
|
||||||
|
|
@ -317,22 +315,23 @@ onMounted(async () => {
|
||||||
<q-card flat bordered class="col-12 q-mt-sm">
|
<q-card flat bordered class="col-12 q-mt-sm">
|
||||||
<div class="row q-pa-md">
|
<div class="row q-pa-md">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<div class="row col-12">
|
<div class="row col-12 q-col-gutter-sm">
|
||||||
<q-btn
|
<div>
|
||||||
v-if="checkPermission($route)?.attrIsUpdate"
|
<q-btn
|
||||||
@click="sendToCommand()"
|
v-if="checkPermission($route)?.attrIsUpdate"
|
||||||
size="14px"
|
@click="sendToCommand()"
|
||||||
flat
|
size="14px"
|
||||||
round
|
flat
|
||||||
color="primary"
|
round
|
||||||
icon="mdi-account-arrow-right"
|
color="primary"
|
||||||
>
|
icon="mdi-account-arrow-right"
|
||||||
<q-tooltip>ส่งไปออกคำสั่งแต่งตั้ง-เลื่อน-ย้าย</q-tooltip>
|
>
|
||||||
</q-btn>
|
<q-tooltip>ส่งไปออกคำสั่งแต่งตั้ง-เลื่อน-ย้าย</q-tooltip>
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
|
|
||||||
<q-space />
|
<q-space />
|
||||||
<q-input
|
<q-input
|
||||||
class="col-xs-12 col-sm-3 col-md-2"
|
|
||||||
standout
|
standout
|
||||||
dense
|
dense
|
||||||
v-model="filterKeyword"
|
v-model="filterKeyword"
|
||||||
|
|
@ -358,7 +357,6 @@ onMounted(async () => {
|
||||||
:options="columns"
|
:options="columns"
|
||||||
option-value="name"
|
option-value="name"
|
||||||
style="min-width: 140px"
|
style="min-width: 140px"
|
||||||
class="col-xs-12 col-sm-3 col-md-2 q-ml-sm"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue