[1078] 增加电话回拨
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user