add rfid
This commit is contained in:
parent
32bc7cf18d
commit
2e5aa18bfd
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue