forked from mt-fe-group/mt-yd-ui
update 基本完成设备数采
This commit is contained in:
@@ -35,28 +35,15 @@ import TableTextComponent from '@/components/base-table/components/detailCompone
|
||||
|
||||
const tableConfigs = [
|
||||
{ type: 'index', name: '序号' },
|
||||
// { prop: 'id', name: 'id' },
|
||||
// { "prop": "plcType", "name": "plc类型" },
|
||||
{ prop: 'code', name: '编码' },
|
||||
{ prop: 'name', name: '名称' },
|
||||
{ prop: 'enName', name: '英文名称' },
|
||||
{ prop: 'description', name: '描述' },
|
||||
{ prop: 'barcode', name: 'plc条码' },
|
||||
// { "prop": "controlType", "name": "链接方式,0 tcp,1 udp等" },
|
||||
// { "prop": "monitor", "name": "是否监控 0 代表不监控, 1 代表监控" },
|
||||
{ prop: 'collection', name: '是否采集', filter: val => ({ 0: '不采集', 1: '采集' }[val]) },
|
||||
{ prop: 'ip', name: 'IP' },
|
||||
{ prop: 'port', name: '端口号' },
|
||||
// { "prop": "enabled", "name": "启用状态:0 、停用,1、启用" },
|
||||
{ prop: 'remark', name: '备注' },
|
||||
// { prop: 'valid', name: '删除标志,是否有效:1 可用 0不可用' },
|
||||
// { prop: 'creatorId', name: '创建人' },
|
||||
// { prop: 'creatorName', name: '创建人姓名' },
|
||||
// { prop: 'createTime', name: '添加时间' },
|
||||
// { prop: 'updaterId', name: '更新人' },
|
||||
// { prop: 'updaterName', name: '更新人姓名' },
|
||||
// { prop: 'updateTime', name: '更新时间' },
|
||||
// { prop: 'version', name: '版本号' },
|
||||
{ prop: 'operations', name: '操作', fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user