[1078] 增加电话回拨

This commit is contained in:
lin
2025-07-16 21:57:26 +08:00
parent 56b70d335a
commit ca07935232
5 changed files with 131 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ import {
queryChannels, queryConfig,
queryDeviceById,
queryDevices, queryPosition, queryRecordList, sendTextMessage, setConfig, startPlayback,
stopPlay, stopPlayback, update,
stopPlay, stopPlayback, telephoneCallback, update,
updateChannel, wiper
} from '@/api/jtDevice'
@@ -250,6 +250,16 @@ const actions = {
reject(error)
})
})
},
telephoneCallback({ commit }, param) {
return new Promise((resolve, reject) => {
telephoneCallback(param).then(response => {
const { data } = response
resolve(data)
}).catch(error => {
reject(error)
})
})
}
}