Commit 94ec59fc authored by 吴俊凯's avatar 吴俊凯

修改换流站巡检前缀

parent 70718d86
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
Amos.config = { Amos.config = {
// 普通http // 普通http
httpURI: { httpURI: {
baseURI: 'http://172.16.11.36:10005/', baseURI: 'http://172.16.10.66:10005/',
pluginURI: 'http://172.16.10.72:10005/', pluginURI: 'http://172.16.10.72:10005/',
fileServerURI: 'http://39.98.246.31:8888/' //图片服务器地址 fileServerURI: 'http://39.98.246.31:8888/' //图片服务器地址
//设计器数据绑定 //设计器数据绑定
......
...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
* 应用名称 * 应用名称
*/ */
export default { export default {
fireAutoSys: 'fireAutoSys/' // 换流站 fireAutoSys: 'fireAutoSys/', // 换流站
patrol: 'patrol/' // 巡检
}; };
...@@ -10,12 +10,11 @@ const securityBaseWsURI = AmosConfig.wsURI.baseURI; ...@@ -10,12 +10,11 @@ const securityBaseWsURI = AmosConfig.wsURI.baseURI;
const view3dURI = AmosConfig.httpURI.view3dURI; const view3dURI = AmosConfig.httpURI.view3dURI;
export const baseURI = AmosConfig.httpURI.baseURI; export const baseURI = AmosConfig.httpURI.baseURI;
//const patrolURI = AmosConfig.httpURI.patrolURI; //const patrolURI = AmosConfig.httpURI.patrolURI;
// const patrolURI = AmosConfig.httpURI.baseURI;
const xjBaseURI = AmosConfig.httpURI.fileServerURI; const xjBaseURI = AmosConfig.httpURI.fileServerURI;
export const getOutterURL = (key) => { export const getOutterURL = (key) => {
return (AmosConfig.outterURI || {})[key] || ''; return (AmosConfig.outterURI || {})[key] || '';
}; };
export const patrolURI = baseURI+app.patrol;
export const fireBaseURI = baseURI+app.fireAutoSys; export const fireBaseURI = baseURI+app.fireAutoSys;
export const SecurityWsUrl = securityBaseWsURI; export const SecurityWsUrl = securityBaseWsURI;
export const XJBaseURI = xjBaseURI; export const XJBaseURI = xjBaseURI;
...@@ -72,7 +71,7 @@ export const FscSerUrl = { ...@@ -72,7 +71,7 @@ export const FscSerUrl = {
broadcastUrl: completePrefix(fireBaseURI, 'api/timeline/{instanceNo}?recordType={recordType}'), //右侧菜单-播报 * broadcastUrl: completePrefix(fireBaseURI, 'api/timeline/{instanceNo}?recordType={recordType}'), //右侧菜单-播报 *
markerDetailsUrl: completePrefix(view3dURI, 'view3d/node/info?id={id}&type={type}'), //三维地图中各种点详情 markerDetailsUrl: completePrefix(view3dURI, 'view3d/node/info?id={id}&type={type}'), //三维地图中各种点详情
tellRegionSelectUrl: completePrefix(view3dURI, 'patrol/save/curCompany/{orgCode}'), // 注入选择的厂区信息 post tellRegionSelectUrl: completePrefix(view3dURI, 'patrol/save/curCompany/{orgCode}'), // 注入选择的厂区信息 post
loadPackagesUrl: completePrefix(fireBaseURI, 'urule/v1/packageeditor/loadPackages?project={project}'), //风险管控查询 loadPackagesUrl: completePrefix(baseURI, 'urule/v1/packageeditor/loadPackages?project={project}'), //风险管控查询
pointInfoUrl: completePrefix(fireBaseURI, 'api/spc/queryPointById/{pointId}'), // 获取巡检点详情 pointInfoUrl: completePrefix(fireBaseURI, 'api/spc/queryPointById/{pointId}'), // 获取巡检点详情
...@@ -93,35 +92,35 @@ export const FscSerUrl = { ...@@ -93,35 +92,35 @@ export const FscSerUrl = {
//******************************************************************************* //*******************************************************************************
// 巡检业务 // 巡检业务
//******************************************************************************* //*******************************************************************************
fetchCheckDetailById: completePrefix(fireBaseURI, 'api/spc/check-detail'), //根据ID查询巡检记录详情 fetchCheckDetailById: completePrefix(patrolURI, 'api/spc/check-detail'), //根据ID查询巡检记录详情
fetchCheckInputById: completePrefix(fireBaseURI, 'api/spc/check-input'), //根据ID查询巡检记录项 fetchCheckInputById: completePrefix(patrolURI, 'api/spc/check-input'), //根据ID查询巡检记录项
fetchUserByPd: completePrefix(fireBaseURI, 'api/spc/check-user'),//巡检人员查询 fetchUserByPd: completePrefix(patrolURI, 'api/spc/check-user'),//巡检人员查询
fetchCheckInfoByPd: completePrefix(fireBaseURI, 'api/spc/check-info/list'),//巡检记录查询 fetchCheckInfoByPd: completePrefix(patrolURI, 'api/spc/check-info/list'),//巡检记录查询
fetchPointQueryCriteria: completePrefix(fireBaseURI, 'api/spc/point/queryCriteria/init'),//巡检点列表查询 fetchPointQueryCriteria: completePrefix(patrolURI, 'api/spc/point/queryCriteria/init'),//巡检点列表查询
fetchPointList: completePrefix(fireBaseURI, 'api/spc/point/list'),//巡检点列表查询 fetchPointList: completePrefix(patrolURI, 'api/spc/point/list'),//巡检点列表查询
fetchPointStatistics: completePrefix(fireBaseURI, 'api/spc/countPoint'),//巡检点统计 fetchPointStatistics: completePrefix(patrolURI, 'api/spc/countPoint'),//巡检点统计
fetchChkExecuteInfo: completePrefix(fireBaseURI, 'api/spc/checkExecute/list'),//某日巡检执行情况 fetchChkExecuteInfo: completePrefix(patrolURI, 'api/spc/checkExecute/list'),//某日巡检执行情况
fetchMonthCountChk: completePrefix(fireBaseURI, 'api/spc/countMonth'), //月巡检情况统计 fetchMonthCountChk: completePrefix(patrolURI, 'api/spc/countMonth'), //月巡检情况统计
fetchTaskList: completePrefix(fireBaseURI, 'api/task/queryTaskByPage'), //月巡检情况统计 fetchTaskList: completePrefix(patrolURI, 'api/task/queryTaskByPage'), //月巡检情况统计
fetchHidDangerCount: completePrefix(fireBaseURI, 'api/task/hiddenDanger/count'), //隐患治理统计 fetchHidDangerCount: completePrefix(patrolURI, 'api/task/hiddenDanger/count'), //隐患治理统计
fetchPointDetail: completePrefix(fireBaseURI, 'api/spc/queryPointById'),//风险点 fetchPointDetail: completePrefix(patrolURI, 'api/spc/queryPointById'),//风险点
fetchPointMeasures: completePrefix(fireBaseURI, 'api/spc/measures'),//巡检点措施 fetchPointMeasures: completePrefix(patrolURI, 'api/spc/measures'),//巡检点措施
fetchPointDetailById: completePrefix(fireBaseURI, 'api/point/queryPointById'),//巡检点明细 fetchPointDetailById: completePrefix(patrolURI, 'api/point/queryPointById'),//巡检点明细
detelPointMeasures: completePrefix(fireBaseURI, 'measures/delete'),//删除巡检点措施 detelPointMeasures: completePrefix(patrolURI, 'measures/delete'),//删除巡检点措施
batchDeletePointMeasuresAction: completePrefix(fireBaseURI, '/measures/delete/batch'),//批量删除巡检点措施 batchDeletePointMeasuresAction: completePrefix(patrolURI, '/measures/delete/batch'),//批量删除巡检点措施
addPointMeasures: completePrefix(fireBaseURI, 'measures/add'),//新增巡检点措施 addPointMeasures: completePrefix(patrolURI, 'measures/add'),//新增巡检点措施
batchAddPointMeasuresAction: completePrefix(fireBaseURI, 'measures/add/batch'),//批量新增巡检点措施 batchAddPointMeasuresAction: completePrefix(patrolURI, 'measures/add/batch'),//批量新增巡检点措施
updatePointMeasuresAction: completePrefix(fireBaseURI, 'measures/update'),//修改巡检点措施 updatePointMeasuresAction: completePrefix(patrolURI, 'measures/update'),//修改巡检点措施
fetchCalCountPanelUrl: completePrefix(fireBaseURI, 'api/spc/check-info/count'), //查询日历对应巡检记录数量 fetchCalCountPanelUrl: completePrefix(patrolURI, 'api/spc/check-info/count'), //查询日历对应巡检记录数量
fetchTaskQueryCriteria: completePrefix(fireBaseURI, 'api/task/queryCriteria/init'),//巡检点列表查询 fetchTaskQueryCriteria: completePrefix(patrolURI, 'api/task/queryCriteria/init'),//巡检点列表查询
fetchRegionSelectUrl: completePrefix(fireBaseURI, 'safe/save/curCompany/{orgCode}'), // 注入选择的厂区信息 GET fetchRegionSelectUrl: completePrefix(patrolURI, 'safe/save/curCompany/{orgCode}'), // 注入选择的厂区信息 GET
userInfoByDeptIdUrl: completePrefix(fireBaseURI, 'api/user/queryDeptUser?deptId={deptId}'), //查询部门下人员信息 userInfoByDeptIdUrl: completePrefix(patrolURI, 'api/user/queryDeptUser?deptId={deptId}'), //查询部门下人员信息
routePlanPointPageUrl: completePrefix(fireBaseURI, 'api/spc/routePlanPoint/list'), routePlanPointPageUrl: completePrefix(patrolURI, 'api/spc/routePlanPoint/list'),
searchCheckShortUrl: completePrefix(fireBaseURI, 'api/check/getCheckPic?checkId={checkId}&checkInputId={checkInputId}&classifyId={classifyId}'), //根据检查项ID和检查项输入ID查询图片 searchCheckShortUrl: completePrefix(patrolURI, 'api/check/getCheckPic?checkId={checkId}&checkInputId={checkInputId}&classifyId={classifyId}'), //根据检查项ID和检查项输入ID查询图片
}; };
export const FasSerUrl = { export const FasSerUrl = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment