巴林闲侠
2 years ago
9 changed files with 168 additions and 42 deletions
@ -1,14 +0,0 @@ |
|||||
'use strict'; |
|
||||
|
|
||||
import { ApiTable ,basicAction} from '$utils' |
|
||||
|
|
||||
// export function getMembers (orgId) { |
|
||||
// return dispatch => basicAction({ |
|
||||
// type: 'get', |
|
||||
// dispatch: dispatch, |
|
||||
// actionType: 'GET_MEMBERS', |
|
||||
// url: `${ApiTable.getEnterprisesMembers.replace('{enterpriseId}', orgId)}`, |
|
||||
// msg: { error: '获取用户列表失败' }, |
|
||||
// reducer: { name: 'members' } |
|
||||
// }); |
|
||||
// } |
|
@ -1,7 +1,7 @@ |
|||||
'use strict'; |
'use strict'; |
||||
|
|
||||
import * as dataAlarm from './dataAlarm' |
import * as problem from './problem' |
||||
|
|
||||
export default { |
export default { |
||||
...dataAlarm |
...problem |
||||
} |
} |
@ -0,0 +1,27 @@ |
|||||
|
'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: '' } |
||||
|
}); |
||||
|
} |
Loading…
Reference in new issue