修改在线率 终端名称

This commit is contained in:
GGJ
2024-05-30 17:59:05 +08:00
parent 445ba01f40
commit c9ea8f2c8e
2 changed files with 3 additions and 3 deletions

View File

@@ -101,10 +101,10 @@ const tableStore = new TableStore({
} }
}, },
{ {
field: 'dataName', field: 'deviceName',
title: '终端名称', title: '终端名称',
formatter: ({ row }: any) => { formatter: ({ row }: any) => {
return row.dataName || '/' return row.deviceName || '/'
} }
}, },
{ {

View File

@@ -5,7 +5,7 @@
<el-button icon="el-icon-Plus" type="primary" @click="add">新增计划</el-button> <el-button icon="el-icon-Plus" type="primary" @click="add">新增计划</el-button>
<!-- <el-button icon="el-icon-Download" type="primary" @click="exportFn">导出</el-button> --> <!-- <el-button icon="el-icon-Download" type="primary" @click="exportFn">导出</el-button> -->
</template> </template>
</TableHeader ref="tableRef"> </TableHeader >
<Table ref="tableRef" /> <Table ref="tableRef" />
<!-- 新增 --> <!-- 新增 -->
<planAdd ref="planAddRef" @onsubmit="tableStore.index()" /> <planAdd ref="planAddRef" @onsubmit="tableStore.index()" />