refactor: add id for test
This commit is contained in:
parent
fce11a9a9b
commit
d2ff5c81ba
10 changed files with 31 additions and 5 deletions
|
|
@ -108,6 +108,7 @@ function clearAdvSearchData() {
|
|||
color="red"
|
||||
icon="close"
|
||||
@click="clearAdvSearchData"
|
||||
id="clearAdvSearchData"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
@ -124,6 +125,7 @@ function clearAdvSearchData() {
|
|||
icon="mdi-plus"
|
||||
v-if="index === advSearchDataRow.length - 1"
|
||||
@click="addAdvSearchData"
|
||||
id="addAdvSearchData"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-4 col-md-2">
|
||||
|
|
@ -172,6 +174,7 @@ function clearAdvSearchData() {
|
|||
icon="mdi-trash-can-outline"
|
||||
color="red"
|
||||
@click="() => delAdvSearchData(index)"
|
||||
id="delAdvSearchData"
|
||||
>
|
||||
<q-tooltip
|
||||
class="bg-red"
|
||||
|
|
@ -220,6 +223,7 @@ function clearAdvSearchData() {
|
|||
label="ค้นหา"
|
||||
icon="mdi-magnify"
|
||||
@click="() => props.searchSubmit()"
|
||||
id="advSearchSubmit"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ async function downloadSubmit(path: any) {
|
|||
dense
|
||||
class="q-mr-sm q-px-sm"
|
||||
@click="() => (isFilePreview = false)"
|
||||
id="goBackInfo"
|
||||
>
|
||||
<q-icon
|
||||
class="pointer"
|
||||
|
|
@ -95,6 +96,7 @@ async function downloadSubmit(path: any) {
|
|||
icon="mdi-download"
|
||||
class="q-py-sm"
|
||||
@click="() => downloadSubmit(fileInfo?.pathname)"
|
||||
id="downloadSubmit"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ async function searchSubmit() {
|
|||
v-model="searchData.value"
|
||||
id="inputSearch"
|
||||
@keydown.enter.prevent="searchSubmit"
|
||||
|
||||
>
|
||||
<template v-slot:append><q-icon name="search" /></template>
|
||||
</q-input>
|
||||
|
|
@ -141,6 +142,7 @@ async function searchSubmit() {
|
|||
name="close"
|
||||
@click="() => ((searchData.value = ''), (isSearch = false))"
|
||||
class="cursor-pointer"
|
||||
id="clearSearchData"
|
||||
/>
|
||||
</template>
|
||||
</q-input>
|
||||
|
|
@ -163,6 +165,7 @@ async function searchSubmit() {
|
|||
label="ค้นหา"
|
||||
icon="mdi-magnify"
|
||||
@click="searchSubmit"
|
||||
id="searchSubmit"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue