add: Connector添加临时点位,实现空满交换时间缩短

This commit is contained in:
yanps
2025-02-12 15:47:49 +08:00
parent 7d9bbd9b4c
commit df1795cbbd
14 changed files with 371 additions and 237 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@@ -14,7 +14,7 @@
</template>
<script>
import Logo from '@/assets/images/logo.png'
import Logo from '@/assets/images/ximenzi.png'
import variables from '@/assets/styles/variables.scss'
export default {
name: 'SidebarLogo',

View File

@@ -47,7 +47,7 @@
range-separator=""
start-placeholder="开始日期"
end-placeholder="结束日期"
@change="crud.toQuery"
@change="handleDateChange"
/>
</el-form-item>
<el-form-item label="任务状态">
@@ -178,12 +178,6 @@
{{ scope.row.vehicle_code ? scope.row.vehicle_code : '-' }}
</template>
</el-table-column>
<!-- <el-table-column prop="vehicle_code2" label="载具编码2" :min-width="flexWidth('vehicle_code2',crud.data,'载具编码2')">
<template slot-scope="scope">
{{ scope.row.vehicle_code2 ? scope.row.vehicle_code2 : '-' }}
</template>
</el-table-column> -->
<!-- <el-table-column prop="task_class_id" label="任务分类" :min-width="flexWidth('task_class_id',crud.data,'任务分类')" />-->
<el-table-column prop="task_status" label="任务状态" :min-width="flexWidth('task_status',crud.data,'任务状态')">
<template slot-scope="scope">
{{ getStatusName(scope.row.task_status) }}
@@ -193,7 +187,6 @@
<el-table-column prop="config_code" label="配置编码" :min-width="flexWidth('config_code',crud.data,'配置编码')" />
<el-table-column prop="point_code1" label="点位1" :min-width="flexWidth('point_code1',crud.data,'点位1')" />
<el-table-column prop="point_code2" label="点位2" :min-width="flexWidth('point_code2',crud.data,'点位2')" />
<!-- <el-table-column prop="request_param" label="请求参数" :min-width="flexWidth('request_param',crud.data,'请求参数')" /> -->
<el-table-column prop="request_param" label="请求参数" :min-width="150">
<template slot-scope="scope">
<div class="truncate" :title="scope.row.request_param" placement="top">
@@ -339,6 +332,15 @@ export default {
[CRUD.HOOK.beforeRefresh]() {
return true
},
handleDateChange() {
if (this.query.createTime && this.query.createTime.length === 2) {
const startTime = this.query.createTime[0]
const endTime = this.query.createTime[1]
this.query.begin_time = startTime
this.query.end_time = endTime
this.crud.toQuery()
}
},
hand(value) {
this.crud.toQuery()
},