This commit is contained in:
chenbo 2024-01-13 17:56:58 +08:00
parent 32bc7cf18d
commit 2e5aa18bfd
1 changed files with 84 additions and 79 deletions

View File

@ -1,13 +1,14 @@
<template>
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form
class="mb-[-16px]"
:model="queryParams"
inline
>
<el-form class="mb-[-16px]" :model="queryParams" inline>
<el-form-item label="RFID" prop="rfid">
<el-input class="w-[280px]" v-model="queryParams.rfid" clearable placeholder="请输入" />
<el-input
class="w-[280px]"
v-model="queryParams.rfid"
clearable
placeholder="请输入"
/>
</el-form-item>
<el-form-item>
@ -62,7 +63,13 @@
<pagination v-model="pager" @change="getLists" />
</div>
</el-card>
<edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" />
<edit-popup
v-if="showEdit"
ref="editRef"
:dict-data="dictData"
@success="getLists"
@close="showEdit = false"
/>
</div>
</template>
@ -78,10 +85,9 @@ const editRef = shallowRef<InstanceType<typeof EditPopup>>()
//
const showEdit = ref(false)
//
const queryParams = reactive({
rfid: '',
rfid: ''
})
//
@ -125,4 +131,3 @@ const handleDelete = async (id: number | any[]) => {
getLists()
</script>