嘉耐更新

This commit is contained in:
loujf
2022-08-15 20:16:46 +08:00
parent 0ddbf33058
commit 704a3efaf4
20 changed files with 332 additions and 312 deletions

View File

@@ -13,6 +13,7 @@
v-model="opc_id"
placeholder="无"
clearable
filterable
@change="changeOpc"
>
<el-option
@@ -359,6 +360,9 @@ export default {
return
}
for (const val in this.data1) {
if (this.data1[val].code.indexOf('heartbeat') !== -1) {
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) - 1)
}
if (this.data1[val].code.indexOf('move') !== -1) {
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 1)
}

View File

@@ -13,6 +13,7 @@
v-model="opc_id"
placeholder="无"
clearable
filterable
@change="changeOpc"
>
<el-option

View File

@@ -13,6 +13,7 @@
v-model="opc_id"
placeholder="无"
clearable
filterable
@change="changeOpc"
>
<el-option

View File

@@ -13,6 +13,7 @@
v-model="opc_id"
placeholder="无"
clearable
filterable
@change="changeOpc"
>
<el-option
@@ -359,15 +360,15 @@ export default {
return
}
for (const val in this.data1) {
if (this.data1[val].code.indexOf('move') !== -1) {
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 1)
}
if (this.data1[val].code.indexOf('error') !== -1) {
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 5)
}
if (this.data1[val].code.indexOf('task') !== -1) {
this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 7)
}
// if (this.data1[val].code.indexOf('move') !== -1) {
// this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 1)
// }
// if (this.data1[val].code.indexOf('error') !== -1) {
// this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 5)
// }
// if (this.data1[val].code.indexOf('task') !== -1) {
// this.data1[val].db = beforeStr + '.' + 'D' + (parseInt(endNumber) + 7)
// }
}
}
},

View File

@@ -14,6 +14,7 @@
v-model="opc_id"
placeholder="无"
clearable
filterable
@change="changeOpc"
>
<el-option

View File

@@ -13,6 +13,7 @@
v-model="opc_id"
placeholder="无"
clearable
filterable
@change="changeOpc"
>
<el-option

View File

@@ -13,6 +13,7 @@
v-model="opc_id"
placeholder="无"
clearable
filterable
@change="changeOpc"
>
<el-option

View File

@@ -14,6 +14,7 @@
v-model="opc_id"
placeholder="无"
clearable
filterable
@change="changeOpc"
>
<el-option
@@ -324,6 +325,9 @@ export default {
return
}
for (const val in this.data1) {
if (this.data1[val].code.indexOf('heartbeat') !== -1) {
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) - 1)
}
if (this.data1[val].code.indexOf('move') !== -1) {
this.data1[val].db = beforeStr + '.' + afterStr.substring(0, 1) + (parseInt(endNumber) + 1)
}

View File

@@ -1,5 +1,5 @@
<template>
<!--晟华包装码拆垛机械手-->
<!--嘉耐-包装码拆垛机械手-->
<div>
<el-card class="box-card" shadow="never">
<div slot="header" class="clearfix">
@@ -13,6 +13,7 @@
v-model="opc_id"
placeholder="无"
clearable
filterable
@change="changeOpc"
>
<el-option

View File

@@ -28,6 +28,7 @@
<el-select
v-model="query.opc_id"
clearable
filterable
size="small"
placeholder="Server"
class="filter-item"

View File

@@ -90,6 +90,7 @@
v-model="form.device_code"
filterable
clearable
reserveKeyword
multiple
placeholder="请选择"
style="width: 370px;"
@@ -109,6 +110,7 @@
filterable
clearable
multiple
reserveKeyword
placeholder="请选择"
style="width: 370px;"
>