You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
duoji-frontend/src/api/http/http-api.js

248 lines
5.9 KiB
JavaScript

export default {
getplcStatus: {
method: "GET",
url: "/plc/plcStatus",
name: "获取PLC状态"
},
getRealTimeList: {
method: "POST",
url: "/realTime",
name: "获取实时监控列表"
},
getHistoryList: {
method: "POST",
url: "/order/list",
name: "获取历史监控列表"
},
getStreetList: {
method: "POST",
url: "/street/page",
name: "获取巷道列表"
},
getAllStreet: {
method: "GET",
url: "/street/list",
name: "获取全部巷道列表"
},
addStreet: {
method: "POST",
url: "/street",
name: "新增巷道"
},
editStreet: {
method: "PUT",
url: "/street",
name: "编辑巷道"
},
openLight:{
method: "GET",
url: "/street/lightSource/open",
name: "打开光源"
},
closeLight:{
method: "GET",
url: "/street/lightSource/close",
name: "关闭光源"
},
statusLight:{
method: "GET",
url: "/street/lightSource/status",
name: "获取光源状态"
},
// deleteStreet: {
// method: "DELETE",
// url: "/street",
// name: "删除巷道"
// },
//注释所有用到删除的接口都需要拼接变量id所以请求方式采用了挂载在原型链上的$axios进行请求详细请看具体页面的$axios请求
getCameraList: {
method: "POST",
url: "/camera/page",
name: "获取球机列表"
},
4 years ago
getAllCameras:{
method: "GET",
url: "/realTime/allCameras",
name: "获取全部球机"
},
getAllCameras1:{
method: "GET",
url: "/realTime/allCameras1",
name: "获取全部球机"
},
getAllCameras2:{
method: "GET",
url: "/realTime/allCameras2",
name: "获取全部球机"
},
getAllCameras3:{
method: "GET",
url: "/realTime/allCameras3",
name: "获取全部球机"
},
4 years ago
getWallStyle:{
method: "GET",
url: "/realTime/wallStyle",
name: "获取视频墙样式"
},
addCamera: {
method: "POST",
url: "/camera",
name: "新增球机"
},
editCamera: {
method: "PUT",
url: "/camera",
name: "编辑球机"
},
videoConfig:{
method: "GET",
url: "/camera/downloadConfig",
name: "直播流配置"
},
getChannel: {
method: "POST",
url: "/lychee/stream/push",
name: "获取channel字符集"
},
getCameraIoList: {
method: "POST",
url: "/camera/config/page",
name: "球机IO配置分页列表"
},
addCameraIo: {
method: "POST",
url: "/camera/config",
name: "球机IO指令配置新增"
},
editCameraIo: {
method: "PUT",
url: "/camera/config",
name: "球机IO指令配置编辑"
},
// cameraIoImport: {
// method: "POST",
// url: "/camera/config/import",
// name: "球机IO导入"
// },
//注释:导出接口路径已采用ant design vue的upload组件action属性动态定义
writeInCameraIoptz: {
method: "POST",
url: "/camera/io/ptz",
name: "球机IO指令写入/覆盖(调同一个接口)"
},
cameraIoToPtz: {
method: "POST",
url: "/camera/io/toPtz",
name: "转至球机IO配置点"
},
warnList: {
url: '/warn/list',
name: 'plc未连接数量',
method: 'POST'
},
disPlcList: {
url: '/plc/disPlc',
name: 'plc未连接列表',
method: 'GET'
},
categoryList: {
url: '/category/page',
name: '分类列表',
method: 'POST'
},
//盘点管理输入框搜索时联想用
getCategoryList: {
url: '/category/list',
name: '分类列表',
method: 'GET'
},
addCategory: {
url: '/category',
name: '新增分类',
method: 'POST'
},
editCategory: {
url: '/category',
name: '编辑分类',
method: 'PUT'
},
getStockList: {
url: '/stock/list',
name: '获取盘点列表',
method: 'GET'
},
getStreetDetail: {
url: '/street',
name: '获取巷道详情',
method: 'GET'
},
getStockInfo: {
url: '/stock/info',
name: '复核页面的核对信息',
method: 'POST'
},
getStockPage: {
url: '/stockLog',
name: '获取随性历史',
method: 'POST'
},
4 years ago
getStatusByRowColumn: {
url: '/stock/statusByRowColumn',
name: '行列的库存状态',
method: 'POST'
},
exportStock: {
url: '/stock/export',
name: '导出单个巷道',
method: 'GET'
},
exportAllStock: {
url: '/stock/exportAll',
name: '导出所有巷道',
method: 'GET'
},
stockCheckCorrect: {
url: '/stock/checkCorrect',
name: '人工复核正确',
method: 'POST'
},
stockCheckByMan: {
url: '/stock/checkByMan',
name: '人工复核',
method: 'POST'
},
4 years ago
checkLog: {
url: '/checkLog',
name: '盘点历史',
method: 'POST'
},
stockLog: {
url: '/stockLog',
4 years ago
name: '库存历史',
method: 'POST'
},
getStockpage: {
url: '/stock/page',
name: '库存列表',
method: 'POST'
},
categoryExportModel: {
url: '/category/export/model',
name: '品规模板下载',
method: 'GET'
},
stockExportModel: {
url: '/stock/export/model',
name: '库存模板下载',
method: 'GET'
},
scanAndCheck: {
url: '/ScanAndCheck',
name: '盘点操作里参数',
method: 'GET'
}
}