Merge pull request '邓洁: 屏蔽风机模式接口操作' (#251) from dengjie into dev
Reviewed-on: http://git.feashow.cn/clay/tunnel-cloud-web/pulls/251
This commit is contained in:
@@ -120,7 +120,7 @@ import {
|
||||
editFrequencyModelSwitch,
|
||||
editFrequencyOperationSwitch,
|
||||
getFanEchartsInfo
|
||||
} from "../../../api/largeScreen";
|
||||
} from "@/api/largeScreen";
|
||||
|
||||
const props = defineProps({
|
||||
list: Array,
|
||||
@@ -218,22 +218,21 @@ const packageData = (item, type, flag) => {
|
||||
//启动/停止
|
||||
const editOperate = (item) => {
|
||||
const data = packageData(item, item.running)
|
||||
editFrequencyOperationSwitch(data).then(res => {
|
||||
console.log('修改风机启动', res)
|
||||
})
|
||||
// editFrequencyOperationSwitch(data).then(res => {
|
||||
// console.log('修改风机启动', res)
|
||||
// })
|
||||
}
|
||||
const changeFrequency = (item) => {
|
||||
console.log()
|
||||
const data = packageData(item, item.frequencySetting, true)
|
||||
editFrequency(data).then(res => {
|
||||
console.log('修改风机频率', res)
|
||||
})
|
||||
// editFrequency(data).then(res => {
|
||||
// console.log('修改风机频率', res)
|
||||
// })
|
||||
}
|
||||
const changeModel = (item) => {
|
||||
const data = packageData(item, item.autoMode)
|
||||
editFrequencyModelSwitch(data).then(res => {
|
||||
console.log('修改自动模式', res)
|
||||
})
|
||||
// editFrequencyModelSwitch(data).then(res => {
|
||||
// console.log('修改自动模式', res)
|
||||
// })
|
||||
}
|
||||
const getFanInfo = (equipmentId) => {
|
||||
isVisited.value = true
|
||||
|
||||
Reference in New Issue
Block a user