workManagement.js 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. const basePart = '/simulation/resource/server';
  2. const addOrUpdateProject = basePart + '/simulationProject/addOrUpdateProject'; // 创建或保存标准化测试详情
  3. const selectProjectById = basePart + '/simulationProject/selectProjectById'; // 查询标准化测试详情
  4. const selectDropDownByType = basePart + '/simulationProject/selectDropDownByType'; // 标准化测试详情中的下拉列表
  5. const selectDropDownByTypeNew = basePart + '/simulationProject/selectDropDownByTypeNew'; // 标准化测试详情中的下拉列表-new
  6. const selectMaxParallelism = basePart + '/simulationProject/selectMaxParallelism'; // 标准化测试详情中获取人员可用并行数
  7. const updateProjectNowRunState = basePart + '/simulationProject/updateProjectNowRunState'; // 标准化测试详情中修改工作运行状态
  8. const selectProject = basePart + '/simulationProject/selectProject'; // 标准化测试列表
  9. const deleteProjectByids = basePart + '/simulationProject/deleteProjectByids'; // 删除标准化测试
  10. const exportProjectReportAndTaskFileById = basePart + '/simulationProject/exportProjectReportAndTaskFileById'; // 导出报告和任务包
  11. const exportProjectTaskFileById = basePart + '/simulationProject/exportProjectTaskFileById'; // 导出任务包
  12. const selectProjectDetailsById = basePart + '/simulationProject/selectProjectDetailsById'; // 获取标准化测试工作详情
  13. const selectProjectTaskList = basePart + '/simulationProject/selectProjectTaskList'; // 获取标准化测试工作详情-任务列表
  14. const selectProjectReportById = basePart + '/simulationProject/selectProjectReportById'; // 获取标准化测试工作详情-测试报告
  15. const selectProjectTaskById = basePart + '/simulationProject/selectProjectTaskById'; // 获取标准化测试工作详情-任务详情
  16. const exportProjectReportById = basePart + '/simulationProject/exportProjectReportById'; // 获取标准化测试工作详情-下载测试报告
  17. const exportEvaluateReport = basePart + '/simulationProject/exportProjectEvaluationReportAndTaskFileById';
  18. const selectAutomaticProject = basePart + '/simulationProject/selectAutomaticProject'; // 自动化测试列表
  19. const addOrUpdateAutomaticProject = basePart + '/simulationProject/addOrUpdateAutomaticProject'; // 添加/编辑自动化测试任务
  20. const updateAutomaticRunState = basePart + '/simulationProject/updateAutomaticRunState'; // 修改自动化测试主任务状态
  21. const selectAutomaticProjectById = basePart + '/simulationProject/selectAutomaticProjectById'; // 根据id查询自动化测试信息
  22. const selectSubProjectInfo = basePart + '/simulationProject/selectSubProjectInfo'; // 查询自动化测试子工作信息
  23. const selectSubProjectList = basePart + '/simulationProject/selectSubProjectList'; // 查询自动化测试子工作列表
  24. const createAutomaticSubProject = basePart + '/simulationProject/createAutomaticSubProject'; // 手动运行自动化测试项目
  25. const deleteAutomaticProjectByids = basePart + '/simulationProject/deleteAutomaticProjectByids'; // 删除自动化测试主任务
  26. const deleteAutomaticSubProjectByIds = basePart + '/simulationProject/deleteAutomaticSubProjectByIds'; // 删除自动化测试子任务
  27. const updateAutoProjectNowRunState = basePart + '/simulationProject/updateAutoProjectNowRunState'; // 修改自动化测试子任务状态
  28. const getEvaluationRuleDetail = basePart + '/simulationProject/getEvaluationRuleDetail'; // 标准化测试详情展示规则
  29. const querySceneEvaluationDetail = basePart + '/simulationProject/querySceneEvaluationDetail'; // 标准化场景评价列表
  30. const carList = basePart + '/simulationProject/selectDropDownByTypeNew'; //多模式仿真获取车辆列表
  31. const mapList = basePart + '/simulationMap/selectAllSimulationMapList'; //多模式仿真获取地图列表
  32. const algorithmList = basePart + '/simulationProject/selectDropDownByTypeNew';//多模式仿真获取算法列表
  33. const mapDetails = basePart + '/simulationMap/getSimulationMap';//多模式仿真获取地图详情
  34. const sceneCarList = basePart + '/simulationProject/getMultiSimulationSceneCarList';//获取记录
  35. const deleteRecord = basePart + '/simulationProject/deleteMultiSimulationSceneCar';//删除记录
  36. const settingsSimulation = basePart + '/simulationProject/setMultiSimulationSceneCarView';//设置仿真视角
  37. const saveOrUpdateSceneCarList = basePart + '/simulationProject/addOrUpdateMultiSimulationSceneCarList';//设置仿真视角
  38. const getMultiSimulationSceneDetail = basePart + '/simulationProject/getMultiSimulationSceneDetail';//获取多模式仿真场景详情
  39. const getMultiSimulationSceneStatus = basePart + '/simulationProject/updateMultiSimulationProjectSceneStatusRetry'; // 状态更新
  40. const getStandardTestReport = basePart + '/simulationProject/getProjectReportForAllReferenceScene'; // 标准化测试报告
  41. const selectAllSimulationMageGroupList = basePart + '/simulationMageGroup/selectAllSimulationMageGroupList';
  42. const queryCoverOrExpose = basePart + '/simulationProject/selectProjectComputerRates' // 获取项目的覆盖率和暴露率
  43. export default {
  44. addOrUpdateProject,
  45. selectProjectById,
  46. selectDropDownByType,
  47. selectDropDownByTypeNew,
  48. selectMaxParallelism,
  49. updateProjectNowRunState,
  50. selectProject,
  51. deleteProjectByids,
  52. exportProjectReportAndTaskFileById,
  53. exportProjectTaskFileById,
  54. carList,
  55. mapList,
  56. algorithmList,
  57. mapDetails,
  58. sceneCarList,
  59. deleteRecord,
  60. settingsSimulation,
  61. saveOrUpdateSceneCarList,
  62. getMultiSimulationSceneDetail,
  63. selectProjectDetailsById,
  64. selectProjectTaskList,
  65. selectProjectReportById,
  66. selectProjectTaskById,
  67. exportProjectReportById,
  68. exportEvaluateReport,
  69. selectAutomaticProject,
  70. addOrUpdateAutomaticProject,
  71. updateAutomaticRunState,
  72. selectAutomaticProjectById,
  73. selectSubProjectInfo,
  74. selectSubProjectList,
  75. createAutomaticSubProject,
  76. deleteAutomaticProjectByids,
  77. deleteAutomaticSubProjectByIds,
  78. updateAutoProjectNowRunState,
  79. getEvaluationRuleDetail,
  80. querySceneEvaluationDetail,
  81. getStandardTestReport,
  82. selectAllSimulationMageGroupList,
  83. getMultiSimulationSceneStatus,
  84. queryCoverOrExpose
  85. }