You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
731 B
27 lines
731 B
'use strict';
|
|
|
|
import { ApiTable, basicAction } from '$utils'
|
|
|
|
export function getProjectPoms () { //获取已绑定项目
|
|
return dispatch => basicAction({
|
|
type: 'get',
|
|
dispatch: dispatch,
|
|
actionType: 'GET_PROJECT_POMS',
|
|
url: `${ApiTable.getProjectPoms}`,
|
|
msg: { error: '获取已绑定项目失败' },
|
|
reducer: { name: '' }
|
|
});
|
|
}
|
|
|
|
|
|
export function getAlarmLnspection (query) { //查询应用巡检信息
|
|
return dispatch => basicAction({
|
|
type: 'get',
|
|
dispatch: dispatch,
|
|
query,
|
|
actionType: 'GET_ALARM_LNICSPECTION',
|
|
url: `${ApiTable.getAlarmLnspection}`,
|
|
msg: { error: '查询应用巡检信息失败' },
|
|
reducer: { name: '' }
|
|
});
|
|
}
|
|
|