99 lines
2.7 KiB
JavaScript
99 lines
2.7 KiB
JavaScript
|
|
import * as API from './index.js'
|
||
|
|
const URL_PREFIX = '/gywlw/'
|
||
|
|
const URL_PREFIXRightUrl = ''
|
||
|
|
export default {
|
||
|
|
// screenAppProjectManager/getAppProjectManagerByScreen 获取项目管理信息
|
||
|
|
getAppProjectManagerByScreen: params => {
|
||
|
|
return API.GET(
|
||
|
|
URL_PREFIXRightUrl.concat(
|
||
|
|
'gywlw/screenAppProjectManager/getAppProjectManagerByScreen'
|
||
|
|
),
|
||
|
|
params
|
||
|
|
)
|
||
|
|
},
|
||
|
|
// 获取工作项组信息
|
||
|
|
getDictListByCode: params => {
|
||
|
|
return API.GET(URL_PREFIXRightUrl.concat('dict/getDictListByCode'), params)
|
||
|
|
},
|
||
|
|
// gywlw/screenAppWorkItems/getAppWorkItemsByGroupId 根据组id获取项目管理信息
|
||
|
|
getAppWorkItemsByGroupId: params => {
|
||
|
|
return API.GET(
|
||
|
|
URL_PREFIXRightUrl.concat(
|
||
|
|
'gywlw/screenAppWorkItems/getAppWorkItemsByGroupId'
|
||
|
|
),
|
||
|
|
params
|
||
|
|
)
|
||
|
|
},
|
||
|
|
// 获取微服务信息
|
||
|
|
getAppMicroserviceVoByScreen: params => {
|
||
|
|
return API.GET(
|
||
|
|
URL_PREFIXRightUrl.concat(
|
||
|
|
'gywlw/screenAppMicroservice/getAppMicroserviceVoByScreen'
|
||
|
|
),
|
||
|
|
params
|
||
|
|
)
|
||
|
|
},
|
||
|
|
// gywlw/screenAppWorkItems/getAppWorkItemsByGroupId 根据组id获取注册与发现信息
|
||
|
|
getAppDiscoveryByGroupId: params => {
|
||
|
|
return API.GET(
|
||
|
|
URL_PREFIXRightUrl.concat(
|
||
|
|
'gywlw/screenAppDiscovery/getAppDiscoveryByGroupId'
|
||
|
|
),
|
||
|
|
params
|
||
|
|
)
|
||
|
|
},
|
||
|
|
// 获取通用组件订阅相关信息
|
||
|
|
getComponentSubscribeList: params => {
|
||
|
|
return API.GET(
|
||
|
|
URL_PREFIXRightUrl.concat(
|
||
|
|
'gywlw/screenIndexComponentSubscribe/getComponentSubscribeList'
|
||
|
|
),
|
||
|
|
params
|
||
|
|
)
|
||
|
|
},
|
||
|
|
// 获取通用组件订阅相关信息
|
||
|
|
getAppCicdVoByScreen: params => {
|
||
|
|
return API.GET(
|
||
|
|
URL_PREFIXRightUrl.concat('gywlw/screenAppCicd/getAppCicdVoByScreen'),
|
||
|
|
params
|
||
|
|
)
|
||
|
|
},
|
||
|
|
// 获取流水线执行结果记录 gywlw/screenAppPipelineExecute/getAppPipelineExecuteByScreen
|
||
|
|
getAppPipelineExecuteByScreen: params => {
|
||
|
|
return API.GET(
|
||
|
|
URL_PREFIXRightUrl.concat(
|
||
|
|
'gywlw/screenAppPipelineExecute/getAppPipelineExecuteByScreen'
|
||
|
|
),
|
||
|
|
params
|
||
|
|
)
|
||
|
|
},
|
||
|
|
// 获取流水线执行结果记录 gywlw/screenAppPipelineExecute/getAppPipelineExecuteByScreen
|
||
|
|
getAppCodeResultByScreen: params => {
|
||
|
|
return API.GET(
|
||
|
|
URL_PREFIXRightUrl.concat(
|
||
|
|
'gywlw/screenAppCodeResult/getAppCodeResultByScreen'
|
||
|
|
),
|
||
|
|
params
|
||
|
|
)
|
||
|
|
},
|
||
|
|
// 获取代码commit信息
|
||
|
|
getSevenCodeCommitVo: params => {
|
||
|
|
return API.GET(
|
||
|
|
URL_PREFIXRightUrl.concat(
|
||
|
|
'gywlw/screenAppCodeCommit/getSevenCodeCommitVo'
|
||
|
|
),
|
||
|
|
params
|
||
|
|
)
|
||
|
|
},
|
||
|
|
|
||
|
|
// 获取代代码行数
|
||
|
|
getSevenCodeLine: params => {
|
||
|
|
return API.GET(
|
||
|
|
URL_PREFIXRightUrl.concat(
|
||
|
|
'gywlw/screenAppCodeLine/getSevenCodeVo'
|
||
|
|
),
|
||
|
|
params
|
||
|
|
)
|
||
|
|
}
|
||
|
|
}
|