fix: 多次更新agv状态、阻塞测试

This commit is contained in:
2024-07-23 09:06:41 +08:00
parent ccfb246c98
commit 4a6c1c7af4
10 changed files with 136 additions and 101 deletions

View File

@@ -23,7 +23,24 @@
</div>
<div class="app-container">
<el-table :data="modeform.plans" border fit highlight-current-row style="width: 100%;" class="tb-edit">
<el-table-column label="起始设备" prop="from" width="180">
<el-table-column label="任务类型" prop="type" width="180">
<template scope="scope">
<el-select
v-model="scope.row.type"
filterable
clearable
placeholder="请选择"
>
<el-option
v-for="item in requestMethodList"
:key="item.code"
:label="item.name"
:value="item.code"
/>
</el-select>
</template>
</el-table-column>
<el-table-column label="指令起点" prop="from" width="180">
<template scope="scope">
<el-select
v-model="scope.row.from"
@@ -40,7 +57,7 @@
</el-select>
</template>
</el-table-column>
<el-table-column label="目标设备" prop="to" width="180">
<el-table-column label="指令终点" prop="to" width="180">
<template scope="scope">
<el-select
v-model="scope.row.to"
@@ -63,23 +80,7 @@
<span v-show="scope.row.edit">{{ scope.row.quantity }}</span>
</template>
</el-table-column>
<el-table-column label="任务类型" prop="type" width="180">
<template scope="scope">
<el-select
v-model="scope.row.type"
filterable
clearable
placeholder="请选择"
>
<el-option
v-for="item in requestMethodList"
:key="item.code"
:label="item.name"
:value="item.code"
/>
</el-select>
</template>
</el-table-column>
<el-table-column align="center" label="操作" width="170">
<template scope="scope">
<el-button