|
@@ -47,7 +47,7 @@
|
|
|
<a-table size="small" :scroll="{ y: 710 }" :columns="columns" :data-source="tableData" :pagination="pagination"
|
|
|
@change="pageChange">
|
|
|
<template #action="{ record }">
|
|
|
- <a-button type="primary" style="margin-right:10px" :disabled="record.linkId != '0'" size="small"
|
|
|
+ <a-button v-if="!record.devInfoList" type="primary" style="margin-right:10px" :disabled="record.linkId != '0'" size="small"
|
|
|
@click="handlerunDeviceMonitor(record, '启动')">启动</a-button>
|
|
|
<a-button type="success" size="small" @click="handlerunDeviceMonitor(record, '编辑')">编辑</a-button>
|
|
|
</template>
|