|
@@ -131,21 +131,12 @@
|
|
|
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
<a @click="handleEdit(record)">编辑</a>
|
|
|
-
|
|
|
<a-divider type="vertical" />
|
|
|
- <a-dropdown>
|
|
|
- <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|
|
|
- <a-menu slot="overlay">
|
|
|
- <a-menu-item>
|
|
|
- <a @click="handleDetail(record)">详情</a>
|
|
|
- </a-menu-item>
|
|
|
- <a-menu-item>
|
|
|
- <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
- <a>删除</a>
|
|
|
- </a-popconfirm>
|
|
|
- </a-menu-item>
|
|
|
- </a-menu>
|
|
|
- </a-dropdown>
|
|
|
+ <!-- <a @click="handleDetail(record)">详情</a>
|
|
|
+ <a-divider type="vertical" /> -->
|
|
|
+ <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
+ <a>删除</a>
|
|
|
+ </a-popconfirm>
|
|
|
</span>
|
|
|
|
|
|
</a-table>
|
|
@@ -200,6 +191,7 @@
|
|
|
title:'设备名称',
|
|
|
align:"center",
|
|
|
dataIndex: 'equipmentname',
|
|
|
+ width:200,
|
|
|
},
|
|
|
{
|
|
|
title:'设备分类',
|
|
@@ -223,7 +215,7 @@
|
|
|
dataIndex: 'spaceid_dictText'
|
|
|
},
|
|
|
{
|
|
|
- title:'周期',
|
|
|
+ title:'送检周期',
|
|
|
align:"center",
|
|
|
dataIndex: 'equipmentCycle'
|
|
|
},
|
|
@@ -232,21 +224,21 @@
|
|
|
align:"center",
|
|
|
dataIndex: 'cycleUnit_dictText'
|
|
|
},
|
|
|
- {
|
|
|
- title:'出厂编号',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'factoryNo'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'出厂日期',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'productDate'
|
|
|
- },
|
|
|
- {
|
|
|
- title:'启用日期',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'activeDate'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title:'出厂编号',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'factoryNo'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title:'出厂日期',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'productDate'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title:'启用日期',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'activeDate'
|
|
|
+ // },
|
|
|
{
|
|
|
title:'责任部门',
|
|
|
align:"center",
|
|
@@ -272,7 +264,7 @@
|
|
|
dataIndex: 'action',
|
|
|
align:"center",
|
|
|
fixed:"right",
|
|
|
- width:147,
|
|
|
+ width:127,
|
|
|
scopedSlots: { customRender: 'action' }
|
|
|
}
|
|
|
],
|