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,
|
editFrequencyModelSwitch,
|
||||||
editFrequencyOperationSwitch,
|
editFrequencyOperationSwitch,
|
||||||
getFanEchartsInfo
|
getFanEchartsInfo
|
||||||
} from "../../../api/largeScreen";
|
} from "@/api/largeScreen";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
list: Array,
|
list: Array,
|
||||||
@@ -218,22 +218,21 @@ const packageData = (item, type, flag) => {
|
|||||||
//启动/停止
|
//启动/停止
|
||||||
const editOperate = (item) => {
|
const editOperate = (item) => {
|
||||||
const data = packageData(item, item.running)
|
const data = packageData(item, item.running)
|
||||||
editFrequencyOperationSwitch(data).then(res => {
|
// editFrequencyOperationSwitch(data).then(res => {
|
||||||
console.log('修改风机启动', res)
|
// console.log('修改风机启动', res)
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
const changeFrequency = (item) => {
|
const changeFrequency = (item) => {
|
||||||
console.log()
|
|
||||||
const data = packageData(item, item.frequencySetting, true)
|
const data = packageData(item, item.frequencySetting, true)
|
||||||
editFrequency(data).then(res => {
|
// editFrequency(data).then(res => {
|
||||||
console.log('修改风机频率', res)
|
// console.log('修改风机频率', res)
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
const changeModel = (item) => {
|
const changeModel = (item) => {
|
||||||
const data = packageData(item, item.autoMode)
|
const data = packageData(item, item.autoMode)
|
||||||
editFrequencyModelSwitch(data).then(res => {
|
// editFrequencyModelSwitch(data).then(res => {
|
||||||
console.log('修改自动模式', res)
|
// console.log('修改自动模式', res)
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
const getFanInfo = (equipmentId) => {
|
const getFanInfo = (equipmentId) => {
|
||||||
isVisited.value = true
|
isVisited.value = true
|
||||||
|
|||||||
Reference in New Issue
Block a user