| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- const { post,get } = require('./request')
- module.exports = {
- getDeviceConfigs(data){
- return post({
- url: '/get_device_configs',
- data: data,
- headers:{
- 'Content-Type':"application/json",
- }
- })
- },
- getDeviceConfigDetail(data){
- return post({
- url: '/device_config_detail',
- data: data,
- headers:{
- 'Content-Type':"application/json",
- }
- })
- },
- //根据条件查询可执行程序-单条
- getDeviceConfigDetailQuery(data){
- return post({
- url: '/device_config_detail_query',
- data: data,
- headers:{
- 'Content-Type':"application/json",
- }
- })
- },
- //删除
- removeConfig(data){
- return post({
- url: '/remove_config',
- data: data,
- headers:{
- 'Content-Type':"application/json",
- }
- })
- },
- //保存
- saveDeviceConfig(data){
- return post({
- url: '/save_device_config',
- data: data,
- headers:{
- 'Content-Type':"application/json",
- }
- })
- },
- resetDeviceConfig(data){
- return post({
- url: '/reset_config',
- data: data,
- headers:{
- 'Content-Type':"application/json",
- }
- })
- },
- //读取系统配置
- getSysConfig(data){
- return get({
- url: '/get_sys_config',
- data: data,
- headers:{
- 'Content-Type':"application/json",
- }
- })
- },
- //更新系统配置
- updateSysConfigs(data){
- return post({
- url: '/update_sys_configs',
- data: data,
- headers:{
- 'Content-Type':"application/json",
- }
- })
- }
- }
|