|
|
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|
|
// 查询列表监控调阅计划
|
|
|
export function listPlan(query) {
|
|
|
return request({
|
|
|
- url: '/system/plan/list',
|
|
|
+ url: '/core/accessPlan/list',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
@@ -12,7 +12,7 @@ export function listPlan(query) {
|
|
|
// 查询详细监控调阅计划
|
|
|
export function getPlan(id) {
|
|
|
return request({
|
|
|
- url: '/system/plan/' + id,
|
|
|
+ url: '/core/accessPlan/' + id,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
@@ -20,14 +20,14 @@ export function getPlan(id) {
|
|
|
// 下发
|
|
|
export function distribute(id) {
|
|
|
return request({
|
|
|
- url: '/system/plan/distribute/' + id,
|
|
|
+ url: '/core/accessPlan/distribute/' + id,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
|
// 新增监控调阅计划
|
|
|
export function addPlan(data) {
|
|
|
return request({
|
|
|
- url: '/system/plan',
|
|
|
+ url: '/core/accessPlan',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -36,7 +36,7 @@ export function addPlan(data) {
|
|
|
// 修改监控调阅计划
|
|
|
export function updatePlan(data) {
|
|
|
return request({
|
|
|
- url: '/system/plan',
|
|
|
+ url: '/core/accessPlan',
|
|
|
method: 'put',
|
|
|
data: data
|
|
|
})
|
|
|
@@ -45,7 +45,7 @@ export function updatePlan(data) {
|
|
|
// 删除监控调阅计划
|
|
|
export function delPlan(id) {
|
|
|
return request({
|
|
|
- url: '/system/plan/' + id,
|
|
|
+ url: '/core/accessPlan/' + id,
|
|
|
method: 'delete'
|
|
|
})
|
|
|
}
|