|
|
|
@ -131,7 +131,7 @@ |
|
|
|
<el-table-column type="selection" width="55" /> |
|
|
|
<!-- <el-table-column label="主键ID" align="center" prop="id" /> --> |
|
|
|
<!-- <el-table-column label="手持表id" align="center" prop="detectorId" /> --> |
|
|
|
<el-table-column label="持有人名称" align="center" prop="name" /> |
|
|
|
<el-table-column label="持有人名称" align="center" prop="holderName" /> |
|
|
|
<el-table-column label="设备编号" align="center" prop="sn" /> |
|
|
|
<el-table-column label="消息" align="center" prop="message" /> |
|
|
|
<el-table-column label="接收设备sn" align="center" prop="pushSnList" /> |
|
|
|
@ -140,13 +140,13 @@ |
|
|
|
<el-table-column |
|
|
|
label="创建时间" |
|
|
|
align="center" |
|
|
|
prop="createTime" |
|
|
|
prop="ts" |
|
|
|
:formatter="dateFormatter" |
|
|
|
width="160px" |
|
|
|
/> |
|
|
|
<el-table-column label="操作" align="center" width="120px"> |
|
|
|
<template #default="scope"> |
|
|
|
<el-button link type="primary" @click="openForm('detail', scope.row.id)"> |
|
|
|
<el-button link type="primary" @click="openForm('detail', scope.row)"> |
|
|
|
详情 |
|
|
|
</el-button> |
|
|
|
<!-- <el-button |
|
|
|
@ -246,8 +246,8 @@ const resetQuery = () => { |
|
|
|
|
|
|
|
/** 添加/修改操作 */ |
|
|
|
const formRef = ref() |
|
|
|
const openForm = (type: string, id?: number) => { |
|
|
|
formRef.value.open(type, id) |
|
|
|
const openForm = (type: string, row) => { |
|
|
|
formRef.value.open(type, row) |
|
|
|
} |
|
|
|
|
|
|
|
/** 删除按钮操作 */ |
|
|
|
|