workManagement.js 4.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 selectAutomaticProject = basePart + '/simulationProject/selectAutomaticProject'; // 自动化测试列表
  18. const addOrUpdateAutomaticProject = basePart + '/simulationProject/addOrUpdateAutomaticProject'; // 添加/编辑自动化测试任务
  19. const updateAutomaticRunState = basePart + '/simulationProject/updateAutomaticRunState'; // 修改自动化测试主任务状态
  20. const selectAutomaticProjectById = basePart + '/simulationProject/selectAutomaticProjectById'; // 根据id查询自动化测试信息
  21. const selectSubProjectInfo = basePart + '/simulationProject/selectSubProjectInfo'; // 查询自动化测试子工作信息
  22. const selectSubProjectList = basePart + '/simulationProject/selectSubProjectList'; // 查询自动化测试子工作列表
  23. const createAutomaticSubProject = basePart + '/simulationProject/createAutomaticSubProject'; // 手动运行自动化测试项目
  24. const deleteAutomaticProjectByids = basePart + '/simulationProject/deleteAutomaticProjectByids'; // 删除自动化测试主任务
  25. const deleteAutomaticSubProjectByIds = basePart + '/simulationProject/deleteAutomaticSubProjectByIds'; // 删除自动化测试子任务
  26. const updateAutoProjectNowRunState = basePart + '/simulationProject/updateAutoProjectNowRunState'; // 修改自动化测试子任务状态
  27. const carList = basePart + '/simulationProject/selectDropDownByTypeNew'; //多模式仿真获取车辆列表
  28. const mapList = basePart + '/simulationMap/selectAllSimulationMapList'; //多模式仿真获取地图列表
  29. const algorithmList = basePart + '/simulationProject/selectDropDownByTypeNew';//多模式仿真获取算法列表
  30. const mapDetails = basePart + '/simulationMap/getSimulationMap';//多模式仿真获取地图详情
  31. const sceneCarList = basePart + '/simulationProject/getMultiSimulationSceneCarList';//获取记录
  32. const deleteRecord = basePart + '/simulationProject/deleteMultiSimulationSceneCar';//删除记录
  33. const settingsSimulation = basePart + '/simulationProject/setMultiSimulationSceneCarView';//设置仿真视角
  34. const saveOrUpdateSceneCarList = basePart + '/simulationProject/addOrUpdateMultiSimulationSceneCarList';//设置仿真视角
  35. export default {
  36. addOrUpdateProject,
  37. selectProjectById,
  38. selectDropDownByType,
  39. selectDropDownByTypeNew,
  40. selectMaxParallelism,
  41. updateProjectNowRunState,
  42. selectProject,
  43. deleteProjectByids,
  44. exportProjectReportAndTaskFileById,
  45. exportProjectTaskFileById,
  46. carList,
  47. mapList,
  48. algorithmList,
  49. mapDetails,
  50. sceneCarList,
  51. deleteRecord,
  52. settingsSimulation,
  53. saveOrUpdateSceneCarList,
  54. selectProjectDetailsById,
  55. selectProjectTaskList,
  56. selectProjectReportById,
  57. selectProjectTaskById,
  58. exportProjectReportById,
  59. selectAutomaticProject,
  60. addOrUpdateAutomaticProject,
  61. updateAutomaticRunState,
  62. selectAutomaticProjectById,
  63. selectSubProjectInfo,
  64. selectSubProjectList,
  65. createAutomaticSubProject,
  66. deleteAutomaticProjectByids,
  67. deleteAutomaticSubProjectByIds,
  68. updateAutoProjectNowRunState
  69. }