rev:新增设备状态监控功能;修改点位查询和批量修改;任务下方ACSAGV参数修改;烘箱温度和时间用redis进行存储和查询;

This commit is contained in:
2023-08-14 18:05:12 +08:00
parent d97cb48021
commit e11d91580d
41 changed files with 1157 additions and 198 deletions

View File

@@ -357,7 +357,7 @@
<script>
import crudRegion from '@/views/wms/sch/region/region'
import crudPoint, { changeActive } from '@/views/wms/sch/point/point'
import crudPoint, { changeActive, changeActives } from '@/views/wms/sch/point/point'
import CRUD, { crud, form, header, presenter } from '@crud/crud'
import rrOperation from '@crud/RR.operation'
import crudOperation from '@crud/CRUD.operation'
@@ -503,9 +503,7 @@ export default {
})
},
changeUsed(data, flag) { // 更改启用状态
const param = data[0]
param.lock_type = flag
crudPoint.changeActive(param).then(res => {
crudPoint.changeActives(data).then(res => {
this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.toQuery()
})

View File

@@ -37,6 +37,14 @@ export function changeActive(data) {
})
}
export function changeActives(data) {
return request({
url: 'api/point/changeActives',
method: 'put',
data
})
}
export function getPoint(data) {
return request({
url: '/api/point/getPoint',
@@ -82,4 +90,4 @@ export function download() {
})
}
export default { add, edit, del, changeActive, findPoints, getPoint, getRegion, changeUsed, changeLock, sync }
export default { add, edit, del, changeActive, changeActives, findPoints, getPoint, getRegion, changeUsed, changeLock, sync }