rev:设备监控、新增手动入箱回传、出箱回传

This commit is contained in:
2023-06-16 16:25:30 +08:00
parent 5e8efe669c
commit eb8979c4d7
12 changed files with 308 additions and 105 deletions

View File

@@ -146,7 +146,7 @@ export default {
data() {
return {
form: {
flag: '1'
flag: 'A1'
},
chargeLoading: false,
listA1: [],
@@ -154,11 +154,11 @@ export default {
agvList: [
],
agvRegionList: [
{ 'label': 'A1', 'value': '1' },
{ 'label': 'A2', 'value': '2' },
{ 'label': 'A3', 'value': '3' },
{ 'label': 'A4', 'value': '4' },
{ 'label': 'LK', 'value': '5' }
{ 'label': 'A1', 'value': 'A1' },
{ 'label': 'A2', 'value': 'A2' },
{ 'label': 'A3', 'value': 'A3' },
{ 'label': 'A4', 'value': 'A4' },
{ 'label': 'LK', 'value': 'LK' }
]
}
},
@@ -199,6 +199,7 @@ export default {
},
charge_task(data) {
this.chargeLoading = true
data.product_area = this.form.flag
sendAgvChargeTask(data).then(res => {
this.chargeLoading = false
this.$message({

View File

@@ -67,7 +67,7 @@
@change="crud.toQuery"
>
<el-option
v-for="item in dict.product_area"
v-for="item in product_area"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -104,7 +104,7 @@
<el-table-column prop="solve_mode" label="解决方式" show-overflow-tooltip width="250px" />
</el-table>
<!--分页组件-->
<!-- <pagination />-->
<!-- <pagination />-->
</div>
</div>
</template>
@@ -132,6 +132,9 @@ export default {
add: false,
reset: true
},
query: {
plant_code: 'A1'
},
idField: 'device_id',
sort: 'device_id,desc',
crudMethod: { ...crudFaultdevice }
@@ -141,6 +144,7 @@ export default {
return {
permission: {},
tableData: [],
product_area: [{ 'value': 'A1', 'label': 'A1' }, { 'value': 'A2', 'label': 'A2' }, { 'value': 'A3', 'label': 'A3' }, { 'value': 'A4', 'label': 'A4' }, { 'value': 'LK', 'label': 'LK' }],
rules: {
}
}