|
@@ -3,8 +3,8 @@
|
|
|
<div class="top-area">
|
|
|
<a-table :columns="columns" :data-source="tableData" bordered :pagination="false" :scroll="{ y: 250 }">
|
|
|
<template #bodyCell="{ column, text }">
|
|
|
- <template v-if="column.dataIndex === 'name'">
|
|
|
- <a href="javascript:;">{{ text }}</a>
|
|
|
+ <template v-if="column.dataIndex === 'alarmdes' || column.dataIndex === 'alarmInfo'">
|
|
|
+ <div v-for="item in text.split(',')" :key="item">{{ item }}</div>
|
|
|
</template>
|
|
|
</template>
|
|
|
</a-table>
|