|
|
|
@ -27,15 +27,13 @@
|
|
|
|
<span slot="rightType" slot-scope="text">
|
|
|
|
<span slot="rightType" slot-scope="text">
|
|
|
|
{{ text === null ? '-' : text === 0 ? '单伸' : '双伸' }}
|
|
|
|
{{ text === null ? '-' : text === 0 ? '单伸' : '双伸' }}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span slot="connectStatus" slot-scope="text">
|
|
|
|
|
|
|
|
{{ text === 1 ? '已连接' : "未连接" }}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
<span slot="plc" slot-scope="text" v-if="text.plcIp">
|
|
|
|
<span slot="plc" slot-scope="text" v-if="text.plcIp">
|
|
|
|
{{ text.plcIp }}:{{text.plcPort}}
|
|
|
|
{{ text.plcIp }}:{{text.plcPort}}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span slot="lightSourceIp" slot-scope="text" v-if="text.lightSourceIp">
|
|
|
|
|
|
|
|
{{ text.lightSourceIp }}:{{text.lightSourcePort}}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span slot="RFID" slot-scope="text" v-if="text.RFIDIp">
|
|
|
|
|
|
|
|
{{ text.RFIDIp }}:{{text.RFIDPort}}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span slot="sensorGun" slot-scope="text">
|
|
|
|
<span slot="sensorGun" slot-scope="text">
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<span v-if="text.rightSensorGunIp && text.leftSensorGunIp">{{text.leftSensorGunIp}}:{{text.leftSensorGunPort}} 、{{text.rightSensorGunIp}}:{{text.rightSensorGunPort}}</span>
|
|
|
|
<span v-if="text.rightSensorGunIp && text.leftSensorGunIp">{{text.leftSensorGunIp}}:{{text.leftSensorGunPort}} 、{{text.rightSensorGunIp}}:{{text.rightSensorGunPort}}</span>
|
|
|
|
@ -47,10 +45,10 @@
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span slot="actions" slot-scope="text">
|
|
|
|
<span slot="actions" slot-scope="text">
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<span v-if="text.camera1Name && text.camera2Name">{{text.camera1Name}} 、{{text.camera2Name}}</span>
|
|
|
|
<span v-if="text.camera1Name ">{{text.camera1Name}} </span>
|
|
|
|
<span v-else>
|
|
|
|
<span v-else>
|
|
|
|
<span v-if="text.camera1Name">{{text.camera1Name}}</span>
|
|
|
|
<span >{{text.camera1Name}}</span>
|
|
|
|
<span v-if="text.camera2Name">{{text.camera2Name}}</span>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
@ -99,14 +97,13 @@ const columns = [
|
|
|
|
dataIndex: 'plcId',
|
|
|
|
dataIndex: 'plcId',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '光源IP',
|
|
|
|
title: '客户端IP',
|
|
|
|
scopedSlots: { customRender: 'lightSourceIp' }
|
|
|
|
scopedSlots: { customRender: 'plcIp' }
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '客户端',
|
|
|
|
title: '客户端连接状态',
|
|
|
|
scopedSlots: { customRender: 'plc' }
|
|
|
|
scopedSlots: { customRender: 'connectStatus' }
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '左货架类型',
|
|
|
|
title: '左货架类型',
|
|
|
|
dataIndex: 'leftType',
|
|
|
|
dataIndex: 'leftType',
|
|
|
|
|