|
|
@ -1,92 +1,77 @@ |
|
|
|
let host = location.origin |
|
|
|
|
|
|
|
const dev = process.env.NODE_ENV === 'development' // 本地
|
|
|
|
|
|
|
|
// 科大接口切换,参数里带host的为科大,否则就是职站中台
|
|
|
|
|
|
|
|
let isKd = /&host=(\d)/.exec(location.hash) //host:{1:测试环境,2:正式环境}
|
|
|
|
|
|
|
|
if(isKd){ |
|
|
|
|
|
|
|
host = isKd[1] == 1 ? 'http://122.9.154.146' : 'http://116.63.168.79' |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
let url = location.host; |
|
|
|
|
|
|
|
// 职站中台接口切换
|
|
|
|
|
|
|
|
if (url.includes('124.71.12.62')) { |
|
|
|
|
|
|
|
host = 'http://124.71.12.62:9000'; // 巢湖版
|
|
|
|
|
|
|
|
} else if (dev) { |
|
|
|
|
|
|
|
host = 'http://121.37.12.51'; //线上
|
|
|
|
|
|
|
|
// host = 'http://192.168.31.217:9000';
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
let host1 = 'http://121.37.12.51:8080'; |
|
|
|
let host1 = 'http://121.37.12.51:8080'; |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
// 交易类(流程类)
|
|
|
|
// 交易类(流程类)
|
|
|
|
getAllBusiness: `${host}/judgment/judgment/lcRecord/getAllBusiness`, // 获取流程记录列表(树)
|
|
|
|
getAllBusiness: `/judgment/judgment/lcRecord/getAllBusiness`, // 获取流程记录列表(树)
|
|
|
|
getProcess: `${host}/judgment/judgment/lcRecord/getProcess`, // 获取流程记录列表(树)
|
|
|
|
getProcess: `/judgment/judgment/lcRecord/getProcess`, // 获取流程记录列表(树)
|
|
|
|
// getAllBusinessSt: `${host}/nakadai/nakadai/customsPass/checkpointList`, // 获取流程记录列表(树)
|
|
|
|
checkpointList: `/nakadai/nakadai/customsPass/checkpointList`, // 获取流程记录列表(树)
|
|
|
|
getProcessSt: `${host}/judgment/judgment/stRecord/getProcess`, // 获取流程记录列表(树)
|
|
|
|
getProcessSt: `/judgment/judgment/stRecord/getProcess`, // 获取流程记录列表(树)
|
|
|
|
getAllBusinessSt: `${host}/judgment/judgment/stRecord/getAllBusiness`, // 获取流程记录列表(树)
|
|
|
|
getAllBusinessSt: `/judgment/judgment/stRecord/getAllBusiness`, // 获取流程记录列表(树)
|
|
|
|
getSubjectInfoSt: `${host}/judgment/stSubject/getSubjectInfo`, // 根据题目id获取题目信息
|
|
|
|
getSubjectInfoSt: `/judgment/stSubject/getSubjectInfo`, // 根据题目id获取题目信息
|
|
|
|
queryJudgmentPointDetailsSt: `${host}/judgment/judgment/lcJudgmentPoint/queryJudgmentPointDetailsBySt`, // 获取判分点详细信息
|
|
|
|
queryJudgmentPointDetailsSt: `/judgment/judgment/lcJudgmentPoint/queryJudgmentPointDetailsBySt`, // 获取判分点详细信息
|
|
|
|
getSubjectInfo: `${host}/judgment/judgment/lcSubject/getSubjectInfo`, // 根据题目id获取题目信息
|
|
|
|
getSubjectInfo: `/judgment/judgment/lcSubject/getSubjectInfo`, // 根据题目id获取题目信息
|
|
|
|
addJudgmentRule: `${host}/judgment/judgment/lcJudgmentRule/addJudgmentRule`, // 添加判分点规则
|
|
|
|
addJudgmentRule: `/judgment/judgment/lcJudgmentRule/addJudgmentRule`, // 添加判分点规则
|
|
|
|
updateJudgmentRule: `${host}/judgment/judgment/lcJudgmentRule/updateJudgmentRule`, // 添加判分点规则
|
|
|
|
updateJudgmentRule: `/judgment/judgment/lcJudgmentRule/updateJudgmentRule`, // 添加判分点规则
|
|
|
|
deleteJudgmentRule: `${host}/judgment/judgment/lcJudgmentRule/deleteJudgmentRule`, // 批量删除判分点规则
|
|
|
|
deleteJudgmentRule: `/judgment/judgment/lcJudgmentRule/deleteJudgmentRule`, // 批量删除判分点规则
|
|
|
|
addJudgmentPoint: `${host}/judgment/judgment/lcJudgmentPoint/addJudgmentPoint`, // 新增判分点
|
|
|
|
addJudgmentPoint: `/judgment/judgment/lcJudgmentPoint/addJudgmentPoint`, // 新增判分点
|
|
|
|
updateJudgmentPoint: `${host}/judgment/judgment/lcJudgmentPoint/updateJudgmentPoint`, // 更新判分点
|
|
|
|
updateJudgmentPoint: `/judgment/judgment/lcJudgmentPoint/updateJudgmentPoint`, // 更新判分点
|
|
|
|
deleteJudgmentPoint: `${host}/judgment/judgment/lcJudgmentPoint/deleteJudgmentPoint`, // 批量删除判分点
|
|
|
|
deleteJudgmentPoint: `/judgment/judgment/lcJudgmentPoint/deleteJudgmentPoint`, // 批量删除判分点
|
|
|
|
calculate: `${host}/judgment/judgment/lcJudgmentPoint/calculate`, // 计算判分点规则
|
|
|
|
calculate: `/judgment/judgment/lcJudgmentPoint/calculate`, // 计算判分点规则
|
|
|
|
updateIsOpen: `${host}/judgment/judgment/lcJudgmentPoint/updateIsOpen`, // 更新开启状态
|
|
|
|
updateIsOpen: `/judgment/judgment/lcJudgmentPoint/updateIsOpen`, // 更新开启状态
|
|
|
|
queryNameIsExist: `${host}/judgment/judgment/lcJudgmentPoint/queryNameIsExist`, // 新增/编辑判分点名称判重
|
|
|
|
queryNameIsExist: `/judgment/judgment/lcJudgmentPoint/queryNameIsExist`, // 新增/编辑判分点名称判重
|
|
|
|
bandingProject: `${host}/judgment/judgment/lcJudgmentPoint/bandingProject`, // 绑定项目管理
|
|
|
|
bandingProject: `/judgment/judgment/lcJudgmentPoint/bandingProject`, // 绑定项目管理
|
|
|
|
queryAllJudgmentPoint: `${host}/judgment/judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表
|
|
|
|
queryAllJudgmentPoint: `/judgment/judgment/lcJudgmentPoint/queryAllJudgmentPoint`, // 获取流程类判分点列表
|
|
|
|
queryJudgmentPointDetails: `${host}/judgment/judgment/lcJudgmentPoint/queryJudgmentPointDetails`, // 获取判分点详细信息
|
|
|
|
queryJudgmentPointDetails: `/judgment/judgment/lcJudgmentPoint/queryJudgmentPointDetails`, // 获取判分点详细信息
|
|
|
|
|
|
|
|
|
|
|
|
// 编程类
|
|
|
|
// 编程类
|
|
|
|
getBcJudgmentPoint: `${host}/judgment/judgment/bcJudgmentPoint/getBcJudgmentPoint`, // 获取判分点列表(分页)
|
|
|
|
getBcJudgmentPoint: `/judgment/judgment/bcJudgmentPoint/getBcJudgmentPoint`, // 获取判分点列表(分页)
|
|
|
|
queryBcJudgmentPointByBcId: `${host}/judgment/judgment/bcJudgmentPoint/queryBcJudgmentPointByBcId`, // 根据判分点id查询判分点详细信息
|
|
|
|
queryBcJudgmentPointByBcId: `/judgment/judgment/bcJudgmentPoint/queryBcJudgmentPointByBcId`, // 根据判分点id查询判分点详细信息
|
|
|
|
queryBcJudgmentByBcId: `${host}/judgment/judgment/bcJudgmentPoint/queryBcJudgmentByBcId`, // 根据判分点id查询判分点信息(不带规则)
|
|
|
|
queryBcJudgmentByBcId: `/judgment/judgment/bcJudgmentPoint/queryBcJudgmentByBcId`, // 根据判分点id查询判分点信息(不带规则)
|
|
|
|
addBcJudgmentPoint: `${host}/judgment/judgment/bcJudgmentPoint/addBcJudgmentPoint`, // 添加判分点
|
|
|
|
addBcJudgmentPoint: `/judgment/judgment/bcJudgmentPoint/addBcJudgmentPoint`, // 添加判分点
|
|
|
|
updateBcJudgmentPoint: `${host}/judgment/judgment/bcJudgmentPoint/updateBcJudgmentPoint`, // 更新判分点
|
|
|
|
updateBcJudgmentPoint: `/judgment/judgment/bcJudgmentPoint/updateBcJudgmentPoint`, // 更新判分点
|
|
|
|
bcDeleteJudgmentPoint: `${host}/judgment/judgment/bcJudgmentPoint/deleteJudgmentPoint`, // 批量删除判分点
|
|
|
|
bcDeleteJudgmentPoint: `/judgment/judgment/bcJudgmentPoint/deleteJudgmentPoint`, // 批量删除判分点
|
|
|
|
bcQueryNameIsExist: `${host}/judgment/judgment/bcJudgmentPoint/queryNameIsExist`, // 新增/编辑判分点名称判重
|
|
|
|
bcQueryNameIsExist: `/judgment/judgment/bcJudgmentPoint/queryNameIsExist`, // 新增/编辑判分点名称判重
|
|
|
|
bcBandingProject: `${host}/judgment/judgment/bcJudgmentPoint/bcBandingProject`, // 绑定项目管理
|
|
|
|
bcBandingProject: `/judgment/judgment/bcJudgmentPoint/bcBandingProject`, // 绑定项目管理
|
|
|
|
bcUpdateIsOpen: `${host}/judgment/judgment/bcJudgmentPoint/updateIsOpen`, // 更新开启状态
|
|
|
|
bcUpdateIsOpen: `/judgment/judgment/bcJudgmentPoint/updateIsOpen`, // 更新开启状态
|
|
|
|
bcAddJudgmentRule: `${host}/judgment/judgment/bcJudgmentRule/addJudgmentRule`, // 添加判分点规则
|
|
|
|
bcAddJudgmentRule: `/judgment/judgment/bcJudgmentRule/addJudgmentRule`, // 添加判分点规则
|
|
|
|
bcUpdateJudgmentRule: `${host}/judgment/judgment/bcJudgmentRule/updateJudgmentRule`, // 更新判分点规则
|
|
|
|
bcUpdateJudgmentRule: `/judgment/judgment/bcJudgmentRule/updateJudgmentRule`, // 更新判分点规则
|
|
|
|
bcDeleteJudgmentRule: `${host}/judgment/judgment/bcJudgmentRule/deleteJudgmentRule`, // 批量删除判分点规则
|
|
|
|
bcDeleteJudgmentRule: `/judgment/judgment/bcJudgmentRule/deleteJudgmentRule`, // 批量删除判分点规则
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 职站
|
|
|
|
// 职站
|
|
|
|
QueryPointOfJudgement: `${host}/judgment/judgment/pointOfJudgement/queryPointOfJudgement`, //判分点列表查询
|
|
|
|
QueryPointOfJudgement: `/judgment/judgment/pointOfJudgement/queryPointOfJudgement`, //判分点列表查询
|
|
|
|
DeletePointOfJudgement: `${host}/judgment/judgment/pointOfJudgement/deletePointOfJudgement`, //判分点列表删除
|
|
|
|
DeletePointOfJudgement: `/judgment/judgment/pointOfJudgement/deletePointOfJudgement`, //判分点列表删除
|
|
|
|
QueryPfdInformation: `${host}/judgment/judgment/pointOfJudgement/queryPfdInformation`, //判分点详细信息
|
|
|
|
QueryPfdInformation: `/judgment/judgment/pointOfJudgement/queryPfdInformation`, //判分点详细信息
|
|
|
|
UpdatePointOfJudgement: `${host}/judgment/judgment/pointOfJudgement/updatePointOfJudgement`, //编辑判分点基本信息
|
|
|
|
UpdatePointOfJudgement: `/judgment/judgment/pointOfJudgement/updatePointOfJudgement`, //编辑判分点基本信息
|
|
|
|
UpdatePointOfJudgementRule: `${host}/judgment/judgment/pointOfJudgement/updatePointOfJudgementRule`, //编辑判分点规则
|
|
|
|
UpdatePointOfJudgementRule: `/judgment/judgment/pointOfJudgement/updatePointOfJudgementRule`, //编辑判分点规则
|
|
|
|
AddPfdgzInformation: `${host}/judgment/judgment/pointOfJudgement/addPfdgzInformation`, //新增判分规则
|
|
|
|
AddPfdgzInformation: `/judgment/judgment/pointOfJudgement/addPfdgzInformation`, //新增判分规则
|
|
|
|
AddPfdInformation: `${host}/judgment/judgment/pointOfJudgement/addPfdInformation`, //新增判分点基本信息
|
|
|
|
AddPfdInformation: `/judgment/judgment/pointOfJudgement/addPfdInformation`, //新增判分点基本信息
|
|
|
|
QueryPfdgzInformation: `${host}/judgment/judgment/pointOfJudgement/queryPfdgzInformation`, //判分点规则信息查询
|
|
|
|
QueryPfdgzInformation: `/judgment/judgment/pointOfJudgement/queryPfdgzInformation`, //判分点规则信息查询
|
|
|
|
QueryAddgz: `${host}/judgment/judgment/pointOfJudgement/queryAddgz`, //查询新增判分点规则新增的数据
|
|
|
|
QueryAddgz: `/judgment/judgment/pointOfJudgement/queryAddgz`, //查询新增判分点规则新增的数据
|
|
|
|
DeletePointOfJudgementRule: `${host}/judgment/judgment/pointOfJudgement/deletePointOfJudgementRule`, //删除判分点规则
|
|
|
|
DeletePointOfJudgementRule: `/judgment/judgment/pointOfJudgement/deletePointOfJudgementRule`, //删除判分点规则
|
|
|
|
JudgmentPointNameRepetition: `${host}/judgment/judgment/pointOfJudgement/JudgmentPointNameRepetition`, |
|
|
|
JudgmentPointNameRepetition: `/judgment/judgment/pointOfJudgement/JudgmentPointNameRepetition`, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UpdateIsOpen: `${host}/judgment/judgment/pointOfJudgement/updateIsOpen`, //修改判分点状态
|
|
|
|
UpdateIsOpen: `/judgment/judgment/pointOfJudgement/updateIsOpen`, //修改判分点状态
|
|
|
|
queryUserIds:`${host}/liuwanr/userInfo/queryUserIds`, |
|
|
|
queryUserIds:`/liuwanr/userInfo/queryUserIds`, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 科大子系统
|
|
|
|
// 科大子系统
|
|
|
|
queryPoint: `${host}/kdSys/queryPoint`, |
|
|
|
queryPoint: `/kdSys/queryPoint`, |
|
|
|
querySubject: `${host}/kdSys/querySubject`, |
|
|
|
querySubject: `/kdSys/querySubject`, |
|
|
|
queryItem: `${host}/kdSys/queryItem`, |
|
|
|
queryItem: `/kdSys/queryItem`, |
|
|
|
|
|
|
|
|
|
|
|
// 科大平台
|
|
|
|
// 科大平台
|
|
|
|
queryListTrading: `${host}/judgment/judgment/tradingJudgmentPoints/query`, |
|
|
|
queryListTrading: `/judgment/judgment/tradingJudgmentPoints/query`, |
|
|
|
deleteTrading: `${host}/judgment/judgment/tradingJudgmentPoints/delete`, |
|
|
|
deleteTrading: `/judgment/judgment/tradingJudgmentPoints/delete`, |
|
|
|
addTrading: `${host}/judgment/judgment/tradingJudgmentPoints/add`, |
|
|
|
addTrading: `/judgment/judgment/tradingJudgmentPoints/add`, |
|
|
|
queryDetailsTrading: `${host}/judgment/judgment/tradingJudgmentPoints/queryDetails`, |
|
|
|
queryDetailsTrading: `/judgment/judgment/tradingJudgmentPoints/queryDetails`, |
|
|
|
updateTrading: `${host}/judgment/judgment/tradingJudgmentPoints/update`, |
|
|
|
updateTrading: `/judgment/judgment/tradingJudgmentPoints/update`, |
|
|
|
updateRuleTrading: `${host}/judgment/judgment/tradingJudgmentPoints/updateRule`, |
|
|
|
updateRuleTrading: `/judgment/judgment/tradingJudgmentPoints/updateRule`, |
|
|
|
deleteRuleTrading: `${host}/judgment/judgment/tradingJudgmentPoints/deleteRule`, |
|
|
|
deleteRuleTrading: `/judgment/judgment/tradingJudgmentPoints/deleteRule`, |
|
|
|
addRule: `${host}/judgment/judgment/tradingJudgmentPoints/addRule`, |
|
|
|
addRule: `/judgment/judgment/tradingJudgmentPoints/addRule`, |
|
|
|
|
|
|
|
|
|
|
|
// 川大子系统
|
|
|
|
// 川大子系统
|
|
|
|
firstLevel: `${host1}/sichuan/point/firstLevel`, |
|
|
|
firstLevel: `${host1}/sichuan/point/firstLevel`, |
|
|
|