Compare commits

..

No commits in common. "797095d29f059ba9f2ed1100ecb06729982d4b50" and "732d2a1e06355e73976c1b32c04db2a5c654fa7b" have entirely different histories.

5 changed files with 64 additions and 80 deletions

View File

@ -15,7 +15,7 @@ enum Api {
getDictItems = '/sys/dict/getDictItems/', getDictItems = '/sys/dict/getDictItems/',
getTableList = '/sys/user/queryUserComponentData', getTableList = '/sys/user/queryUserComponentData',
getCategoryData = '/sys/category/loadAllData', getCategoryData = '/sys/category/loadAllData',
getNuList = '/iot/tplink/cameraInfo/nuList', //后期调整 getNuList = '/iot/cameraInfo/nuList', //后期调整
getOrgInfo = '/api/common/getOrgInfo',//根据机构编码获取机构信息 getOrgInfo = '/api/common/getOrgInfo',//根据机构编码获取机构信息
} }
@ -172,4 +172,4 @@ export const uploadMyFile = (url, data) => {
*/ */
export const getOrgInfo = (params) => { export const getOrgInfo = (params) => {
return defHttp.get({ url: Api.getOrgInfo, params }); return defHttp.get({ url: Api.getOrgInfo, params });
}; };

View File

@ -1,45 +1,43 @@
import { defHttp } from '/@/utils/http/axios'; import { defHttp } from '/@/utils/http/axios';
enum Api { enum Api {
queryProjectTreeSync = '/iot/tplink/projectInfo/queryRegionTreeSync', queryProjectTreeSync = '/iot/projectInfo/queryRegionTreeSync',
queryRegionTreeSync = '/iot/tplink/regionInfo/queryRegionTreeSync', queryRegionTreeSync = '/iot/regionInfo/queryRegionTreeSync',
syncProject = '/iot/tplink/projectInfo/sync', syncProject = '/iot/projectInfo/sync',
syncRegion = '/iot/tplink/regionInfo/sync', syncRegion = '/iot/regionInfo/sync',
list = '/iot/tplink/cameraInfo/list', list = '/iot/cameraInfo/list',
syncProjectIpcDevice = '/iot/tplink/cameraInfo/syncProjectIpcDevice', ipcCapability = '/iot/cameraInfo/getIpcCapability',
ipcCapability = '/iot/tplink/cameraInfo/getIpcCapability', nuList = '/iot/cameraInfo/nuList',
nuList = '/iot/tplink/cameraInfo/nuList', edit = '/iot/cameraInfo/edit',
edit = '/iot/tplink/cameraInfo/edit', rebootDevice = '/iot/cameraInfo/rebootDevice',
rebootDevice = '/iot/tplink/cameraInfo/rebootDevice', previewUrl = '/iot/cameraInfo/getPreviewUrl',
previewUrl = '/iot/tplink/cameraInfo/getPreviewUrl', getImageCommon = '/iot/cameraInfo/getImageCommon',
getImageCommon = '/iot/tplink/cameraInfo/getImageCommon', setImageCommon = '/iot/cameraInfo/setImageCommon',
setImageCommon = '/iot/tplink/cameraInfo/setImageCommon', getOsdCapability = '/iot/cameraInfo/getOsdCapability',
getOsdCapability = '/iot/tplink/cameraInfo/getOsdCapability', getOsd = '/iot/cameraInfo/getOsd',
getOsd = '/iot/tplink/cameraInfo/getOsd', setOsd = '/iot/cameraInfo/setOsd',
setOsd = '/iot/tplink/cameraInfo/setOsd', getTamperDet = '/iot/cameraInfo/getTamperDet',
getTamperDet = '/iot/tplink/cameraInfo/getTamperDet', setTamperDet = '/iot/cameraInfo/setTamperDet',
setTamperDet = '/iot/tplink/cameraInfo/setTamperDet', getTamperNotif = '/iot/cameraInfo/getTamperNotif',
getTamperNotif = '/iot/tplink/cameraInfo/getTamperNotif', setTamperNotif = '/iot/cameraInfo/setTamperNotif',
setTamperNotif = '/iot/tplink/cameraInfo/setTamperNotif', testAudio = '/iot/cameraInfo/testAudio',
testAudio = '/iot/tplink/cameraInfo/testAudio', getAlarmInfo = '/iot/cameraInfo/getAlarmInfo',
getAlarmInfo = '/iot/tplink/cameraInfo/getAlarmInfo', setAlarmInfo = '/iot/cameraInfo/setAlarmInfo',
setAlarmInfo = '/iot/tplink/cameraInfo/setAlarmInfo', getAlarmPlan = '/iot/cameraInfo/getAlarmPlan',
getAlarmPlan = '/iot/tplink/cameraInfo/getAlarmPlan', setAlarmPlan = '/iot/cameraInfo/setAlarmPlan',
setAlarmPlan = '/iot/tplink/cameraInfo/setAlarmPlan', getVideoParams = '/iot/cameraInfo/getVideoParams',
getVideoParams = '/iot/tplink/cameraInfo/getVideoParams', setVideoParams = '/iot/cameraInfo/setVideoParams',
setVideoParams = '/iot/tplink/cameraInfo/setVideoParams', configRecovery = '/iot/cameraInfo/configRecovery',
configRecovery = '/iot/tplink/cameraInfo/configRecovery', searchVideo = '/iot/cameraInfo/searchVideo',
searchVideo = '/iot/tplink/cameraInfo/searchVideo', getPlaybackUrlList = '/iot/cameraInfo/getPlaybackUrlList',
getPlaybackUrlList = '/iot/tplink/cameraInfo/getPlaybackUrlList', deletePlaybackChn = '/iot/cameraInfo/deletePlaybackChn',
deletePlaybackChn = '/iot/tplink/cameraInfo/deletePlaybackChn', getMultitransUrl = '/iot/cameraInfo/getMultitransUrl',
getMultitransUrl = '/iot/tplink/cameraInfo/getMultitransUrl', getRecordCfgs = '/iot/cameraInfo/getRecordCfgs',
getRecordCfgs = '/iot/tplink/cameraInfo/getRecordCfgs', setRecordCfgs = '/iot/cameraInfo/setRecordCfgs',
setRecordCfgs = '/iot/tplink/cameraInfo/setRecordCfgs', getBatchProgress = '/iot/cameraInfo/getBatchProgress',
getBatchProgress = '/iot/tplink/cameraInfo/getBatchProgress', uploadToServer = '/iot/cameraInfo/uploadToServer',
uploadToServer = '/iot/tplink/cameraInfo/uploadToServer', stopUploadToServer = '/iot/cameraInfo/stopUploadToServer',
stopUploadToServer = '/iot/tplink/cameraInfo/stopUploadToServer', getUploadToServerProcess = '/iot/cameraInfo/getUploadToServerProcess',
getUploadToServerProcess = '/iot/tplink/cameraInfo/getUploadToServerProcess',
motionCtrl = '/iot/tplink/cameraInfo/motionCtrl',
} }
@ -74,13 +72,6 @@ export const syncRegion = (params?) => defHttp.get({ url: Api.syncRegion, params
*/ */
export const list = (params) => defHttp.get({ url: Api.list, params }); export const list = (params) => defHttp.get({ url: Api.list, params });
/**
* IPC设备
* @param params
*/
export const syncProjectIpcDevice = (params) => defHttp.get({ url: Api.syncProjectIpcDevice, params });
/** /**
* IPC能力集 * IPC能力集
* @param params * @param params
@ -275,10 +266,3 @@ export const stopUploadToServer = (params) => defHttp.get({ url: Api.stopUploadT
*/ */
export const getUploadToServerProcess = (params) => defHttp.get({ url: Api.getUploadToServerProcess, params }); export const getUploadToServerProcess = (params) => defHttp.get({ url: Api.getUploadToServerProcess, params });
/**
*
* @param params
*/
export const motionCtrl = (params) => defHttp.get({ url: Api.motionCtrl, params });

View File

@ -2,16 +2,16 @@ import { defHttp } from '/@/utils/http/axios';
import {Modal} from "ant-design-vue"; import {Modal} from "ant-design-vue";
enum Api { enum Api {
queryProjectTreeSync = '/iot/tplink/projectInfo/queryRegionTreeSync', queryProjectTreeSync = '/iot/projectInfo/queryRegionTreeSync',
queryRegionTreeSync = '/iot/tplink/regionInfo/queryRegionTreeSync', queryRegionTreeSync = '/iot/regionInfo/queryRegionTreeSync',
queryTreeList = '/iot/tplink/cameraInfo/queryTreeList', queryTreeList = '/iot/cameraInfo/queryTreeList',
getStorageDevice = '/iot/tplink/cameraInfo/getStorageDevice', getStorageDevice = '/iot/cameraInfo/getStorageDevice',
getAllRecordPlans = '/iot/tplink/cameraInfo/getAllRecordPlans', getAllRecordPlans = '/iot/cameraInfo/getAllRecordPlans',
getRecordCfgs = '/iot/tplink/cameraInfo/getRecordCfgs', getRecordCfgs = '/iot/cameraInfo/getRecordCfgs',
addRecordCfgs = '/iot/tplink/cameraInfo/addRecordCfgs', addRecordCfgs = '/iot/cameraInfo/addRecordCfgs',
setRecordCfgs = '/iot/tplink/cameraInfo/setRecordCfgs', setRecordCfgs = '/iot/cameraInfo/setRecordCfgs',
delRecordCfgs = '/iot/tplink/cameraInfo/delRecordCfgs', delRecordCfgs = '/iot/cameraInfo/delRecordCfgs',
getBatchProgress = '/iot/tplink/cameraInfo/getBatchProgress', getBatchProgress = '/iot/cameraInfo/getBatchProgress',
} }
/** /**

View File

@ -1,11 +1,11 @@
import { defHttp } from '/@/utils/http/axios'; import { defHttp } from '/@/utils/http/axios';
enum Api { enum Api {
list = '/iot/tplink/projectInfo/list', list = '/iot/projectInfo/list',
sync = '/iot/tplink/projectInfo/sync', sync = '/iot/projectInfo/sync',
add = '/iot/tplink/projectInfo/add', add = '/iot/projectInfo/add',
edit = '/iot/tplink/projectInfo/edit', edit = '/iot/projectInfo/edit',
delete = '/iot/tplink/projectInfo/delete', delete = '/iot/projectInfo/delete',
} }
/** /**

View File

@ -1,16 +1,16 @@
import { defHttp } from '/@/utils/http/axios'; import { defHttp } from '/@/utils/http/axios';
enum Api { enum Api {
queryProjectTreeSync = '/iot/tplink/projectInfo/queryRegionTreeSync', queryProjectTreeSync = '/iot/projectInfo/queryRegionTreeSync',
queryRegionTreeSync = '/iot/tplink/regionInfo/queryRegionTreeSync', queryRegionTreeSync = '/iot/regionInfo/queryRegionTreeSync',
syncProject = '/iot/tplink/projectInfo/sync', syncProject = '/iot/projectInfo/sync',
syncRegion = '/iot/tplink/regionInfo/sync', syncRegion = '/iot/regionInfo/sync',
syncRegionChildren = '/iot/tplink/regionInfo/syncChildren', syncRegionChildren = '/iot/regionInfo/syncChildren',
list = '/iot/tplink/regionInfo/list', list = '/iot/regionInfo/list',
sync = '/iot/tplink/regionInfo/sync', sync = '/iot/regionInfo/sync',
add = '/iot/tplink/regionInfo/add', add = '/iot/regionInfo/add',
edit = '/iot/tplink/regionInfo/edit', edit = '/iot/regionInfo/edit',
delete = '/iot/tplink/regionInfo/delete', delete = '/iot/regionInfo/delete',
queryChildrenByParentId = '/sys/sysDepart/queryChildrenByParentId', queryChildrenByParentId = '/sys/sysDepart/queryChildrenByParentId',
} }