|
|
@@ -1,13 +1,16 @@ |
|
|
|
<template> |
|
|
|
<div class="mod-config"> |
|
|
|
<el-form :inline="true"> |
|
|
|
<el-form-item :label="'当前设备id'"> |
|
|
|
<el-form :inline="true" class="blueTip" size="small"> |
|
|
|
<el-form-item :label="$t('eqId')"> |
|
|
|
<strong>{{ $route.params.id }}</strong></el-form-item |
|
|
|
> |
|
|
|
</el-form> |
|
|
|
|
|
|
|
<!-- <base-table :page="pageIndex" :size="pageSize" :data="dataList" :table-head-configs="tableConfigs" :max-height="calcMaxHeight(8)" @operate-event="handleOperations" @refreshDataList="getDataList" /> --> |
|
|
|
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="calcMaxHeight(8)" /> |
|
|
|
<base-table |
|
|
|
:data="dataList" |
|
|
|
:table-head-configs="tableConfigs" |
|
|
|
:max-height="calcMaxHeight(8)" /> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@@ -77,10 +80,10 @@ export default { |
|
|
|
type: 'index', |
|
|
|
name: i18n.t('index') |
|
|
|
}, |
|
|
|
{ prop: 'time', name: '时间', filter: timeFilter }, |
|
|
|
{ prop: 'plcCode', name: 'PLC 编码' }, |
|
|
|
{ prop: 'equName', name: '设备名称' }, |
|
|
|
{ prop: 'equCode', name: '设备编码' }, |
|
|
|
{ prop: 'time', name: this.$t('ti'), filter: timeFilter }, |
|
|
|
{ prop: 'plcCode', name: this.$t('plcCode') }, |
|
|
|
{ prop: 'equName', name: this.$t('equName') }, |
|
|
|
{ prop: 'equCode', name: this.$t('equCode') }, |
|
|
|
// ...['数值1', '数值2', '数值3'].map(name => { |
|
|
|
// return { prop: name, name } |
|
|
|
// }) |
|
|
|