แก้ปุ่มกด
This commit is contained in:
parent
10a8b7f010
commit
597b184b42
1 changed files with 4 additions and 11 deletions
|
|
@ -336,7 +336,7 @@ onMounted(async () => {
|
||||||
v-for="col in props.cols"
|
v-for="col in props.cols"
|
||||||
:key="col.id"
|
:key="col.id"
|
||||||
class="vertical-top"
|
class="vertical-top"
|
||||||
@click="onEdit(props.row.id)"
|
|
||||||
>
|
>
|
||||||
<div v-if="col.name == 'positions'">
|
<div v-if="col.name == 'positions'">
|
||||||
<div v-if="col.value.length !== 0">
|
<div v-if="col.value.length !== 0">
|
||||||
|
|
@ -359,7 +359,7 @@ onMounted(async () => {
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td auto-width>
|
<q-td auto-width>
|
||||||
<!-- <q-btn
|
<q-btn
|
||||||
color="edit"
|
color="edit"
|
||||||
flat
|
flat
|
||||||
dense
|
dense
|
||||||
|
|
@ -368,17 +368,10 @@ onMounted(async () => {
|
||||||
size="12px"
|
size="12px"
|
||||||
icon="edit"
|
icon="edit"
|
||||||
clickable
|
clickable
|
||||||
@click.stop="
|
@click="onEdit(props.row.id)"
|
||||||
() => {
|
|
||||||
dialogStatus = 'edit';
|
|
||||||
dialog = true;
|
|
||||||
prefix = props.row.name;
|
|
||||||
editId = props.row.id;
|
|
||||||
}
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
<q-tooltip>แก้ไขข้อมูล</q-tooltip>
|
<q-tooltip>แก้ไขข้อมูล</q-tooltip>
|
||||||
</q-btn> -->
|
</q-btn>
|
||||||
<q-btn
|
<q-btn
|
||||||
color="red"
|
color="red"
|
||||||
flat
|
flat
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue